Intelligent medicine box and medicine taking management system
By utilizing intelligent pillboxes and medication management systems, and employing dynamic drug grid matrix units, various sensors, tags, terminals, and cloud platforms, the complexity and potential for errors in clinical medication management have been resolved, achieving intelligent and secure drug zoning and medication supervision.
Patent Information
- Application Number
- CN202511038183.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-28
- Publication Date
- 2025-10-28
AI Technical Summary
Current clinical medication management suffers from problems such as cumbersome manual repackaging, unclear information identification, high risk of medication errors, inability to adapt to complex prescriptions, lack of identity association, and data being out of control.
Employing dynamic drug compartment matrix units, handheld terminals, cloud management platforms, and collaborative control modules, and utilizing programmable magnetic drug compartment modules, piezoelectric film sensors, three-color LED indicators, and NFC tags, the system achieves intelligent drug zoning, identity binding, and closed-loop data management.
It enables intelligent configuration of drug zones and error-free medication guidance, improving medication safety and management efficiency, adapting to complex prescriptions, and providing reliable closed-loop supervision.
Smart Images

Figure CN120853801A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet of Things (IoT) smart medical technology, and in particular to a smart pillbox and medication management system. Background Technology
[0002] Currently, clinical medication management largely relies on manual dispensing, requiring healthcare professionals to individually package different pills into sealed plastic bags and manually label them with medication information. This traditional method has significant drawbacks: firstly, the manual process is cumbersome, time-consuming, and labor-intensive; secondly, handwritten labels can easily lead to unclear or confused information, making it difficult to avoid medication errors. Furthermore, patients rely solely on the written instructions on the bag to take their medication, lacking proactive medication reminders and verification mechanisms, which is particularly inconvenient for people with dementia or the elderly. While existing electronic pillboxes attempt to optimize some aspects, they still have significant limitations: fixed compartments are difficult to adapt to complex and ever-changing clinical medication regimens, requiring manual resetting for medication adjustments; simple audio-visual reminders cannot be linked to specific patient identities and medication guidance information; and medication data is detached from the hospital management system, failing to form a closed-loop monitoring system.
[0003] Therefore, there is an urgent need for an intelligent pillbox and medication management system that can dynamically configure drug zones, intelligently guide the medication process, and enable data exchange between doctors and patients. Summary of the Invention
[0004] To address the aforementioned technical issues, this invention provides an intelligent pillbox and medication management system that enables intelligent dispensing guidance, error-free identity binding, and closed-loop monitoring of treatment adherence throughout the entire clinical medication process.
[0005] This invention provides an intelligent pillbox and medication management system, comprising: a dynamic pillbox matrix unit, a handheld terminal, a cloud management platform, and a collaborative control module; The dynamic drug grid matrix unit is composed of multiple programmable magnetic drug grid modules, each of which includes a piezoelectric thin film sensor, a tri-color LED indicator, and an NFC tag. The handheld terminal integrates an NFC scanning module and a drug image display interface; The cloud management platform is used to store medication schedule time windows and generate timestamped electronic medication reports; The collaborative control module, connecting the dynamic drug grid matrix unit, the handheld terminal, and the cloud management platform, is used for: A drug grid location mapping table is generated based on prescription information using a drug grid allocation optimization algorithm; According to the drug compartment location mapping table, drug identification data is written to the NFC tag of the target programmable magnetic drug compartment module, and the drug identification data is synchronized to the handheld terminal and the cloud management platform; Based on the medication schedule time window, the three-color LED indicator lights are controlled to display in hierarchical and zoned modes; Based on the display status of the three-color LED indicator, patient information is verified using the piezoelectric film sensor and NFC scanning. Based on the validation results and historical medication data, a medication adherence prediction model was run to generate intervention strategies.
[0006] Furthermore, the piezoelectric thin film sensor is attached to the bottom of the drug compartment cavity to detect drug pickup actions; The three-color LED indicator lights are arranged in a ring around the periphery of the medicine compartment opening; The NFC tag is embedded in the electromagnetic shielding layer of the medicine compartment shell.
[0007] Furthermore, the programmable magnetic drug compartment module is detachably connected to the substrate via a magnetic interface, and the magnetic polarities of adjacent programmable magnetic drug compartment modules are mutually exclusive. The programmable magnetic medicine compartment module's magnetic interface includes a controllable electromagnetic component. The collaborative control module adjusts the on / off state of the electromagnetic component according to the medicine compartment position mapping table to maintain a physical isolation gap between adjacent medicine compartments.
[0008] Furthermore, the hierarchical display includes timing control logic: The green breathing flashing indicator will be activated in the first time slot before the medication is taken. The yellow high-frequency flashing indicator will switch to the second time close to the medication administration time. Activate the red rotating scan mode and trigger the audible and visual alarm during the third time period after the medication time has elapsed; The medication time is the time node defined in the medication plan time window stored on the cloud management platform.
[0009] Furthermore, the drug compartment allocation optimization algorithm includes: Conflict detection engine: parses drug incompatibilities in prescription information and generates electromagnetic isolation commands to the collaborative control module; Space allocation engine: Based on the physical volume of the drug and the frequency of administration, allocates non-conflicting drug positions in the dynamic drug grid matrix unit; Path optimization engine: Based on historical medication data, frequently used medications are moved to the Easy-to-Reach pharmacy area.
[0010] Furthermore, the conflict detection engine constructs a drug incompatibility matrix, and when a contraindicated drug pair is detected, it forcibly generates non-adjacent position instructions and electromagnetic isolation instructions.
[0011] Furthermore, the verification operation includes: When the piezoelectric film detects a pressure pulse, it activates the handheld terminal's NFC scanning. The scanned drug label is compared with the patient's wristband identification to generate a two-factor authentication result; The patient's wristband identification is a medical wristband with an NFC chip, and its identification information is registered and bound on a cloud management platform.
[0012] Furthermore, the medication adherence prediction model employs an LSTM network, with the input layer including: historical medication time deviation sequences, drug treatment window safety parameters, and patient pathological feature codes.
[0013] Furthermore, the electronic medication report includes: The tamper-proof header field contains the association data between the drug identifier and the medication timestamp, and is stored in the blockchain evidence storage module; The multi-source verification field includes a cryptographic hash value based on the output waveform of the piezoelectric thin film sensor, and a digital signature of the radio frequency field strength during the NFC scanning process.
[0014] The present invention has the following technical effects: This invention significantly improves the efficiency and safety of clinical medication management. Through a medication compartment allocation optimization algorithm that automatically generates a medication compartment location mapping table, the system can dynamically adjust the layout of magnetic medication compartments, intelligently avoiding contact with incompatible drugs, while placing frequently used medications in easily accessible locations. This completely replaces the manual dispensing process, greatly reducing the risk of medication errors and adapting to complex and ever-changing prescription needs. LED-based tiered prompts based on medication schedule time windows, with three-color indicator lights controlling different zones, visually indicate the urgency of medication use through breathing and flashing patterns, allowing patients to accurately locate their target medication without reading small print labels. This visual guidance mechanism is particularly beneficial for individuals with visual impairment or cognitive impairment, ensuring zero error in matching medication timing with medication. A dual-channel verification mechanism forms a safety barrier. After a piezoelectric film sensor detects the medication retrieval action, the system immediately triggers an NFC scan, doubly comparing the medication compartment label with the patient's wristband information. This hardware-triggered verification process eliminates medical errors such as accidental ingestion and substitution at the source, and the operation is natural and smooth, without increasing the user's burden. The system analyzes historical medication time deviations and drug characteristics, proactively identifies high-risk missed dose behaviors using an adherence prediction model, and generates targeted intervention strategies. Combined with blockchain-based electronic reports, it ultimately forms a trusted closed loop from medication dispensing and administration to supervision.
[0015] In addition, the magnetic polarity repulsion design ensures the physical isolation and safety of contraindicated drugs, the two-factor verification mechanism provides irrefutable operational evidence for electronic medication reports, and the blockchain multi-source verification field builds a trustworthy data foundation, together realizing intelligent management and control of the entire clinical medication process. Attached Figure Description
[0016] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0017] Figure 1 This is a schematic diagram of an intelligent pillbox and medication management system provided in an embodiment of the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0019] Figure 1 This is a schematic diagram of a smart pillbox and medication management system provided in an embodiment of the present invention. See also... Figure 1 The present invention provides an intelligent pillbox and medication management system, including: a dynamic pillbox matrix unit, a handheld terminal, a cloud management platform and a collaborative control module.
[0020] (1) Dynamic drug grid matrix unit, which consists of multiple programmable magnetic drug grid modules. Each programmable magnetic drug grid module includes a piezoelectric thin film sensor, a three-color LED indicator and an NFC tag.
[0021] In some embodiments, the piezoelectric thin film sensor is attached to the bottom of the drug compartment cavity for detecting drug pickup actions; The three-color LED indicator lights are arranged in a ring around the periphery of the medicine compartment opening; The NFC tag is embedded in the electromagnetic shielding layer of the medicine compartment shell.
[0022] In some embodiments, the programmable magnetic drug compartment module is detachably connected to the substrate via a magnetic interface, and the magnetic polarities of adjacent programmable magnetic drug compartment modules are mutually exclusive. The programmable magnetic medicine compartment module's magnetic interface includes a controllable electromagnetic component. The collaborative control module adjusts the on / off state of the electromagnetic component according to the medicine compartment position mapping table to maintain a physical isolation gap between adjacent medicine compartments.
[0023] Specifically, the dynamic drug compartment matrix unit consists of multiple programmable magnetic drug compartment modules, forming a highly integrated and flexibly configurable drug storage and management platform. Each programmable magnetic drug compartment module integrates a piezoelectric film sensor, a three-color LED indicator, and an NFC tag to achieve real-time sensing and interactive control of drug status. The piezoelectric film sensor is attached to the bottom of the drug compartment cavity, which can sensitively capture the minute pressure changes generated when the drug is picked up, thereby triggering subsequent identification and verification processes. The three-color LED indicator is arranged in a ring around the perimeter of the drug compartment opening, providing intuitive visual feedback through different colors and flashing patterns, making it easy for users to quickly locate the target drug. The NFC tag is embedded inside the electromagnetic shielding layer of the drug compartment shell, which not only has good anti-interference capabilities, but also can quickly complete data read and write operations when a handheld terminal is close, ensuring the security and accuracy of drug identification information.
[0024] The programmable magnetic medicine compartment modules are detachably connected to the substrate via magnetic interfaces. This structural design gives the entire medicine box a high degree of modularity, allowing users to flexibly adjust the number and arrangement of medicine compartments according to actual needs. Notably, the magnetic polarity between adjacent medicine compartment modules is set to a mutually exclusive state, thus creating a natural physical isolation. Furthermore, the magnetic interfaces contain controllable electromagnetic components. The collaborative control module can dynamically adjust the working state of the electromagnetic components based on the current medicine compartment position mapping table, further enhancing the spatial isolation effect between medicine compartments. This mechanism is particularly suitable for situations where multiple incompatible medications are stored simultaneously, effectively preventing the risk of adverse reactions caused by accidental contact.
[0025] During daily use, the system automatically generates a medication dispenser allocation strategy based on prescription information and writes the corresponding medication identification data into the NFC tag of the appropriate dispenser. As the preset medication time approaches, the three-color LED indicator lights sequentially change their display state according to a pre-defined logic, guiding the patient to accurately retrieve their medication. Once the piezoelectric film sensor detects that the medication has been removed, the system immediately activates the NFC scanning function of the handheld terminal to perform dual verification of both the medication and the patient's identity. The entire process requires no manual intervention, improving the intelligence and security of medication management.
[0026] (2) The handheld terminal integrates an NFC scanning module and a drug image display interface.
[0027] The handheld terminal, a key device in the smart pillbox system that directly interacts with the user, integrates an NFC scanning module and a drug image display interface, enabling rapid reading and visualization of drug information. The device features an unibody design with a textured, non-slip surface for stable grip in various scenarios. The NFC scanning module, embedded in the edge of the front panel, boasts high sensitivity and automatically activates its read / write function when the user brings the terminal close to the pill compartment, acquiring the drug identification data from the embedded NFC tag. The acquired information is transmitted via an internal communication protocol to the drug image display interface, where it displays key information such as the drug name, dosage form, dosage, and precautions in a combined text and image format.
[0028] The medication image display interface uses a high-definition touchscreen, and its layout is optimized according to ergonomic principles to ensure clear and legible text and intuitive and easy-to-understand icons, meeting the visual recognition needs of elderly users. The interface supports multi-language switching and font size adjustment to accommodate different user habits. When the system enters the medication reminder phase, the interface simultaneously displays a thumbnail of the medication to be taken and its corresponding three-color LED indicator status, enhancing the user's accuracy in identifying the target medication. Additionally, the interface provides a historical medication record query function, allowing patients or guardians to easily check medication usage at any time.
[0029] In actual operation, once the piezoelectric film sensor detects that the medication has been removed, the handheld terminal automatically enters verification mode, activates the NFC scanning module to read the medication identifier on the medication compartment label, and matches it with the identity information synchronized with the cloud management platform. This process does not require manual triggering by the user, improving the smoothness of the interaction and the degree of system automation. If the identification results match, the interface displays a "Confirm Medication Taken" prompt; if there is a discrepancy, a warning message pops up and the subsequent process is paused, awaiting manual intervention.
[0030] By integrating near-field wireless communication technology with a graphical user interface, the acquisition of medication information becomes more efficient and intuitive, enhancing patients' trust and participation in medication use. Simultaneously, the dynamic update mechanism of the interface content and the seamless integration of the identity verification process provide reliable data support and security for the entire medication management process.
[0031] (3) The cloud management platform is used to store the medication plan time window and generate electronic medication reports with timestamps.
[0032] In some embodiments, the electronic medication report includes: The tamper-proof header field contains the association data between the drug identifier and the medication timestamp, and is stored in the blockchain evidence storage module; the multi-source verification field contains the cryptographic hash value based on the output waveform of the piezoelectric thin film sensor, and the radio frequency field strength digital signature of the NFC scanning process.
[0033] Specifically, the cloud management platform, as the core data processing and storage unit of the smart pillbox system, undertakes key functions such as unified management of medication plans, archiving and analysis of execution records, and cross-terminal information synchronization. This platform receives real-time data streams from the dynamic pillbox matrix unit and handheld terminals to record and analyze the entire process of patient medication use. One of its key functions is storing medication plan time windows, which are set based on doctor's prescriptions and individual patient conditions. These windows include multiple medication time points and support periodic repetition and temporary adjustment mechanisms to ensure flexible medication arrangements adapt to different disease management needs.
[0034] In generating electronic medication reports, the platform uses a structured data format to organize key information for each medication administration event, including drug identifiers, operation timestamps, verification results, and device status parameters. This data is not only used for subsequent adherence assessments but also provides a basis for decision-making in telemedicine and health interventions. To enhance data authenticity and traceability, the electronic medication report incorporates a tamper-proof header field that records the binding relationship between the drug identifier and the medication administration time, and this key information is uploaded to a blockchain-based evidence storage module. The introduction of blockchain technology ensures that data cannot be altered once written, enhancing the report's legal validity and regulatory value.
[0035] Meanwhile, the electronic medication report also includes multi-source verification fields, integrating auxiliary verification information from piezoelectric thin-film sensors and NFC scanning modules. Specifically, the waveform of the drug pickup action collected by the piezoelectric thin-film sensor is processed by a hash algorithm to generate a unique data fingerprint; while the changes in radio frequency field strength during the NFC scanning process are extracted as a digital signature and embedded in the report. These technologies together construct a multi-dimensional chain of behavioral evidence, which can effectively distinguish between genuine medication administration and forged records, improving the system's security level and data reliability.
[0036] Throughout the operation, the platform continuously connects with the collaborative control module and handheld terminals to ensure the timeliness and completeness of data synchronization. Users can view their personal medication history, receive abnormal alerts, or export complete reports through authorized access interfaces. The platform also supports information sharing with medical institutions or home monitoring systems, enabling cross-device and cross-role health management collaboration.
[0037] (4) The collaborative control module, connecting the dynamic drug matrix unit, the handheld terminal, and the cloud management platform, is used for: A drug grid location mapping table is generated based on prescription information using a drug grid allocation optimization algorithm; In some embodiments, the drug compartment allocation optimization algorithm includes: Conflict detection engine: parses drug incompatibilities in prescription information and generates electromagnetic isolation commands to the collaborative control module; Space allocation engine: Based on the physical volume of the drug and the frequency of administration, allocates non-conflicting drug positions in the dynamic drug grid matrix unit; Path optimization engine: Based on historical medication data, frequently used medications are moved to the Easy-to-Reach pharmacy area.
[0038] Furthermore, the conflict detection engine constructs a drug incompatibility matrix, and when a contraindicated drug pair is detected, it forcibly generates non-adjacent position instructions and electromagnetic isolation instructions.
[0039] According to the drug compartment location mapping table, drug identification data is written to the NFC tag of the target programmable magnetic drug compartment module, and the drug identification data is synchronized to the handheld terminal and the cloud management platform.
[0040] During the medication preparation phase, the system first inputs the prescription details into the pharmacy grid allocation optimization algorithm. This algorithm comprises a conflict detection engine, a spatial allocation engine, and a path optimization engine, forming a complete intelligent allocation mechanism. The conflict detection engine constructs a drug incompatibility matrix by analyzing drug incompatibilities. When drug combinations with potential interactions are identified, the engine proactively issues non-adjacent position commands and electromagnetic isolation commands to ensure these drugs are not placed in physically adjacent pharmacy grids, thus avoiding potential safety hazards. The spatial allocation engine rationally arranges the position of each drug in the dynamic pharmacy grid matrix based on the size and frequency of use, prioritizing the accessibility of frequently used drugs. The path optimization engine further incorporates the user's historical medication habits to continuously optimize the drug layout, ensuring that frequently used drugs are always in easily accessible areas, improving overall efficiency.
[0041] After completing the allocation of medicine compartments, the collaborative control module sends the generated medicine compartment location mapping table to the corresponding programmable magnetic medicine compartment module. The medicine identification data is stored in each medicine compartment tag via NFC writing and is simultaneously pushed to the handheld terminal and the cloud management platform to achieve consistency of data among the three parties.
[0042] Based on the medication schedule time window, the three-color LED indicator lights are controlled to display in a hierarchical and zoned manner.
[0043] In some embodiments, the hierarchical display includes timing control logic: The green breathing flashing indicator will be activated in the first time slot before the medication is taken. The yellow high-frequency flashing indicator will switch to the second time close to the medication administration time. Activate the red rotating scan mode and trigger the audible and visual alarm during the third time period after the medication time has elapsed; The medication time is the time node defined in the medication plan time window stored on the cloud management platform.
[0044] Specifically, after the medication plan is initiated, the module adjusts the state of the three-color LED indicator according to the time nodes defined in the cloud and the set timing logic. In the first stage before the medication time arrives, the LED flashes green to indicate the preparation status; as the medication time approaches, it switches to yellow high-frequency flashing to enhance the reminder effect; if the medication is not taken within the predetermined time, it enters red rotating scanning mode and is accompanied by an audible and visual alarm to effectively prevent missed doses.
[0045] Based on the display status of the three-color LED indicator, patient information is verified using the piezoelectric film sensor and NFC scanning.
[0046] During actual medication administration, once the piezoelectric film sensor detects the medication pickup action, the system immediately activates the NFC scanning function of the handheld terminal to read the medication identifier in the current medicine compartment and simultaneously verify the patient's identity wearing the medical wristband. This wristband has a built-in NFC chip, and its identity information has been registered and bound in the cloud. A two-factor authentication mechanism confirms the legality of the medication administration. If verification fails, the system will pause subsequent processes and record the abnormal event for later traceability and analysis.
[0047] In some embodiments, the verification operation includes: When the piezoelectric film detects a pressure pulse, it activates the handheld terminal's NFC scanning. The scanned drug label is compared with the patient's wristband identification to generate a two-factor authentication result; The patient's wristband identification is a medical wristband with an NFC chip, and its identification information is registered and bound on a cloud management platform.
[0048] Based on the validation results and historical medication data, a medication adherence prediction model was run to generate intervention strategies.
[0049] In some embodiments, the medication adherence prediction model employs an LSTM network, with the input layer including: historical medication time deviation sequences, drug treatment window safety parameters, and patient pathological feature codes.
[0050] Specifically, the system performs intelligent analysis based on historical medication data and individual patient characteristics. The model employs an LSTM neural network structure, with the input layer containing key variables such as medication time deviation sequences, drug therapeutic window safety parameters, and pathological feature encodings. The output is used to generate personalized intervention strategies. For example, for patients who frequently delay medication, the system can adjust reminder times in advance or increase reminder frequency; while for users prone to accidental overdose, the system can strengthen the identity verification process to improve medication safety.
[0051] The collaborative control module, as the core control hub of the smart pillbox system, is responsible for connecting the dynamic pillbox matrix unit, handheld terminal, and cloud management platform, coordinating data interaction and behavioral linkage among the three. This module adopts an embedded architecture design, possesses multi-channel communication interfaces and real-time task scheduling capabilities, and can automatically execute complex drug preparation processes based on prescription information, dynamically guiding and monitoring the entire medication administration process.
[0052] For example, the smart pillbox and medication management system consists of a dynamic pillbox matrix unit, a handheld terminal, a cloud management platform, and a collaborative control module. The various parts interact efficiently with each other through wireless communication protocols and local control buses to achieve efficient data and control commands.
[0053] After the system starts, doctors or nurses upload patients' electronic prescription information through the cloud management platform. This prescription information includes key parameters such as drug name, dosage, frequency, drug incompatibilities, and medication time window. Upon receiving the prescription data, the collaborative control module invokes the drug grid allocation optimization algorithm, which includes a conflict detection engine, a spatial allocation engine, and a path optimization engine. The conflict detection engine first analyzes the drug incompatibilities and constructs a drug incompatibility matrix. If an incompatible combination is detected, the system automatically assigns non-adjacent drug grids to these drugs and activates controllable electromagnetic components between the grids to ensure physical isolation. The spatial allocation engine arranges drugs in a reasonable position within the dynamic drug grid matrix based on their physical volume and frequency of use, prioritizing frequently used drugs near the edge or in easily accessible areas. The path optimization engine continuously optimizes the drug grid layout based on the user's historical medication retrieval behavior, improving operational convenience.
[0054] After the medication compartments are allocated, the collaborative control module generates a medication compartment location mapping table and writes the corresponding medication identification data for each compartment into the built-in NFC tag. Simultaneously, this information is synchronized to the handheld terminal and the cloud management platform to ensure data consistency among the three parties. At this point, the user can place the medications into the corresponding compartments sequentially. A piezoelectric film sensor attached to the bottom of the compartment cavity will automatically detect whether the medications have been correctly placed.
[0055] Before the set medication time window arrives, the three-color LED indicator changes sequentially according to the timing control logic. In the first stage, before the medication time arrives, the LED flashes green to indicate that the medication is ready; as the medication time approaches, it switches to high-frequency yellow flashing to remind the user that the medication is about to be taken; if the medication is not collected within the predetermined time, the LED enters a red rotating scanning mode and triggers an audible and visual alarm to enhance the reminder effect.
[0056] When a user retrieves their medication, a piezoelectric film sensor detects a pressure change, triggering the handheld terminal to automatically enter verification mode. The handheld terminal's NFC scanning module reads the medication identifier in the current medicine compartment and compares it with the identity information on the medical NFC wristband worn by the user, completing two-factor authentication. The identity information on the medical wristband has been registered and bound in the cloud, ensuring the accuracy and security of the verification process. If verification is successful, the handheld terminal displays a "Confirm Medication Taken" prompt and uploads the medication taken event to the cloud management platform; if verification fails or the medication information does not match, the system pauses the process and records the abnormal event for subsequent traceability and processing.
[0057] The cloud management platform receives real-time data streams from the pharmacy module, handheld terminal, and collaborative control module, generating a structured electronic medication report. This report includes a tamper-proof header field, where the drug identifier is bound to a medication timestamp and stored in a blockchain-based evidence module to ensure the record is immutable. Simultaneously, the report also includes multi-source verification fields, such as a data fingerprint generated by hashing the action waveform collected by a piezoelectric thin-film sensor, and a digital signature of the radio frequency field strength change during NFC scanning, constructing a complete chain of evidence for medication use.
[0058] Over long-term use, the system continuously accumulates user medication behavior data and inputs it into a medication adherence prediction model. This model employs an LSTM neural network structure, with input layers including historical medication time deviation sequences, drug therapeutic window safety parameters, and patient pathological feature codes. The model's output is used to generate personalized intervention strategies. For example, for patients who frequently delay medication, the system can automatically adjust reminder times or increase reminder frequency; while for users at risk of accidental overdose, it can enhance identity verification mechanisms to improve medication safety.
[0059] The entire system achieves intelligent storage and secure isolation of medications through dynamic pharmacy grid matrix units, provides an intuitive interactive interface via handheld terminals, and integrates a cloud management platform for centralized data management and multi-party sharing. Finally, a collaborative control module enables closed-loop control and intelligent optimization of the entire medication administration process. This highly integrated and intelligent design not only improves the efficiency and safety of medication management but also provides strong support for long-term medication adherence among patients with chronic diseases.
[0060] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the technical solutions of the embodiments of the present invention.
Claims
1. A smart pillbox and medication management system, characterized in that, include: Dynamic pharmacy grid matrix unit, handheld terminal, cloud management platform and collaborative control module; The dynamic drug grid matrix unit is composed of multiple programmable magnetic drug grid modules, each of which includes a piezoelectric thin film sensor, a tri-color LED indicator, and an NFC tag. The handheld terminal integrates an NFC scanning module and a drug image display interface; The cloud management platform is used to store medication schedule time windows and generate timestamped electronic medication reports; The collaborative control module, connecting the dynamic drug grid matrix unit, the handheld terminal, and the cloud management platform, is used for: A drug grid location mapping table is generated based on prescription information using a drug grid allocation optimization algorithm; According to the drug compartment location mapping table, drug identification data is written to the NFC tag of the target programmable magnetic drug compartment module, and the drug identification data is synchronized to the handheld terminal and the cloud management platform; Based on the medication schedule time window, the three-color LED indicator lights are controlled to display in hierarchical and zoned modes; Based on the display status of the three-color LED indicator, patient information is verified using the piezoelectric film sensor and NFC scanning. Based on the validation results and historical medication data, a medication adherence prediction model was run to generate intervention strategies.
2. The intelligent pillbox and medication management system according to claim 1, characterized in that, The piezoelectric thin film sensor is attached to the bottom of the drug compartment cavity and is used to detect drug pickup actions; The three-color LED indicator lights are arranged in a ring around the periphery of the medicine compartment opening; The NFC tag is embedded in the electromagnetic shielding layer of the medicine compartment shell.
3. The intelligent pillbox and medication management system according to claim 1, characterized in that, The programmable magnetic drug compartment module is detachably connected to the substrate via a magnetic interface, and the magnetic polarities of adjacent programmable magnetic drug compartment modules are mutually exclusive. The programmable magnetic medicine compartment module's magnetic interface includes a controllable electromagnetic component. The collaborative control module adjusts the on / off state of the electromagnetic component according to the medicine compartment position mapping table to maintain a physical isolation gap between adjacent medicine compartments.
4. The intelligent pillbox and medication management system according to claim 1, characterized in that, Hierarchical display includes timing control logic: The green breathing flashing indicator will be activated in the first time slot before the medication is taken. The yellow high-frequency flashing indicator will switch to the second time close to the medication administration time. Activate the red rotating scan mode and trigger the audible and visual alarm during the third time period after the medication time has elapsed; The medication time is the time node defined in the medication plan time window stored on the cloud management platform.
5. The intelligent pillbox and medication management system according to claim 1, characterized in that, The drug compartment allocation optimization algorithm includes: Conflict detection engine: parses drug incompatibilities in prescription information and generates electromagnetic isolation commands to the collaborative control module; Space allocation engine: Based on the physical volume of the drug and the frequency of administration, allocates non-conflicting drug positions in the dynamic drug grid matrix unit; Path optimization engine: Based on historical medication data, frequently used medications are moved to the Easy-to-Reach pharmacy area.
6. The intelligent pillbox and medication management system according to claim 5, characterized in that, The conflict detection engine constructs a drug incompatibility matrix, and when a contraindicated drug pair is detected, it forcibly generates non-adjacent position instructions and electromagnetic isolation instructions.
7. The intelligent pillbox and medication management system according to claim 1, characterized in that, The verification operation includes: When the piezoelectric film detects a pressure pulse, it activates the handheld terminal's NFC scanning. The scanned drug label is compared with the patient's wristband identification to generate a two-factor authentication result; The patient's wristband identification is a medical wristband with an NFC chip, and its identification information is registered and bound on a cloud management platform.
8. The intelligent pillbox and medication management system according to claim 1, characterized in that, The medication adherence prediction model uses an LSTM network, and the input layer includes: historical medication time deviation sequence, drug treatment window safety parameters, and patient pathological feature codes.
9. The intelligent pillbox and medication management system according to claim 1, characterized in that, The electronic medication report includes: The tamper-proof header field contains the association data between the drug identifier and the medication timestamp, and is stored in the blockchain evidence storage module; The multi-source verification field includes a cryptographic hash value based on the output waveform of the piezoelectric thin film sensor, and a digital signature of the radio frequency field strength during the NFC scanning process.