Cloud collaborative management method and system for multi-cabin linkage type intelligent medicine box
By obtaining the password data entered by users in real time and combining cloud collaborative management and linkage unlocking, the existing smart drug box system has solved the insufficient management of the drug order and time nodes, and realized accurate drug reminders and management in a multi-drug box environment, ensuring that the drug is taken on time and in sequence, improving the safety and efficiency of the system.
Patent Information
- Application Number
- CN202510521848.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-24
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2045-04-24
AI Technical Summary
The existing smart drug box system lacks intelligent judgment when the drug is taken in chronological order or time nodes, which can easily lead to confusion of medication time. In the case of multi-drug and multi-drug box, users may have omissions or errors, especially when the medication time is closely related, the existing system cannot effectively manage it.
By obtaining the password data entered by the user in real time, using the dynamic password mechanism to determine whether the conditions for opening the medicine box are met, identifying the target medicine box and unlocking it through the cloud, generating drug supplementary instructions, combining intelligent time node management and linkage unlocking mechanism to ensure that the medicine is taken in time in sequence.
It realizes accurate reminders and management of drug use, avoids drug omissions, ensures the accuracy of drug use order and time nodes in a multi-drug box environment, and improves the safety and efficiency of drug management.
Smart Images

Figure CN120356642A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart medicine boxes, and in particular to a cloud-based collaborative management method and system for a multi-chamber linked smart medicine box. Background Art
[0002] The multi-compartment linkage smart medicine box is an intelligent drug management system based on the Internet of Things and cloud collaborative technology, suitable for precise medication management of multiple drugs, multiple doses and multiple users.
[0003] In the existing smart medicine boxes, most systems rely on simple timed reminders to guide users to take medicine on time. The medicine box will pop up a reminder at the set time, and the user will take the medicine on time and take it. However, these systems often do not consider the time characteristics of the medicine in depth, especially when the medicine needs to be taken in chronological order or at time nodes. For example, some medicines need to be taken in the morning, noon, evening or in a specific order. If the user misses the medicine at a certain time point, the existing system usually cannot intelligently judge how to deal with the omission, and may continue to push the medicine for the next day, or the system may mistakenly believe that the medicine is taken in the normal order, resulting in confusion in the medication time. Secondly, when a user needs to take multiple medicines at the same time and store them in multiple medicine boxes, the user may make mistakes or omissions. Especially when the medication time between medicine boxes is closely related, it may cause the user to unlock only one of the medicine boxes, resulting in medication omissions.
[0004] Therefore, the prior art has defects and needs to be improved. Summary of the invention
[0005] In order to solve one or several problems in the prior art, the main purpose of the present application is to provide a cloud-based collaborative management method and system for a multi-chamber linked smart medicine box.
[0006] In order to achieve the above-mentioned invention object, the present application proposes a cloud-based collaborative management method for a multi-chamber linkage smart medicine box, the method comprising:
[0007] Obtain password data entered by the user in real time;
[0008] determining whether a condition for opening the medicine box is met according to the password data;
[0009] 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;
[0010] Based on the result of the determination, the target medicine box corresponding to the dynamic password is identified, the target medicine box and the unlocking instruction are sent to the cloud, and the target medicine box is unlocked through the cloud;
[0011] When the unlocking of the target medicine box is completed, generating a medicine replenishment instruction;
[0012] Based on the generated drug replenishment instruction, it is sent to the cloud.
[0013] The embodiment of the present application also provides a cloud collaborative management system for a multi - cabin linked intelligent medicine box, including:
[0014] An acquisition module, configured to acquire password data input by the user terminal in real time;
[0015] A judgment module, configured to judge whether the condition for opening the medicine box is satisfied according to the password data;
[0016] A determination module, configured to determine that the password data satisfies the condition for opening the medicine box when the password data is consistent with the current dynamic password;
[0017] An identification module, configured to identify the target medicine box corresponding to the dynamic password based on the determination result, and send the target medicine box and an unlocking instruction to the cloud, and unlock the target medicine box through the cloud;
[0018] A generation module, configured to generate a drug replenishment instruction when the unlocking of the target medicine box is completed;
[0019] A sending module, configured to send it to the cloud based on the generated drug replenishment instruction.
[0020] The present application also provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in any one of the above are implemented.
[0021] The present application also provides a computer - readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in any one of the above are implemented.
[0022] The cloud collaborative management method and system for the multi - cabin linked intelligent medicine box in the embodiment of the present application, through the intelligent time - node management function, can perform precise reminder and management according to the time requirements of drugs or the drug sequence requirements, avoiding the situation that users miss taking drugs at a certain time point. Especially in the case where the drug taking sequence or time - node requirements are strict, the system can automatically identify the user's drug - taking behavior and intelligently judge how to handle the missed drugs. Secondly, for the scenario where users need to take multiple drugs simultaneously, through the multi - medicine - box joint management setting, the risk that users confuse or miss drugs among multiple medicine boxes is avoided. Through the optimized medicine - box design and intelligent reminder, the system can synchronously monitor the drug - taking times of multiple medicine boxes to ensure that users take all drugs on time. Especially in the case where the drug - taking times are closely related, the situation of only unlocking one medicine box and missing other drugs is avoided. Description of the Drawings
[0023] Figure 1 Schematic flowchart of the cloud collaborative management method for the multi-compartment linked intelligent medicine box according to an embodiment of the present application;
[0024] Figure 2 Schematic flowchart of the cloud collaborative management method for the multi-compartment linked intelligent medicine box according to an embodiment of the present application;
[0025] Figure 3 Schematic block diagram of the structure of the cloud collaborative management system for the multi-compartment linked intelligent medicine box according to an embodiment of the present application;
[0026] Figure 4 Schematic block diagram of the structure of the computer device according to an embodiment of the present application.
[0027] The realization, functional features and advantages of the object of the present application will be further described in conjunction with the embodiments with reference to the accompanying drawings. Detailed implementation manners
[0028] In order to make the object, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0029] Referring to Figure 1 , a cloud collaborative management method for a multi-compartment linked intelligent medicine box is provided in an embodiment of the present application. The method includes:
[0030] S1. Real-time obtain the password data input by the user terminal;
[0031] S2. Determine whether the condition for opening the medicine box is satisfied according to the password data;
[0032] S3. When the password data is consistent with the current dynamic password, it is determined that the password data satisfies the condition for opening the medicine box;
[0033] S4. Based on the determined result, identify the target medicine box corresponding to the dynamic password, send the target medicine box and the unlocking instruction to the cloud, and unlock the target medicine box through the cloud;
[0034] S5. When the unlocking of the target medicine box is completed, generate a drug replenishment instruction;
[0035] S6. Based on the generated drug replenishment instruction, send it to the cloud.
[0036] As described in the above steps S1 - S3, through the password entered by the user, it is ensured that only authorized users can access the content of the medicine box. Even if the medicine box itself is in a public environment, it can effectively protect the safety of the medicine. Different users can use different passwords for authentication to avoid incorrect or illegal use of the medicine box. By determining whether the password data entered by the user meets the unlocking conditions. The password needs to match the preset password rules in the system, which can include the comparison of static passwords and dynamic passwords. The system ensures that only the corresponding correct user can unlock the medicine box by comparing the entered password with the password in the database. Using a dynamic password (such as a temporary password generated each time), even if the password is leaked, it cannot be misused for a long time, further enhancing security. The core of the dynamic password mechanism is that when the entered password is consistent with the dynamic password generated by the system, the system allows the unlocking operation. This dynamic password mechanism usually uses an algorithm based on time or events to generate (such as TOTP - Time - based One - Time Password).
[0037] As described in the above steps S4 - S6, once the password verification is passed, the system identifies the medicine box to be unlocked according to the password matching result and sends the unlocking instruction to the cloud. The cloud is the core for centralized management of medicine boxes, responsible for receiving instructions from the user side and sending unlocking commands to specific medicine boxes. Cloud management can ensure that the status of all medicine boxes (such as whether they are unlocked, the status of the medicine, etc.) can be monitored in real - time and coordinate the operations of multiple medicine boxes uniformly. Users can remotely operate multiple medicine boxes through the cloud, which is suitable for multi - person or multi - medicine environments and avoids the need to physically contact the medicine box to complete all operations. After the system detects through the cloud that all target medicine boxes have been successfully unlocked, it automatically generates a medicine replenishment instruction. This function makes the medicine box management more intelligent, automatically judging whether the medicine box has been unlocked and performing further operations based on this. It reduces the need for manual operation by users and improves the convenience of the system. The system can understand the status of the medicine box in real - time and automatically issue a replenishment instruction when necessary (such as when the medicine is exhausted), ensuring the coherence and timeliness of medicine management. After the medicine box unlocking is completed, the generated medicine replenishment instruction is sent through the cloud. This instruction may involve notifying the medicine box administrator or relevant personnel to replenish the medicine to ensure that the medicine box is always in a suitable medicine supply state. Through the intelligent replenishment mechanism, the medicine inventory can be monitored in real - time, and doctors or patients can know in time whether the medicine box has enough medicine for the next use, thus improving the efficiency of medicine management.
[0038] As described above, a highly secure and automated medicine box management system is achieved by combining dynamic passwords, cloud management, and an intelligent replenishment mechanism. By using dynamic passwords (such as time-synchronized one-time passwords), it is ensured that the medicine box can only be unlocked by authorized users within a specific time, greatly reducing the risk of password leakage or abuse. Through the cloud management system to control the unlocking of the medicine box, centralized management of multiple medicine boxes can be realized. All unlocking operations can be verified and monitored in real time in the cloud, improving the accuracy, efficiency, and remote control ability of the operations. The status of the medicine box, the unlocking process, and the drug replenishment requirements can all be monitored in real time through the cloud, and the system can accurately know the remaining amount and status of the drugs in each medicine box. This precise monitoring and feedback mechanism ensure the sufficiency and compliance of the drug storage in the medicine box.
[0039] Referring to Figure 2 , in one embodiment, after the step of unlocking the target medicine box through the cloud, the method further includes:
[0040] S41. After the target medicine box is unlocked, analyze whether the target medicine box meets the conditions for triggering the locking mechanism;
[0041] S42. When the drugs corresponding to the user in the target medicine box have been taken out, it is determined that the target medicine box meets the conditions for triggering the locking mechanism;
[0042] S43. Based on the determined result, trigger the locking mechanism of the target medicine box.
[0043] As described in the above steps, after the medicine box is unlocked, the system will first analyze the quantity of drugs in the medicine box and whether it meets the criteria for correct removal. This process can be achieved through built-in sensors or intelligent detection devices. The system will read the quantity or type of drugs in the medicine box and compare it with the preset criteria. The purpose is to ensure the accurate removal of drugs in the medicine box. For example, a certain medicine box contains multiple drugs, and each drug has a specific quantity and order of taking. By analyzing the remaining quantity of drugs in the medicine box, the system can determine whether there are errors, omissions, or over-taking of drugs. By automatically monitoring the taking situation of drugs, it ensures the accuracy and safety of drug management, reducing the risks of human errors and drug abuse. The system judges whether the drugs are taken out according to the specified quantity by real-time monitoring the quantity of drugs in the medicine box. If the drugs are taken out in excess, or the types of drugs taken out do not match the actual needs, the system will immediately identify and trigger an alarm mechanism. Through this intelligent detection, it ensures that the taking of drugs meets the requirements of the doctor's prescription. For example, if the quantity of drugs in the medicine box decreases more than expected, it may indicate that the drugs are taken out incorrectly or lost, and the system will trigger a warning at this time. This can effectively prevent problems such as overuse of drugs, mis-taking of drugs, or loss of drugs, ensuring that the use of drugs strictly follows the preset standards and avoiding drug abuse or dosage errors. When the drugs are taken out, the system will trigger the locking mechanism according to the judgment result (such as whether the quantity of drugs meets the requirements). If the drugs are taken out correctly, the medicine box will be locked; if the system detects that the quantity of drugs is incorrect, the system can issue an alarm to remind the user to take the drugs correctly, ensuring the accuracy and legality of the drug management process and avoiding possible abuse or mis-taking of drugs.
[0044] In one embodiment, after the step of unlocking the target medicine box through the cloud, the method further includes:
[0045] Real-time monitor the remaining drug quantity at the user end, and dynamically adjust the locking strategy according to the proportion of the remaining drug quantity;
[0046] When the medicine box is not opened and used within the preset time, mark the expiration time of the corresponding medicine box;
[0047] Adjust the unlocking permission of the unused medicine box according to the expiration time, and set the medicine box to be in an unlockable state at the corresponding time;
[0048] Based on the set result, trigger a reminder signal for the target medicine box on the corresponding sequential date until all the drugs in all the medicine boxes have been taken out.
[0049] As described above, the system continuously monitors the remaining amount of drugs in the medicine box. Through sensors or other monitoring devices, the system can know the specific remaining quantity of drugs in each medicine box. Based on the proportion of the remaining drug quantity, the system can flexibly adjust the locking state of the medicine box. If the drug is not taken within a specified time period (such as at noon), the system will identify that the drug has not been used. The usage amount and frequency of drugs usually change dynamically. Timely adjusting the locking strategy can optimize the drug-taking time according to the situation of the remaining drugs. The effect is to improve the flexibility of the medicine box and the user experience, avoid the situation that the drug is affected by too little or too much remaining quantity, and ensure the timely replenishment and taking of drugs. When the system detects that a drug is missed (for example, the drug at noon is not taken), the system will dynamically adjust the drug usage order. For example, the user can still replenish the drug at noon first in the evening and then arrange to take the originally scheduled drug in the evening at other times. This adjustment can be made according to the time sequence of the drugs to ensure that each dose of drug is used correctly. In some cases, the unlocking permission of the medicine box needs to be reset. For example, if the system finds that a certain dose of drug has not been used, it will first unlock the access permission of the drug, allowing the user to replenish the missed drug at a later time. The system will issue a reminder according to the new drug usage arrangement. For example, if the user misses the drug at noon, the system will remind the user to replenish it in the evening to avoid omission. At the same time, the system will automatically adjust the usage time of the next drug to ensure that each dose of drug is taken on time, preventing the omission of drugs due to forgetting or other reasons. By dynamically adjusting the drug usage order through the intelligent system, it is ensured that the user will not miss any dose of drug, avoiding the situation that the curative effect is affected because a certain dose of drug is missed. This design allows the user to flexibly handle the situation of missing drugs, maximizing the avoidance of drug omission, thus ensuring the continuity and effectiveness of drug treatment. For some users who need to have a certain taking order, through the monitoring of the remaining drug quantity, it is ensured that the drugs are used reasonably, avoiding skipping a certain dose of drug, and helping the user to take the drugs according to the specified taking order.
[0050] In one embodiment, before the step of adjusting the unlocking permission of the unused medicine box according to the expiration time and setting the medicine box to be in an unlockable state at the corresponding time, the method further includes:
[0051] Obtain the drug type identifier of the unused medicine box;
[0052] According to the drug type identifier of the medicine box, determine whether the drug in the medicine box is a time-sensitive drug;
[0053] If the drug in the medicine box is a time-sensitive drug and the current time exceeds the preset usage time period, permanently lock the medicine box, generate an expiration alarm and prohibit unlocking;
[0054] If the drug in the medicine box is a non-time-sensitive drug, adjust the unlocking permission of the unused medicine box according to the expiration time, and set the medicine box to be unlockable at the corresponding time.
[0055] As described above, identify the types of drugs in the medicine box. This is achieved through smart tags, barcodes, QR codes, or other identification methods inside the medicine box to obtain the types and properties of the drugs. This feature is crucial because different types of drugs have different time sensitivities. For example, certain drugs need to be taken within a strict time window, while other drugs are not time-limited. By identifying the drug type, the system can determine whether the drug is time-sensitive. This provides accurate data support for subsequent time management and avoids incorrect judgments due to unclear drug types. Based on the type identification of the drug, the system will determine whether the drug belongs to a time-sensitive drug. Time-sensitive drugs usually need to be taken within a specific time window to ensure the efficacy of the drug. Such drugs usually have a short half-life or are affected by the biological clock, so missing the taking time may lead to a significant decline in the therapeutic effect. For example, antibiotic drugs usually require strict adherence to time intervals to maximize the efficacy, while other non-time-sensitive drugs may allow a larger taking time window. By determining whether the drug is time-sensitive, the system can identify the special requirements of the drug, thus providing a reasonable decision-making basis for subsequent steps. If the drug is time-sensitive, the system will take more stringent processing measures to ensure that the therapeutic effect is not affected. For time-sensitive drugs, if the current time has exceeded the preset usage time period (e.g., the taking time window of the drug has passed), the system will permanently lock the medicine box and generate an expiration alert. The key to this measure is to prevent users from attempting to continue using the drug when it has already expired. For example, if a certain drug needs to be taken within a specific time period in the morning, if that time period has passed, the system will automatically identify and prohibit the unlocking of the medicine box to avoid the situation of ineffective or unsafe drugs. By permanently locking the medicine box, the system can effectively prevent users from attempting to take the drug at the wrong time point. Generating an expiration alert can remind users that the drug can no longer be used, avoid missing the best treatment opportunity, and ensure that users receive more efficient treatment. For non-time-sensitive drugs, although users should also take the drugs within a certain time frame, the taking time window is relatively wide. If the user fails to pick up the drug on time, the system will adjust the unlocking permission according to the expiration time of the medicine box. For example, if the drug is not picked up at the scheduled time, the system will dynamically adjust the unlocking status of the medicine box according to the expiration time. If the drug is not taken out, the system will ensure that the medicine box is unlocked again at an appropriate time point for the user to continue taking. In this way, the drug will not completely miss the therapeutic effect due to a single missed dose. This strategy setting provides more flexibility for non-time-sensitive drugs. If the user occasionally misses a dose, the system can flexibly adjust the unlocking permission so that the medicine box can be reopened within a reasonable time, and the user can continue to pick up the drugs in sequence. This fault-tolerant mechanism can prevent unnecessary errors in the treatment process caused by overly strict time limits. By accurately obtaining the drug type identification, the system can identify which drugs have strict time-taking requirements.Strict handling of time-sensitive drugs: For time-sensitive drugs, once the system determines that the usage period has expired, the medicine box will be permanently locked to prevent the drugs from becoming ineffective or being misused. This is to prevent users from continuing to take the drugs after they have expired and ensure the treatment effect. Flexible management of non-time-sensitive drugs: For non-time-sensitive drugs, the system provides a certain degree of fault tolerance by dynamically adjusting the unlocking permission to allow continued drug taking within a reasonable time, reducing treatment interruptions caused by omissions.
[0056] In an embodiment, before the step of sending the target medicine box and the unlocking instruction to the cloud and unlocking the target medicine box through the cloud, the method further includes:
[0057] Obtain the associated taking rules of the drugs in the target medicine box;
[0058] According to the associated taking rules, analyze whether there is an associated medicine box that needs to be taken simultaneously in the target medicine box;
[0059] When there is an associated medicine box that needs to be taken simultaneously in the target medicine box, perform linked unlocking, which allows the user to take out the drugs only when all associated medicine boxes are successfully unlocked;
[0060] If any associated medicine box fails to be unlocked or the unlocking fails, a linked unlocking failure prompt will be sent to the user terminal, and the locked state of all associated medicine boxes will be maintained;
[0061] When all associated medicine boxes are successfully unlocked, a linked unlocking completion signal is generated and sent to the cloud.
[0062] As described above, in the intelligent medicine box system, there may be interrelated medication rules for drugs, that is, some drugs need to be taken simultaneously within a specific time, or there are specific medication order requirements. By obtaining the interrelated medication rules of drugs, the system can clearly determine which drugs are related and which drugs should be taken simultaneously at the same time point. For example, some drugs need to be taken together to achieve a synergistic effect, or because there may be interactions between drugs, they need to be taken together within a specified time to avoid weakened efficacy or side effects. By accurately obtaining the interrelated medication rules of drugs, the system can provide users with more accurate medication guidance. It avoids the requirement of taking multiple drugs simultaneously being missed due to user negligence, ensures that the drugs can be taken within the optimal time window, thereby maximizing the therapeutic effect and avoiding unnecessary side effects or treatment failures. Once the interrelated medication rules of drugs are obtained, the system will analyze according to the rules to determine whether there is a need for the drugs in the target medicine box to be taken simultaneously with the drugs in other medicine boxes. If there are related drugs that need to be taken simultaneously in multiple medicine boxes, the system will identify these medicine boxes and conduct further processing. This process is carried out by analyzing the characteristics and time requirements of the drugs to ensure that the system understands which drugs have a synergistic medication relationship in terms of time. By analyzing whether there is a connection between medicine boxes, the system can determine whether it is necessary to enable the linked unlocking function for multiple medicine boxes to ensure that the drugs in multiple medicine boxes are taken out simultaneously, avoiding the user missing a certain medicine box and resulting in missed doses. When the system analyzes that there is an interrelated medication relationship between the target medicine box and other medicine boxes, the system will enable the linked unlocking mechanism. This means that the user will only be allowed to take out the drugs in the target medicine box when all related medicine boxes are successfully unlocked. The linked unlocking function ensures that the user cannot only unlock one of the medicine boxes, thus avoiding the user accidentally missing or forgetting to take other drugs that need to be taken simultaneously. The purpose of linked unlocking is to ensure that all related drugs can be taken simultaneously, and to avoid missing or causing other drugs to miss the taking time because one medicine box is taken out first when taking medicine. Especially for treatment plans involving multiple drugs, this mechanism can ensure that users do not take a single drug incorrectly, thus guaranteeing the integrity of the treatment plan. If the system finds that a certain related medicine box fails to be successfully unlocked (for example, due to network problems, hardware failures or other reasons resulting in unlocking failures), the system will send a prompt of linked unlocking failure to the user terminal. At the same time, all related medicine boxes will remain locked until all medicine boxes are successfully unlocked. This measure aims to ensure that users do not take out any drugs before all related drugs are ready, avoiding incomplete or unsafe medication for users due to the unlocking failure of one medicine box. By sending a failure prompt and locking all medicine boxes, the system can effectively avoid drug omission caused by a certain medicine box not being unlocked or unlocking failure, ensuring that users always follow the correct drug-taking process. In addition, this step also provides timely feedback information to help users identify unlocking problems and take corresponding solutions.When all associated medicine boxes are successfully unlocked, the system generates a linkage unlocking completion signal and sends it to the cloud. This indicates that all the medications that need to be taken simultaneously are ready and can be safely retrieved and consumed. This signal notifies the cloud system that the linkage unlocking has been completed, allowing the user to start taking these medications, ensuring the consistency and accuracy of the system's status. By generating and sending the linkage unlocking completion signal, the system can ensure the status synchronization between the cloud and the local medicine box system. This provides a clear confirmation for subsequent medication management and usage, avoiding confusion caused by out-of-sync statuses. Users can take their medications with confidence in the prescribed chronological order, thereby improving the accuracy and safety of treatment. Specifically: By precisely obtaining and analyzing the associated medication rules of the drugs, the system can identify which drugs need to be taken at the same time, and thus determine whether to enable linkage unlocking. Through the linkage unlocking mechanism, the system ensures that when a user needs to take multiple medications simultaneously, they can only retrieve the medications after all relevant medicine boxes are successfully unlocked, preventing incorrect or missed retrievals. When a medicine box fails to unlock, the system can provide timely feedback and maintain the locked state, preventing the user from taking the wrong medication due to an unlocked medicine box. By generating and sending the unlocking completion signal, the system ensures the status synchronization between the medicine box and the cloud system, thus ensuring the smooth progress of medication use. This process ensures that all medications that need to be taken simultaneously can be retrieved at the same time, avoiding medication omissions caused by improper user operations or system errors. Through linkage unlocking and fault notifications, the system can ensure that the medication-taking process fully complies with the medication rules, avoiding treatment plan errors caused by a single unlocked medicine box, and thereby improving the overall treatment effect. The system can flexibly manage medication intake through linkage unlocking, failure feedback, and status synchronization, ensuring that users can take all relevant medications within the optimal time window, improving the safety and effectiveness of treatment.
[0063] In one embodiment, before the step of sending the target medicine box and the unlocking instruction to the cloud and unlocking the target medicine box through the cloud, the method further includes:
[0064] Obtain the status information of the medications in the target medicine box;
[0065] Analyze whether the medications are in an abnormal state based on the status information;
[0066] When the medications are in an abnormal state, generate a replacement request instruction based on the target medicine box and send it to the cloud;
[0067] When the medications are not in an abnormal state, send the target medicine box and the unlocking instruction to the cloud, and unlock the target medicine box through the cloud.
[0068] As described above, in the intelligent medicine box system, the drugs in each medicine box may be affected by various factors such as temperature, humidity, storage environment, and packaging conditions, resulting in abnormal states of the drugs (such as expiration, invalidation, contamination, etc.). To ensure the safety and effectiveness of the drugs, the system needs to obtain the status information of the drugs regularly or in real time, such as the expiration date, appearance, storage conditions, etc. of the drugs. This can be accomplished through built-in sensors (such as temperature and humidity sensors) or image recognition technology. By obtaining the status information of the drugs, the system can timely understand the quality status of the drugs and ensure that the drugs are taken out and used in the best state. If there are abnormalities in the drugs, the system can identify them immediately and take corresponding measures to prevent users from taking inferior or invalid drugs, thereby improving the safety and effectiveness of drug use. After obtaining the drug status information, the system will analyze whether the drugs are in an abnormal state based on preset rules or algorithms. For example, if the expiration date of the drug has passed, or the quality of the drug may change due to environmental problems (such as too high temperature or too high humidity) during storage, the system will mark these abnormal states. The determination of abnormal states can also be optimized based on historical data and empirical models. By analyzing the drug status, the system can detect potential abnormalities in the drugs in advance and prevent users from taking drugs without realizing the problems with the drugs. This early identification and analysis mechanism helps to ensure the use effect of the drugs and reduce the health risks caused by drug quality problems. If the system discovers that there are abnormalities in the drugs (such as expiration, damage, contamination, etc.) through analyzing the drug status, the system will generate a replacement request instruction according to the abnormal state. This instruction is sent to the cloud, and the cloud system will receive this request and process this request according to the medicine box management rules, arrange for new drugs or perform relevant subsequent processing. This operation ensures that users can always use qualified drugs. By generating and sending the replacement request instruction, the system can automatically trigger the drug replacement process, thereby reducing human intervention and ensuring that users can obtain alternative drugs in a timely manner. This mechanism improves the intelligent level of drug management and ensures that patients will not interrupt treatment due to drug problems. If it is confirmed through analysis that the drugs are not abnormal, the system will continue to perform the medicine box unlocking operation. At this time, the system sends the unlocking request and unlocking instruction of the target medicine box to the cloud, and the cloud will perform further processing after receiving the instruction, and finally unlock the medicine box so that the user can safely take out the drugs. Through this process, the system ensures that users are only allowed to take drugs when the drug status is normal, thereby preventing any potential safety problems with the drugs. At the same time, this method also ensures the smoothness and efficiency of the medicine box unlocking process and avoids unnecessary delays or complex processes.
[0069] In one embodiment, the password data includes dynamic digital characters and biometric data. Dynamic digital characters generally 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 the identification of a user's identity by scanning unique physiological or behavioral characteristics (such as fingerprints, iris, facial features, voice, gait, etc.). Biometrics are unique to each individual and can therefore be used as a reliable way to verify identity. By combining dynamic digital characters and biometric data, the security of the identity authentication system can be significantly improved, preventing theft, forgery, and replay attacks.
[0070] Referring to Figure 3 , an embodiment of the present application also provides a cloud collaborative management system for a multi-compartment linkage intelligent medicine box, including:
[0071] An acquisition module 1, configured to acquire password data input by a user terminal in real time;
[0072] A judgment module 2, configured to judge whether the condition for opening the medicine box is satisfied according to the password data;
[0073] A determination module 3, configured to determine that the password data satisfies the condition for opening the medicine box when the password data is consistent with the current dynamic password;
[0074] An identification module 4, configured to identify the target medicine box corresponding to the dynamic password based on the determined result, send the target medicine box and an unlocking instruction to the cloud, and unlock the target medicine box through the cloud;
[0075] A generation module 5, configured to generate a drug replenishment instruction when the unlocking of the target medicine box is completed;
[0076] A sending module 6, configured to send the generated drug replenishment instruction to the cloud.
[0077] As described above, it can be understood that each component of the cloud collaborative management system for the multi-compartment linkage intelligent medicine box proposed in the present application can implement the functions of any one of the above-mentioned cloud collaborative management methods for the multi-compartment linkage intelligent medicine box, and the specific structure will not be described in detail.
[0078] Referring to Figure 4 , an embodiment of the present application also provides a computer device, which may be a server, and its internal structure may be as Figure 4As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as monitoring data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a cloud-based collaborative management method for a multi-chamber linkage smart medicine box is implemented.
[0079] The above-mentioned processor executes the above-mentioned cloud-based collaborative management method of the multi-chamber linkage smart medicine box, including: acquiring the password data input by the user end in real time; judging whether the conditions for opening the medicine box are met according to the password data; when the password data is consistent with the current dynamic password, judging that the password data meets the conditions for opening the medicine box; based on the result of the judgment, identifying the target medicine box corresponding to the dynamic password, sending the target medicine box and the unlocking instruction to the cloud, and unlocking the target medicine box through the cloud; when the unlocking of the target medicine box is completed, generating a drug replenishment instruction; and sending the generated drug replenishment instruction to the cloud.
[0080] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, a cloud-based collaborative management method for a multi-chamber linked smart medicine box is implemented, including the following steps: acquiring password data input by a user terminal in real time; judging whether a condition for opening the medicine box is met based on the password data; when the password data is consistent with a current dynamic password, judging that the password data meets the condition for opening the medicine box; based on a result of the judgment, identifying a target medicine box corresponding to the dynamic password, sending the target medicine box and an unlocking instruction to the cloud, and unlocking the target medicine box through the cloud; generating a drug replenishment instruction when the unlocking of the target medicine box is completed; and sending the generated drug replenishment instruction to the cloud.
[0081] Those of ordinary skill in the art can understand that all or part of the processes in the above-described method embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above-described method embodiments. Among them, any reference to a memory, storage, database, or other medium provided in this application and used in the embodiments can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0082] It should be noted that in this document, the term "including", "comprising", or any other variant thereof is intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, apparatus, article, or method including such element.
[0083] The above are only the preferred embodiments of this application, and do not limit the patent scope of this application accordingly. Any equivalent structural or equivalent process transformation made by using the content of the specification and drawings of this application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of this application.
Claims
1. A cloud collaborative management method for a multi-compartment linkage intelligent medicine box, characterized in that The method includes: Obtaining password data input by the user terminal in real time; Judging whether the condition for opening the medicine box is satisfied according to the password data; When the password data is consistent with the current dynamic password, it is determined that the password data satisfies the condition for opening the medicine box; Based on the determined result, identifying the target medicine box corresponding to the dynamic password, sending the target medicine box and an unlocking instruction to the cloud, and unlocking the target medicine box through the cloud; When the unlocking of the target medicine box is completed, generating a drug replenishment instruction; Based on the generated drug replenishment instruction, sending it to the cloud.
2. The cloud collaborative management method of the multi-compartment linkage intelligent medicine box according to claim 1, characterized in that, After the step of unlocking the target medicine box through the cloud, the method further includes: When the unlocking of the target medicine box is completed, analyzing whether the target medicine box satisfies the condition for triggering the locking mechanism; When the drugs corresponding to the user in the target medicine box have been taken out, it is determined that the target medicine box satisfies the condition for triggering the locking mechanism; Based on the determined result, triggering the locking mechanism of the target medicine box.
3. The cloud collaborative management method of the multi-compartment linkage intelligent medicine box according to claim 1, characterized in that, After the step of unlocking the target medicine box through the cloud, the method further includes: Monitoring the remaining drug amount of the user terminal in real time and dynamically adjusting the locking strategy according to the proportion of the remaining drug amount; When the medicine box is not opened and used within the preset time, marking the expiration time of the corresponding medicine box; Adjusting the unlocking permission of the unused medicine box according to the expiration time, and setting the medicine box to be in an unlockable state at the corresponding time; Based on the set result, triggering a reminder signal for the target medicine box on the corresponding sequential date until all the drugs in the medicine box have been taken out.
4. The cloud collaborative management method of the multi-compartment linked intelligent medicine box according to claim 3, characterized in that, Before the step of adjusting the unlocking permission of the unused medicine box according to the expiration time and setting the medicine box to be in an unlockable state at the corresponding time, the method further includes: Obtaining the drug type identifier of the unused medicine box; Judging whether the drugs in the medicine box are time-sensitive drugs according to the drug type identifier of the medicine box; If the drugs in the medicine box are time-sensitive drugs and the current time exceeds the preset use period, permanently locking the medicine box, generating an expiration alarm and prohibiting unlocking; If the drugs in the medicine box are non-time-sensitive drugs, adjusting the unlocking permission of the unused medicine box according to the expiration time and setting the medicine box to be in an unlockable state at the corresponding time.
5. The cloud collaborative management method of the multi-compartment linked intelligent medicine box according to claim 1, characterized in that Before the step of sending the target medicine box and an unlocking instruction to the cloud and unlocking the target medicine box through the cloud, the method further includes: Obtaining the associated taking rules of the drugs in the target medicine box; Analyzing whether there are associated medicine boxes that need to be taken simultaneously for the target medicine box according to the associated taking rules; When there are associated medicine boxes that need to be taken simultaneously for the target medicine box, performing linkage unlocking, which is used to allow the user to take out the drugs only when all the associated medicine boxes are successfully unlocked; If any associated medicine box fails to unlock or the unlocking fails, sending a linkage unlocking failure prompt to the user terminal and maintaining the locked state of all the associated medicine boxes; When all the associated medicine boxes are successfully unlocked, generating a linkage unlocking completion signal and sending it to the cloud.
6. The cloud collaborative management method of the multi-compartment linkage intelligent medicine box according to claim 1, characterized in that Before the step of sending the target medicine box and an unlocking instruction to the cloud and unlocking the target medicine box through the cloud, the method further includes: Obtain the status information of the drugs in the target medicine box; Analyze whether the drugs are in an abnormal state according to the status information; When the drugs are in an abnormal state, generate a replacement request instruction based on the target medicine box and send it to the cloud; When the drugs are not in an abnormal state, send the target medicine box and the unlocking instruction to the cloud, and unlock the target medicine box through the cloud.
7. The cloud collaborative management method of the multi-compartment linkage intelligent medicine box according to claim 1, characterized in that, The password data includes dynamic digital characters and biometric data.
8. A cloud collaborative management system for a multi-compartment linked intelligent medicine box, characterized in that, Comprising: An obtaining module, configured to obtain password data input by the user terminal in real time; A judging module, configured to judge whether the condition for opening the medicine box is met according to the password data; A determining module, configured to determine that the password data meets the condition for opening the medicine box when the password data is consistent with the current dynamic password; An identifying module, configured to identify the target medicine box corresponding to the dynamic password based on the determined result, send the target medicine box and the unlocking instruction to the cloud, and unlock the target medicine box through the cloud; A generating module, configured to generate a drug replenishment instruction when the unlocking of the target medicine box is completed; A sending module, configured to send it to the cloud based on the generated drug replenishment instruction.
9. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Smart medicine kit and medicine filling control method and medicine management system thereof
CN107203699A
Intelligent medicine box, unlocking method for intelligent medicine box and medicine management system
CN107436998A
Coronary heart disease management cloud platform system and intelligent medicine box
CN112233759A
Household intelligent device for assisting in medicine taking
CN112331294A
Portable intelligent AI service and chronic disease management early warning medicine box
CN114712235A