An intelligent medication management system based on cloud platform

By adjusting the sensitivity of the pressure sensor and the number of concurrent processing connections of the cloud platform in the intelligent medication management system, the problem of server performance degradation during the medication period is solved, the stability of remote monitoring and the integrity of data transmission are improved, and intelligent medication is realized Improved management stability.

CN118474198BActive Publication Date: 2024-09-27GUANGDONG AIB POLYTECHNIC COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410924240.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-09-27
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

In the existing technology, the intelligent medication management system handles a large number of user requests during the medication time period of the server, resulting in performance degradation, resulting in unstable remote monitoring connections and affecting the stability of intelligent medication management.

Method used

An intelligent medication management system based on a cloud platform is designed, including a medication management module, an alarm module, a data transmission module and a control module. It adjusts the pressure sensor sensitivity by detecting the variance of medication weight changes, reduces the number of concurrent processing connections, and adjusts monitoring. Data transfer rate and processing time to improve system stability.

Benefits of technology

By adjusting the sensitivity of the pressure sensor and the number of concurrent processing connections on the cloud platform, data packet loss and processing delays caused by server overload and network failure are reduced, and the stability of intelligent medication management and system response speed are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118474198B
    Figure CN118474198B
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and in particular to an intelligent medication management system based on a cloud platform, comprising: a medication management module for real-time monitoring of medications; an alarm module, which is connected to the medication holding module and is used to issue an audible and visual alarm when medication time is reached; a data transmission module, which is respectively connected to the medication holding module and the alarm module and is used to transmit the monitoring data and the audible and visual alarm information to a user monitoring end through a cloud platform; a control module, which is respectively connected to the medication management module, the alarm module and the data transmission module and is used to adjust the sensitivity of a pressure sensor or determine a first connection mode of the cloud platform according to the average freeze duration of the monitoring data viewed by the user monitoring end when it is determined that the management stability of intelligent medication does not meet the requirements according to the variance of the total weight change of the medication before and after taking the medication. The present invention achieves an improvement in the management stability of intelligent medication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to an intelligent medication management system based on a cloud platform. Background Art

[0002] In the prior art, traditional medicine boxes are generally made of plastic or metal and have relatively simple functions. However, traditional medicine boxes have the following problems when used: 1. The medicine boxes on the market are large and heavy, which is not convenient for patients to carry; 2. The hardware and software are not combined, resulting in the inability of family members to monitor and take medicine in real time; 3. Traditional medicine boxes do not have light reminders and voice reminders, and it is impossible to take medicine at the specified time; 4. The single function of traditional medicine boxes will cause elderly people with dementia to forget to take medicine or take medicine multiple times when using them, resulting in serious consequences of worsening of the disease.

[0003] Chinese Patent Publication No.: CN113903446A discloses a smart health management system for medication and blood pressure monitoring, which includes a smart medication reminder module, a smart blood pressure measurement module and a cloud platform module; the smart medication reminder module collects user medication data, the smart blood pressure measurement module collects user blood pressure data, and the cloud platform is established based on the WeChat applet, stores and analyzes data, and outputs the analysis results through the WeChat applet link. It can be seen that the smart medication and blood pressure monitoring health management system has the problem that the server needs to process a large amount of user request data at the same time during the medication period, resulting in a decrease in server performance, which in turn leads to an unstable remote monitoring connection and a decrease in the management stability of smart medication. Summary of the invention

[0004] To this end, the present invention provides an intelligent medication management system based on a cloud platform to overcome the problem in the prior art that the server needs to process a large amount of user request data simultaneously during the medication time period, resulting in a decrease in server performance, which in turn leads to an unstable remote monitoring connection and a decrease in the management stability of intelligent medication.

[0005] To achieve the above-mentioned purpose, the present invention provides an intelligent medication management system based on a cloud platform, comprising: a medication management module for real-time monitoring of medications, comprising a plurality of storage units for storing medications, a detection unit connected to the storage unit for detecting monitoring data of medications, and a display unit connected to the detection unit for displaying medication information, wherein the detection unit comprises a pressure sensor for detecting the weight of medications; an alarm module connected to the medication holding module for emitting an audible and visual alarm when medication time has arrived; a data transmission module connected to the medication holding module and the alarm module, respectively, for transmitting the monitoring data and the audible and visual alarm information to a user monitoring terminal via the cloud platform; a control module, It is respectively connected to the drug management module, the alarm module and the data transmission module, and is used to adjust the sensitivity of the pressure sensor or determine the first connection mode of the cloud platform according to the average freeze time of the monitoring data viewed by the user monitoring end when it is determined that the management stability of the intelligent medication does not meet the requirements according to the variance of the change in the total weight of the medicine before and after taking the medicine, and to adjust the transmission rate of the monitoring data according to the average freeze time of the monitoring data viewed by the user monitoring end and the packet loss rate of the monitoring data in the cloud platform, and determine the second connection mode of the cloud platform in combination with the first connection mode and the average processing time of the monitoring data; wherein, the number of concurrent processing connections of the cloud platform in the first connection mode is less than the number of concurrent processing connections in the second connection mode.

