A cloud collaborative management method and system for a multi-cabin linked intelligent medicine box

By using a cloud-based collaborative management method for multi-compartment smart pillboxes, dynamic passwords and cloud management are employed to achieve precise management of medication administration, solving the problems of medication omission and confusion, ensuring that medications are taken on time and in the correct order, and improving the safety and efficiency of medication management.

CN120356642BActive Publication Date: 2026-07-24FOSHAN THIRD PEOPLES HOSPITAL (FOSHAN MENTAL HEALTH CENT)
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
FOSHAN THIRD PEOPLES HOSPITAL (FOSHAN MENTAL HEALTH CENT)
Filing Date
2025-04-24
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

Existing smart pillbox systems cannot intelligently detect missed medications, especially when medications need to be taken in chronological order or at specific times. Furthermore, in environments with multiple medications and pillboxes, missed or confused medications are prone to occur, leading to disordered medication administration times.

Method used

The cloud-based collaborative management method of multi-compartment smart pillboxes is adopted. By obtaining the dynamic password entered by the user in real time, the target pillbox is identified and unlocked, and a medication replenishment instruction is generated. The status of multiple pillboxes is managed in the cloud to ensure that the medication is taken in the correct order and at the correct time, avoiding omissions and confusion.

Benefits of technology

It enables precise management of medication administration, avoids medication omissions and confusion, and ensures that medications are taken on time. Especially when the order or timing of medication administration is strict, it improves the safety and efficiency of medication management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120356642B_ABST
    Figure CN120356642B_ABST
Patent Text Reader

Abstract

The present application relates to the field of intelligent medicine boxes, and more particularly to a cloud collaborative management method and system for a multi-cabin linkage type intelligent medicine box, which acquires password data input by a user terminal in real time, determines whether the password data satisfies the condition for opening the medicine box, determines that the password data satisfies the condition for opening the medicine box when the password data is consistent with a current dynamic password, identifies a target medicine box corresponding to the dynamic password based on the determination result, sends the target medicine box and an unlocking instruction to a cloud, and unlocks the target medicine box through the cloud, generates a medicine replenishment instruction when unlocking of the target medicine box is completed, and sends the medicine replenishment instruction to the cloud. Through intelligent time node management functions, accurate reminders and management can be performed according to time requirements or medicine sequence requirements of medicines, and the situation of a user missing a medicine at a certain time point is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart pillbox technology, and in particular to a cloud-based collaborative management method and system for a multi-compartment linked smart pillbox. Background Technology

[0002] The multi-compartment linked smart pillbox is an intelligent drug management system based on the Internet of Things and cloud collaboration technology, which is suitable for precise medication management of multiple drugs, multiple doses, and multiple users.

[0003] Most existing smart pillboxes rely on simple timed reminders to guide users to take their medication on time. The pillbox pops up a reminder at the set time, and the user picks up and takes the medication on time. However, these systems often do not deeply consider the time-related characteristics of medications, especially when medications need to be taken in chronological order or at specific points in time. For example, some medications need to be taken in the morning, noon, and evening, or in a specific order. If a user misses a dose at a certain time, existing systems usually cannot intelligently determine how to handle the omission. They may continue to push the next day's dose, or the system may mistakenly assume that the medication is taken in the normal order, leading to incorrect dosage times. Secondly, when a user needs to take multiple medications simultaneously, stored in multiple pillboxes, errors or omissions may occur. Especially when the dosage times of the pillboxes are closely related, the user may only unlock one pillbox, resulting in a missed dose.

[0004] Therefore, existing technologies have shortcomings and need to be improved. Summary of the Invention

[0005] In order to solve one or more problems in the prior art, the main purpose of this application is to provide a cloud-based collaborative management method and system for multi-compartment linked smart medicine boxes.

[0006] To achieve the aforementioned objectives, this application proposes a cloud-based collaborative management method for a multi-compartment linked smart pillbox, the method comprising:

[0007] Real-time acquisition of password data entered by the user;

[0008] Determine whether the conditions for opening the medicine box are met based on the password data;

[0009] When the password data matches the current dynamic password, it is determined that the password data meets the conditions for opening the medicine box;

[0010] Based on the determination result, the target medicine box corresponding to the dynamic password is identified, and the target medicine box and unlocking command are sent to the cloud, through which the target medicine box is unlocked;

[0011] When the target pillbox is unlocked, a medication replenishment command is generated;

[0012] The generated medication replenishment instruction is sent to the cloud.

[0013] This application also provides a cloud-based collaborative management system for a multi-compartment linked smart pillbox, including:

[0014] The acquisition module is used to acquire password data entered by the user in real time;

[0015] The judgment module is used to determine whether the conditions for opening the medicine box are met based on the password data;

[0016] The determination module is used to determine that the password data meets the conditions for opening the medicine box when the password data is consistent with the current dynamic password.

[0017] The identification module is used to identify the target medicine box corresponding to the dynamic password based on the judgment result, send the target medicine box and the unlocking command to the cloud, and unlock the target medicine box through the cloud;

[0018] A generation module is used to generate a drug replenishment instruction when the target medicine box is unlocked.

[0019] The sending module is used to send the generated drug replenishment instructions to the cloud.

[0020] This application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of any of the methods described above.

[0021] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above.

[0022] The cloud-based collaborative management method and system for multi-compartment linked smart pillboxes in this application embodiment, through intelligent time node management functions, can accurately remind and manage medications according to their time requirements or order requirements, preventing users from missing medications at certain times. Especially when the medication order or time requirements are strict, the system can automatically identify the user's medication behavior and intelligently determine how to handle any missed medications. Secondly, for scenarios where users need to take multiple medications simultaneously, the multi-pillbox joint management setting avoids the risk of users confusing or missing medications among multiple pillboxes. Through optimized pillbox design and intelligent reminders, the system can simultaneously monitor the medication times of multiple pillboxes, ensuring that users take all medications on time, especially when medication times are closely related, preventing the situation where only one pillbox is unlocked and other medications are missed. Attached Figure Description

[0023] Figure 1 This is a flowchart illustrating a cloud-based collaborative management method for a multi-compartment linked smart medicine box according to an embodiment of this application.

[0024] Figure 2 This is a flowchart illustrating a cloud-based collaborative management method for a multi-compartment linked smart medicine box according to an embodiment of this application.

[0025] Figure 3 This is a schematic block diagram of the cloud-based collaborative management system for a multi-compartment linked smart medicine box according to an embodiment of this application.

[0026] Figure 4 This is a schematic block diagram of the structure of a computer device according to an embodiment of this application.

[0027] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0029] Reference Figure 1 This application provides a cloud-based collaborative management method for a multi-compartment linked smart pillbox, the method comprising:

[0030] S1. Obtain password data entered by the user in real time;

[0031] S2. Determine whether the conditions for opening the medicine box are met based on the password data;

[0032] S3. When the password data is consistent with the current dynamic password, it is determined that the password data meets the conditions for opening the medicine box.

[0033] S4. Based on the determination result, identify the target medicine box corresponding to the dynamic password, send the target medicine box and unlocking command to the cloud, and unlock the target medicine box through the cloud;

[0034] S5. When the target medicine box is unlocked, a medicine replenishment command is generated;

[0035] S6. Based on the generated drug replenishment instruction, send it to the cloud.

[0036] As described in steps S1-S3 above, the password entered by the user ensures that only authorized users can access the contents of the pillbox. This effectively protects the safety of the medication even if the pillbox is in a public environment. Different users can use different passwords for authentication, preventing incorrect or unauthorized use of the pillbox. The system determines whether the entered password meets the unlocking conditions. The password needs to match the system's preset password rules, which may include comparisons of static and dynamic passwords. By comparing the entered password with passwords in the database, the system ensures that only the correct user can unlock the pillbox. Using dynamic passwords (such as temporarily generated passwords each time), even if the password is leaked, it cannot be abused for a long time, further enhancing security. The core of the dynamic password mechanism is that the system only allows the unlocking operation when the entered password matches the dynamically generated password. This dynamic password mechanism typically uses time- or event-based algorithms for generation (such as TOTP - Time Synchronization One-Time Password).

[0037] As described in steps S4-S6 above, once the password verification is successful, the system identifies the pillbox that needs to be unlocked based on the password matching result and sends the unlock command to the cloud. The cloud is the core of centralized pillbox management, responsible for receiving instructions from the user and sending unlock commands to specific pillboxes. Cloud management ensures that the status of all pillboxes (such as whether they are unlocked, medication status, etc.) can be monitored in real time, and the operation of multiple pillboxes can be coordinated in a unified manner. Users can remotely operate multiple pillboxes through the cloud, which is suitable for environments with multiple users or multiple medications, avoiding the need for physical contact with pillboxes to complete all operations. After the system detects that all target pillboxes have been successfully unlocked through the cloud, it automatically generates a medication replenishment command. This function makes pillbox management more intelligent, automatically determining whether a pillbox has been unlocked and performing further operations accordingly. This reduces the need for manual operation by users and improves the convenience of the system. The system can understand the status of pillboxes in real time and automatically issue replenishment commands when necessary (such as when medication runs out), ensuring the continuity and timeliness of medication management. After the pillbox is unlocked, the generated medication replenishment command is sent through the cloud. This command may involve notifying the pillbox administrator or relevant personnel to replenish the medication, ensuring that the pillbox is always in a suitable medication supply state. With an intelligent replenishment mechanism, drug inventory can be monitored in real time, allowing doctors or patients to know promptly whether there are enough medications in the pillbox for the next use, thereby improving the efficiency of drug management.

