CN-122022676-A - Whole-process traceability control method for fentanyl medicines
Abstract
The invention relates to the technical field of medicine management and control, in particular to a full-flow traceability control method of fentanyl medicines, which is applied to intelligent management and control equipment, and realizes full-life-cycle closed-loop traceability through six core stages of equipment initialization, warehousing, storage, ex-warehouse, recovery and emergency, wherein dual identity verification and dual verification identification components are adopted in the warehousing stage to ensure compliance of medicines and personnel information, a multi-sensor fusion and improved sliding average algorithm is adopted in the storage stage to realize real-time temperature and humidity monitoring and intelligent regulation, a UPS (uninterrupted Power supply) and an emergency lock are adopted in the emergency stage to ensure accessibility of medicines and operation traceability in a power-off scene, traceability data is stored through a blockchain technology, and data non-falsification and safe access are realized by combining three-level authority verification. The invention improves the standardization, the accuracy and the reliability of the management and control of the fentanyl medicines, adapts to the requirements of multiple scenes such as hospitals, drug addiction stations and the like, and has important application value.
Inventors
- QIN CHENGWEI
- BAI WENTAO
- ZENG XIANXIAN
- DENG GANG
- WANG HAO
- Lei Ruixing
- WU YONGQI
- WANG MINGYI
- LI CHEN
Assignees
- 青岛澳柯玛生物医疗有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260121
Claims (10)
- 1. The full-flow traceability control method for the fentanyl medicine is applied to intelligent management and control equipment of the fentanyl medicine, and is characterized by comprising a cloud camera (1), an interactive screen (2), a hole position drawer (3), a door opening travel switch (4), a recovery drawer (5), a main control board (6), a UPS standby power supply (7), an emergency lock (8), a door closing travel switch (9), a drawer motor (10), a double-verification identification component, a temperature and humidity monitoring module and an encrypted cloud server, wherein the control method comprises the following core flow: Step S1, initializing equipment, starting a temperature and humidity monitoring module by a main control board (6), calibrating the environmental parameters in a hole site drawer (3) to the temperature of 15-25 ℃ and the humidity of 35-65% RH in the standard range of the storage of the fentanyl medicines, and simultaneously establishing a double-circuit power supply guarantee through a UPS (uninterrupted power supply) (7); step S2, warehouse entry traceability control, namely recording identity information of operators and batch information of medicines through an interactive screen (2), acquiring data of RFID labels and weight data of the medicines through a double-verification identification component, distributing corresponding hole site drawers (3) after the data passes through cross verification of a main control board (6), driving the drawers to be opened by a drawer motor (10), stopping the motor after triggering a door opening travel switch (4), closing the drawers after putting medicines in, feeding back signals by a door closing travel switch (9), and recording a whole-course video by a cloud camera (1) and binding the whole-course video with the medicine information to generate unique traceability codes; Step S3, storing and tracing control, wherein the main control board (6) collects temperature and humidity data and the locking state of the hole position drawer (3) once every 10 minutes, and the data are processed through an improved sliding average algorithm, wherein the formula is as follows: ; Wherein, the The data value after the fusion at the time t, Data is collected for a time of history i, The newer the data weight is the higher the dynamic weight coefficient is the value of 0.1-0.3, The sliding window length is valued for 5-8, and the abnormal data is uploaded to the encrypted cloud server in real time; Step S4, delivery traceability control, wherein an operator submits delivery application and identity verification through an interactive screen (2), after checking authority of a main control board (6), a drawer motor (10) corresponding to a hole position drawer (3) is controlled to start, a door opening travel switch (4) is triggered, the motor is stopped, a double verification identification component records delivery drug weight and information, a door closing travel switch (9) feeds back and then generates delivery records, and related operator information is synchronized to a cloud; s5, recovery traceability control is carried out, expired or residual medicines are put into a recovery drawer (5), after the interactive screen (2) confirms the recovery type, the double-verification identification component collects recovery medicine information, the main control board (6) controls the recovery drawer (5) to be closed and generates recovery traceability codes, and the cloud camera (1) records the recovery process; And S6, emergency traceability control, namely automatically switching the UPS standby power supply (7) to supply power when the commercial power is interrupted, opening the hole position drawer (3) through the emergency lock (8) under the condition of extreme power failure, storing an emergency operation record by the main control board (6), and automatically uploading the encrypted cloud server after power supply is recovered to complete the whole-flow traceability closed loop.
- 2. The full-process traceability control method of the fentanyl medicine according to claim 1, wherein the dual-verification recognition component comprises a high-frequency RFID reader-writer which is integrated on the inner side wall of a hole position drawer (3) and a recycling drawer (5) and a high-precision weight sensor which is arranged at the bottom of the drawer, the RFID reader-writer supports an ISO18000-6B protocol, reads the distance of 0cm to 5cm, can collect information of medicine names, batch numbers, production dates, validity periods, production enterprises, specifications and theoretical weights in the fentanyl medicine labels, the measurement range of the weight sensor is 0 kg to 1kg, the precision is +/-0.01 g, the sampling frequency is 10Hz, and collected data of the two is transmitted to a main control board (6) through an SPI bus, and a cross-verification formula is: ≤ ; Wherein, the For the weight sensor to measure the weight, The label is marked with a single dose of drug by weight, Is prepared from the components of the Chinese medicinal materials, And when the maximum allowable error is 0.05g and the verification is not passed, the interaction screen (2) displays alarm information, and the hole position drawer (3) or the recovery drawer (5) cannot be closed.
- 3. The full-flow traceability control method of the fentanyl medicine according to claim 1 is characterized in that the identity verification comprises a double authentication mechanism, the first party is biological identification authentication, the biological information of an operator is collected through a fingerprint identification module or a face recognition module arranged in an interactive screen (2) and is compared with an authorized person information base pre-stored in a main control board (6), the second party is dynamic password authentication, an encrypted cloud server sends a 6-bit dynamic password to a mobile terminal bound by the authorized person, the validity period is 3 minutes, the operator finishes permission verification after inputting through the interactive screen (2), the double authentication can execute warehousing and ex-warehouse operations after passing through the interactive screen, and the emergency operation only needs biological identification authentication and automatic recording.
- 4. The method for controlling the total process traceability of the fentanyl medicine according to claim 3, wherein the temperature and humidity monitoring module comprises 3 temperature sensors and 2 humidity sensors which are uniformly arranged at the top, the middle and the bottom of a storage area of a hole position drawer (3), the measurement range of the temperature sensors is 0-40 ℃, the precision is +/-0.2 ℃, the measurement range of the humidity sensors is 20% -80% RH, the precision is +/-2% RH, the main control board (6) adopts a weighted fusion algorithm to the acquired temperature and humidity data, and a temperature fusion formula is: ; The humidity fusion formula is: ; Wherein, the 、 、 The temperature sensors at the top, the middle and the bottom collect values respectively, 、 For two humidity sensors, when Outside the range of 15-25℃ or When the RH range of 35% -65% is exceeded, the interaction screen (2) gives out audible and visual alarm, and alarm information is sent to 3 preset manager terminals.
- 5. The method for controlling the total process traceability of the fentanyl medicine according to claim 1, wherein the temperature and humidity monitoring module comprises 3 temperature sensors and 2 humidity sensors which are uniformly arranged at the top, the middle and the bottom of a storage area of a hole site drawer (3), the measurement range of the temperature sensors is 0-40 ℃, the precision is +/-0.2 ℃, the measurement range of the humidity sensors is 20% -80% RH, the precision is +/-2% RH, the main control board (6) adopts a weighted fusion algorithm to the acquired temperature and humidity data, and a temperature fusion formula is: ; The humidity fusion formula is: ; Wherein, the 、 、 The temperature sensors at the top, the middle and the bottom collect values respectively, 、 For two humidity sensors, when Outside the range of 15-25℃ or When the RH range of 35% -65% is exceeded, the interaction screen (2) gives out audible and visual alarm, and alarm information is sent to 3 preset manager terminals.
- 6. The method for controlling the total flow retrospective of fentanyl medicines according to claim 1, wherein the drawer motor (10) is a miniature direct current servo motor, each hole position drawer (3) and the recovery drawer (5) are provided with independent motors, rated voltage is 12V, rated power is 5W, the rotating speed range is 5-20r/min, the rotating speed is controlled by PWM signals, and the rotating speed adjusting formula is: ; Wherein, the As the actual rotational speed of the motor, At the rated rotation speed of 15r/min, The automatic door opening and closing device is characterized in that the PWM duty ratio is 30% -80%, the duty ratio is 80% when the door is opened, the rotating speed is 20r/min, the duty ratio is 30% when the door is closed, the rotating speed is 5r/min, the door opening travel switch (4) and the door closing travel switch (9) are normally closed micro-switches, the triggering response time is less than or equal to 10ms, the motor stops running within 5ms after receiving a switch feedback signal, and drawer collision is avoided.
- 7. The full-flow traceability control method of the fentanyl medicine according to claim 1 is characterized in that a 12V/50Ah lithium polymer battery pack is built in the UPS standby power supply (7), an intelligent power supply management module is arranged, the mains supply is in a floating state when normal, charging voltage is 13.8V, charging current is 2A, power supply switching is completed within 30ms when the mains supply is interrupted, the duration of continuous power supply is more than or equal to 8 hours, a main control board (6) monitors the residual quantity SOC of the UPS standby power supply (7) in real time, when the SOC is less than or equal to 30%, an interaction screen (2) displays a low power prompt, the frame rate of a cloud camera (1) is automatically reduced to 15fps to save power consumption, and when the SOC is less than or equal to 10%, an emergency power supply prompt is sent to an administrator terminal.
- 8. The full-process traceability control method of the fentanyl medicine according to claim 1 is characterized in that the emergency lock (8) is of a combined structure of a mechanical coded lock and an electronic lock, each hole position drawer (3) corresponds to an independent emergency lock (8), the mechanical coded lock is in a 6-bit digital combination, a periodic modification period of an interaction screen (2) is supported by an administrator and is not more than 30 days, the electronic lock state is fed back to a main control board (6) in real time through an I/O interface, when the emergency lock (8) is opened, a high-speed recording mode frame rate is automatically started by a cloud camera (1) for 30fps, meanwhile, the main control board (6) records opening time, lockset number and opening duration, emergency records and video are encrypted and uploaded to a cloud server within 10 seconds after power supply is recovered, and the administrator is required to supplement medicine taking reasons in the interaction screen (2) within 24 hours after emergency medicine taking.
- 9. The method for controlling the full-flow traceability of the fentanyl drug according to claim 1, wherein the encrypted cloud server stores traceability data by adopting a blockchain technology, each traceability record generates a unique hash value, and a hash value calculation formula is as follows: ; Wherein, the For the device to be a unique identification code, For operation of the time stamp to be accurate to milliseconds, For manipulating the core data medication information and personnel information, For the random number 0-65535, each block of the blockchain contains the hash value of the previous block, so that the data cannot be tampered, and an administrator accesses the server through the PC client or the mobile APP, and needs to verify the account password, the biological identification and the hardware key through three-level authority.
- 10. The full-flow traceability control method of the fentanyl type medicine according to claim 1, wherein the interactive screen (2) is an 8-inch capacitive touch screen, the resolution is 1920 multiplied by 1200, multi-touch control is supported, the anti-scratch and wear-resistant coating is provided, a display interface comprises a device state area, an operation guiding area, a data display area and an alarm area, the device state area displays the current temperature and humidity, the electric quantity of a UPS standby power supply (7) and the locking state of drawers (3) of all holes in real time, the operation guiding area provides step guiding of warehousing, ex-warehouse, recycling and emergency operation, the data display area can inquire operation records and medicine inventory information for nearly 30 days, the alarm area highlights abnormal information such as temperature and humidity exceeding, verification failure, electric quantity being too low and the like in red, meanwhile, history alarm record inquiry and export are supported, export formats comprise Excel and PDF, and export files are encrypted automatically.
Description
Whole-process traceability control method for fentanyl medicines Technical Field The invention relates to the technical field of medicine management and control, in particular to a full-flow traceability control method for fentanyl medicines. Background The fentanyl medicine is used as a powerful analgesic medicine and has important application value in the medical field, but because the fentanyl medicine has addiction and potential abuse risk, the fentanyl medicine belongs to a special medicine strictly controlled by the country, and extremely high requirements are put on the retrospective control of the whole life cycle of the fentanyl medicine. The current management and control mode of the fentanyl medicines mainly comprises manual registration and traditional storage cabinet storage, and has the technical defects and potential safety hazards that firstly, a tracing chain is incomplete, links of medicine warehouse entry, storage, warehouse exit, recovery and the like are mostly dependent on manual recording, the problems of neglect, misrecording, fake recording and the like are prone to occurrence, the medicine flow direction cannot be precisely traced back, once medicine loss or abuse occurs, a responsible main body is difficult to quickly locate, secondly, management and control precision is insufficient, an effective verification mechanism for medicine information is lacking, key information such as the quantity, specification and effective period of warehouse entry medicines are not accurately checked, risks such as medicine misplacement and overdue use are prone to occurrence, meanwhile, temperature and humidity monitoring of a storage environment is mostly manual regular inspection, real-time monitoring and intelligent regulation are not achieved, medicine deterioration is prone to being caused by environment abnormality, thirdly, safety protection measures are weak, authority management of operators is rough, single password verification is prone to occurrence, medicine accessibility and reliability under the extreme conditions of sudden outage and the like are not prone to emergency medical condition, fourth, the safety protection and the safety protection is poor, and the data can not be easily guaranteed, and the data can not be easily tampered with, and the data can not be safely controlled, and the data can be stored. Aiming at the defects of the prior art, a control method capable of realizing the full-flow closed-loop traceability, accurate management and control, high reliability and strong data security of the fentanyl medicine is needed to overcome the defects of the traditional management and control mode, improve the standardization and the security of the management and control of the fentanyl medicine, ensure the medical use safety and suppress the abuse risk. Disclosure of Invention The invention aims to provide a full-flow traceability control method for a fentanyl drug, which aims to solve the problems of incomplete control traceability chain, low control precision, weak safety protection and poor data safety of the existing fentanyl drug in the background art. In order to achieve the above purpose, the present invention provides the following technical solutions: The full-flow traceability control method for the fentanyl medicines is applied to intelligent management and control equipment of the fentanyl medicines, the equipment comprises a cloud camera, an interactive screen, a hole position drawer, a door opening travel switch, a recovery drawer, a main control board, a UPS standby power supply, an emergency lock, a door closing travel switch, a drawer motor, a double-verification identification component, a temperature and humidity monitoring module and an encrypted cloud server, and the control method comprises the following core flows: Step S1, initializing equipment, starting a temperature and humidity monitoring module by a main control board, calibrating environmental parameters in a hole site drawer to the temperature of 15-25 ℃ and humidity of 35-65% RH in a fentanyl medicine storage standard range, and simultaneously establishing a double-circuit power supply guarantee through a UPS standby power supply; Step S2, warehouse entry traceability control is performed, identity information of operators and batch information of medicines are input through an interactive screen, a double-verification identification component collects RFID label data and weight data of the medicines, after the double-verification identification component passes through cross verification of a main control board, drawers of corresponding holes are distributed, a drawer motor drives the drawers to open, a door opening travel switch triggers the motors to stop, the drawers are closed after medicines are put in, a door closing travel switch feedback signal is generated, a cloud camera records a whole-course video and binds with the medicine information, and a unique traceability code is generated;