[0006] Further, the control module is connected to the detection unit to calculate the variance of the change in the total weight of the medicine before and after taking the medicine according to the total weight of the medicine before and after taking the medicine in several management cycles, and to determine that the management stability of the intelligent medication does not meet the requirements when the variance of the change in the total weight of the medicine before and after taking the medicine satisfies the first variance condition or the second variance condition;

[0007] Among them, the first variance condition is that the variance of the change in the total weight of the medicine before and after taking the medicine is greater than the preset first variance and less than or equal to the preset second variance; the second variance condition is that the variance of the change in the total weight of the medicine before and after taking the medicine is greater than the preset second variance.

[0008] Furthermore, the control module is connected to the user monitoring end, and is used to preliminarily determine that the stability of remote monitoring does not meet the requirements when the variance of the change in the total weight of the drug before and after taking the drug only satisfies the first variance condition, and to make a secondary judgment on whether the stability of remote monitoring meets the requirements based on the average freeze time of the monitoring data viewed by the user monitoring end.

[0009] Furthermore, the control module is connected to the pressure sensor, so as to increase the sensitivity of the pressure sensor when the variance of the change in the total weight of the medicine before and after taking the medicine only satisfies the second variance condition;

[0010] The increase in the sensitivity of the pressure sensor is determined by the difference between the variance of the change in the total weight of the medicine before and after taking the medicine and a preset second variance.

[0011] Further, the control module is connected to the user monitoring terminal, and is used to make a secondary determination that the stability of remote monitoring does not meet the requirements when the average freeze duration of the monitoring data viewed at the user monitoring terminal meets the first freeze duration condition or the second freeze duration condition, and to preliminarily determine that the transmission validity of the monitoring data does not meet the requirements when the average freeze duration of the monitoring data viewed at the user monitoring terminal only meets the second freeze duration condition, and to make a secondary determination on whether the transmission validity of the monitoring data meets the requirements according to the packet loss rate of the monitoring data in the cloud platform;

[0012] The control module is connected to the cloud platform, and is used to process the monitoring data according to the first connection mode when the average freeze duration of the monitoring data viewed by the user monitoring terminal only meets the first freeze duration condition;

[0013] Among them, the first freeze duration condition is that the average freeze duration of the monitoring data viewed by the user monitoring terminal is greater than the preset first freeze duration and is less than or equal to the preset second freeze duration; the second freeze duration condition is that the average freeze duration of the monitoring data viewed by the user monitoring terminal is greater than the preset second freeze duration.

[0014] Furthermore, the calculation formula for the average freeze duration of the user monitoring terminal viewing the monitoring data is:

[0015]

[0016] Among them, Z is the average freeze time of the user monitoring terminal viewing the monitoring data, X a is the duration of the freeze when the user terminal views the monitoring data in the ath monitoring cycle, n is the number of monitoring cycles, and n is a natural number greater than or equal to 1.

[0017] Furthermore, the first connection mode is that the cloud platform processes the monitoring data with a reduced number of concurrent processing connections, and the reduction in the number of concurrent processing connections is determined by the difference between the average freeze duration of the monitoring data viewed by the user monitoring terminal and a preset first freeze duration.

[0018] Furthermore, the control module is connected to the cloud platform and the data transmission module respectively, and is used to secondarily determine that the transmission validity of the monitoring data does not meet the requirements when the packet loss rate of the monitoring data in the cloud platform is greater than the preset packet loss rate, and reduce the transmission rate of the monitoring data;

[0019] The reduction range of the transmission rate of the monitoring data is determined by the difference between the packet loss rate of the monitoring data in the cloud platform and the preset packet loss rate.

[0020] Furthermore, the control module is connected to the cloud platform to determine that the processing efficiency of the cloud platform does not meet the requirements when the average processing time of the monitoring data is greater than the preset processing time, and to process the monitoring data according to the second connection method.

[0021] Furthermore, the second connection mode is that the cloud platform processes the monitoring data with an increased number of concurrent processing connections, and the increase in the number of concurrent processing connections is determined by the difference between the average processing time of the monitoring data and the preset processing time.