[0038] As described above, a highly secure and automated pillbox management system is achieved by combining dynamic passwords, cloud management, and intelligent replenishment mechanisms. Using dynamic passwords (such as time-synchronized one-time passwords) ensures that pillboxes can only be unlocked by authorized users within specific timeframes, significantly reducing the risk of password leakage or misuse. Controlling pillbox unlocking through the cloud management system enables centralized management of multiple pillboxes. All unlocking operations can be verified and monitored in real-time in the cloud, improving accuracy, efficiency, and remote control capabilities. The status of pillboxes, the unlocking process, and medication replenishment needs can all be monitored in real-time via the cloud, allowing the system to accurately know the remaining medication and status of each pillbox. This precise monitoring and feedback mechanism ensures sufficient and compliant medication storage in each pillbox.

[0039] Reference Figure 2 In one embodiment, after the step of unlocking the target pillbox via the cloud, the method further includes:

[0040] S41. After the target pillbox is unlocked, analyze whether the target pillbox meets the conditions for triggering the locking mechanism;

[0041] S42. When the medication corresponding to the user in the target pillbox has been removed, it is determined that the target pillbox meets the conditions for triggering the locking mechanism.

[0042] S43. Based on the determination result, trigger the locking mechanism of the target medicine box.

[0043] As described above, after the pillbox is unlocked, the system first analyzes the quantity of medication inside and whether it meets the correct removal criteria. This process can be achieved through built-in sensors or intelligent detection devices. The system reads the quantity or type of medication inside the pillbox and compares it with preset standards. The goal is to ensure accurate medication removal. For example, a pillbox may contain multiple medications, each with specific dosage and order. By analyzing the remaining amount of medication, the system can determine if there are any errors, omissions, or over-dosing. Automated monitoring of medication removal ensures the accuracy and safety of medication management, reducing the risk of human error and medication abuse. The system monitors the quantity of medication in the pillbox in real time to determine if the prescribed quantity has been removed. If an excessive amount of medication is removed, or if the type of medication removed does not match the actual need, the system will immediately identify this and trigger an alarm mechanism. This intelligent detection ensures that medication removal complies with the doctor's prescription requirements. For example, if the amount of medication in the pillbox decreases more than expected, it may indicate that medication has been incorrectly removed or lost, in which case the system will trigger a warning. This effectively prevents problems such as medication overdose, accidental medication removal, or medication loss, ensuring that medication use is strictly in accordance with predetermined standards and avoiding medication abuse or dosage errors. When medication is removed, the system triggers a locking mechanism based on a judgment result (e.g., whether the medication quantity meets the requirements). The pillbox is only locked if the medication is correctly removed; if the system detects an incorrect medication quantity, it can issue an alarm to remind the user to retrieve the correct medication, ensuring the accuracy and legality of the medication management process while preventing potential abuse or incorrect medication removal.

[0044] In one embodiment, after the step of unlocking the target pillbox via the cloud, the method further includes:

[0045] Real-time monitoring of the remaining drug quantity on the user terminal, and dynamic adjustment of the locking strategy based on the proportion of the remaining drug quantity;

[0046] If a pillbox is not opened and used within a preset time, the expiration date of the corresponding pillbox will be marked.

[0047] Adjust the unlocking permissions of unused pillboxes according to the expiration time, and set the pillboxes to be unlockable at the corresponding time;

[0048] Based on the settings, a reminder signal corresponding to the date of the target pillbox is triggered until all the medications in the pillboxes have been removed.

