Diabetic inpatient intelligent time-sharing medicine box and system based on Internet of Things
Through the Internet of Things technology, combined with intelligent time-sharing medicine boxes and biometrics, the problems of automated drug dispensing and drug collection monitoring in the existing technology are solved, automated drug distribution and full-process drug collection supervision are achieved, and rationality and accuracy of drug management in diabetic patients are improved.
Patent Information
- Application Number
- CN202510736400.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-04
- Publication Date
- 2025-09-02
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing smart drug box for hospitalized patients with diabetes cannot automatically generate drug dosage based on the patient's electronic medical records, lacks automatic dispensing function, cannot monitor the patient's medication collection action throughout the process, and occupies a large amount of nursing resources.
The intelligent time-sharing medicine box based on the Internet of Things is adopted, combined with the MCU, biometric module, electromagnetic lock, communication module and drug collection monitoring unit, and the time-sharing drug storage and drug collection supervision are realized through biometric verification, drug collection monitoring and temperature control systems.
Automatic dispensing of medications based on patient medical records is achieved, reducing the rate of medication errors, saving nursing resources, ensuring that patients take medication on time, and improving the implementation of the medication management system.
Smart Images

Figure CN120570792A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to an intelligent time-sharing medicine box, an intelligent medicine dispensing system and an intelligent medicine dispensing method, an electronic device and a computer-readable storage medium for inpatients with diabetes based on the Internet of Things. Background Art
[0002] Smart medicine boxes or smart medication boxes for diabetic inpatients can facilitate the medication use of diabetic inpatients. Drugs such as insulin can be stored in these smart medicine boxes in advance, and diabetic inpatients can be reminded to take their medicines on time. For example, the utility model patent with patent number CN221490780U discloses a portable smart medication box for diabetic patients, as shown in the attached figure. Figure 1 As shown, the medicine box includes a medicine storage box 1 and a reminder device 8 fixedly connected to one side of the medicine storage box 1. A partition structure is provided inside the medicine storage box 1. The partition structure includes a plurality of vertical plates 2. A plurality of horizontal plates 3 are evenly spaced and fixedly connected to one side of the vertical plates 2. An adjustment structure is provided on the side of the horizontal plate 3 away from the vertical plates 2. The adjustment structure includes a plurality of storage sleeves 4. A fixing structure for fixing the position of the vertical plates 2 is provided on the top of the medicine storage box 1 and close to the back side. The inner space is separated by the corresponding horizontal plates and vertical plates in the partition structure provided in the medicine storage box, and the extension distance of the horizontal plate is adjusted by using the storage sleeve in the adjustment structure provided on the horizontal plate. At the same time, the position of the vertical plate can be fixed by using the fixed structure after the adjustment is completed, so as to avoid the inconvenience of drug placement caused by the fixed setting of the partition space.
[0003] Although the above-mentioned smart medication box for diabetics can separate and store medicines through partitioned spaces and provide medication reminders, it still has the following inconveniences in actual use: Existing medicine boxes only allow nurses to pre-assess and store a certain amount of medication in the box according to its capacity. They cannot automatically generate the required medication amount based on the patient's hospitalization status and condition recorded in the patient's electronic medical record. The medicine box lacks automated dispensing capabilities. The existing smart medication boxes for diabetics, after being placed in the ward by nurses, only remind patients to pick up their medicines on time at the beginning. They are unable to follow up the entire process and detect whether the patients have taken their medicines in place. Therefore, there is no way to monitor the patients' medication-taking actions in real time and effectively. If nurses monitor the entire process, it will undoubtedly take up a lot of nursing resources. Therefore, there is no intelligent monitoring function for patients' medication-taking actions and a lack of a medication management system. Summary of the Invention
[0004] In order to solve the technical problems existing in the prior art, the present invention provides the following technical solutions: On the one hand, an Internet of Things-based intelligent time-sharing medicine box for inpatients with diabetes is provided. The medicine box includes a plurality of first time-series medicine storage boxes, ..., and Nth time-series medicine storage boxes of the same structure, which are used to store insulin / oral medications in corresponding time periods according to the medication time of inpatients with diabetes, wherein: The first time sequence medicine storage box comprises: MCU, used for logic calculation and communication control; The communication module is used to provide communication services between the medicine storage box and the nurse station backend server and the PDA device respectively; Electromagnetic lock, used to lock the medicine storage box; The biometric module is used to collect the patient's biometric information when the diabetic inpatient picks up medication. The MCU reports this information to the nurse station backend server via the communication module. After the nurse station backend server verifies the patient's biometric information, it issues an unlocking command. The MCU responds to the unlocking command and controls the electromagnetic lock to unlock, allowing the patient to pick up medication. The medication collection monitoring unit is used to monitor and collect the patient's medication collection sensor signal when the diabetic inpatient takes the medication, and the MCU reports it to the nurse station backend server through the communication module. The nurse station backend server verifies whether the patient has taken the medication within the time period specified by the medicine storage box. If so, the medication collection information is recorded; if not, a corresponding alarm message is issued. Display screen, used to display the patient's biological information and its verification results, medication collection information and / or corresponding alarm information; Power supply, used for power supply; The communication module, electromagnetic lock, biometric identification module, medicine taking monitoring unit, display screen and power supply are electrically connected to the MCU respectively.
[0005] Preferably, the first time-series medicine storage box further comprises: The temperature control unit includes a semiconductor cooling chip, a PID controller, and a temperature sensor. The temperature sensor monitors the ambient temperature in the medicine storage box and sends it to the MCU. The MCU generates a temperature control instruction for the medicine storage box based on the ambient temperature and feeds it back to the PID controller. The PID controller executes the temperature control instruction to control the operation of the semiconductor cooling chip. The semiconductor refrigeration plate is electrically connected to the PID controller; The PID controller and the temperature sensor are electrically connected to the MCU respectively.
[0006] Preferably, the biometric recognition module is a fingerprint acquisition sensor.
[0007] Preferably, the medicine taking monitoring unit includes a capacitive touch sensor and a weight sensor, which are used to monitor the capacitive touch information triggered when taking medicine and the weight change data generated by the medicine storage box and feed it back to the MCU, which reports to the nurse station backend server through the communication module; the nurse station backend server receives the capacitive touch information and weight change data at the same time, and verifies that the patient has successfully taken the medicine within the time period specified by the medicine storage box.
[0008] Preferably, the communication module is integrated with: A dual-mode transmission module consisting of Bluetooth BLE and NB-IOT is used to provide communication services between the medicine storage box and the nurse station backend server, uploading the patient's biological information and medication sensor signals to the nurse station backend server; The NFC module is used to provide communication services between the medicine storage box and the PDA device, transmitting the patient's medicine collection sensor signal to the PDA device to remind the nurse that the patient is taking medicine.
[0009] In another aspect, an intelligent medicine dispensing system is provided, comprising: IoT-based smart time-sharing medicine box for inpatients with diabetes; The backend server of the nurse station is used to record and bind the IoT-based intelligent time-sharing medicine box for inpatients with diabetes allocated to each inpatient with diabetes; and, read the patient's medication time from the patient's electronic medical record information stored in the HIS system, and generate pre-stored information of insulin / oral medicine corresponding to each time period in the medication time and send it to the PDA device, notifying the administrator to pre-store the insulin / oral medicine corresponding to the time period for the patient; and, after verifying the patient's biometric information, issue an unlocking instruction to the IoT-based intelligent time-sharing medicine box for inpatients with diabetes, and its MCU responds to the unlocking instruction and controls the electromagnetic lock to unlock, so that the patient can take the medicine; and, when the inpatient with diabetes takes the medicine, verify whether the patient takes the medicine within the time period specified by the medicine storage box: if so, record the medicine taking information; if not, issue a corresponding alarm message and forward it to the display screen and PDA device respectively; A PDA device, used to respond to information sent by the nurse station backend server; The Internet of Things-based intelligent time-sharing medicine box for inpatients with diabetes and the PDA device are respectively connected to the background server of the nurse station for communication.
[0010] On the other hand, a smart medicine dispensing method is also provided, which is implemented based on the above-mentioned smart medicine dispensing system and includes: (1) Pre-storage stage The backend server of the nurse station records and binds the IoT-based intelligent time-sharing medicine box for diabetic inpatients assigned to each diabetic inpatient; The backend server of the nurse station reads the patient's medication time from the patient's electronic medical record information stored in the HIS system, and generates pre-stored information of insulin / oral medication for each time period according to each time period of the medication time, and sends it to the PDA device, notifying the administrator to pre-store insulin / oral medication for the patient in advance; (2) Medication collection stage When a diabetic inpatient takes medicine, the biometric identification module of the IoT-based intelligent time-sharing medicine box for diabetic inpatients collects the patient's biometric information and reports it to the nurse station backend server through the MCU via the communication module; After the nurse station's backend server verifies the patient's biometric information, it issues an unlocking command. The MCU responds to the unlocking command and controls the electromagnetic lock to unlock, allowing the patient to retrieve their medication. The medicine taking monitoring unit of the IoT-based intelligent time-sharing medicine box for inpatients with diabetes monitors and collects the patient's medicine taking sensor signal and reports it to the nurse station backend server through the MCU via the communication module; The nurse station backend server verifies whether the patient has taken medicine within the time period specified by the medicine storage box: if so, the medicine taking information is recorded; if not, a corresponding alarm message is issued.
[0011] On the other hand, an electronic device is provided, comprising: a processor; and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the above-mentioned intelligent medicine distribution method is implemented.
[0012] On the other hand, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the above-mentioned intelligent medicine distribution method. The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least: The IoT-based intelligent time-sharing medicine box for inpatients with diabetes, proposed in this paper, automatically calculates insulin dispensing amounts based on the patient's blood glucose EMR data and pre-stores insulin / oral medications for corresponding time periods in separate time-series medicine storage boxes. When a diabetic inpatient accesses medication, the box monitors and verifies the patient's biometric information, confirming access by re-unlocking the box. It further verifies the patient's medication removal sensor signal to verify whether the patient has accessed medication within the time period specified by the medicine storage box. If so, the information is recorded; otherwise, an alert is issued.
[0013] Therefore, the present invention automatically and adaptively generates the required medication dosage based on the patient's hospitalization status and condition as recorded in their electronic medical record, thereby improving the rationality of medication dispensing and preventing waste caused by nurses' blind prescriptions. Furthermore, by integrating biometric recognition with Internet of Things technology, the present invention reduces medication error rates compared to traditional pill boxes and enables full monitoring of the patient's medication collection process, conserving nursing resources, strengthening the implementation of medication management systems for inpatients with diabetes, and achieving intelligent medication management. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0015] Figure 1 It is a schematic diagram of the combination of the medicine box of the prior art mentioned in the background technology; Figure 2 This is a schematic diagram of the system structure of an Internet of Things-based intelligent time-sharing medicine box for inpatients with diabetes provided by an embodiment of the present invention; Figure 3 This is a block diagram of an intelligent medicine dispensing system provided by an embodiment of the present invention; Figure 4 It is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0016] The technical solution of the present invention is described below in conjunction with the accompanying drawings.
[0017] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as an "exemplary" in the present invention should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of the word "exemplary" is intended to present concepts in a concrete manner. Furthermore, in the embodiments of the present invention, "and / or" can mean both or either of the two.
[0018] In the embodiments of the present invention, the terms "image" and "picture" may sometimes be used interchangeably. It should be noted that, when the distinction is not emphasized, the meanings they convey are the same. The terms "of," "corresponding," and "corresponding" may sometimes be used interchangeably. It should be noted that, when the distinction is not emphasized, the meanings they convey are the same.
[0019] In the embodiments of the present invention, sometimes a subscript such as W1 may be mistakenly written as a non-subscript form such as W1. When the difference is not emphasized, the meanings to be expressed are the same.
[0020] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0021] The IoT-based smart time-sharing medicine box for inpatients with diabetes provided in this embodiment can have a medicine box body that refers to existing IoT smart lockers (such as the structure and locking control principle of Fengchao cabinets, etc.) or smart medicine storage cabinets (such as the hardware system composition of a smart medicine cabinet management method disclosed in CN116403675A, the structure of the smart medicine storage box disclosed in CN213911374U, etc.). Its specific structure, size, etc. are not limited in this embodiment.
[0022] The embodiment of the present invention provides an intelligent time-sharing medicine box for inpatients with diabetes based on the Internet of Things. Figure 2 The schematic diagram of the system structure of an IoT-based smart time-sharing medicine box for inpatients with diabetes shows this. The medicine box includes several identically structured first, ..., and Nth time-sharing medicine boxes (i.e., a medicine box includes several medicine cabinets / grids for storing medications at different time periods (time slots), each storing medications for the corresponding time slots. The box regularly monitors whether the patient has taken medication from the corresponding time-sharing medicine box. For example, if the patient should take medication from the third time-sharing medicine box at 12:45 pm, the time-sharing medicine box will sense and monitor whether the patient has effectively taken medication and report this to the backend). The medicine box is used to store insulin / oral medications for the corresponding time slots according to the medication time of the inpatients with diabetes (the patient's medical record records medication time, which is divided into different time slots. Therefore, the backend can interpret the medication time information and generate a medication list for the corresponding time slots (corresponding pre-stored medication information). The list is then sent to the nurse in charge of the patient. The nurse receives the pre-stored information via her PDA device and is notified to prepare the medicine box for the patient, pre-store medications for each time slot in the corresponding time-sharing medicine box). The first time sequence medicine storage box comprises: MCU, used for logic calculation and communication control; The communication module is used to provide communication services between the medicine storage box and the nurse station backend server and the PDA device respectively; the communication module is integrated with: a dual-mode transmission module composed of Bluetooth BLE and Internet of Things NB-IOT, which is used to provide communication services between the medicine storage box and the nurse station backend server, uploading the patient's biological information and medicine collection sensor signal to the nurse station backend server; an NFC module, which is used to provide communication services between the medicine storage box and the PDA device, transmitting the patient's medicine collection sensor signal to the PDA device, reminding the nurse that the patient is taking medicine; The temperature control unit includes a semiconductor refrigeration chip, a PID controller, and a temperature sensor. The temperature sensor monitors the ambient temperature in the medicine storage box and sends it to the MCU. The MCU generates a temperature control instruction for the medicine storage box based on the ambient temperature and feeds it back to the PID controller. The PID controller executes the temperature control instruction to control the operation of the semiconductor refrigeration chip. The semiconductor refrigeration chip is electrically connected to the PID controller. The PID controller and the temperature sensor are respectively electrically connected to the MCU. Electromagnetic lock, used to lock the medicine storage box; The biometric module (primarily using a fingerprint sensor) is used to collect the patient's biometric information when diabetic inpatients pick up their medication. The MCU then reports this information to the nurse station backend server via the communication module. After verifying the patient's biometric information, the nurse station backend server issues an unlocking command, which the MCU responds to and controls to unlock the electromagnetic lock, allowing the patient to retrieve their medication. The medicine taking monitoring unit (mainly using capacitive touch sensors and weight sensors, which respectively monitor the capacitive touch information triggered when taking medicine and the weight change data generated by the medicine storage box and feed them back to the MCU, which reports to the nurse station backend server through the communication module; the nurse station backend server receives the capacitive touch information and weight change data at the same time, and verifies that the patient has successfully taken medicine within the time period specified by the medicine storage box) is used to monitor and collect the patient's medicine taking sensor signal when the diabetic inpatient takes medicine, and report it to the nurse station backend server through the communication module by the MCU; the nurse station backend server verifies whether the patient has taken medicine within the time period specified by the medicine storage box: if so, the medicine taking information is recorded; if not, a corresponding alarm message is issued; Display screen, used to display the patient's biological information and its verification results, medication collection information and / or corresponding alarm information; Power supply, used for power supply; The communication module, electromagnetic lock, biometric identification module, medicine taking monitoring unit, display screen and power supply are electrically connected to the MCU respectively.
[0023] The following will be combined with the Figure 2 The system architecture shown in the figure describes in detail the implementation principle and system architecture of the present invention.
[0024] The following hardware configurations are merely examples of the present invention, and the specific models can be purchased by the user according to their needs.
[0025] 1. Intelligent Time-Sharing Medicine Box Technology Architecture Hardware layer design 1.1 Main Control Unit The STM32F407VGT6 is the core MCU, powered by an ARM Cortex-M4 core running at 168MHz and equipped with 1MB of Flash memory. The chip supports a floating-point unit, enabling efficient processing of multi-sensor data fusion.
[0026] 1.2 Communication module group (see attached Figure 3 shown) (1) Dual-mode transmission module: The Bluetooth BLE module uses the Nordic nRF52832 chip and supports Bluetooth 5.0 protocol; The NB-IoT module uses Quectel BC95-B8, which supports Band 8.
[0027] (2) The NFC module uses NXP PN5180, which complies with ISO14443A / B standards.
[0028] 1.3 Biometric Module Equipped with FPC1020A fingerprint sensor, the resolution is 508dpi, the acquisition time is less than 1s, and the false recognition rate is ≤0.002%.
[0029] 1.4 Medication Monitoring Unit The capacitive touch sensor uses MPR121QR2, which supports 12-channel detection; The weight sensor uses the HX711 module with a BC-2kg weighing sensor, with an accuracy of ±1g.
[0030] 1.5 Electromagnetic lock assembly Use G5-12V micro electromagnetic lock with a holding force of 2.5kg and a response time of ≤50ms.
[0031] 1.6 Temperature Control System Semiconductor refrigeration chip model TEC1-12706, temperature difference range ±40℃; The PID controller uses the MAXIM MAX31855 temperature controller; The temperature sensor uses DS18B20 with an accuracy of ±0.5℃.
[0032] 1.7 Display Unit Equipped with a 2.4-inch IPS LCD screen (ST7789V driver IC), a resolution of 320×240, and supports touch operation.
[0033] 1.8 Power Management It uses the TI BQ25895 charging management chip, supports the QC3.0 fast charging protocol, and is equipped with a 3.7V / 5000mAh lithium polymer battery.
[0034] Communication layer architecture: 2.1 Short-range communication NFC establishes a P2P connection with the PDA with a transmission rate of 424kbps; BLE broadcast mode is used for device discovery, with a connection interval of 20ms.
[0035] 2.2 Wide Area Communication The NB-IoT module is configured with DRX=1.28s, PSM=20min, and an uplink rate of 62.5kbps.
[0036] Service layer architecture (the backend integrates an inpatient management system to manage the hospitalization information of each diabetic inpatient, including collecting their biometric fingerprint information; the HIS system can build patient electronic medical records and record their medical orders; the database uses, for example, a MYSQL database to store backend information; the medication collection monitoring system verifies and records medication collection data. If wireless medication collection is detected, an alarm is generated and pushed to the corresponding nurse's PDA device by the alarm push system): 3.1 Data Analysis Service Deploy a RabbitMQ message queue to process the sensor data stream (a message middleware deployed on the backend, used to send and receive data according to its message queue mechanism, not shown in the figure), and set QoS=1 to ensure transmission.
[0037] 3.2 Biometric Database Uses ArcSoft's ArcFace 3.0 algorithm (fingerprint comparison), and the eigenvalue storage format is ISO / IEC 19794-2.
[0038] 3.3 Temperature Control Algorithm The fuzzy PID control algorithm was implemented with a sampling period of 2s, a proportional band of 5°, and an integration time of 120s.
[0039] 2. System Application Implementation Process 1. Medical order data processing stage The hospital's HIS system generates a structured medication plan: a 5-minute tolerance window is set for time accuracy, and dosage specifications are accurate to 0.1 unit (insulin); For example, you can generate the following JSON format corresponding to different time-slot instructions for pre-stored information: { "patientID": "DM202311001", "schedule": [ { "timeWindow": "07:00-07:15", "drug": "Insulin Aspart", "dose": "12U", "storageTemp": "2-8℃" }, { "timeWindow": "12:45-13:00", "drug": "metformin", "dose": "0.5g", "storageTemp": "normal temperature" } ] }. The above time-division instructions can be sent to the nurse's PDA, allowing them to prepare the medicine in advance and store it in time-series medicine storage boxes with different attributes (configured time periods). They can also be sent to an automatic medicine loading robot, allowing the robot to execute the corresponding time-division instructions, automatically pre-stock the medicine in the corresponding medicine storage box in the patient's intelligent time-division medicine box, and deliver it to the bed. The specific combination of robots (medication packaging robots, transport robots) to achieve the above-mentioned automatic medicine packaging and delivery functions can be implemented in combination with robot control technology. For example: (1) Robot control system of the backend server Connect to the hospital HIS system to obtain medical order data; Generate drug packaging instructions with timestamps (see above description); The instructions are transmitted to the packaging robot control terminal via the 5G private network.
[0040] (2) Intelligent packaging robot system Equipped with a visual recognition robotic arm (to identify drug shape / color / barcode); Connect to automatic medicine cabinet to obtain prescription drugs; Pack into four-compartment medicine storage boxes according to time sequence (morning / noon / evening / before bed); Built-in NFC chip to write patient ID + medication time; After the subpackaging is completed, the transport robot signal is triggered.
[0041] (3) Time-sharing medicine storage box device (see the description of the composition structure of the intelligent time-sharing medicine box of the present invention).
[0042] (4) Transport robot system SLAM navigation algorithm plans the ward path; Double-cabin design (upper compartment for transporting new medicine boxes and lower compartment for recycling old medicine boxes); Scan the barcode gun to verify the bed RFID tag; Automatically take photos and archive the handover process; Abnormal delay activates the secondary transportation plan.
[0043] (5) Data closed-loop system After taking the medicine, the patient presses the confirmation button to feedback to HIS; Failure to pick up medication on time triggers a reminder from the nurse station; Generate medication compliance analysis reports; Automatic replenishment of drug inventory alerts.
[0044] 2. Nursing operation process 2.1 PDA device configuration The nurse holds a Unitech PA760 industrial-grade PDA, which is equipped with Android 9.0 and a built-in NXP PN80T NFC chipset.
[0045] 2.2 Medicine box initialization (1) The PDA is brought close to the NFC area of the medicine box (distance < 5 cm) to establish a connection; (2) Transmit encrypted medication configuration parameters (AES-128 encryption); (3) After MCU parses the instruction: Activate the corresponding time-series medicine storage box (e.g. box 1# corresponds to the 07:00 time period); Set the temperature control parameters (when 2-8°C is required, PID set value = 5°C ± 3°C).
[0046] 2.3 Drug loading verification (1) After the nurse places the medicine, the weight sensor automatically calibrates: Baseline value = current reading - theoretical drug weight.
[0047] (2) The system performs two-factor authentication: Weight deviation ≤±5%; Temperature compliance ±1℃; (3) Abnormal situations trigger three-level warnings: Yellow warning: 1 verification failed; Orange warning: 2 consecutive failures; Red alert: 3 consecutive failures.
[0048] 3. Patient medication collection process 3.1 Identity Authentication Phase (1) The patient touches the fingerprint sensor, and the FPC1020A collects ≥12 feature points (minutiae); (2) Generate a 256-bit feature hash value and upload it to the server via NB-IoT; (3) The ArcSoft algorithm takes less than 800ms to compare and returns a confidence value; 3.2 Unlock control logic is as follows: Fingerprint verification passed + time window valid: unlock immediately; Fingerprint passed + time window expired: vibration prompt + LED flashes red; Fingerprint failed + Time window valid: lock and try again after 1 minute.
[0049] 3.3 Monitoring of medication taking behavior (1) Capacitive sensor detects human hand contact (threshold > 200fF); (2) Weight sensor records dynamic change curve: Within 10 seconds after unlocking, there should be a weight change of ≥50g (total weight of the medicine in the medicine storage box); The remaining weight after drug dispensing is completed is ≤ the preset drug weight × 10%.
[0050] If the above conditions are met, the medicine can be taken effectively.
[0051] 3.4 Data reporting mechanism (1) Immediate reporting of incidents: Biometric data (per verification attempt); Abnormal unlocking events; Temperature exceeding limit alarm (default).
[0052] (2) Periodic reporting of data: Battery status (hourly); Historical medication records (every 6 hours); Equipment self-test report (00:00 every day).
[0053] 1.Background monitoring system 4.1 Real-time monitoring dashboard (1) Ward panoramic view: displays the status of all online medicine boxes; (2) Key patient tracking: marking cases with more than three abnormal medications; (3) Environmental monitoring panel: counts the number of devices with temperature exceeding the standard.
[0054] 4.2 Warning Process (1) Failure to collect medication on time: First timeout: PDA pushes reminder to responsible nurse; 15 minutes timeout: activate the ward call system; 30 minutes timeout: Generate a doctor's notice.
[0055] (2) Temperature abnormality handling: If the limit is exceeded for 1 hour continuously: the backup medicine storage box is activated; Temperature > 8°C for 2 hours: Perform drug effectiveness assessment.
[0056] 5. Maintenance management module 5.1 Equipment Self-Test Procedure Executed at 03:00 daily: Electromagnetic lock actuation test (3 cycles); Sensor benchmark calibration; Memory bad block detection.
[0057] 5.2 OTA Upgrade Mechanism Adopting differential upgrade solution: Use LZMA compression algorithm to reduce the size of transmission packets; Dual backup system (A / B partitions) ensures upgrade security; Transmission integrity verification (SHA-256 checksum).
[0058] Therefore, based on the above implementation, the required medication amount can be automatically and adaptively generated based on the patient's hospitalization status and condition as recorded in the patient's electronic medical record, thereby improving the rationality of medication dispensing and avoiding waste caused by nurses' blind medication dispensing. Furthermore, by integrating biometric recognition with Internet of Things technology, the present invention reduces the medication error rate compared to traditional pill boxes and can fully monitor the patient's medication collection process, saving nursing resources, strengthening the implementation of medication management systems for hospitalized diabetic patients, and realizing intelligent medication management.
[0059] Combined with attachment Figure 2 As shown, on the other hand, an intelligent medicine dispensing system is provided, the system comprising: IoT-based smart time-sharing medicine box for inpatients with diabetes; The backend server of the nurse station is used to record and bind the IoT-based intelligent time-sharing medicine box for inpatients with diabetes allocated to each inpatient with diabetes; and, read the patient's medication time from the patient's electronic medical record information stored in the HIS system, and generate pre-stored information of insulin / oral medicine corresponding to each time period in the medication time and send it to the PDA device, notifying the administrator to pre-store the insulin / oral medicine corresponding to the time period for the patient; and, after verifying the patient's biometric information, issue an unlocking instruction to the IoT-based intelligent time-sharing medicine box for inpatients with diabetes, and its MCU responds to the unlocking instruction and controls the electromagnetic lock to unlock, so that the patient can take the medicine; and, when the inpatient with diabetes takes the medicine, verify whether the patient takes the medicine within the time period specified by the medicine storage box: if so, record the medicine taking information; if not, issue a corresponding alarm message and forward it to the display screen and PDA device respectively; A PDA device, used to respond to information sent by the nurse station backend server; The Internet of Things-based intelligent time-sharing medicine box for inpatients with diabetes and the PDA device are respectively connected to the background server of the nurse station for communication.
[0060] Please understand and implement the composition and interaction of the above system in conjunction with the previous description of "Intelligent Time-Sharing Medicine Box for Inpatient Diabetes Patients Based on the Internet of Things" and will not be repeated here.
[0061] On the other hand, a smart medicine dispensing method is also provided, which is implemented based on the above-mentioned smart medicine dispensing system and includes: (1) Pre-storage stage The backend server of the nurse station records and binds the IoT-based intelligent time-sharing medicine box for diabetic inpatients assigned to each diabetic inpatient; The backend server of the nurse station reads the patient's medication time from the patient's electronic medical record information stored in the HIS system, and generates pre-stored information of insulin / oral medication for each time period according to each time period of the medication time, and sends it to the PDA device, notifying the administrator to pre-store insulin / oral medication for the patient in advance; (2) Medication collection stage When a diabetic inpatient takes medicine, the biometric identification module of the IoT-based intelligent time-sharing medicine box for diabetic inpatients collects the patient's biometric information and reports it to the nurse station backend server through the MCU via the communication module; After the nurse station's backend server verifies the patient's biometric information, it issues an unlocking command. The MCU responds to the unlocking command and controls the electromagnetic lock to unlock, allowing the patient to retrieve their medication. The medicine taking monitoring unit of the IoT-based intelligent time-sharing medicine box for inpatients with diabetes monitors and collects the patient's medicine taking sensor signal and reports it to the nurse station backend server through the MCU via the communication module; The nurse station backend server verifies whether the patient has taken medicine within the time period specified by the medicine storage box: if so, the medicine taking information is recorded; if not, a corresponding alarm message is issued.
[0062] Similarly, the specific implementation process of this method should be understood and implemented in conjunction with the previous description of "Intelligent Time-Sharing Medicine Box for Inpatients with Diabetes Based on the Internet of Things", and will not be repeated here.
[0063] Figure 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention, such as Figure 4 As shown, the electronic device 410 may include a first processor 2001 .
[0064] Optionally, the electronic device 410 may further include a memory 2002 and a transceiver 2003 .
[0065] The first processor 2001, the memory 2002 and the transceiver 2003 may be connected via a communication bus.
[0066] The following combination Figure 4 The components of the electronic device 410 are described in detail. The first processor 2001 is the control center of the electronic device 410 and can be a single processor or a collective term for multiple processing elements. For example, the first processor 2001 can be one or more central processing units (CPUs), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention, such as one or more digital signal processors (DSPs) or one or more field programmable gate arrays (FPGAs).
[0067] Optionally, the first processor 2001 can execute various functions of the electronic device 410 by running or executing software programs stored in the memory 2002 and calling data stored in the memory 2002.
[0068] In a specific implementation, as an embodiment, the first processor 2001 may include one or more CPUs, such as Figure 4 CPU0 and CPU1 are shown in FIG.
[0069] In a specific implementation, as an embodiment, the electronic device 410 may also include multiple processors, such as Figure 4 1 and 2. The first processor 2001 and the second processor 2004 are shown in FIG. Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein can refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0070] The memory 2002 is used to store the software program for executing the solution of the present invention, and is controlled by the first processor 2001 for execution. The specific implementation method can refer to the above method embodiment and will not be repeated here.
[0071] Alternatively, the memory 2002 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 2002 may be integrated with the first processor 2001 or exist independently and accessed through the interface circuit ( Figure 4 (not shown) is coupled to the first processor 2001, which is not specifically limited in this embodiment of the present invention.
[0072] The transceiver 2003 is used to communicate with a network device or a terminal device.
[0073] Optionally, the transceiver 2003 may include a receiver and a transmitter ( Figure 4 The receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.
[0074] Optionally, the transceiver 2003 may be integrated with the first processor 2001, or may exist independently and communicate with the first processor 2001 through the interface circuit ( Figure 4 (not shown) is coupled to the first processor 2001, which is not specifically limited in this embodiment of the present invention.
[0075] It should be noted that Figure 4 The structure of the electronic device 410 shown in the figure does not constitute a limitation on the router. The actual knowledge structure recognition device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0076] In addition, the technical effects of the electronic device 410 can refer to the technical effects of the intelligent medicine dispensing method described in the above method embodiment, and will not be repeated here.
[0077] It should be understood that the first processor 2001 in the embodiment of the present invention may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, etc.
[0078] It should also be understood that the memory in the embodiments of the present invention may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0079] The above embodiments can be implemented in whole or in part via software, hardware (e.g., circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When loaded or executed on a computer, the processes or functions described in accordance with the embodiments of the present invention are fully or partially performed. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired means (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium accessible by a computer or a data storage device such as a server or data center that contains a collection of one or more available media. The available medium can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media. The semiconductor media can be a solid-state drive.
[0080] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. A and B can be singular or plural. Furthermore, the character " / " as used herein generally indicates an "or" relationship between the associated objects, but it may also indicate an "and / or" relationship. For specific understanding, please refer to the context.
[0081] In this disclosure, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, "at least one of a, b, or c" can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or plural.
[0082] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0083] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
[0084] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described equipment, devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0085] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interface, indirect coupling or communication connection of the device or unit, which can be electrical, mechanical or other forms.
[0086] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0087] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0088] If the functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or the portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include various media that can store program code, such as USB flash drives, mobile hard drives, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical disks.
[0089] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. An intelligent time-sharing medicine box for inpatients with diabetes based on the Internet of Things, characterized in that: The medicine box includes a plurality of first time-sequential medicine storage boxes, ..., and Nth time-sequential medicine storage boxes of the same structure, which are used to store insulin / oral medicine in corresponding time periods according to the medication time of hospitalized diabetic patients, wherein: The first time sequence medicine storage box comprises: MCU, used for logic calculation and communication control; The communication module is used to provide communication services between the medicine storage box and the nurse station backend server and the PDA device respectively; Electromagnetic lock, used to lock the medicine storage box; The biometric module is used to collect the patient's biometric information when the diabetic inpatient picks up medication. The MCU reports this information to the nurse station backend server via the communication module. After the nurse station backend server verifies the patient's biometric information, it issues an unlocking command. The MCU responds to the unlocking command and controls the electromagnetic lock to unlock, allowing the patient to pick up medication. The medication collection monitoring unit is used to monitor and collect the patient's medication collection sensor signal when the diabetic inpatient takes the medication, and the MCU reports it to the nurse station backend server through the communication module. The nurse station backend server verifies whether the patient has taken the medication within the time period specified by the medicine storage box. If so, the medication collection information is recorded; if not, a corresponding alarm message is issued. Display screen, used to display the patient's biological information and its verification results, medication collection information and / or corresponding alarm information; Power supply, used for power supply; The communication module, electromagnetic lock, biometric identification module, medicine taking monitoring unit, display screen and power supply are electrically connected to the MCU respectively.
2. The intelligent time-sharing medicine box and system for inpatients with diabetes based on the Internet of Things according to claim 1 is characterized in that: The first time sequence medicine storage box also includes: The temperature control unit includes a semiconductor cooling chip, a PID controller, and a temperature sensor. The temperature sensor monitors the ambient temperature in the medicine storage box and sends it to the MCU. The MCU generates a temperature control instruction for the medicine storage box based on the ambient temperature and feeds it back to the PID controller. The PID controller executes the temperature control instruction to control the operation of the semiconductor cooling chip. The semiconductor refrigeration plate is electrically connected to the PID controller; The PID controller and the temperature sensor are electrically connected to the MCU respectively.
3. The intelligent time-sharing medicine box and system for inpatients with diabetes based on the Internet of Things according to claim 1 is characterized in that: The biometric recognition module is a fingerprint collection sensor.
4. The intelligent time-sharing medicine box and system for inpatients with diabetes based on the Internet of Things according to claim 1 is characterized in that: The medicine taking monitoring unit includes a capacitive touch sensor and a weight sensor, which are used to monitor the capacitive touch information triggered when taking medicine and the weight change data generated by the medicine storage box and feed it back to the MCU, which reports it to the nurse station backend server through the communication module; the nurse station backend server receives the capacitive touch information and weight change data at the same time, and verifies that the patient has successfully taken the medicine within the time period specified by the medicine storage box.
5. The intelligent time-sharing medicine box and system for inpatients with diabetes based on the Internet of Things according to claim 1 is characterized in that: The communication module is integrated with: A dual-mode transmission module consisting of Bluetooth BLE and NB-IOT is used to provide communication services between the medicine storage box and the nurse station backend server, uploading the patient's biological information and medication sensor signals to the nurse station backend server; The NFC module is used to provide communication services between the medicine storage box and the PDA device, transmitting the patient's medicine collection sensor signal to the PDA device to remind the nurse that the patient is taking medicine.
6. An intelligent medicine dispensing system, characterized in that: The system includes: The smart time-sharing medicine box for inpatients with diabetes based on the Internet of Things according to any one of claims 1 to 5; The backend server of the nurse station is used to record and bind the IoT-based intelligent time-sharing medicine box for inpatients with diabetes allocated to each inpatient with diabetes; and, read the patient's medication time from the patient's electronic medical record information stored in the HIS system, and generate pre-stored information of insulin / oral medicine corresponding to each time period in the medication time and send it to the PDA device, notifying the administrator to pre-store the insulin / oral medicine corresponding to the time period for the patient; and, after verifying the patient's biometric information, issue an unlocking instruction to the IoT-based intelligent time-sharing medicine box for inpatients with diabetes, and its MCU responds to the unlocking instruction and controls the electromagnetic lock to unlock, so that the patient can take the medicine; and, when the inpatient with diabetes takes the medicine, verify whether the patient takes the medicine within the time period specified by the medicine storage box: if so, record the medicine taking information; if not, issue a corresponding alarm message and forward it to the display screen and PDA device respectively; A PDA device, used to respond to information sent by the nurse station backend server; The Internet of Things-based intelligent time-sharing medicine box for inpatients with diabetes and the PDA device are respectively connected to the background server of the nurse station for communication.
7. An intelligent medicine dispensing method, implemented based on the intelligent medicine dispensing system according to claim 6, characterized in that: include: (1) Pre-storage stage The backend server of the nurse station records and binds the IoT-based intelligent time-sharing medicine box for diabetic inpatients assigned to each diabetic inpatient; The backend server of the nurse station reads the patient's medication time from the patient's electronic medical record information stored in the HIS system, and generates pre-stored information of insulin / oral medication for each time period according to each time period of the medication time, and sends it to the PDA device, notifying the administrator to pre-store insulin / oral medication for the patient in advance; (2) Medication collection stage When a diabetic inpatient takes medicine, the biometric identification module of the IoT-based intelligent time-sharing medicine box for diabetic inpatients collects the patient's biometric information and reports it to the nurse station backend server through the MCU via the communication module; After the nurse station's backend server verifies the patient's biometric information, it issues an unlocking command. The MCU responds to the unlocking command and controls the electromagnetic lock to unlock, allowing the patient to retrieve their medication. The medicine taking monitoring unit of the IoT-based intelligent time-sharing medicine box for inpatients with diabetes monitors and collects the patient's medicine taking sensor signal and reports it to the nurse station backend server through the MCU via the communication module; The nurse station backend server verifies whether the patient has taken medicine within the time period specified by the medicine storage box: if so, the medicine taking information is recorded; if not, a corresponding alarm message is issued.
8. An electronic device, characterized in that: The electronic device comprises: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the method according to claim 7 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, which can be called by a processor to execute the method according to claim 7.
Citation Information
Patent Citations
Intelligent medicine cabinet management method, storage medium and electronic equipment
CN116403675A
Intelligent medicine storage box
CN213911374U
Portable intelligent medicine feeding box for diabetics
CN221490780U