[0022] Compared with the prior art, the beneficial effect of the present invention lies in that the system of the present invention adjusts the sensitivity of the pressure sensor according to the variance of the change in the total weight of the medicine before and after taking the medicine by setting a medicine management module, an alarm module, a data transmission module and a control module. Since the medicine bottle is affected by the impact, the connection line of the pressure sensor becomes loose, resulting in the inability to sense the change of the medicine in time, thereby causing inaccurate changes in the weight of the medicine. By increasing the sensitivity of the pressure sensor, the impact of inaccurate weight monitoring caused by the impact is reduced. The number of concurrent processing connections of the cloud platform is initially adjusted according to the average freeze time of the user monitoring end viewing the monitoring data. Since the cloud platform server needs to process a large amount of user request data at the same time during the medication time period, the performance of the server is reduced, which leads to instability of the remote monitoring connection, thereby causing freezes when the user monitoring end views the monitoring data. By reducing the number of concurrent processing connections of the cloud platform, the server's response to a large number of requests is improved. The processing speed of the request is improved, and the impact of unstable remote connection caused by server overload is reduced. The transmission rate of the monitoring data is adjusted according to the packet loss rate of the monitoring data in the cloud platform. Due to the failure of the network device connected to the smart medicine box, some data is lost during the transmission of the monitoring data to the cloud platform, resulting in incomplete data transmitted to the cloud platform, which leads to incorrect information viewed on the user monitoring end. By reducing the transmission rate of the monitoring data, the impact of data packet loss caused by network device failure is reduced. The number of concurrent processing connections of the cloud platform is adjusted secondary according to the average processing time of the monitoring data. Due to the small number of concurrent processing connections of the cloud platform, the system response is slow, resulting in some requests being delayed, which in turn increases the processing time of the monitoring data, thereby reducing the processing efficiency of the cloud platform. By increasing the number of concurrent processing connections of the cloud platform, the processing efficiency of the cloud platform for monitoring data is improved, and the management stability of smart drug use is improved.

[0023] Furthermore, the system of the present invention adjusts the sensitivity of the pressure sensor by setting a preset first variance and a preset second variance. Since the medicine bottle is affected by the impact, the connecting line of the pressure sensor becomes loose, resulting in the inability to sense the changes in the medicine in time, thereby causing inaccurate changes in the weight of the medicine. By increasing the sensitivity of the pressure sensor, the impact of inaccurate weight monitoring caused by the impact is reduced, thereby further achieving improved management stability of smart medication.

[0024] Furthermore, the system of the present invention performs an initial adjustment on the number of concurrent processing connections of the cloud platform by setting a preset first freeze duration and a preset second freeze duration. Since the cloud platform server needs to process a large amount of user request data at the same time during the medication time period, the server performance is reduced, which in turn causes the remote monitoring connection to be unstable, resulting in freezes when viewing the monitoring data at the user monitoring end. By reducing the number of concurrent processing connections of the cloud platform, the server's processing speed for a large number of requests is improved, and the impact of remote connection instability caused by server overload is reduced, thereby further achieving improved management stability for smart medication.

[0025] Furthermore, the system of the present invention adjusts the transmission rate of monitoring data by setting a preset packet loss rate. Due to the failure of the network device connected to the smart medicine box, part of the monitoring data is lost during the transmission to the cloud platform, resulting in incomplete data transmitted to the cloud platform, which in turn causes incorrect information viewed at the user monitoring end. By reducing the transmission rate of the monitoring data, the impact of data packet loss caused by network device failure is reduced, thereby further achieving improved management stability of smart medication.

[0026] Furthermore, the system of the present invention performs secondary adjustment on the number of concurrent processing connections of the cloud platform by setting a preset processing time. Since the number of concurrent processing connections of the cloud platform is too small, the system response becomes slow, causing some requests to be delayed in processing, which in turn increases the processing time of the monitoring data, thereby causing the processing efficiency of the cloud platform to decrease. By increasing the number of concurrent processing connections of the cloud platform, the processing efficiency of the cloud platform for monitoring data is improved, thereby further achieving an improvement in the management stability of smart drug use. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 This is an overall structural diagram of an intelligent medication management system based on a cloud platform according to an embodiment of the present invention;

[0028] Figure 2 This is a schematic diagram of the overall structure of an intelligent medication management system based on a cloud platform according to an embodiment of the present invention;

[0029] Figure 3This is a specific structural block diagram of a drug management module of an intelligent drug management system based on a cloud platform according to an embodiment of the present invention;

[0030] Figure 4 This is a specific structural block diagram of an alarm module of an intelligent medication management system based on a cloud platform according to an embodiment of the present invention;

[0031] The reference numerals are as follows: 1-electromagnetic suction plate, 2-humidity sensor, 3-housing, 4-medicine storage grid, 5-LED light, 6-display screen, 7-pressure sensor, 8-speaker. DETAILED DESCRIPTION

[0032] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0033] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0034] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.

[0035] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0036] See also Figure 1 , Figure 2 , Figure 3 as well as Figure 4 As shown, they are respectively an overall structural block diagram, an overall structural schematic diagram, a specific structural block diagram of a drug management module, and a specific structural block diagram of an alarm module of an intelligent medication management system based on a cloud platform according to an embodiment of the present invention. An intelligent medication management system based on a cloud platform according to the present invention comprises:

[0037] A drug management module, for real-time monitoring of drugs, comprising a plurality of storage units for storing drugs, a detection unit connected to the storage unit for detecting drug monitoring data, and a display unit connected to the detection unit for displaying drug information, wherein the detection unit comprises a pressure sensor 7 for detecting drug weight;

[0038] An alarm module, which is connected to the medicine holding module and is used to send out an audible and visual alarm when it is time to take the medicine;

[0039] A data transmission module, which is connected to the medicine containing module and the alarm module respectively, and is used to transmit the monitoring data and the sound and light alarm information to the user monitoring terminal through the cloud platform;