[0049] As mentioned above, the system continuously monitors the remaining amount of medication in the pillboxes. Through sensors or other monitoring devices, the system can determine the specific amount of medication remaining in each pillbox. Based on the proportion of remaining medication, the system can flexibly adjust the locking status of the pillboxes. If medication is not taken within a specified time period (e.g., noon), the system will recognize that the medication has not been used. Medication usage and frequency are usually dynamic; timely adjustments to the locking strategy can optimize medication retrieval time based on the remaining medication. This improves the flexibility of the pillboxes and the user experience, preventing medication retrieval from being affected by insufficient or excessive remaining medication, and ensuring timely replenishment and retrieval. When the system detects missed medication (e.g., the noon medication was not taken), it dynamically adjusts the medication usage order. For example, the user can still take the noon medication in the evening first, and then schedule another time to take the original evening medication. This adjustment can be made according to the medication's chronological order to ensure that each dose of medication is taken correctly. In some cases, the unlocking permissions of the pillboxes need to be reset. For example, if the system detects that a dose of medication has not been used, it will unlock the access permission for that medication, allowing the user to take the missed medication at a later time. The system will issue reminders based on the new medication schedule. For example, if a user misses their medication at noon, the system will remind them to take it in the evening to avoid omission. Simultaneously, the system will automatically adjust the timing of subsequent medications to ensure that each dose is taken on time, preventing missed doses due to forgetfulness or other reasons. By dynamically adjusting the medication order through an intelligent system, the system ensures that users do not miss any doses, avoiding any impact on treatment efficacy due to missed doses. This design allows users to flexibly handle missed medication situations, minimizing the possibility of medication omissions and ensuring the continuity and effectiveness of medication therapy. For users who require a specific dosage sequence, monitoring remaining medication dosage ensures appropriate medication use, preventing skipped doses and helping users adhere to the designated dosage order.

[0050] In one embodiment, before the step of adjusting the unlocking permission of unused pillboxes according to the expiration time and setting the pillboxes to an unlockable state at the corresponding time, the method further includes:

[0051] Obtain the drug type identifier for unused pillboxes;

[0052] Based on the drug type label on the medicine box, determine whether the drug in the medicine box is a time-sensitive drug;

[0053] If the medicine box contains time-sensitive medication and the current time exceeds the preset usage period, the medicine box will be permanently locked, an expiration alarm will be generated, and unlocking will be prohibited.

[0054] If the pillbox contains non-time-sensitive medication, the unlocking permission of the unused pillbox is adjusted according to the expiration time, and the pillbox is set to be unlockable at the corresponding time.

