Clinical trial drug storage and access management method and system based on intelligent medicine cabinet
Through the storage and access management method of smart medicine cabinets, the historical data of drugs are analyzed, the temperature range is adjusted, and the air outlet device is used to assist in temperature control, the problem of temperature fluctuations in traditional drug storage methods is solved, and the stability of drug quality is improved.
Patent Information
- Application Number
- CN202411585618.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-11-08
AI Technical Summary
In clinical trials, traditional drug storage methods are difficult to meet the diverse temperature requirements of various drugs, resulting in temperature fluctuations in the internal medicine cabinet, which may cause the drug to overheat, damage to quality or fail.
Through the clinical trial drug storage and access management method based on smart drug cabinets, the historical drug storage and access data are collected, the number of door openings and average door openings are analyzed and predicted, the temperature change curve is drawn, the temperature interval is determined, and the air outlet device assists in temperature control, early warning reminders are provided to reduce temperature changes.
It effectively reduces the temperature changes in the medicine cabinet, reduces the frequency of problems such as drug over-temperature failure, and improves the quality stability of drugs.
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of drug management, and more specifically, to a clinical trial drug storage and access management method and system based on a smart medicine cabinet. Background Art
[0002] In clinical trials, the storage conditions of clinical trial drugs are critical to their quality and stability. Since clinical trial drugs often have specific temperature sensitivity, ensuring that they are kept within the appropriate temperature range during storage is key to ensuring the effectiveness and safety of the drug.
[0003] Traditional drug storage methods often rely on simple temperature control equipment, such as thermostats or refrigerators, but these devices usually lack intelligent temperature adjustment functions. In clinical trials, due to the wide variety of drugs and the different temperature requirements of each drug, it is difficult for traditional temperature control equipment to meet the storage needs of all drugs.
[0004] With the advancement of science and technology and the development of intelligent technology, more and more intelligent temperature control equipment is being used in the storage of clinical trial drugs. These devices are usually equipped with advanced sensors and control systems, which can monitor and adjust the temperature of the storage environment in real time, thereby ensuring that the drugs are kept within the appropriate temperature range during storage.
[0005] However, although intelligent temperature control equipment has been widely used in the storage of clinical trial drugs, there are still some problems. For example, the temperature adjustment accuracy of some equipment is not high enough to meet the storage needs of certain drugs with extremely strict temperature requirements; in addition, when storing and retrieving clinical trial drugs in the medicine cabinet, the temperature inside the medicine cabinet will fluctuate, which may cause the drugs to be in an over-temperature state, resulting in quality damage or failure.
[0006] Therefore, the prior art has defects and is in urgent need of improvement. Summary of the invention
[0007] In view of the above problems, the purpose of the present invention is to provide a clinical trial drug storage and access management method and system based on an intelligent medicine cabinet, which can effectively reduce the number of times that the clinical trial drugs enter an over-temperature state due to temperature changes in the medicine cabinet during the storage and access process of the clinical trial drugs, and reduce the number of problems such as quality damage or failure of clinical trial drugs during storage.
[0008] The first aspect of the present invention provides a clinical trial drug storage and access management method based on a smart medicine cabinet, comprising:
[0009] Collect historical access data of drugs in the smart medicine cabinet to establish an access drug database;
[0010] In the drug storage stage, historical drug access data in the drug access database is analyzed according to the first preset time interval to determine the predicted number of door openings in the first preset time interval;
[0011] Determining whether the predicted door opening number is less than a preset door opening number threshold;
[0012] If so, the interior of the smart medicine cabinet is thermostatically controlled based on the recommended temperature; the recommended temperature is the middle temperature of the recommended temperature range for storing medicines;
[0013] If not, then calculating the average door opening duration in the first preset time interval;
[0014] A first temperature change curve is drawn according to the predicted number of door openings, the average door opening duration and the average temperature of the external environment in the first preset time interval, and the first temperature and the second temperature are determined by the first temperature change curve; the average temperature of the external environment is the average temperature of the historical external environment temperatures in the first preset time interval;
[0015] Determine a first temperature range according to the first temperature and the second temperature, and control the temperature inside the smart medicine cabinet based on the first temperature range;
[0016] During the drug storage and access stage, the air outlet device is controlled to perform auxiliary temperature control according to the actual temperature inside the smart medicine cabinet and the average temperature of the external environment within the first preset time interval, and an early warning reminder is issued according to the storage and access duration;
[0017] When the access is completed, the first preset time interval is reset according to the access completion time.
[0018] In this solution, the historical drug access data in the drug access database is analyzed according to the first preset time interval to determine the predicted number of door openings in the first preset time interval, including:
[0019] The historical access drug data in the drug database is screened according to the second preset time interval, the average number of door openings per day in all time intervals within the second preset time interval and the same time period as the first preset time interval is calculated, and the predicted number of door openings in the first preset time interval is determined.
[0020] In this solution, the calculation of the average door opening duration in the first preset time interval includes:
[0021] The historical access drug data in the drug database is screened according to the second preset time interval, the average door opening duration of each historical access drug data in the same time period as the first preset time interval in the second preset time interval is calculated, and the average door opening duration of the first preset time interval is determined.
[0022] In this solution, the first temperature change curve is drawn according to the predicted number of door openings in the first preset time interval, the average door opening duration, and the average temperature of the external environment, and the first temperature and the second temperature are determined by the first temperature change curve, including:
[0023] Get the warning temperature of drug storage;
[0024] Determine the medicine storage warning temperature as the internal temperature of the medicine cabinet at the end of the first preset time interval;
[0025] Based on the internal temperature of the medicine cabinet at the end time of the first preset time interval, a first temperature change curve is reversely drawn according to the predicted number of door openings, the average door opening duration, and the average temperature of the external environment in the first preset time interval; the curvature of the first temperature change curve is adjusted based on the internal temperature of the medicine cabinet, the average temperature of the external environment, and the temperature difference between the internal temperature of the medicine cabinet and the average temperature of the external environment;
[0026] Determine the internal temperature of the medicine cabinet at the start time of the first preset time interval of the first temperature change curve as the first temperature;
[0027] Adjusting the curvature of the first temperature change curve based on the auxiliary temperature control efficiency of the air outlet device to draw a second temperature change curve;
[0028] The internal temperature of the medicine cabinet at the start time of the first preset time interval of the second temperature variation curve is determined as the second temperature.
[0029] In this solution, determining the first temperature interval according to the first temperature and the second temperature includes:
[0030] When the smart medicine cabinet refrigerates and preserves the medicine, the first temperature is compared with the lowest temperature in the recommended temperature range, and the maximum value is determined as the lowest temperature in the first temperature range; the second temperature is compared with the recommended temperature, and the minimum value is determined as the highest temperature in the first temperature range;
[0031] When the smart medicine cabinet heats and stores medicines, the first temperature is compared with the highest temperature in the recommended temperature range, and the minimum value is determined as the highest temperature in the first temperature range; the second temperature is compared with the recommended temperature, and the maximum value is determined as the lowest temperature in the first temperature range;
[0032] The first temperature interval is determined according to the lowest temperature and the highest temperature of the first temperature interval.
[0033] In this solution, during the drug storage and access stage, the air outlet device is controlled to perform auxiliary temperature control according to the actual temperature inside the smart medicine cabinet and the average temperature of the external environment within the first preset time interval, including:
[0034] Get the actual temperature inside the medicine cabinet when the door is open;
[0035] Bringing the actual temperature inside the medicine cabinet when the cabinet door is opened into the first temperature change curve, and determining the predicted temperature inside the medicine cabinet after the cabinet door is closed based on the average door opening duration;
[0036] Calculating a first temperature difference between the predicted temperature and the recommended temperature;
[0037] When the temperature inside the cabinet is lower than the average temperature of the external environment, if the first temperature difference is a negative number, there is no need to start the air outlet device for auxiliary temperature control;
[0038] Otherwise, the first temperature difference is compared with a first preset temperature difference threshold to determine whether the first temperature difference is less than the preset temperature difference threshold;
[0039] If so, there is no need to start the air outlet device for auxiliary temperature control;
[0040] If not, it is necessary to start the air outlet device for auxiliary temperature control;
[0041] When the temperature inside the cabinet is higher than the average temperature of the external environment, if the first temperature difference is a positive number, there is no need to start the air outlet device for auxiliary temperature control;
[0042] On the contrary, the first temperature difference is compared with a second preset temperature difference threshold to determine whether the absolute value of the first temperature difference is less than the preset temperature difference threshold;
[0043] If so, there is no need to start the air outlet device for auxiliary temperature control;
[0044] If not, it is necessary to start the air outlet device for auxiliary temperature control.
[0045] This plan also includes:
[0046] In the process of starting the air outlet device to perform auxiliary temperature control, the air outlet score is calculated according to the predicted temperature and the recommended temperature;
[0047] ;
[0048] Among them, Q is the wind score, P1 is the predicted temperature, P0 is the recommended temperature, k Q is the adjustment factor;
[0049] The air outlet speed of the air outlet device is adjusted based on the air outlet score.
[0050] In this solution, the warning reminder based on the access duration includes:
[0051] When the medicine cabinet door is opened, record the duration of access;
[0052] When the access duration is greater than the average door opening duration, a weighted calculation is performed based on the access duration and the actual temperature inside the medicine cabinet to determine the warning score;
[0053] The warning level is determined based on the warning score, and warning reminders are issued.
[0054] This plan also includes:
[0055] When the temperature in the smart medicine cabinet is not within the recommended storage temperature range, over-temperature data is recorded; the over-temperature data includes the over-temperature temperature and the accumulated over-temperature time;
[0056] When the temperature inside the medicine cabinet returns to the recommended storage temperature range, the recording is stopped, and the historical over-temperature data of the medicine is updated according to the obtained over-temperature data;
[0057] When taking medicines, analyze the historical over-temperature data of the medicines to determine the status of the medicines;
[0058] Effective drugs are taken based on the drug status.
[0059] The second aspect of the present invention provides a clinical trial drug storage and access management system based on an intelligent medicine cabinet, comprising:
[0060] A database establishment module is used to collect historical storage and access data of drugs in the smart medicine cabinet to establish a storage and access drug database;
[0061] A first analysis module is used to analyze the historical drug access data in the drug access database according to a first preset time interval during the drug storage stage to determine the predicted number of door openings in the first preset time interval;
[0062] A temperature control module is used to determine whether the predicted number of door openings is less than a preset door opening number threshold; if so, the interior of the smart medicine cabinet is thermostatically controlled based on the recommended temperature; the recommended temperature is the middle temperature of the recommended temperature range for drug storage; if not, the average door opening duration in the first preset time interval is calculated; a first temperature change curve is drawn based on the predicted number of door openings in the first preset time interval, the average door opening duration and the average temperature of the external environment, and the first temperature and the second temperature are determined through the first temperature change curve; the average temperature of the external environment is the average temperature of the historical external environment temperature within the first preset time interval; a first temperature range is determined based on the first temperature and the second temperature, and the temperature inside the smart medicine cabinet is controlled based on the first temperature range;
[0063] The second analysis module is used to control the air outlet device to perform auxiliary temperature control according to the actual temperature inside the smart medicine cabinet and the average temperature of the external environment within the first preset time interval during the drug storage and access stage, and to issue an early warning reminder according to the storage and access duration;
[0064] The third analysis module is used to reset the first preset time interval according to the access completion time after the access is completed.
[0065] The third aspect of the present invention provides a computer-readable storage medium, which includes a clinical trial drug access management method program based on a smart medicine cabinet. When the clinical trial drug access management method program based on a smart medicine cabinet is executed by a processor, the steps of the clinical trial drug access management method based on a smart medicine cabinet as described above are implemented.
[0066] The present invention discloses a clinical trial drug access management method and system based on a smart medicine cabinet, the method comprising: establishing a drug access database; in the drug storage stage, analyzing the historical drug access data to determine the predicted number of door openings in a first preset time interval; judging whether the predicted number of door openings is less than the preset door opening threshold; if so, performing constant temperature control on the inside of the smart medicine cabinet based on the recommended temperature; if not, determining the first temperature and the second temperature by drawing a first temperature change curve; determining the first temperature interval based on the first temperature and the second temperature, and performing temperature control on the inside of the smart medicine cabinet based on the first temperature interval; in the drug access stage, controlling the air outlet device to perform auxiliary temperature control, and giving an early warning reminder based on the access duration; when the access is completed, resetting the first preset time interval based on the access completion time. The present invention reduces the problems of over-temperature failure of clinical trial drugs by regulating the internal temperature of the medicine cabinet. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 A flow chart showing a clinical trial drug storage and access management method based on an intelligent medicine cabinet provided by the present invention is shown;
[0068] Figure 2 A flow chart showing a method for determining the first temperature and the second temperature provided by the present invention is shown;
[0069] Figure 3 A flow chart showing a method for determining a first temperature interval provided by the present invention is shown;
[0070] Figure 4 A block diagram of a clinical trial drug storage and access management system based on an intelligent medicine cabinet provided by the present invention is shown. DETAILED DESCRIPTION
[0071] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0072] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0073] Figure 1 A flow chart of a clinical trial drug storage and access management method based on an intelligent medicine cabinet provided by the present invention is shown.
[0074] like Figure 1 As shown, the present invention discloses a clinical trial drug storage and access management method based on a smart medicine cabinet, comprising:
[0075] S102, collecting historical storage and access data of drugs in the smart medicine cabinet to establish a storage and access drug database;
[0076] S104, in the drug storage stage, analyzing the historical drug access data in the drug access database according to the first preset time interval to determine the predicted number of door openings in the first preset time interval;
[0077] S106, determining whether the predicted door opening times are less than a preset door opening times threshold;
[0078] S108, if yes, then the interior of the smart medicine cabinet is thermostatically controlled based on the recommended temperature; the recommended temperature is the middle temperature of the recommended temperature range for drug storage;
[0079] S110, if not, calculating the average door opening duration in the first preset time interval;
[0080] S112, plotting a first temperature change curve according to the predicted number of door openings, the average door opening duration, and the average temperature of the external environment in the first preset time interval, and determining the first temperature and the second temperature through the first temperature change curve; the average temperature of the external environment is the average temperature of the historical external environment temperatures in the first preset time interval;
[0081] S114, determining a first temperature range according to the first temperature and the second temperature, and controlling the temperature inside the smart medicine cabinet based on the first temperature range;
[0082] S116, during the drug storage and access stage, the air outlet device is controlled to perform auxiliary temperature control according to the actual temperature inside the smart medicine cabinet and the average temperature of the external environment within the first preset time interval, and an early warning reminder is issued according to the storage and access duration;
[0083] S118, when the access is completed, resetting the first preset time interval according to the access completion time.
[0084] According to an embodiment of the present invention, the historical drug access data of drugs in the smart medicine cabinet includes the storage time and the access time of the drugs, and a drug database is established by collecting the historical drug access data generated during the drug access process.
[0085] During the drug storage stage, the first preset time interval (such as within one hour) is determined based on the current time and the length of the time interval preset by the system. Those skilled in the art can adjust the length of the first preset time interval according to actual needs. Screening is performed in the drug database based on the first preset time interval, and the average number of door openings per day in the same time interval as the first preset time interval in recent time is calculated, and it is determined as the predicted number of door openings in the first preset time interval. The predicted number of door openings in the first preset time interval is compared with the preset door opening threshold. When the predicted number of door openings is less than the preset door opening threshold, it means that the number of times the drug is accessed in the first preset time interval is small, and the internal temperature of the smart medicine cabinet is controlled based on the recommended temperature. Among them, the preset door opening threshold is set by those skilled in the art according to actual needs, the recommended temperature is the middle temperature of the recommended temperature interval, and the recommended temperature interval is the storage temperature interval of the drug. When the predicted number of door opening times is greater than or equal to the preset door opening times threshold, it means that the number of times the medicine is accessed within the first preset time interval is relatively large. Since frequent door opening may cause the temperature in the medicine cabinet to fluctuate and constant temperature control cannot be maintained, the medicine database is screened based on the first preset time interval, and the average door opening duration for each drug access in the same time interval as the first preset time interval in recent time is calculated.
[0086] According to the temperature control state (cooling or heating) of the smart medicine cabinet, the highest temperature or the lowest temperature in the recommended temperature range is determined as the medicine storage warning temperature, and the medicine storage warning temperature is determined as the internal temperature of the medicine cabinet at the end of the first preset time. The curvature of the first temperature change curve is calculated by the real-time temperature inside the smart medicine cabinet, the average temperature of the external environment, and the temperature difference between the two temperatures, and the first temperature change curve is reversely drawn. The curvature of the first temperature change curve is adjusted according to the real-time change of the internal temperature of the medicine cabinet. When the first temperature change curve is drawn, the curvature of the first temperature change curve is adjusted according to the auxiliary temperature control efficiency of the air outlet device, and the second temperature change curve is redrawn. The internal temperatures of the medicine cabinet at the start of the first preset time are determined as the first temperature and the second temperature of the first temperature change curve and the second temperature change curve, respectively.
[0087] According to the temperature control status, the first temperature is compared with the highest temperature or the lowest temperature in the recommended temperature range, and the second temperature is compared with the recommended temperature to determine the lowest temperature and the highest temperature in the first temperature range. The temperature control device is controlled to work or stop according to the lowest temperature and the highest temperature in the first temperature range, so as to realize temperature control inside the smart medicine cabinet.
[0088] At the same time, during the drug storage and access stage, the predicted temperature after the door is closed is calculated based on the actual temperature each time the door is opened and the average door opening duration. The predicted temperature is compared with the average temperature to determine whether it is necessary to start the temperature control device for auxiliary temperature control. When the storage and access duration after the medicine cabinet door is opened is greater than the average door opening duration, the warning score is calculated based on the storage and access duration and the actual temperature inside the medicine cabinet, the warning level is determined, and a warning reminder is issued.
[0089] The first preset time interval is reset according to the system preset reset time (such as 6 am every day).
[0090] When the access is completed, the first preset time interval is reset according to the access completion time, the access completion time is used as the start time of the first preset time interval, the first preset time interval is reset, and the above processing is performed to intelligently adjust the internal temperature of the smart medicine cabinet. In addition, when no medicine is accessed in the first preset time interval, the end time of the current first preset time interval is used as the start time of the next first preset time interval to reset the first preset time interval.
[0091] According to an embodiment of the present invention, historical drug access data in a drug access database is analyzed according to a first preset time interval to determine a predicted number of door openings in the first preset time interval, including:
[0092] The historical access drug data in the drug database is screened according to the second preset time interval, the average number of door openings per day in all time intervals within the second preset time interval and the same time period as the first preset time interval is calculated, and the predicted number of door openings in the first preset time interval is determined.
[0093] It should be noted that the second preset time interval is set by those skilled in the art according to actual needs, such as within the past 14 days, within the past 7 days, etc. Taking the past 14 days as an example, the historical access drug data within the first preset time interval (such as 8:00-9:00) within the past 14 days is screened from the drug database, and the historical door opening times within the first preset time interval of each day are counted according to the number of historical access drug data, and the average door opening times within the first preset time interval of each day within the past 14 days are calculated, and the average door opening times are determined as the predicted door opening times within the first preset time interval.
[0094] According to an embodiment of the present invention, calculating the average door opening duration in the first preset time interval includes:
[0095] The historical access drug data in the drug database is screened according to the second preset time interval, the average door opening duration of each historical access drug data in the second preset time interval that is the same as the first preset time interval is calculated, and the average door opening duration of the first preset time interval is determined.
[0096] It should be noted that, similarly, taking the past 14 days as an example, the historical access data of drugs in the first preset time interval (such as 8:00-9:00) within the past 14 days is screened from the drug database, and the door opening duration corresponding to each historical access data of drugs is extracted, and the average door opening duration is calculated to determine the average door opening duration of the first preset time interval.
[0097] Figure 2 A flow chart of a method for determining the first temperature and the second temperature provided by the present invention is shown.
[0098] like Figure 2 As shown, according to an embodiment of the present invention, a first temperature change curve is drawn according to the predicted number of door openings, the average door opening duration, and the average temperature of the external environment in a first preset time interval, and the first temperature and the second temperature are determined by the first temperature change curve, including:
[0099] S202, obtaining the medicine storage warning temperature;
[0100] S204, determining the medicine storage warning temperature as the internal temperature of the medicine cabinet at the end time of the first preset time interval;
[0101] S206, based on the internal temperature of the medicine cabinet at the end time of the first preset time interval, reversely draw a first temperature change curve according to the predicted number of door openings, the average door opening duration, and the average temperature of the external environment in the first preset time interval; the curvature of the first temperature change curve is adjusted based on the internal temperature of the medicine cabinet, the average temperature of the external environment, and the temperature difference between the internal temperature of the medicine cabinet and the average temperature of the external environment;
[0102] S208, determining the internal temperature of the medicine cabinet at the start time of the first preset time interval of the first temperature change curve as the first temperature;
[0103] S210, adjusting the curvature of the first temperature change curve based on the auxiliary temperature control efficiency of the air outlet device, and drawing a second temperature change curve;
[0104] S212: Determine the internal temperature of the medicine cabinet at the start time of the first preset time interval of the second temperature change curve as the second temperature.
[0105] It should be noted that the drug storage warning temperature is determined according to the recommended temperature range for drug storage. When the smart medicine cabinet stores drugs in a refrigerated manner, the drug storage warning temperature is the highest temperature within the recommended temperature range for drug storage; when the smart medicine cabinet stores drugs in a heated manner, the drug storage warning temperature is the lowest temperature within the recommended temperature range for drug storage.
[0106] During the storage of medicines, the temperature inside the smart medicine cabinet is controlled within the recommended temperature range for medicine storage. According to the temperature control state (cooling or heating) of the smart medicine cabinet, the highest or lowest temperature in the recommended temperature range is determined as the medicine storage warning temperature. Assuming that the temperature inside the medicine cabinet at the end of the first preset time interval is the medicine storage warning temperature, the temperature change rate inside the smart medicine cabinet when the door of the smart medicine cabinet is opened is calculated based on the real-time temperature inside the smart medicine cabinet, the average temperature of the external environment, and the temperature difference between the two temperatures, thereby determining the curvature of the first temperature change curve, and updating the curvature of the first temperature change curve at intervals of 0.1°C temperature change, and reversely drawing the first temperature change curve based on the temperature inside the medicine cabinet at the end of the first preset time interval. In addition, in the process of drawing the first temperature change curve, it is assumed that multiple drug accesses are performed continuously, and the temperature inside the medicine cabinet does not change after the medicine cabinet door is closed, that is, after the medicine cabinet door is closed, the first temperature change curve is a straight line parallel to the x-axis.
[0107] The auxiliary temperature control efficiency of the air outlet device is calculated based on the air outlet temperature, air outlet speed, actual temperature inside the medicine cabinet and average temperature of the external environment. The specific calculation formula is:
[0108] ;
[0109] Where m is the auxiliary temperature control efficiency of the air outlet device, P0 is the recommended temperature, v0 is the default air outlet speed of the air outlet device (usually the mid-range air outlet speed, i.e. 50% of the maximum air outlet speed), P a is the internal temperature of the smart medicine cabinet, P b is the average temperature of the external environment in the first preset time interval, and k1 and k2 are the influence coefficients set by the system.
[0110] The curvature of the first temperature change curve is adjusted by the auxiliary temperature control efficiency of the air outlet device corresponding to each temperature change stage, and the second temperature change curve is drawn according to the adjusted curve curvature.
[0111] Figure 3 A flow chart of the first temperature interval determination method provided by the present invention is shown.
[0112] like Figure 3 As shown, according to an embodiment of the present invention, determining a first temperature interval according to a first temperature and a second temperature includes:
[0113] S302, when the smart medicine cabinet refrigerates and preserves the medicine, the first temperature is compared with the lowest temperature in the recommended temperature range, and the maximum value is determined as the lowest temperature in the first temperature range; the second temperature is compared with the recommended temperature, and the minimum value is determined as the highest temperature in the first temperature range;
[0114] S304, when the smart medicine cabinet heats and stores the medicine, the first temperature is compared with the highest temperature in the recommended temperature range, and the minimum value is determined as the highest temperature in the first temperature range; the second temperature is compared with the recommended temperature, and the maximum value is determined as the lowest temperature in the first temperature range;
[0115] S306: Determine the first temperature interval according to the lowest temperature and the highest temperature of the first temperature interval.
[0116] It should be noted that the temperature inside the smart medicine cabinet is adjusted by controlling the temperature control device (including the refrigeration device, the heating device and the air outlet device) in the first temperature interval. When the smart medicine cabinet refrigerates and preserves the medicine, the highest temperature in the first temperature interval is the starting working temperature of the refrigeration device and the air outlet device, and the lowest temperature in the first temperature interval is the ending working temperature of the refrigeration device and the air outlet device. When the smart medicine cabinet heats and preserves the medicine, the lowest temperature in the first temperature interval is the starting working temperature of the heating device and the air outlet device, and the highest temperature in the first temperature interval is the ending working temperature of the heating device and the air outlet device.
[0117] According to an embodiment of the present invention, during the drug storage and access stage, the air outlet device is controlled to perform auxiliary temperature control according to the actual temperature inside the smart medicine cabinet and the average temperature of the external environment within the first preset time interval, including:
[0118] Get the actual temperature inside the medicine cabinet when the door is open;
[0119] The actual temperature inside the medicine cabinet when the cabinet door is open is brought into the first temperature variation curve, and the predicted temperature inside the medicine cabinet after the cabinet door is closed is determined based on the average door opening duration;
[0120] Calculate a first temperature difference between the predicted temperature and the recommended temperature;
[0121] When the temperature inside the cabinet is lower than the average temperature of the outside environment, if the first temperature difference is a negative number, there is no need to start the air outlet device for auxiliary temperature control;
[0122] Otherwise, the first temperature difference is compared with the first preset temperature difference threshold to determine whether the first temperature difference is less than the preset temperature difference threshold;
[0123] If so, there is no need to start the air outlet device for auxiliary temperature control;
[0124] If not, it is necessary to start the air outlet device for auxiliary temperature control;
[0125] When the temperature inside the cabinet is higher than the average temperature of the external environment, if the first temperature difference is a positive number, there is no need to start the air outlet device for auxiliary temperature control;
[0126] On the contrary, the first temperature difference is compared with the second preset temperature difference threshold to determine whether the absolute value of the first temperature difference is less than the preset temperature difference threshold;
[0127] If so, there is no need to start the air outlet device for auxiliary temperature control;
[0128] If not, it is necessary to start the air outlet device for auxiliary temperature control.
[0129] It should be noted that after the actual temperature inside the medicine cabinet when the door is open is brought into the first temperature change curve, the temperature corresponding to the first temperature change curve after the average door opening duration is determined as the predicted temperature inside the medicine cabinet after the door is closed. By calculating the first temperature difference between the predicted temperature and the recommended temperature, combined with the temperature control state (cooling or heating) inside the smart medicine cabinet for analysis, it is determined whether it is necessary to start the air outlet device and perform auxiliary temperature control when the door is open. When the air outlet device is started, the corresponding temperature control device is started according to the temperature control state. For example, when the smart medicine cabinet refrigerates and stores medicines, the refrigeration device is started in combination with the air outlet device for auxiliary temperature control. Among them, when the air outlet device is started, the corresponding refrigeration or heating equipment is started according to the storage conditions of the medicines for cooling or heating treatment.
[0130] Among them, the first preset temperature difference threshold, the second preset temperature difference threshold and the preset temperature difference threshold are all set by those skilled in the art according to actual needs.
[0131] According to an embodiment of the present invention, it also includes:
[0132] When the air outlet device is started for auxiliary temperature control, the air outlet score is calculated based on the predicted temperature and the recommended temperature;
[0133] ;
[0134] Among them, Q is the wind score, P1 is the predicted temperature, P0 is the recommended temperature, k Q is the adjustment factor;
[0135] The air outlet speed of the air outlet device is adjusted based on the air outlet score.
[0136] It should be noted that the adjustment coefficient k Q The air outlet score Q is set by the system and is a value between 0 and 1. When the air outlet score is 0, the air outlet speed of the air outlet device is 0, that is, the air outlet device is not working; when the air outlet score is 1, the air outlet speed of the air outlet device is the maximum air outlet speed. The air outlet score Q is multiplied by the maximum air outlet speed of the air outlet device, and the air outlet speed of the air outlet device is adjusted according to the calculation result.
[0137] According to an embodiment of the present invention, providing an early warning reminder based on the access duration includes:
[0138] When the medicine cabinet door is opened, record the duration of access;
[0139] When the access duration is greater than the average door opening duration, a weighted calculation is performed based on the access duration and the actual temperature inside the medicine cabinet to determine the warning score;
[0140] The warning level is determined based on the warning score, and warning reminders are issued.
[0141] It should be noted that when accessing medicines, there is a certain time deviation between the actual door opening duration and the average door opening duration. Therefore, the door opening time of the smart medicine cabinet is recorded to determine the access duration, and the access duration is compared with the average door opening duration. When the access duration is greater than the average door opening duration, the access duration and the actual temperature inside the medicine cabinet are multiplied by the corresponding influence weights, and the calculation results are accumulated to determine the early warning score. Among them, the access duration and the actual temperature inside the medicine cabinet are respectively set by technicians in this field according to actual needs. The value range of the early warning score is 0-1, and the early warning level defaults to low level, medium level and high level. Each early warning level corresponds to a different early warning score value range, for example, low level (0-0.3), medium level (0.3-0.6), high level (0.6-1). In addition, while the early warning reminder is being issued, the early warning score and the early warning level are updated according to the changes in the access duration and the actual temperature inside the medicine cabinet.
[0142] According to an embodiment of the present invention, it also includes:
[0143] When the temperature inside the smart medicine cabinet is not within the recommended storage temperature range, over-temperature data is recorded; over-temperature data includes over-temperature temperature and over-temperature cumulative time;
[0144] When the temperature inside the medicine cabinet returns to the recommended storage temperature range, the recording is stopped, and the historical over-temperature data of the medicine is updated according to the obtained over-temperature data;
[0145] When taking medicines, analyze the historical over-temperature data of the medicines to determine the status of the medicines;
[0146] Valid drugs are taken based on drug status.
[0147] It should be noted that the over-temperature data includes the accumulated over-temperature time at each over-temperature, such as the accumulated over-temperature time is 10 seconds when the over-temperature is 11°C, and the accumulated over-temperature time is 3 seconds when the over-temperature is 12°C.
[0148] After the over-temperature data is recorded, the historical over-temperature cumulative time at each over-temperature temperature is determined through the historical over-temperature data of the medicine. Based on each over-temperature, the over-temperature cumulative time of the current over-temperature data and the historical over-temperature cumulative time of the historical over-temperature data are accumulated to update the historical over-temperature data.
[0149] When taking medicines, read the historical over-temperature data of the medicines, multiply the historical over-temperature accumulated time at each over-temperature in the historical over-temperature data by the impact weight corresponding to the over-temperature, determine the weight score at each over-temperature, and add up the weight scores at all over-temperatures to determine the over-temperature score of the medicine. Compare the over-temperature score of the medicine with the preset over-temperature score threshold set by the system to determine the status of the medicine. Among them, the status of the medicine includes effective medicines and over-temperature medicines (the medicinal properties have changed). When taking medicines, take effective medicines and recycle over-temperature medicines regularly.
[0150] Figure 4 A block diagram of a clinical trial drug storage and access management system based on an intelligent medicine cabinet provided by the present invention is shown.
[0151] like Figure 4 As shown, the second aspect of the present invention provides a clinical trial drug storage and access management system based on a smart medicine cabinet, comprising:
[0152] A database establishment module is used to collect historical storage and access data of drugs in the smart medicine cabinet to establish a storage and access drug database;
[0153] A first analysis module is used to analyze historical drug access data in the drug access database according to a first preset time interval during the drug storage stage to determine a predicted number of door openings in the first preset time interval;
[0154] A temperature control module is used to determine whether the predicted number of door openings is less than a preset door opening threshold; if so, the interior of the smart medicine cabinet is thermostatically controlled based on the recommended temperature; the recommended temperature is the middle temperature of the recommended temperature range for drug storage; if not, the average door opening duration in the first preset time interval is calculated; a first temperature change curve is drawn based on the predicted number of door openings in the first preset time interval, the average door opening duration and the average temperature of the external environment, and the first temperature and the second temperature are determined through the first temperature change curve; the average temperature of the external environment is the average temperature of the historical external environment temperature in the first preset time interval; a first temperature range is determined based on the first temperature and the second temperature, and the temperature inside the smart medicine cabinet is controlled based on the first temperature range;
[0155] The second analysis module is used to control the air outlet device to perform auxiliary temperature control according to the actual temperature inside the smart medicine cabinet and the average temperature of the external environment within the first preset time interval during the drug storage and access stage, and to issue an early warning reminder according to the storage and access duration;
[0156] The third analysis module is used to reset the first preset time interval according to the access completion time after the access is completed.
[0157] The third aspect of the present invention provides a computer-readable storage medium, which includes a clinical trial drug access management method program based on a smart medicine cabinet. When the clinical trial drug access management method program based on a smart medicine cabinet is executed by a processor, the steps of the above clinical trial drug access management method based on a smart medicine cabinet are implemented.
[0158] The information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals (including but not limited to signals transmitted between user terminals and other devices, etc.) involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the "historical storage and access data of drugs in smart medicine cabinets" and "recommended temperature range for drug storage" involved in this disclosure are all obtained with full authorization.
[0159] The present invention discloses a clinical trial drug access management method and system based on a smart medicine cabinet, the method comprising: establishing a drug access database; in the drug storage stage, analyzing the historical drug access data to determine the predicted number of door openings in a first preset time interval; judging whether the predicted number of door openings is less than the preset door opening threshold; if so, performing constant temperature control on the inside of the smart medicine cabinet based on the recommended temperature; if not, determining the first temperature and the second temperature by drawing a first temperature change curve; determining the first temperature interval based on the first temperature and the second temperature, and performing temperature control on the inside of the smart medicine cabinet based on the first temperature interval; in the drug access stage, controlling the air outlet device to perform auxiliary temperature control, and giving an early warning reminder based on the access duration; when the access is completed, resetting the first preset time interval based on the access completion time. The present invention reduces the problems of over-temperature failure of clinical trial drugs by regulating the internal temperature of the medicine cabinet.
[0160] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0161] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0162] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0163] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0164] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A clinical trial drug storage and access management method based on an intelligent medicine cabinet, characterized in that: include: Collect historical access data of drugs in the smart medicine cabinet to establish an access drug database; In the drug storage stage, historical drug access data in the drug access database is analyzed according to the first preset time interval to determine the predicted number of door openings in the first preset time interval; Determining whether the predicted door opening number is less than a preset door opening number threshold; If so, the interior of the smart medicine cabinet is thermostatically controlled based on the recommended temperature; the recommended temperature is the middle temperature of the recommended temperature range for storing medicines; If not, then calculating the average door opening duration in the first preset time interval; A first temperature change curve is drawn according to the predicted number of door openings, the average door opening duration and the average temperature of the external environment in the first preset time interval, and the first temperature and the second temperature are determined by the first temperature change curve; the average temperature of the external environment is the average temperature of the historical external environment temperatures in the first preset time interval; Determine a first temperature range according to the first temperature and the second temperature, and control the temperature inside the smart medicine cabinet based on the first temperature range; During the drug storage and access stage, the air outlet device is controlled to perform auxiliary temperature control according to the actual temperature inside the smart medicine cabinet and the average temperature of the external environment within the first preset time interval, and an early warning reminder is issued according to the storage and access duration; When the access is completed, resetting the first preset time interval according to the access completion time; In the drug storage and access stage, the air outlet device is controlled to perform auxiliary temperature control according to the actual temperature inside the smart medicine cabinet and the average temperature of the external environment within the first preset time interval, including: Get the actual temperature inside the medicine cabinet when the door is open; Substituting the actual temperature inside the medicine cabinet when the cabinet door is opened into the first temperature change curve, and determining the predicted temperature inside the medicine cabinet after the cabinet door is closed based on the average door opening duration; Calculating a first temperature difference between the predicted temperature and the recommended temperature; When the temperature inside the cabinet is lower than the average temperature of the external environment, if the first temperature difference is a negative number, there is no need to start the air outlet device for auxiliary temperature control; If the first temperature difference is a positive number, comparing the first temperature difference with a first preset temperature difference threshold to determine whether the first temperature difference is less than the preset temperature difference threshold; If so, there is no need to start the air outlet device for auxiliary temperature control; If not, it is necessary to start the air outlet device for auxiliary temperature control; When the temperature inside the cabinet is higher than the average temperature of the external environment, if the first temperature difference is a positive number, there is no need to start the air outlet device for auxiliary temperature control; If the first temperature difference is a negative number, comparing the first temperature difference with a second preset temperature difference threshold to determine whether the absolute value of the first temperature difference is less than the preset temperature difference threshold; If so, there is no need to start the air outlet device for auxiliary temperature control; If not, it is necessary to start the air outlet device for auxiliary temperature control; Also includes: In the process of starting the air outlet device to perform auxiliary temperature control, the air outlet score is calculated according to the predicted temperature and the recommended temperature; ; Among them, Q is the wind score, P1 is the predicted temperature, P0 is the recommended temperature, k Q is the adjustment factor; The air outlet speed of the air outlet device is adjusted based on the air outlet score.
2. The clinical trial drug storage and access management method based on the intelligent medicine cabinet according to claim 1 is characterized in that: The step of analyzing the historical drug access data in the drug access database according to the first preset time interval to determine the predicted door opening times in the first preset time interval includes: The historical access drug data in the drug database is screened according to the second preset time interval, the average number of door openings per day in all time intervals within the second preset time interval and the same time period as the first preset time interval is calculated, and the predicted number of door openings in the first preset time interval is determined.
3. The clinical trial drug storage and access management method based on the intelligent medicine cabinet according to claim 2 is characterized in that: The calculating the average door opening duration in the first preset time interval includes: The historical access drug data in the drug database is screened according to the second preset time interval, the average door opening duration of each historical access drug data in the same time period as the first preset time interval in the second preset time interval is calculated, and the average door opening duration of the first preset time interval is determined.
4. The clinical trial drug storage and access management method based on the intelligent medicine cabinet according to claim 1 is characterized in that: The step of drawing a first temperature change curve according to the predicted number of door openings in the first preset time interval, the average door opening duration, and the average temperature of the external environment, and determining the first temperature and the second temperature through the first temperature change curve includes: Get the warning temperature of drug storage; Determine the medicine storage warning temperature as the internal temperature of the medicine cabinet at the end of the first preset time interval; Based on the internal temperature of the medicine cabinet at the end time of the first preset time interval, a first temperature change curve is reversely drawn according to the predicted number of door openings, the average door opening duration, and the average temperature of the external environment in the first preset time interval; the curvature of the first temperature change curve is adjusted based on the internal temperature of the medicine cabinet, the average temperature of the external environment, and the temperature difference between the internal temperature of the medicine cabinet and the average temperature of the external environment; Determine the internal temperature of the medicine cabinet at the start time of the first preset time interval of the first temperature change curve as the first temperature; Adjusting the curvature of the first temperature change curve based on the auxiliary temperature control efficiency of the air outlet device, and drawing a second temperature change curve; The internal temperature of the medicine cabinet at the start time of the first preset time interval of the second temperature variation curve is determined as the second temperature.
5. The clinical trial drug storage and access management method based on the intelligent medicine cabinet according to claim 1 is characterized in that: The determining a first temperature interval according to the first temperature and the second temperature includes: When the smart medicine cabinet refrigerates and preserves the medicine, the first temperature is compared with the lowest temperature in the recommended temperature range, and the maximum value is determined as the lowest temperature in the first temperature range; the second temperature is compared with the recommended temperature, and the minimum value is determined as the highest temperature in the first temperature range; When the smart medicine cabinet heats and stores medicines, the first temperature is compared with the highest temperature in the recommended temperature range, and the minimum value is determined as the highest temperature in the first temperature range; the second temperature is compared with the recommended temperature, and the maximum value is determined as the lowest temperature in the first temperature range; The first temperature interval is determined according to the lowest temperature and the highest temperature of the first temperature interval.
6. The clinical trial drug storage and access management method based on the intelligent medicine cabinet according to claim 1 is characterized in that: The warning reminder according to the access duration includes: When the medicine cabinet door is opened, record the duration of access; When the access duration is greater than the average door opening duration, a weighted calculation is performed based on the access duration and the actual temperature inside the medicine cabinet to determine the warning score; The warning level is determined based on the warning score, and warning reminders are issued.
7. The clinical trial drug storage and access management method based on the intelligent medicine cabinet according to claim 1 is characterized in that: Also includes: When the temperature in the smart medicine cabinet is not within the recommended storage temperature range, over-temperature data is recorded; the over-temperature data includes the over-temperature temperature and the accumulated over-temperature time; When the temperature inside the medicine cabinet returns to the recommended storage temperature range, the recording is stopped, and the historical over-temperature data of the medicine is updated according to the obtained over-temperature data; When taking medicines, analyze the historical over-temperature data of the medicines to determine the status of the medicines; Effective drugs are taken based on the drug status.
8. A clinical trial drug storage and access management system based on a smart medicine cabinet, used to implement the clinical trial drug storage and access management method based on a smart medicine cabinet as described in any one of claims 1 to 7, characterized in that: include: A database establishment module is used to collect historical storage and access data of drugs in the smart medicine cabinet to establish a storage and access drug database; A first analysis module is used to analyze the historical drug access data in the drug access database according to a first preset time interval during the drug storage stage to determine the predicted number of door openings in the first preset time interval; A temperature control module is used to determine whether the predicted number of door openings is less than a preset door opening number threshold; if so, the interior of the smart medicine cabinet is thermostatically controlled based on a recommended temperature; the recommended temperature is the middle temperature of a recommended temperature range for drug storage; if not, the average door opening duration in a first preset time range is calculated; a first temperature change curve is drawn based on the predicted number of door openings, the average door opening duration and the average temperature of the external environment in the first preset time range, and a first temperature and a second temperature are determined through the first temperature change curve; the average temperature of the external environment is the average temperature of the historical external environment temperature within the first preset time range; a first temperature range is determined based on the first temperature and the second temperature, and the temperature inside the smart medicine cabinet is controlled based on the first temperature range; The second analysis module is used to control the air outlet device to perform auxiliary temperature control according to the actual temperature inside the smart medicine cabinet and the average temperature of the external environment within the first preset time interval during the drug storage and access stage, and to issue an early warning reminder according to the storage and access duration; A third analysis module, configured to reset the first preset time interval according to the access completion time after the access is completed; In the drug storage and access stage, the air outlet device is controlled to perform auxiliary temperature control according to the actual temperature inside the smart medicine cabinet and the average temperature of the external environment within the first preset time interval, including: Get the actual temperature inside the medicine cabinet when the door is open; Substituting the actual temperature inside the medicine cabinet when the cabinet door is opened into the first temperature change curve, and determining the predicted temperature inside the medicine cabinet after the cabinet door is closed based on the average door opening duration; Calculating a first temperature difference between the predicted temperature and the recommended temperature; When the temperature inside the cabinet is lower than the average temperature of the external environment, if the first temperature difference is a negative number, there is no need to start the air outlet device for auxiliary temperature control; If the first temperature difference is a positive number, comparing the first temperature difference with a first preset temperature difference threshold to determine whether the first temperature difference is less than the preset temperature difference threshold; If so, there is no need to start the air outlet device for auxiliary temperature control; If not, it is necessary to start the air outlet device for auxiliary temperature control; When the temperature inside the cabinet is higher than the average temperature of the external environment, if the first temperature difference is a positive number, there is no need to start the air outlet device for auxiliary temperature control; If the first temperature difference is a negative number, comparing the first temperature difference with a second preset temperature difference threshold to determine whether the absolute value of the first temperature difference is less than the preset temperature difference threshold; If so, there is no need to start the air outlet device for auxiliary temperature control; If not, it is necessary to start the air outlet device for auxiliary temperature control; Also includes: In the process of starting the air outlet device to perform auxiliary temperature control, the air outlet score is calculated according to the predicted temperature and the recommended temperature; ; Among them, Q is the wind score, P1 is the predicted temperature, P0 is the recommended temperature, k Q is the adjustment factor; The air outlet speed of the air outlet device is adjusted based on the air outlet score.
Citation Information
Patent Citations
Temperature monitoring method and device, computer equipment and medium
CN111256430A
Control method for cascade refrigeration system of storage box
WO2024169264A1