[0040] A control module, which is respectively connected to the drug management module, the alarm module and the data transmission module, and is used to adjust the sensitivity of the pressure sensor 7 or determine the first connection mode of the cloud platform according to the average freeze time of the monitoring data viewed by the user monitoring end when it is determined that the management stability of the intelligent medication does not meet the requirements according to the variance of the total weight change of the drugs before and after taking the drugs, and to adjust the transmission rate of the monitoring data according to the average freeze time of the monitoring data viewed by the user monitoring end and the packet loss rate of the monitoring data in the cloud platform, and determine the second connection mode of the cloud platform in combination with the first connection mode and the average processing time of the monitoring data;

[0041] Among them, the number of concurrent processing connections of the cloud platform in the first connection mode is less than the number of concurrent processing connections in the second connection mode.

[0042] Specifically, the storage unit includes:

[0043] Shell 3;

[0044] A medicine storage grid 4, connected to the housing 3, for storing medicine;

[0045] The electromagnetic suction sheet 1 is arranged below the medicine storage grid 4 to control the opening and closing state of the medicine storage grid 4 .

[0046] Specifically, the detection unit further includes a humidity sensor 2 connected to the medicine storage grid 4 for detecting the humidity in the medicine storage grid 4 .

[0047] Specifically, the display unit is a display screen 6 .

[0048] Specifically, the alarm module includes:

[0049] An LED light 5, which is connected to the display screen 6, and is used to emit light to warn when it is time to take the medicine;

[0050] A speaker 8 is connected to the display screen 6 and is used to sound an alarm when it is time to take the medicine.

[0051] Specifically, the monitoring data of the medicines include the total weight of the medicines, the humidity of the medicine storage grid 4 , and the opening and closing time of the medicine storage grid 4 .

[0052] Specifically, drug information includes medication time, medication frequency, and real-time temperature.

[0053] In implementation, the system of the present invention sets a drug management module, an alarm module, a data transmission module and a control module, and adjusts the sensitivity of the pressure sensor 7 according to the variance of the change in the total weight of the medicine before and after taking the medicine. Since the medicine bottle is affected by the impact, the connection line of the pressure sensor 7 becomes loose, resulting in the inability to sense the change of the medicine in time, which leads to inaccurate changes in the weight of the medicine. By increasing the sensitivity of the pressure sensor 7, the impact of inaccurate weight monitoring caused by the impact is reduced. The number of concurrent processing connections of the cloud platform is initially adjusted according to the average freeze time of the user monitoring end viewing the monitoring data. Since the cloud platform server needs to process a large amount of user request data at the same time during the medication time period, the performance of the server is reduced, which leads to instability of the remote monitoring connection, which causes freezes when the user monitoring end views the monitoring data. By reducing the number of concurrent processing connections of the cloud platform, the server's processing speed for a large number of requests is improved. The degree is reduced, and the impact of unstable remote connections caused by server overload is reduced. The transmission rate of monitoring data is adjusted according to the packet loss rate of monitoring data in the cloud platform. Due to the failure of the network device connected to the smart medicine box, some data is lost during the transmission of monitoring data to the cloud platform, resulting in incomplete data transmitted to the cloud platform, which leads to incorrect information viewed on the user monitoring end. By reducing the transmission rate of monitoring data, the impact of data packet loss caused by network device failure is reduced. The number of concurrent processing connections of the cloud platform is adjusted secondary according to the average processing time of monitoring data. Due to the small number of concurrent processing connections of the cloud platform, the system response is slow, resulting in delayed processing of some requests, which in turn increases the processing time of monitoring data, thereby reducing the processing efficiency of the cloud platform. By increasing the number of concurrent processing connections of the cloud platform, the processing efficiency of the cloud platform for monitoring data is improved, and the management stability of smart drug use is improved.

[0054] Specifically, the control module is connected to the detection unit to calculate the variance of the change in the total weight of the medicine before and after taking the medicine according to the total weight of the medicine before and after taking the medicine in several management cycles, and to determine that the management stability of the intelligent medication does not meet the requirements when the variance of the change in the total weight of the medicine before and after taking the medicine satisfies the first variance condition or the second variance condition;

[0055] Among them, the first variance condition is that the variance of the change in the total weight of the medicine before and after taking the medicine is greater than the preset first variance and less than or equal to the preset second variance; the second variance condition is that the variance of the change in the total weight of the medicine before and after taking the medicine is greater than the preset second variance.

[0056] It can be understood that the three intervals corresponding to the preset first variance Q1 and the preset second variance Q2 correspond to three situations respectively. The first situation is Q≤Q1, which determines that the management stability of smart medication meets the requirements; the second situation is Q1<Q≤Q2, and the cloud platform server needs to process a large amount of user request data at the same time during the medication period, resulting in a decrease in server performance, which in turn leads to an unstable remote monitoring connection; the third situation is Q>Q2, and the medicine bottle is affected by the impact, causing the connection line of the pressure sensor 7 to become loose, resulting in the inability to sense the changes in the medicine in time, resulting in inaccurate changes in the weight of the medicine. In practice, Q1 is generally selected in the range of [1g 2 , 3g 2 ], Q2 is generally selected in the range of [4g 2 , 6g 2 ].