[0055] As mentioned above, the system identifies the type of medication within the pillbox. This is done through smart labels, barcodes, QR codes, or other identification methods within the pillbox to determine the type and attributes of the medication. This feature is crucial because different types of medications have different time sensitivities. For example, some medications need to be taken within a strict time window, while others are not time-restricted. By identifying the medication type, the system can determine whether a medication is time-sensitive. This provides accurate data support for subsequent time management, avoiding misjudgments due to unclear medication type. Based on the medication type identifier, the system determines whether the medication is time-sensitive. Time-sensitive medications typically need to be taken within a specific time window to ensure efficacy. These medications often have a short half-life or are affected by the biological clock, so missing the dosing time may lead to a significant decrease in treatment effectiveness. For example, antibiotics typically require strict adherence to time intervals to ensure maximum efficacy, while other non-time-sensitive medications may allow for a larger dosing window. By determining whether a medication is time-sensitive, the system can identify the specific requirements of the medication, thus providing a rational basis for subsequent decisions. If the medication is time-sensitive, the system will take more stringent measures to ensure that the treatment effect is not affected. For time-sensitive medications, if the current time has exceeded the preset usage period (e.g., the medication's dosing window has passed), the system will permanently lock the pillbox and generate an expiration alert. The key to this measure is preventing users from attempting to use the medication after it has expired. For example, if a medication needs to be taken at a specific time in the morning, the system will automatically recognize and prevent the pillbox from unlocking after that time to avoid situations where the medication is ineffective or unsafe. By permanently locking the pillbox, the system effectively prevents users from trying to take the medication at the wrong time. Generating an expiration alert reminds users that the medication is no longer usable, preventing them from missing the optimal treatment window and ensuring more effective treatment. For non-time-sensitive medications, although users should also take the medication within a certain time frame, their dosing window is relatively wider. If a user fails to collect the medication on time, the system will adjust the unlocking permissions based on the pillbox's expiration time. For example, if the medication is not collected at the scheduled time, the system will dynamically adjust the pillbox's unlocking status based on the expiration time. If the medication is not collected, the system will ensure that the pillbox is unlocked again at an appropriate time so that the user can continue taking it. This prevents the medication from losing its therapeutic effect entirely due to a single missed dose. This strategy provides greater flexibility for non-time-sensitive medications. If a user occasionally misses a dose, the system can flexibly adjust unlocking permissions, allowing the pillbox to reopen within a reasonable timeframe, enabling the user to continue taking medication in sequence. This fault-tolerance mechanism prevents unnecessary errors during treatment caused by overly strict time limits. By accurately obtaining the medication type identifier, the system can identify which medications have strict time requirements for administration.Strict handling of time-sensitive medications: For time-sensitive medications, the system permanently locks the pillbox once it detects that the usage period has expired, preventing medication ineffectiveness or misuse. This is to prevent users from continuing to take expired medications and ensure treatment effectiveness. Flexible management of non-time-sensitive medications: For non-time-sensitive medications, the system dynamically adjusts unlocking permissions, allowing continued medication within a reasonable timeframe, providing a degree of error tolerance and reducing treatment interruptions due to omissions.

[0056] In one embodiment, before the step of sending the target pillbox and unlocking command to the cloud, and unlocking the target pillbox via the cloud, the method further includes:

[0057] Obtain the associated dosing rules for the medications within the target pillbox;

[0058] Based on the aforementioned associated usage rules, analyze whether the target pillbox has any associated pillboxes that need to be taken simultaneously;

[0059] When the target pillbox has associated pillboxes that need to be taken at the same time, a linked unlocking is performed so that the user can take out the medicine only when all associated pillboxes are successfully unlocked;

[0060] If any associated pillbox is locked or fails to unlock, a notification of failed unlocking will be sent to the user's device, and all associated pillboxes will remain locked.

[0061] When all associated pillboxes are successfully unlocked, a linkage unlock completion signal is generated and sent to the cloud.

[0062] As mentioned above, in a smart pillbox system, medications may have interrelated dosing rules, meaning some medications need to be taken simultaneously at specific times or have a specific order of administration. By acquiring these interrelated dosing rules, the system can clearly determine which medications are related and which should be taken at the same time. For example, some medications need to be taken together to achieve a synergistic effect, or due to potential interactions between medications, they need to be taken together within a specified time to avoid reduced efficacy or side effects. By accurately acquiring these interrelated dosing rules, the system can provide users with more precise medication guidance. This avoids users missing the requirement to take multiple medications simultaneously due to negligence, ensuring that medications are taken within the optimal time window, thereby maximizing therapeutic effects and avoiding unnecessary side effects or treatment failure. Once the interrelated dosing rules are acquired, the system will analyze them to determine if any medication in the target pillbox needs to be taken simultaneously with medications in other pillboxes. If multiple pillboxes contain interrelated medications that need to be taken simultaneously, the system will identify these pillboxes and process them further. This process is performed by analyzing the characteristics of the medications and their timing requirements, ensuring that the system understands which medications have a time-coordinated dosing relationship. By analyzing the relationships between pillboxes, the system can determine whether to enable the linked unlocking function for multiple pillboxes, ensuring that medications from multiple pillboxes are retrieved simultaneously and preventing users from missing any pillboxes and thus missing a dose. When the system detects a correlation between a target pillbox and other pillboxes, it will activate the linked unlocking mechanism. This means that the user will only be allowed to retrieve the medication from the target pillbox when all associated pillboxes have been successfully unlocked. The linked unlocking function ensures that users cannot unlock only one pillbox, thus preventing users from accidentally missing or forgetting to take other medications that need to be taken simultaneously. The purpose of linked unlocking is to ensure that all associated medications are available at the same time, preventing missed doses or other medications from being missed due to retrieving one pillbox first. Especially for treatment plans with multiple medications, this mechanism ensures that users do not mistakenly take a single medication, thus ensuring the integrity of the treatment plan. If the system detects that an associated pillbox has failed to unlock successfully (e.g., due to network problems, hardware failure, or other reasons), the system will send a linked unlocking failure notification to the user's device. Meanwhile, all related pillboxes will remain locked until all pillboxes have been successfully unlocked. This measure aims to ensure that users do not remove any medications until all associated medications are ready, preventing incomplete or unsafe medication administration due to a single pillbox unlocking failure. By sending a failure notification and locking all pillboxes, the system effectively prevents medication from being missed due to a single unlocked or failed unlocking, ensuring users always follow the correct medication administration procedure. Furthermore, this step provides timely feedback to help users identify unlocking problems and take appropriate solutions.When all associated pillboxes are successfully unlocked, the system generates a linkage unlock completion signal and sends it to the cloud. This signifies that all medications requiring simultaneous administration are ready and safe to retrieve and take. This signal notifies the cloud system that linkage unlocking is complete, and the user can begin taking these medications, ensuring system consistency and accuracy. By generating and sending the linkage unlock completion signal, the system ensures synchronization between the cloud and local pillbox systems. This provides clear confirmation for subsequent medication management and use, avoiding confusion caused by asynchronous states. Users can confidently take medications in the prescribed time sequence, thereby improving treatment accuracy and safety. Specifically, by accurately acquiring and analyzing the associated medication rules, the system can identify which medications need to be taken at the same time, thus determining whether linkage unlocking is necessary. Through the linkage unlocking mechanism, the system ensures that when a user needs to take multiple medications simultaneously, medications can only be retrieved after all associated pillboxes have successfully unlocked, preventing accidental or missed retrieval. If a pillbox fails to unlock, the system can promptly provide feedback and maintain the locked state, preventing the user from taking medication incorrectly due to an unlocked pillbox. By generating and sending an unlock completion signal, the system ensures synchronization between the pillbox and the cloud system, guaranteeing smooth medication administration. This process ensures that all medications requiring simultaneous administration are retrieved at the same time, preventing medication omissions due to user error or system malfunction. Through linked unlocking and fault alerts, the system ensures that medication administration fully complies with the prescribed rules, preventing treatment errors caused by a single unlocked pillbox, thereby improving overall treatment effectiveness. The system's linked unlocking, failure feedback, and status synchronization allow for flexible medication administration, ensuring users take all relevant medications within the optimal time window, enhancing treatment safety and efficacy.

[0063] In one embodiment, before the step of sending the target pillbox and unlocking command to the cloud, and unlocking the target pillbox via the cloud, the method further includes:

[0064] Obtain the status information of the drug inside the target medicine box;

[0065] Analyze whether the drug has an abnormal state based on the status information;

[0066] When the drug is in an abnormal state, a replacement request instruction is generated based on the target medicine box and sent to the cloud;

[0067] When the drug is in a normal state, the target pillbox and unlock command are sent to the cloud, and the target pillbox is unlocked through the cloud.

[0068] As mentioned above, in a smart pillbox system, the medications within each pillbox may be affected by various factors such as temperature, humidity, storage environment, and packaging, leading to abnormal states (e.g., expired, ineffective, contaminated). To ensure the safety and effectiveness of the medications, the system needs to periodically or in real-time acquire the medication's status information, such as its expiration date, appearance, and storage conditions. This can be accomplished through built-in sensors (e.g., temperature and humidity sensors) or image recognition technology. By acquiring the medication's status information, the system can promptly understand the medication's quality status, ensuring that the medication is retrieved and used in optimal condition. If an abnormality is detected, the system can identify it immediately and take appropriate measures to prevent users from consuming substandard or ineffective medications, thereby improving the safety and effectiveness of medication use. After acquiring the medication's status information, the system analyzes whether the medication has an abnormal state based on preset rules or algorithms. For example, if the medication's expiration date has passed, or if environmental issues (e.g., excessively high temperature or humidity) during storage may cause changes in the medication's quality, the system will identify these abnormal states. The determination of abnormal states can also be optimized based on historical data and empirical models. By analyzing the drug's condition, the system can proactively detect potential anomalies, preventing users from taking medication unknowingly. This early identification and analysis mechanism helps ensure the effectiveness of medication and reduces health risks caused by drug quality issues. If the system detects an anomaly (such as expiration, damage, or contamination) during analysis, it generates a replacement request. This request is sent to the cloud, where the system receives and processes the request according to pillbox management rules, arranging for a new medication or performing related follow-up procedures. This ensures users always have access to qualified medication. By generating and sending replacement request instructions, the system automatically triggers the medication replacement process, reducing human intervention and ensuring users receive timely replacement medication. This mechanism enhances the intelligence of drug management, ensuring patients do not interrupt treatment due to medication problems. If analysis confirms the medication is not abnormal, the system proceeds with unlocking the pillbox. At this point, the system sends the unlock request and instructions for the target pillbox to the cloud. Upon receiving the instructions, the cloud processes them further, ultimately unlocking the pillbox and allowing the user to safely retrieve the medication. This process ensures that users are only allowed to retrieve their medication when it is in good condition, thus preventing any potential safety issues. At the same time, this method guarantees a smooth and efficient unlocking process, avoiding unnecessary delays or complicated procedures.

[0069] In one embodiment, the password data includes dynamic numeric characters and biometric data. Dynamic numeric characters typically refer to one-time passwords, which are randomly generated combinations of numbers or characters that can only be used once. They are often dynamically generated based on factors such as time, device, or user behavior. Biometric data refers to identifying a user by scanning their unique physiological or behavioral characteristics (such as fingerprints, iris scans, facial features, voice, gait, etc.). Biometrics are unique to each individual and therefore serve as a reliable method of identity verification. By combining dynamic numeric characters and biometric data, the security of the identity authentication system can be significantly improved, preventing theft, forgery, and replay attacks.

[0070] Reference Figure 3 This application also provides a cloud-based collaborative management system for a multi-compartment linked smart medicine box, including:

[0071] Module 1 is used to acquire password data entered by the user in real time;

[0072] The judgment module 2 is used to determine whether the conditions for opening the medicine box are met based on the password data;

[0073] The determination module 3 is used to determine that the password data meets the conditions for opening the medicine box when the password data is consistent with the current dynamic password.

[0074] The identification module 4 is used to identify the target medicine box corresponding to the dynamic password based on the judgment result, send the target medicine box and the unlocking command to the cloud, and unlock the target medicine box through the cloud;

[0075] The generation module 5 is used to generate a drug replenishment instruction when the target medicine box is unlocked.

[0076] The sending module 6 is used to send the generated drug replenishment instruction to the cloud.

[0077] As described above, it is understood that each component of the cloud-based collaborative management system for the multi-compartment linked smart medicine box proposed in this application can realize the function of any of the cloud-based collaborative management methods for the multi-compartment linked smart medicine box described above, and the specific structure will not be repeated here.

[0078] Reference Figure 4 This application also provides a computer device, which may be a server, and its internal structure may be as follows: Figure 4As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores monitoring data and other data. The network interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a cloud-based collaborative management method for a multi-compartment linked smart medicine box.

[0079] The processor described above executes the cloud-based collaborative management method for the multi-compartment linked smart pillbox, including: acquiring password data input by the user in real time; determining whether the conditions for opening the pillbox are met based on the password data; determining that the password data meets the conditions for opening the pillbox when it matches the current dynamic password; identifying the target pillbox corresponding to the dynamic password based on the determination result, sending the target pillbox and unlocking command to the cloud, and unlocking the target pillbox through the cloud; generating a medication replenishment command when the target pillbox is unlocked; and sending the generated medication replenishment command to the cloud.

[0080] One embodiment of this application also provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements a cloud-based collaborative management method for a multi-compartment linked smart pillbox, including the following steps: acquiring password data input by a user in real time; determining whether the password data meets the conditions for opening the pillbox; when the password data matches the current dynamic password, determining that the password data meets the conditions for opening the pillbox; based on the determination result, identifying the target pillbox corresponding to the dynamic password, sending the target pillbox and an unlocking command to the cloud, and unlocking the target pillbox through the cloud; when the unlocking of the target pillbox is completed, generating a medication replenishment command; and sending the generated medication replenishment command to the cloud.

[0081] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media provided in this application and in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual-speed SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0082] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, apparatus, article, or method. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, apparatus, article, or method that includes that element.