[0057] Preferably, the first variance Q1=2g is preset 2 , preset the second variance Q2=5g 2 .

[0058] Specifically, the variance of the change in total drug weight before and after taking the drug is recorded as Q.

[0059] Specifically, the variance of the change in the total weight of the medicine before and after taking the medicine is the variance of the change in the total weight of the medicine before and after taking the medicine within several management cycles. The calculation method for the variance of the change in the total weight of the medicine before and after taking the medicine is a conventional technical means well known to technical personnel in this field. Therefore, the calculation process of the variance of the change in the total weight of the medicine before and after taking the medicine will not be repeated here.

[0060] Specifically, the calculation formula for the change in total drug weight before and after taking the drug is:

[0061]

[0062] Among them, G is the change in the total weight of the medicine before and after taking the medicine, K1 is the total weight of the medicine after taking the medicine, and K2 is the total weight of the medicine before taking the medicine.

[0063] In implementation, the system of the present invention determines the management stability of smart medication by setting a preset first variance and a preset second variance, thereby reducing the impact of the management system's operational stability decline due to inaccurate determination of the management stability of smart medication, and further achieving improved management stability for smart medication.

[0064] Specifically, the control module is connected to the user monitoring end, and is used to preliminarily determine that the stability of remote monitoring does not meet the requirements when the variance of the change in the total weight of the medicine before and after taking the medicine only satisfies the first variance condition, and to make a secondary judgment on whether the stability of remote monitoring meets the requirements based on the average freeze time of the monitoring data viewed by the user monitoring end.

[0065] Specifically, the control module is connected to the pressure sensor 7, and is used to increase the sensitivity of the pressure sensor 7 when the variance of the change in the total weight of the medicine before and after taking the medicine only satisfies the second variance condition;

[0066] The increase in the sensitivity of the pressure sensor 7 is determined by the difference between the variance of the change in the total weight of the medicine before and after taking the medicine and a preset second variance.

[0067] Specifically, the calculation formula of the increased sensitivity of the pressure sensor 7 is:

[0068]

[0069] Among them, V' is the increased sensitivity of the pressure sensor 7, V is the current sensitivity of the pressure sensor 7, A is the minimum unit variance for adjusting the sensitivity of the pressure sensor 7, and v is the sensitivity of the pressure sensor 7 when the variance of the change in total drug weight before and after taking the medicine is the minimum unit variance.

[0070] In practice, the value of A is generally 5g. 2 ~7g 2 , preferably, the preferred embodiment of A is 6g 2 .

[0071] In practice, the optional range of the value of v is [0.4Pa, 0.6Pa]. Preferably, when the sensitivity of the pressure sensor 7 is less than 0.5Pa, it may cause inaccurate detection of the weight of the medicine. Therefore, the preferred embodiment of v is 0.5Pa.

[0072] For example, a cloud-based intelligent medication management system is used to manage the smart medicine box, where V = 0.3Pa, Q = 8g 2 , we can calculate V'= =0.55Pa.

[0073] In implementation, the system of the present invention adjusts the sensitivity of the pressure sensor 7 by setting a preset first variance and a preset second variance. Since the medicine bottle is affected by the impact, the connection line of the pressure sensor 7 becomes loose, resulting in the inability to sense the changes in the medicine in time, thereby causing inaccurate changes in the weight of the medicine. By increasing the sensitivity of the pressure sensor 7, the impact of inaccurate weight monitoring caused by the impact is reduced, thereby further achieving improved management stability of smart medication.

[0074] Specifically, the control module is connected to the user monitoring terminal, and is used to determine that the stability of remote monitoring does not meet the requirements when the average freeze duration of the monitoring data viewed at the user monitoring terminal meets the first freeze duration condition or the second freeze duration condition, and to preliminarily determine that the transmission validity of the monitoring data does not meet the requirements when the average freeze duration of the monitoring data viewed at the user monitoring terminal only meets the second freeze duration condition, and to make a secondary determination on whether the transmission validity of the monitoring data meets the requirements based on the packet loss rate of the monitoring data in the cloud platform;

[0075] The control module is connected to the cloud platform, and is used to process the monitoring data according to the first connection mode when the average freeze duration of the monitoring data viewed by the user monitoring terminal only meets the first freeze duration condition;

[0076] Among them, the first freeze duration condition is that the average freeze duration of the monitoring data viewed by the user monitoring terminal is greater than the preset first freeze duration and is less than or equal to the preset second freeze duration; the second freeze duration condition is that the average freeze duration of the monitoring data viewed by the user monitoring terminal is greater than the preset second freeze duration.

[0077] It can be understood that the three intervals corresponding to the preset first freeze duration P1 and the preset second freeze duration P2 correspond to three situations respectively. The first situation is P≤P1, and the secondary judgment of the stability of remote monitoring meets the requirements; the second situation is P1<P≤P2, and the cloud platform server needs to process a large amount of user request data at the same time during the medication period, resulting in a decrease in server performance, which in turn leads to an unstable remote monitoring connection. The third situation is P>P2, and the network device connected to the smart medicine box fails, resulting in the loss of some data during the transmission of monitoring data to the cloud platform, resulting in incomplete data transmitted to the cloud platform. In practice, the range of P1 is generally selected from [0.2 seconds, 0.4 seconds], and the range of P2 is generally selected from [0.45 seconds, 0.55 seconds].

[0078] Preferably, the first freeze duration P1 is preset to be 0.3 seconds, and the second freeze duration P2 is preset to be 0.5 seconds.

[0079] Specifically, the average freeze duration when the user monitors the monitoring data is recorded as P.

[0080] In implementation, the system of the present invention performs a secondary judgment on the stability of remote monitoring by setting a preset first freeze duration and a preset second freeze duration, thereby reducing the impact of the decline in the management stability of smart medication due to inaccurate secondary judgment on the stability of remote monitoring, and further improving the management stability of smart medication.

[0081] Specifically, the calculation formula for the average freeze duration of the user monitoring terminal viewing the monitoring data is:

[0082]

[0083] Among them, Z is the average freeze time of the user monitoring terminal viewing the monitoring data, X a is the duration of the freeze when the user terminal views the monitoring data in the ath monitoring cycle, n is the number of monitoring cycles, and n is a natural number greater than or equal to 1.

[0084] Specifically, the first connection mode is that the cloud platform processes the monitoring data with a reduced number of concurrent processing connections, and the reduction in the number of concurrent processing connections is determined by the difference between the average freeze duration of the monitoring data viewed by the user monitoring terminal and the preset first freeze duration.

[0085] Specifically, the calculation formula for the reduced number of concurrent processing connections of the cloud platform is:

[0086]

[0087] Among them, H' is the number of concurrent processing connections of the cloud platform after reduction, H is the current number of concurrent processing connections of the cloud platform, B is the minimum unit freeze duration for adjusting the number of concurrent processing connections of the cloud platform, and h is the number of concurrent processing connections of the cloud platform when the average freeze duration of the monitoring data viewed by the user monitoring end was the minimum unit freeze duration.

[0088] In practice, the value of B is generally 0.5 seconds to 0.7 seconds. Preferably, the preferred embodiment of B is 0.6 seconds.

[0089] In implementation, the optional value range of h is [8, 12]. Preferably, when the number of concurrent processing connections of the cloud platform is greater than 10, it may cause the cloud platform to freeze. Therefore, the preferred embodiment of h is 10.

[0090] For example, a cloud-based intelligent medication management system is used to manage the intelligent medicine box, where H = 14, P = 0.6 seconds, and H' = =9 pcs.

[0091] During implementation, the system of the present invention performs an initial adjustment on the number of concurrent processing connections of the cloud platform by setting a preset first freeze duration and a preset second freeze duration. Since the cloud platform server needs to process a large amount of user request data at the same time during the medication time period, the server performance is reduced, which in turn causes the remote monitoring connection to be unstable, resulting in freezes when viewing the monitoring data at the user monitoring end. By reducing the number of concurrent processing connections of the cloud platform, the server's processing speed for a large number of requests is improved, and the impact of remote connection instability caused by server overload is reduced, further achieving improved management stability for smart medication.

[0092] Specifically, the control module is connected to the cloud platform and the data transmission module respectively, and is used to secondarily determine that the transmission validity of the monitoring data does not meet the requirements when the packet loss rate of the monitoring data in the cloud platform is greater than the preset packet loss rate, and reduce the transmission rate of the monitoring data.

[0093] It can be understood that the two intervals corresponding to the preset packet loss rate Y0 correspond to two situations. The first situation is Y≤Y0, and the secondary judgment of the transmission validity of the monitoring data meets the requirements; the second situation is Y>Y0, and the network device connected to the smart medicine box fails, resulting in partial packet loss during the transmission of the monitoring data to the cloud platform, resulting in incomplete data transmitted to the cloud platform. In practice, Y0 is generally selected in the range of [8%, 12%].

[0094] Preferably, the preset packet loss rate Y0=10%.

[0095] Specifically, the packet loss rate of the monitoring data in the cloud platform is denoted as Y.

[0096] In implementation, the system of the present invention performs a secondary judgment on the transmission validity of the monitoring data by setting a preset packet loss rate, thereby reducing the impact of the decreased management stability of smart medication due to inaccurate secondary judgment on the transmission validity of the monitoring data, and further improving the management stability of smart medication.

[0097] Specifically, the reduction range of the transmission rate of the monitoring data is determined by the difference between the packet loss rate of the monitoring data in the cloud platform and the preset packet loss rate.

[0098] Specifically, the calculation formula for the reduced transmission rate of monitoring data is:

[0099]

[0100] Among them, L' is the reduced transmission rate of monitoring data, L is the current transmission rate of monitoring data, C is the minimum unit packet loss rate for adjusting the transmission rate of monitoring data, and l is the transmission rate of monitoring data when the packet loss rate of monitoring data in the cloud platform is the minimum unit packet loss rate.