[0083] The above description is only a preferred embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural changes made based on the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A cloud-based collaborative management method for a multi-compartment linked smart pillbox, characterized in that, The method includes: Real-time acquisition of password data entered by the user; Determine whether the conditions for opening the medicine box are met based on the password data; When the password data matches the current dynamic password, it is determined that the password data meets the conditions for opening the medicine box; Based on the determination result, the target medicine box corresponding to the dynamic password is identified, and the target medicine box and unlocking command are sent to the cloud, through which the target medicine box is unlocked; When the target pillbox is unlocked, a medication replenishment command is generated; Based on the generated medication replenishment instruction, it is sent to the cloud; After the step of unlocking the target medicine box via the cloud, the method further includes: Real-time monitoring of the remaining drug quantity on the user terminal, and dynamic adjustment of the locking strategy based on the proportion of the remaining drug quantity; If a pillbox is not opened and used within a preset time, the expiration date of the corresponding pillbox will be marked. Adjust the unlocking permissions of unused pillboxes according to the expiration time, and set the pillboxes to be unlockable at the corresponding time; Based on the settings, a reminder signal for the corresponding date is triggered for the target pillbox until all the medications in the pillboxes have been removed. Before the step of adjusting the unlocking permission of unused pillboxes according to the expiration time and setting the pillboxes to an unlockable state at the corresponding time, the method further includes: Obtain the drug type identifier for unused pillboxes; Based on the drug type label on the medicine box, determine whether the drug in the medicine box is a time-sensitive drug; If the medicine box contains time-sensitive medication and the current time exceeds the preset usage period, the medicine box will be permanently locked, an expiration alarm will be generated, and unlocking will be prohibited. If the pillbox contains non-time-sensitive drugs, the unlocking permission of the unused pillbox is adjusted according to the expiration time, and the pillbox is set to be unlockable at the corresponding time. Before the step of sending the target pillbox and unlocking command to the cloud, and unlocking the target pillbox through the cloud, the method further includes: Obtain the associated dosing rules for the medications within the target pillbox; Based on the aforementioned associated usage rules, analyze whether the target pillbox has any associated pillboxes that need to be taken simultaneously; When the target pillbox has associated pillboxes that need to be taken at the same time, a linked unlocking is performed so that the user can take out the medicine only when all associated pillboxes are successfully unlocked; If any associated pillbox is locked or fails to unlock, a notification of failed unlocking will be sent to the user's device, and all associated pillboxes will remain locked. When all associated pillboxes are successfully unlocked, a linkage unlocking completion signal is generated and sent to the cloud; By acquiring the associated dosing rules of medications, the system can clearly determine which medications are associated and which should be taken simultaneously at the same time. This includes situations where certain medications need to be taken together to achieve a synergistic effect, or where there may be interactions between medications. The system can also determine whether the medication in the target pillbox needs to be taken simultaneously with medications in other pillboxes. If multiple pillboxes contain associated medications that need to be taken simultaneously, the system will identify these pillboxes and process them further. By analyzing whether there are associations between pillboxes, the system can determine whether to enable the linkage unlocking function for multiple pillboxes to ensure that medications from multiple pillboxes are removed simultaneously. When the system analyzes that there is an associated dosing relationship between the target pillbox and other pillboxes, the system will enable the linkage unlocking mechanism. Only when all associated pillboxes are successfully unlocked will the user be allowed to remove the medication from the target pillbox. Before the step of sending the target pillbox and unlocking command to the cloud, and unlocking the target pillbox through the cloud, the method further includes: Obtain the status information of the drug inside the target medicine box; Analyze whether the drug has an abnormal state based on the status information; When the drug is in an abnormal state, a replacement request instruction is generated based on the target medicine box and sent to the cloud; When the drug is not in an abnormal state, the target pillbox and unlock command are sent to the cloud, and the target pillbox is unlocked through the cloud. In a smart pillbox system, the medications within each pillbox are affected by various factors such as temperature, humidity, storage environment, and packaging, leading to abnormal states, including expiration, ineffectiveness, and contamination. The system needs to periodically or in real-time acquire the medication's status information, including its expiration date, appearance, and storage conditions. Through built-in sensors, including temperature and humidity sensors or image recognition technology, the system acquires the medication's status information to promptly understand its quality. If an abnormality is detected, the system immediately identifies it and takes appropriate measures. After acquiring the medication's status information, the system analyzes whether the medication has an abnormal state based on preset rules or algorithms. If the medication's expiration date has passed, or if the medication's quality has changed due to environmental issues during storage, such as excessively high temperature or humidity, the system identifies these abnormal states. The determination of abnormal states can also be optimized based on historical data and experience models.

2. The cloud-based collaborative management method for a multi-compartment linked intelligent medicine box according to claim 1, characterized in that, After the step of unlocking the target medicine box via the cloud, the method further includes: Once the target pillbox is unlocked, analyze whether the target pillbox meets the conditions for triggering the locking mechanism; When the medication corresponding to the user has been removed from the target pillbox, the target pillbox is determined to meet the conditions for triggering the locking mechanism. Based on the determination result, the locking mechanism of the target medicine box is triggered.

3. The cloud-based collaborative management method for the multi-compartment linked intelligent medicine box according to claim 1, characterized in that, The password data includes dynamic numeric characters and biometric data.

4. A cloud-based collaborative management system for a multi-compartment linked smart pillbox, used to execute the cloud-based collaborative management method for a multi-compartment linked smart pillbox as described in any one of claims 1 to 3, characterized in that, include: The acquisition module is used to acquire password data entered by the user in real time; The judgment module is used to determine whether the conditions for opening the medicine box are met based on the password data; The determination module is used to determine that the password data meets the conditions for opening the medicine box when the password data is consistent with the current dynamic password. The identification module is used to identify the target medicine box corresponding to the dynamic password based on the judgment result, send the target medicine box and the unlocking command to the cloud, and unlock the target medicine box through the cloud; A generation module is used to generate a drug replenishment instruction when the target medicine box is unlocked. The sending module is used to send the generated drug replenishment instructions to the cloud.

5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 3.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 3.