[0101] In practice, the value of C is generally 13% to 17%. Preferably, the preferred embodiment of C is 15%.

[0102] In implementation, the optional value range of l is [18KB / s, 22KB / s]. Preferably, when the transmission rate of monitoring data is greater than 20KB / s, incomplete transmission of monitoring data may occur. Therefore, the preferred embodiment of l is 20KB / s.

[0103] For example, a cloud-based intelligent medication management system is used to manage the smart medicine box, where L=24KB / s, Y=16%,

[0104] Calculate L'= =16KB / s.

[0105] During implementation, the system of the present invention adjusts the transmission rate of monitoring data by setting a preset packet loss rate. Due to the failure of the network device connected to the smart medicine box, some data is lost during the transmission of the monitoring data to the cloud platform, resulting in incomplete data transmitted to the cloud platform, which in turn causes incorrect information viewed at the user monitoring end. By reducing the transmission rate of the monitoring data, the impact of data packet loss caused by network device failure is reduced, thereby further achieving improved management stability for smart medication.

[0106] Specifically, the control module is connected to the cloud platform to determine that the processing efficiency of the cloud platform does not meet the requirements when the average processing time of the monitoring data is greater than the preset processing time, and to process the monitoring data according to the second connection method.

[0107] It can be understood that the two intervals corresponding to the preset processing time R0 correspond to two situations. The first situation is R≤R0, which means that the processing efficiency of the cloud platform meets the requirements. The second situation is R>R0, which means that the number of concurrent processing connections of the cloud platform is too small, resulting in a slow system response, causing some requests to be delayed, and thus increasing the processing time of the monitoring data. In practice, the range of R0 is generally [0.2 seconds, 0.4 seconds].

[0108] Preferably, the preset processing time R0=0.3 seconds.

[0109] Specifically, the average processing time of monitoring data is denoted as R.

[0110] Specifically, the calculation formula for the average processing time of monitoring data is:

[0111]

[0112] Among them, R is the average processing time of monitoring data, E f is the processing time of the same amount of monitoring data in the fth processing cycle, i is the number of processing cycles, and i is a natural number greater than or equal to 1.

[0113] In implementation, the system of the present invention determines the processing efficiency of the cloud platform by setting a preset processing time, thereby reducing the impact of the decline in the management stability of smart medication due to inaccurate judgment of the processing efficiency of the cloud platform, and further improving the management stability of smart medication.

[0114] Specifically, the second connection mode is that the cloud platform processes the monitoring data with an increased number of concurrent processing connections, and the increase in the number of concurrent processing connections is determined by the difference between the average processing time of the monitoring data and the preset processing time.

[0115] Specifically, the calculation formula for the number of concurrent processing connections of the increased cloud platform is:

[0116]

[0117] Among them, H" is the number of concurrent processing connections of the cloud platform after the increase, D is the minimum unit processing time when the number of concurrent processing connections of the cloud platform is adjusted twice, and h' is the number of concurrent processing connections of the cloud platform when the average processing time of the monitoring data is the minimum unit processing time.

[0118] In practice, the value of D is generally 0.4 seconds to 0.6 seconds. Preferably, the preferred embodiment of D is 0.5 seconds.

[0119] In implementation, the optional range of the value of h' is [7, 9]. Preferably, when the number of concurrent processing connections of the cloud platform is less than 8, the system response speed may be slowed down, so the preferred embodiment of h' is 8.

[0120] Specifically, when the value of H" is a decimal, the value of H" is automatically rounded up to an integer.

[0121] For example, a cloud-based intelligent medication management system is used to manage the intelligent medicine box, where H'=9, R=0.5 seconds, and H"= ≈13.

[0122] During implementation, the system of the present invention performs secondary adjustments to the number of concurrent processing connections of the cloud platform by setting a preset processing time. Since the number of concurrent processing connections of the cloud platform is too small, the system response becomes slow, causing some requests to be delayed in processing, which in turn increases the processing time of the monitoring data, thereby causing the processing efficiency of the cloud platform to decrease. By increasing the number of concurrent processing connections of the cloud platform, the processing efficiency of the cloud platform for monitoring data is improved, and the management stability of smart medication is further improved.

[0123] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. An intelligent medication management system based on a cloud platform. It is characterized in that include: A drug management module, used for real-time monitoring of drugs, including a plurality of storage units for storing drugs, a detection unit connected to the storage unit for detecting drug monitoring data, and a display unit connected to the detection unit for displaying drug information, wherein the detection unit includes a pressure sensor for detecting drug weight; An alarm module, which is connected to the drug management module and is used to send out an audible and visual alarm when it is time to take the drug; A data transmission module, which is connected to the drug management module and the alarm module respectively, and is used to transmit the monitoring data and the sound and light alarm information to the user monitoring terminal through the cloud platform; a control module, which is respectively connected to the drug management module, the alarm module and the data transmission module, and is used to adjust the sensitivity of the pressure sensor or determine the first connection mode of the cloud platform according to the average freeze time of the monitoring data viewed by the user monitoring end when it is determined that the management stability of the intelligent medication does not meet the requirements according to the variance of the change in the total weight of the medicine before and after taking the medicine, and to adjust the transmission rate of the monitoring data according to the average freeze time of the monitoring data viewed by the user monitoring end and the packet loss rate of the monitoring data in the cloud platform, and determine the second connection mode of the cloud platform in combination with the first connection mode and the average processing time of the monitoring data; The number of concurrent processing connections of the cloud platform in the first connection mode is less than the number of concurrent processing connections in the second connection mode; The first connection mode is that the cloud platform processes the monitoring data with a reduced number of concurrent processing connections; The second connection mode is that the cloud platform processes the monitoring data with an increased number of concurrent processing connections.

2. According to the cloud platform-based intelligent medication management system of claim 1, It is characterized in that The control module is connected to the detection unit, and is used to calculate the variance of the change in the total weight of the medicine before and after taking the medicine according to the total weight of the medicine before and after taking the medicine in a number of management cycles, and to determine that the management stability of the intelligent medication does not meet the requirements when the variance of the change in the total weight of the medicine before and after taking the medicine satisfies the first variance condition or the second variance condition; Among them, the first variance condition is that the variance of the change in the total weight of the medicine before and after taking the medicine is greater than the preset first variance and less than or equal to the preset second variance; the second variance condition is that the variance of the change in the total weight of the medicine before and after taking the medicine is greater than the preset second variance.

3. According to the cloud platform-based intelligent medication management system of claim 2, It is characterized in that The control module is connected to the user monitoring end, and is used to preliminarily determine that the stability of remote monitoring does not meet the requirements when the variance of the change in the total weight of the medicine before and after taking the medicine only satisfies the first variance condition, and to make a secondary judgment on whether the stability of remote monitoring meets the requirements based on the average freeze duration of the monitoring data viewed by the user monitoring end.

4. According to claim 2, the intelligent medication management system based on the cloud platform, It is characterized in that The control module is connected to the pressure sensor, and is used to increase the sensitivity of the pressure sensor when the variance of the change in the total weight of the medicine before and after taking the medicine only satisfies the second variance condition; The increase in the sensitivity of the pressure sensor is determined by the difference between the variance of the change in the total weight of the medicine before and after taking the medicine and a preset second variance.

5. According to the cloud platform-based intelligent medication management system of claim 4, It is characterized in that The control module is connected to the user monitoring terminal, and is used to make a secondary determination that the stability of remote monitoring does not meet the requirements when the average freeze duration of the monitoring data viewed at the user monitoring terminal meets the first freeze duration condition or the second freeze duration condition, and to make a preliminary determination that the transmission validity of the monitoring data does not meet the requirements when the average freeze duration of the monitoring data viewed at the user monitoring terminal only meets the second freeze duration condition, and to make a secondary determination on whether the transmission validity of the monitoring data meets the requirements according to the packet loss rate of the monitoring data in the cloud platform; The control module is connected to the cloud platform, and is used to process the monitoring data according to the first connection mode when the average freeze duration of the monitoring data viewed by the user monitoring terminal only meets the first freeze duration condition; Among them, the first freeze duration condition is that the average freeze duration of the monitoring data viewed by the user monitoring terminal is greater than the preset first freeze duration and is less than or equal to the preset second freeze duration; the second freeze duration condition is that the average freeze duration of the monitoring data viewed by the user monitoring terminal is greater than the preset second freeze duration.

6. According to claim 5, the intelligent medication management system based on the cloud platform, It is characterized in that The calculation formula for the average freeze time of the user monitoring terminal viewing the monitoring data is: Among them, Z is the average freeze time of the user monitoring terminal viewing the monitoring data, X a is the duration of the freeze when the user terminal views the monitoring data in the ath monitoring cycle, n is the number of monitoring cycles, and n is a natural number greater than or equal to 1.

7. According to claim 6, the intelligent medication management system based on the cloud platform, It is characterized in that The reduction range of the number of concurrent processing connections is determined by the difference between the average freeze duration of the monitoring data viewed by the user monitoring terminal and the preset first freeze duration.

8. According to claim 7, the intelligent medication management system based on the cloud platform, It is characterized in that The control module is connected to the cloud platform and the data transmission module respectively, and is used to secondarily determine that the transmission validity of the monitoring data does not meet the requirements when the packet loss rate of the monitoring data in the cloud platform is greater than the preset packet loss rate, and reduce the transmission rate of the monitoring data; The reduction range of the transmission rate of the monitoring data is determined by the difference between the packet loss rate of the monitoring data in the cloud platform and the preset packet loss rate.

9. According to claim 7, the intelligent medication management system based on the cloud platform, It is characterized in that The control module is connected to the cloud platform to determine that the processing efficiency of the cloud platform does not meet the requirements when the average processing time of the monitoring data is greater than the preset processing time, and to process the monitoring data according to the second connection mode.

10. The cloud-based intelligent medication management system according to claim 9, It is characterized in that The increase in the number of concurrently processed connections is determined by the difference between the average processing time of the monitored data and the preset processing time.