A method, device and system for monitoring the storage temperature of anesthetic drugs
By adjusting the temperature data collection frequency and analyzing the temperature change curve, the problem of false reminders and low accuracy of temperature monitoring during the storage of narcotic drugs is solved, and accurate monitoring and safe storage of the temperature of narcotic drugs are achieved.
Patent Information
- Application Number
- CN202410865685.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-01
AI Technical Summary
Existing temperature monitoring methods are prone to false alarms during the storage process of narcotic drugs, resulting in a reduction in the doctor's sensitivity to abnormal temperature, and the inability to accurately analyze and adjust the sampling frequency of temperature data, affecting the safe storage of drugs.
By obtaining the temperature data and switch status of narcotic drugs in the storage cabinet, adjust the initial collection frequency, analyze the temperature fluctuation information and switch status, determine the degree of temperature abnormality, and integrate the temperature change curve to reduce false reminders and improve monitoring accuracy. .
It realizes timely abnormal monitoring of the temperature of narcotic drugs, reduces false reminders, improves the accuracy of temperature monitoring, and ensures the safety of drugs during storage.
Smart Images

Figure CN118392352B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of temperature measurement, and in particular to a method, device and system for monitoring the storage temperature of anesthetic drugs in the technical field of temperature measurement. Background Art
[0002] As an important support for surgical operations, a certain amount of anesthetic drugs need to be stored in the hospital to support the overall operation of the hospital. The storage conditions of anesthetic drugs are more stringent than those of commonly used drugs, so the temperature of anesthetic drugs during storage needs to be strictly monitored to avoid improper storage of drugs that may reduce their efficacy or produce toxicity that affects doctors' use.
[0003] When storing anesthetic drugs, different anesthetic drugs may have different storage requirements. When storing anesthetic drugs, different drugs can be set with a suitable temperature fluctuation range. When the temperature of the stored drugs exceeds the temperature fluctuation range, the user can be warned to avoid drug loss caused by abnormal temperature. However, the false detection rate of temperature by directly setting the threshold is relatively high. When the doctor opens the storage cabinet to match the drugs, the temperature fluctuation will be abnormal because the cabinet is opened; since this operation is a normal operation, the temperature abnormality caused by this operation should not be reminded, and frequent false reminders will reduce the doctor's sensitivity to real abnormalities. Summary of the invention
[0004] In order to solve the technical problem that the existing temperature monitoring method often gives false warnings, the purpose of the present invention is to provide a method, device and system for monitoring the storage temperature of anesthetic drugs. The technical solutions adopted are as follows:
[0005] In a first aspect, an embodiment of the present invention provides a method for monitoring the storage temperature of anesthetic drugs, the method comprising:
[0006] Acquiring temperature data of anesthetic drugs in a storage cabinet and a switch status of the storage cabinet;
[0007] Based on the fluctuation change information of the temperature data and the switch state, an initial acquisition frequency of the temperature data is adjusted to obtain an adjusted frequency;
[0008] determining a degree of temperature abnormality of the anesthetic drug based on the adjusted frequency;
[0009] Based on the degree of temperature abnormality, the anesthetic drug is monitored for temperature abnormality.
[0010] In combination with the first aspect above, in some possible implementations, obtaining temperature data of anesthetic drugs in a storage cabinet includes:
[0011] Using the temperature sensor in the storage cabinet, the temperature of the anesthetic drugs in the storage cabinet is collected according to the initial collection frequency to obtain initial temperature data;
[0012] The initial temperature data is processed to obtain the temperature data.
[0013] In the above scheme, by preprocessing the initial temperature data collected at the initial frequency, the obtained temperature data can be made more accurate, which facilitates subsequent abnormal monitoring of the temperature data.
[0014] In combination with the first aspect, in some possible implementations, adjusting the initial acquisition frequency of the temperature data based on the fluctuation change information of the temperature data and the switch state to obtain the adjusted frequency includes:
[0015] When the switch state remains unchanged, determining a distribution relationship between the temperature data and a preset temperature range based on the fluctuation change information of the temperature data;
[0016] Based on the distribution relationship, determining a sampling frequency adjustment condition of the temperature data;
[0017] Based on the sampling frequency adjustment condition, the initial acquisition frequency is adjusted to obtain the adjusted frequency.
[0018] In the above scheme, by analyzing whether the temperature data exceeds the preset temperature range, the change trend of the temperature data can be obtained, and then the sampling frequency adjustment of the temperature data can be accurately analyzed, so as to timely and accurately adjust the initial acquisition frequency.
[0019] In combination with the first aspect above, in some possible implementations, when the switch state remains unchanged, determining the distribution relationship between the temperature data and a preset temperature range based on the fluctuation change information of the temperature data includes:
[0020] When the switch state remains unchanged, determining the temperature change trend and temperature dispersion of the temperature data based on the fluctuation change information of the temperature data;
[0021] Based on the temperature variation trend and the temperature dispersion, a distribution relationship between the temperature data and a preset temperature range is determined.
[0022] In the above scheme, by analyzing the temperature change trend and temperature dispersion, it is possible to accurately analyze whether the temperature data exceeds the preset temperature range, thereby facilitating timely adjustment of the initial collection frequency of the temperature data.
[0023] In combination with the first aspect above, in some possible implementations, the method further includes:
[0024] When the switch state changes, resetting the initial acquisition frequency;
[0025] Based on the reset initial collection frequency, the temperature data of the anesthetic drugs in the storage cabinet is recollected.
[0026] In the above scheme, when the switch state of the cabinet door of the storage cabinet changes, the initial collection frequency of the sensor is reset in time, so as to avoid the temperature data obtained being unable to obtain the corresponding temperature change state during temperature collection due to the switch time of the cabinet door being too short and less than the original collection frequency, affecting subsequent operations.
[0027] In combination with the first aspect above, in some possible implementations, determining the degree of abnormal temperature of the anesthetic drug based on the adjusted frequency includes:
[0028] Based on the adjusted frequency, updating the temperature data to obtain updated temperature data;
[0029] Constructing a temperature change curve based on the fluctuation change information of the updated temperature data;
[0030] Based on the temperature change curve, the temperature abnormality degree is determined.
[0031] In the above solution, a temperature change curve is constructed by re-collecting updated temperature data, so that the degree of temperature anomaly can be determined through the temperature change curve, thereby improving the accuracy of determining the degree of temperature anomaly.
[0032] In combination with the first aspect above, in some possible implementations, determining the degree of temperature abnormality based on the temperature change curve includes:
[0033] Obtaining a storage temperature range matching the anesthetic drug;
[0034] Based on the stored temperature interval, integrating the temperature values corresponding to the temperature change curve to obtain a temperature integral curve;
[0035] Based on the temperature integral curve, the temperature anomaly degree representing the change between the temperature data at the current moment and the temperature data at the historical moment is determined.
[0036] In the above scheme, by setting the storage temperature interval and integrating the temperature change curve, the situation where the accumulated temperature data exceeds the normal fluctuation range is obtained, and the temperature abnormality of the temperature data can be quickly and accurately analyzed.
[0037] In combination with the first aspect above, in some possible implementations, the monitoring the temperature abnormality of the anesthetic drug based on the degree of temperature abnormality includes:
[0038] When the temperature abnormality degree indicates that the temperature data is greater than a preset abnormality threshold, determining the sampling times of the anesthetic drugs and the opening and closing times of the cabinet door in the opening and closing state of the storage cabinet;
[0039] When the sampling times of the narcotic drugs and / or the opening and closing times of the cabinet door in the opening and closing state of the storage cabinet meet preset conditions, it is determined that the temperature data of the narcotic drugs is abnormal, and an alarm message is generated and output.
[0040] In the above scheme, when the temperature data is greater than the preset abnormal threshold, the number of sampling times and / or the number of cabinet door openings and closings within a period of time is further analyzed to determine whether the temperature data is abnormal, thereby improving the accuracy of abnormal monitoring and reducing false alarms.
[0041] In a second aspect, a system for monitoring the storage temperature of anesthetic drugs is provided, the system comprising:
[0042] An acquisition module, used to acquire temperature data of anesthetic drugs in a storage cabinet and a switch status of the storage cabinet;
[0043] An adjustment module, configured to adjust the initial acquisition frequency of the temperature data based on the fluctuation change information of the temperature data and the switch state to obtain an adjusted frequency;
[0044] a determination module, configured to determine a degree of abnormal temperature of the anesthetic drug based on the adjusted frequency;
[0045] A monitoring module is used to monitor the temperature abnormality of the anesthetic drug based on the degree of temperature abnormality.
[0046] In a third aspect, a device for monitoring the storage temperature of anesthetic drugs is provided, the device comprising: a memory for storing executable program code; a processor for calling and running the executable program code from the memory, so that the device-oriented network security protection device executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0047] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0048] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
[0049] The present invention has the following beneficial effects: by acquiring the temperature data of anesthetic drugs in a storage cabinet, analyzing the fluctuation change information of the temperature data; combining the fluctuation change information of the temperature data with the switch state of the storage cabinet, jointly adjusting the initial acquisition frequency of the temperature data to obtain the adjusted frequency; thus, it is possible to avoid missing important temperature transitions due to data acquisition. At the same time, the temperature abnormality of the anesthetic drugs is analyzed through the adjusted frequency, and the temperature abnormality monitoring of the anesthetic drugs is realized through the temperature abnormality; thus, the temperature abnormality can be detected in time, and false reminders can be reduced, thereby improving the accuracy of temperature monitoring of anesthetic drugs. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0051] Figure 1 1 is a schematic diagram of the system structure of the anesthetic storage stability monitoring system provided by an embodiment of the present invention;
[0052] Figure 2 It is a schematic diagram of the implementation flow of a method for monitoring the storage temperature of anesthetic drugs provided by an embodiment of the present invention;
[0053] Figure 3 It is another implementation flow diagram of a method for monitoring the storage temperature of anesthetic drugs provided by an embodiment of the present invention;
[0054] Figure 4 This is another implementation flow diagram of a method for monitoring the storage temperature of anesthetic drugs provided by an embodiment of the present invention;
[0055] Figure 5 It is another implementation flow diagram of a method for monitoring the storage temperature of anesthetic drugs provided by an embodiment of the present invention;
[0056] Figure 6 is a simulation schematic diagram of a temperature change curve provided by an embodiment of the present invention;
[0057] Figure 7It is a schematic diagram of the composition structure of a narcotic drug storage temperature monitoring system provided by an embodiment of the present invention;
[0058] Figure 8 It is a structural schematic diagram of an anesthetic drug storage temperature monitoring device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0059] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a method for monitoring the storage temperature of anesthetic drugs proposed by the present invention, its specific implementation, structure, features and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0060] Among them, in the description of the embodiments of the present invention, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present invention, "multiple" refers to two or more than two.
[0061] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0062] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0063] The following specifically describes the application environment of the anesthetic storage temperature monitoring method provided by the present invention in conjunction with the accompanying drawings. Figure 1 , which shows a schematic diagram of the system structure of a narcotic drug storage stability monitoring system provided by an embodiment of the present invention. The narcotic drug storage stability monitoring system can be implemented by the following steps:
[0064] Step 101: Use a temperature sensor to obtain temperature data, obtain the temperature range of the corresponding medicine during storage, perform data preprocessing on the temperature data, and convert the format of the obtained data.
[0065] Step 102: construct a temperature change curve through the format-converted data; adjust the sampling frequency; and determine the temperature change trend and the discreteness of the temperature for the target interval to obtain the adjusted sampling; obtain temperature data, and obtain the cumulative deviation area of the data through integration, wherein the cumulative deviation area is the cumulative deviation.
[0066] Step 103: Analyze the temperature abnormality, and quantify the reminder situation based on the temperature abnormality and the corresponding cabinet status.
[0067] The specific scheme of the anesthetic storage temperature monitoring method provided by the present invention is described in detail below with reference to the accompanying drawings.
[0068] See also Figure 2 , which shows a flow chart of a method for monitoring the storage temperature of anesthetic drugs provided by an embodiment of the present invention, the method comprising:
[0069] 201, obtaining temperature data of anesthetic drugs in a storage cabinet and a switch status of the storage cabinet.
[0070] Here, the temperature data in the anesthetic storage cabinet is obtained through the temperature sensor, and the collected temperature data is transmitted to the data processing terminal through the wireless device. For example, the temperature in the anesthetic storage cabinet is collected by the temperature sensor according to the preset initial collection frequency, thereby obtaining multiple dimensional values, namely temperature data.
[0071] In some possible implementations, the temperature of the anesthetic drugs in the storage cabinet is collected according to the initial collection frequency by using the temperature sensor in the storage cabinet to obtain the initial temperature data; and the initial temperature data is processed to obtain the temperature data. Here, a temperature sensor is set in the storage cabinet for storing anesthetic drugs, and the temperature data in the cabinet can be freely adjusted in the storage cabinet. The medical storage drug freezer itself has a good temperature maintenance effect, and the temperature distribution in the cabinet is relatively uniform, so only one temperature sensor is required. The temperature data in the cabinet is obtained by the temperature sensor according to the initial collection frequency, wherein the initial collection frequency of the temperature collection is once every minute. After the initial temperature data is collected, the obtained initial temperature data is preprocessed to obtain the temperature data. For example, the initial temperature data is smoothed to obtain the temperature data. In this way, by preprocessing the initial temperature data collected at the initial frequency, the obtained temperature data can be made more accurate, which is convenient for subsequent abnormal monitoring of the temperature data.
[0072] The switch state of the storage cabinet includes: whether the door of the storage cabinet is open or closed. The switch state of the corresponding freezer door can be determined by the device on the freezer; for example, the freezer has a device on it, and when the freezer door is closed, the sensor is in a connected state, and when the freezer door is opened, the sensor pops up and the connected state is disconnected. In this way, the opening state of the freezer door can be obtained through the state of the sensor, and the door is set to 0 when it is open and 1 when it is closed.
[0073] 202 : Based on the fluctuation information of the temperature data and the switch state, adjust the initial acquisition frequency of the temperature data to obtain an adjusted frequency.
[0074] Here, the fluctuation change information of the temperature data is used to indicate the change of the temperature data over time. By combining the fluctuation change information with the switch state of the cabinet door, the initial acquisition frequency is adjusted in time to obtain the adjusted frequency. When storing narcotic drugs, it is necessary to monitor the storage environment temperature. The temperature change range in the storage cabinet can be set according to the storage temperature of the stored narcotic drugs themselves to achieve the purpose of storing narcotic drugs. Simply setting the temperature setting in the storage cabinet cannot avoid the safety hazards of drug storage. When storing, it is necessary to monitor the temperature in the cabinet and analyze the collected temperature to avoid the impact of abnormal temperature.
[0075] When performing temperature monitoring, if the sensor obtains data that exceeds the set temperature threshold range, an immediate warning will result in frequent warnings, and the corresponding temperature fluctuations may be due to temperature changes caused by human factors. For example, when a drug is used, a doctor needs to dispense it. If the dispensing time is too long, the temperature change may exceed the temperature threshold, but the corresponding human-induced anomalies are inevitable, so they should not be set as abnormalities during monitoring. Therefore, when performing temperature monitoring, the accumulated temperature changes over a period of time and the storage cabinet switch status can be analyzed together to adjust the temperature abnormality tolerance.
[0076] By analyzing the temperature data obtained by the temperature sensor, the subsequent storage temperature monitoring can be performed. When performing temperature monitoring, since the temperature frequency obtained by the sensor is fixed, fixed frequency monitoring will result in the sensor failing to collect the corresponding switch conditions when the cabinet is switched on and off; therefore, when collecting data, it is necessary to adjust the temperature data collection frequency according to the cabinet's switch conditions and temperature change trends to avoid missing important temperature transitions due to data collection.
[0077] In some possible implementations, when the switch state changes, the initial acquisition frequency is reset; and based on the reset initial acquisition frequency, the temperature data of the narcotic drugs in the storage cabinet is re-collected. Here, if the switch state of the cabinet door changes, for example, the switch state of the cabinet door changes from 1 to 0, or from 0 to 1, then the initial acquisition frequency of the sensor is reset, and the temperature data of the narcotic drugs in the storage cabinet is collected again through the sensor according to the reset initial acquisition frequency. In this way, when the switch state of the cabinet door of the storage cabinet changes, the initial acquisition frequency of the sensor is reset in time, so as to avoid the temperature data obtained being too short to be less than the original acquisition frequency due to the cabinet door opening and closing time being too short, so that the corresponding temperature change state cannot be obtained during temperature acquisition, affecting subsequent operations.
[0078] In some possible implementations, if the switch state of the cabinet door of the storage cabinet does not change, the above step 202 can be performed by Figure 3 The steps shown achieve:
[0079] 301 : When the switch state remains unchanged, determine a distribution relationship between the temperature data and a preset temperature range based on fluctuation information of the temperature data.
[0080] Here, when there is no change in the state of the cabinet door, the adjustment of the initial sampling frequency needs to consider the change trend of the collected temperature data and the temperature dispersion, so as to analyze the distribution relationship between the temperature data and the preset temperature range through the change trend and the temperature dispersion. The distribution relationship indicates whether the temperature data is within the preset temperature range, wherein the preset temperature range can be a custom range.
[0081] In some possible implementations, the above step 301 can be performed by Figure 4 The steps shown achieve:
[0082] 401 : When the switch state remains unchanged, determine the temperature change trend and temperature dispersion of the temperature data based on the fluctuation change information of the temperature data.
[0083] Here, the temperature change trend can be determined by the change time corresponding to the change of the acquired temperature data, as shown in formula (1):
[0084] (1);
[0085] in, Indicates the first The changing trend of temperature data (negative values are allowed), Indicates the first The sampling time of the temperature data is The length of the interval between the temperature data sampling times, Indicates the first The temperature of the temperature data, Indicates the first The temperature of the temperature data.
[0086] Calculate the obtained Temperature discreteness corresponding to temperature data , as shown in formula (2):
[0087] (2);
[0088] in, and Indicates the custom set temperature threshold (i.e., the storage temperature range of the anesthetic drug ).
[0089] 402 : Determine a distribution relationship between the temperature data and a preset temperature range based on the temperature variation trend and the temperature dispersion.
[0090] Here, the corresponding temperature sampling frequency adjustment is obtained according to the obtained temperature discreteness and the change trend of the corresponding temperature data. The temperature frequency adjustment for the unchanged state of the cabinet door is to prevent the staff from opening the cabinet door for a long time to dispense medicine. Although the cabinet door state remains unchanged, the corresponding temperature change may fluctuate greatly, and the corresponding temperature monitoring frequency needs to be increased; at the same time, due to the doctor's operation, the cabinet door's sealing magnetic strip may not be tightly closed when the cabinet door is closed, which will cause abnormal temperature changes when the door is closed (for example, temperature leakage), so the frequency of data collection needs to be increased to facilitate subsequent adjustments. In this way, by analyzing the temperature change trend and temperature discreteness, it is possible to accurately analyze whether the temperature data exceeds the preset temperature range, thereby facilitating timely adjustment of the initial acquisition frequency of the temperature data.
[0091] Calculate the The distribution relationship between the temperature values of the temperature data obtained after the temperature data and the preset temperature range obtained is shown in formula (3):
[0092] (3);
[0093] in, Indicates The distribution relationship between the temperature value of each temperature data and the preset temperature range; Indicates The discrete case corresponding to the temperature data is: Indicates the first Temperature change trend of each temperature data (negative value is allowed), and Indicates the custom set temperature threshold (the storage temperature interval (i.e. the preset temperature range) of the anesthetic drug ). Indicates that the acquired temperature data has exceeded the preset temperature range. Indicates that the acquired temperature data exceeds the preset temperature range.
[0094] In formula (3), if This indicates that the ith temperature data does not exceed the preset temperature range, so the ith The discrete case corresponding to the temperature data With Temperature change trend of temperature data Multiply, the result of multiplication can be expressed as The distribution of the temperature values of the temperature data in the preset temperature range is calculated by The normalized result of Here, if the first The greater the temperature change trend of the first temperature data (for example, the larger the temperature change amplitude), or The more discrete the discrete situation corresponding to each temperature data is, the The larger the value corresponding to the distribution relationship between the temperature value of the temperature data and the preset temperature range, the The more complex the temperature value of each temperature data is and the distribution in the preset temperature range, the more abnormal the temperature data is. In this way, when adjusting the sampling frequency, we can analyze whether the change of temperature data exceeds the preset temperature range. When the temperature data is more discrete, the corresponding temperature data is more abnormal, and the temperature data should be closely monitored. At the same time, when adjusting the sampling frequency, we should consider the change of the temperature data. The more the change of the temperature data is far away from the interval range, the sampling frequency needs to be increased, so that the collected temperature data is more accurate.
[0095] 302. Determine, based on the distribution relationship, a sampling frequency adjustment condition of the temperature data.
[0096] Here, the sampling situation of the temperature data is calculated through the collected temperature data, temperature discreteness and corresponding temperature change trend, and the discreteness of the temperature data and the corresponding trend size are directly analyzed to make subsequent sampling adjustments; in this way, since the corresponding temperature change situation in the historical temperature change is relatively normal, there is no need to increase the corresponding number of samples too much.
[0097] Calculate the distribution similarity between the acquired temperature data and historical data. The storage cabinet for anesthetic drugs is relatively small. When the cabinet door is opened, the exchange of the temperature in the cabinet and the gas outside is relatively rapid, so the corresponding temperature changes relatively rapidly, so the change trend of the above acquired temperature data is also relatively rapid. The rapid temperature change caused by the cabinet door opening is relatively common for historical data. When adjusting the sampling frequency, the distribution of the temperature values obtained above cannot reflect the particularity.
[0098] When the door is open for a long time, the temperature difference between the cabinet and the outside temperature is relatively small, and the corresponding temperature change trend is small. At the same time, the corresponding temperature is relatively discrete relative to the temperature within the normal range. At the same time, when the cabinet door is closed, the temperature in the cabinet drops relatively quickly. Therefore, the corresponding temperature change needs to be considered when adjusting the calculation sampling frequency.
[0099] According to the distribution relationship between the temperature data obtained above and the preset temperature range, the sampling frequency adjustment of the collected temperature data is quantified, as shown in formula (4):
[0100] (4);
[0101] in, Indicates The distribution relationship between the temperature value of each temperature data and the preset temperature range; Indicates that the Adjustment of sampling time after each temperature data, The reciprocal of is the sampling frequency adjustment. Indicates that the location distribution of temperature data is similar to that of historical temperature data, and the corresponding N value is 5, where the collection time of historical temperature data is before the collection time of the i-th temperature data, that is, the historical temperature data is the most recent temperature data collected before the i-th temperature data; Indicates The distribution relationship between the temperature values of the historical data and the preset temperature range, and The distribution relationship between the temperature value of each temperature data and the preset temperature range, and the difference value between them. The minimum value of the difference value can be expressed as a special case of temperature change of the acquired temperature data; Indicates the cumulative time of the door being opened for collecting temperature data. The larger the value is, the more it reflects that the temperature data is farther away from the original temperature fluctuation range.
[0102] In formula (4), due to The location distribution of the temperature data is similar to that of the historical temperature data, so by , No. The distribution relationship between the temperature value of each temperature data and the preset temperature range , and the cumulative door opening time for collecting temperature data Multiply and normalize the multiplication result to quantify the frequency adjustment to obtain the adjustment of the sampling time of the data after the i-th temperature data. ; thus through The reciprocal of is used to represent the quantitative result of the sampling frequency adjustment. If the adjustment of the sampling time of the data after the i-th temperature data is The larger the value is, the longer the sampling interval is, and the smaller the sampling frequency adjustment is, that is, the lower the sampling frequency is. In this way, the adjustment of the sampling time of the data after the i-th temperature data is calculated. , the sampling frequency of the data after the i-th temperature data can be accurately obtained, so as to facilitate timely adjustment of the sampling frequency of the temperature data.
[0103] 303. Adjust the initial acquisition frequency based on the sampling frequency adjustment to obtain the adjusted frequency.
[0104] Here, the sampling situation is adjusted according to the obtained sampling frequency adjustment situation, and the adjusted sampling time interval is shown in formula (5):
[0105] (5);
[0106] in, Indicates the adjusted sampling time interval, Indicates the originally preset sampling frequency time interval, Indicates the sampling frequency adjustment status. represents the adjusted sampling time interval, so The reciprocal of is the adjusted frequency. In this way, by analyzing whether the temperature data exceeds the preset temperature range, the change trend of the temperature data can be obtained, and then the adjustment of the sampling frequency of the temperature data can be accurately analyzed, so as to adjust the initial acquisition frequency in a timely and accurate manner.
[0107] 203 : Determine the degree of temperature abnormality of the anesthetic drug based on the adjusted frequency.
[0108] Here, the temperature is obtained through the analysis of the acquired temperature data to find out the abnormal situation. Since the normal opening and closing of the storage cabinet by the doctor will cause temperature leakage in the storage cabinet, the temperature change may exceed the acquired storage range, but the doctor's operation is inevitable, so the corresponding temperature change can be set to the normal range. However, the doctor should be reminded when he opens the cabinet for a long time to work, so as to avoid the doctor being considered to be working for a long time when the cabinet door is not closed due to carelessness. At the same time, the corresponding phenomenon of frequent opening and closing of the door can be analyzed by the accumulation of data obtained within a certain period of time, reminding the doctor to reduce the frequency of opening and closing the cabinet door.
[0109] In some possible implementations, the above step 203 can be performed by Figure 5 The steps shown achieve:
[0110] 501. Update the temperature data based on the adjusted frequency to obtain updated temperature data.
[0111] Here, the temperature data of the anesthetic drugs in the storage cabinet is collected again according to the adjusted frequency to obtain the updated temperature data; the temperature data collected at the initial collection frequency is updated to the updated temperature data. For example, the adjusted sampling time interval can be obtained by the inverse of the adjusted frequency. , thereby collecting temperature data according to the adjusted sampling time to obtain updated temperature data, which is convenient for subsequent abnormal analysis through the updated temperature data.
[0112] 502. Construct a temperature change curve based on the fluctuation change information of the updated temperature data.
[0113] Here, the temperature change curve is obtained by constructing the curve through the collected updated temperature data. The curve is constructed using the spline interpolation method. The horizontal axis of the curve is the sampling time, and the vertical axis is the obtained temperature value. The temperature change curve is as follows Figure 6 As shown in the curve in , the horizontal axis of the curve represents time and the vertical axis represents temperature value.
[0114] 503. Determine the temperature abnormality degree based on the temperature change curve.
[0115] Here, the temperature anomaly degree is used to indicate that the accumulated temperature data within a period of time exceeds the normal fluctuation range.
[0116] By analyzing the temperature change curve, it is determined that the temperature data exceeds the normal fluctuation range, thereby obtaining the degree of temperature anomaly. In this way, the temperature change curve is constructed by re-collecting the updated temperature data, so that the degree of temperature anomaly can be determined through the temperature change curve, thereby improving the accuracy of determining the degree of temperature anomaly.
[0117] In some possible implementations, by setting a storage temperature interval and integrating the temperature change curve, the accumulated temperature data is obtained to exceed the normal fluctuation range, and the temperature abnormality of the temperature data can be quickly and accurately analyzed. That is, the above step 503 can be implemented by the following process:
[0118] First, a storage temperature range matching the anesthetic drug is obtained.
[0119] Secondly, based on the stored temperature interval, the temperature values corresponding to the temperature change curve are integrated to obtain a temperature integral curve.
[0120] Finally, based on the temperature integral curve, the temperature anomaly degree characterizing the change between the temperature data at the current moment and the temperature data at the historical moment is determined.
[0121] Here, the temperature change curve and the integral curve of the corresponding temperature range are calculated according to the change of the temperature data point (i.e., the temperature value corresponding to the temperature change curve) as shown in formula (6):
[0122] (6);
[0123] in, Represents the temperature change curve and the temperature integral curve of the corresponding temperature range, A function that represents the change of temperature data over time. You can set a time interval of ten minutes (default value). Analyze the changes in the temperature data at the current moment and the accumulated temperature data before the current moment, and calculate the temperature anomaly at the current moment z , as shown in formula (7):
[0124] (7);
[0125] Among them, [z-10, z] represents a time interval of 10 minutes. The integral area is calculated for the function expression of the temperature integral curve and the corresponding storage temperature interval through the 10-minute time interval. The integral area can be used to determine whether the accumulated temperature data in the corresponding period of time (i.e., 10 minutes) exceeds the normal fluctuation range. Represents the normalization function.
[0126] 204 , based on the degree of temperature abnormality, monitor the temperature abnormality of the anesthetic drug.
[0127] In some possible implementations, first, when the temperature abnormality degree indicates that the temperature data is greater than a preset abnormal threshold, the sampling times of the narcotic drugs and the opening and closing times of the cabinet door in the switch state of the storage cabinet are determined; wherein the preset abnormal threshold may be the set maximum storage temperature threshold and minimum storage temperature threshold of the narcotic drugs. Secondly, when the sampling times of the narcotic drugs and / or the opening and closing times of the cabinet door in the switch state of the storage cabinet meet preset conditions, it is determined that the temperature data of the narcotic drugs is abnormal, and an alarm message is generated and output. wherein the preset conditions may include: the sampling times of the narcotic drugs is greater than the preset times, and / or the opening and closing times of the cabinet door is greater than the preset times, etc.
[0128] Determine the temperature anomaly degree of the temperature data obtained at the current moment according to the above operation , the preset abnormal threshold can be set to 0.7. The temperature data represented by the temperature abnormality degree is greater than the data point that exceeds the threshold, which is set as a data point that may have an abnormality. By analyzing whether the value of the temperature data itself obtained at the current moment is within the normal range, it is determined whether the data point is an abnormal point. When the acquired temperature data may be abnormal and the corresponding temperature data is not within the corresponding preset temperature range, the temperature data is set as abnormal data. (For temperature data within the normal range, the abnormality may be caused by previous operations, so strict requirements can be imposed for a period of time after the data becomes abnormal).
[0129] Analyze the abnormal data and the door's open and closed status. When the temperature is abnormal and the freezer door is closed, set the corresponding abnormal reminder to "The refrigerator door is not closed properly, please handle it in time."
[0130] When the acquired temperature is abnormal and the corresponding freezer door is open, if the number of times the door is opened and closed exceeds 10 times or the number of samplings exceeds 20 times within a period of time, then a reminder will be given that the temperature inside the cabinet is abnormal due to frequent operation. When it does not exceed the corresponding number of times, it can be set as the abnormal data being caused by opening the door for a long time, and a prompt message "Please close the door in time to avoid potential safety hazards" will be output. In this way, when the temperature data is greater than the preset abnormal threshold, the number of samplings and / or the number of times the door is opened and closed within a period of time can be further analyzed to determine whether the temperature data is abnormal, thereby improving the accuracy of abnormal monitoring and reducing false reminders.
[0131] In the embodiment of the present invention, the temperature data of the narcotic drugs in the storage cabinet is obtained, and the fluctuation change information of the temperature data is analyzed; the fluctuation change information of the temperature data is combined with the switch state of the storage cabinet, and the initial acquisition frequency of the temperature data is adjusted to obtain the adjusted frequency; in this way, it is possible to avoid missing important temperature transitions due to data acquisition. At the same time, the temperature abnormality of the narcotic drugs is analyzed through the adjusted frequency, and the temperature abnormality monitoring of the narcotic drugs is realized through the temperature abnormality; thus, the temperature abnormality can be detected in time, and false alarms can be reduced, thereby improving the accuracy of temperature monitoring of narcotic drugs.
[0132] The embodiment of the present invention provides a narcotic drug storage temperature monitoring system, such as Figure 7 As shown, the system 700 includes:
[0133] An acquisition module 701 is used to acquire temperature data of anesthetic drugs in a storage cabinet and a switch status of the storage cabinet;
[0134] An adjustment module 702, configured to adjust the initial acquisition frequency of the temperature data based on the fluctuation change information of the temperature data and the switch state to obtain an adjusted frequency;
[0135] A determination module 703, for determining a degree of abnormal temperature of the anesthetic drug based on the adjusted frequency;
[0136] The monitoring module 704 is used to monitor the temperature abnormality of the anesthetic drug based on the degree of temperature abnormality.
[0137] In some possible implementations, the acquisition module 701 is also used to use the temperature sensor in the storage cabinet to collect the temperature of the anesthetic drugs in the storage cabinet according to the initial collection frequency to obtain initial temperature data; and perform data processing on the initial temperature data to obtain the temperature data.
[0138] In some possible implementations, the adjustment module 702 is also used to determine, when the switch state remains unchanged, the distribution relationship between the temperature data and a preset temperature range based on the fluctuation change information of the temperature data; based on the distribution relationship, determine the adjustment of the sampling frequency of the temperature data; based on the sampling frequency adjustment, adjust the initial acquisition frequency to obtain the adjusted frequency.
[0139] In some possible implementations, the adjustment module 702 is also used to determine the temperature change trend and temperature dispersion of the temperature data based on the fluctuation change information of the temperature data when the switch state remains unchanged; and determine the distribution relationship between the temperature data and a preset temperature range based on the temperature change trend and the temperature dispersion.
[0140] In some possible implementations, the adjustment module 702 is further used to reset the initial acquisition frequency when the switch state changes; and re-acquire the temperature data of the anesthetic drugs in the storage cabinet based on the reset initial acquisition frequency.
[0141] In some possible implementations, the determination module 703 is further used to update the temperature data based on the adjusted frequency to obtain updated temperature data; construct a temperature change curve based on the fluctuation change information of the updated temperature data; and determine the degree of temperature abnormality based on the temperature change curve.
[0142] In some possible implementations, the determination module 703 is further used to obtain a storage temperature interval matching the anesthetic drug; based on the storage temperature interval, integrate the temperature value corresponding to the temperature change curve to obtain a temperature integral curve; based on the temperature integral curve, determine the degree of temperature abnormality that represents the change between the temperature data at the current moment and the temperature data at the historical moment.
[0143] In some possible implementations, the monitoring module 704 is also used to determine the sampling times of the narcotic drugs and the opening and closing times of the cabinet door in the switch state of the storage cabinet when the degree of temperature abnormality indicates that the temperature data is greater than a preset abnormal threshold; when the sampling times of the narcotic drugs and / or the opening and closing times of the cabinet door in the switch state of the storage cabinet meet preset conditions, it is determined that the temperature data of the narcotic drugs is abnormal, and an alarm message is generated and output.
[0144] Optionally, the transmission medium can be a wired link (such as but not limited to coaxial cable, optical fiber and digital subscriber line (DSL)) or a wireless link (such as but not limited to wireless Fidelity (WIFI), Bluetooth and mobile device network).
[0145] It should be noted that: the device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the shopping guide device provided in the above embodiment and the image extension method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0146] Figure 8 Schematic diagram of a device for monitoring the storage temperature of anesthetic drugs provided by an embodiment of the present invention. Figure 8 As shown, the device 800 includes: a memory 801, a processor 802, and a computer program 803 stored in the memory 801 and running on the processor 802, wherein when the processor 802 executes the computer program 803, the device can execute any one of the anesthetic storage temperature monitoring methods described above. In addition, the embodiment of the present invention also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a anesthetic storage temperature monitoring method provided by an embodiment of the present invention.
[0147] This embodiment can divide the functional modules of the device according to the above method example. For example, it can correspond to each functional module, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation. In the case of dividing each module corresponding to each function, the device may also include a signal uploading module, a determination module, an adjustment module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0148] It should be understood that the device provided in this embodiment is used to perform the above-mentioned method for monitoring the storage temperature of anesthetic drugs, so the same effect as the above-mentioned implementation method can be achieved. In the case of an integrated unit, the device may include a processing module and a storage module. Among them, when the device is applied to the device, the processing module can be used to control and manage the actions of the device. The storage module can be used to support the device to execute mutual program codes, etc. Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logical boxes, modules and circuits described in conjunction with the disclosure of the present invention. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module can be a memory.
[0149] In addition, the device provided in the embodiment of the present invention may be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip may execute a method for monitoring the storage temperature of anesthetic drugs provided in the above embodiment. This embodiment also provides a computer-readable storage medium, in which a computer program code is stored, and when the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a method for monitoring the storage temperature of anesthetic drugs provided in the above embodiment.
[0150] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer executes the above-mentioned related steps to implement a method for monitoring the storage temperature of anesthetic drugs provided in the above embodiment. Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here. Through the description of the above implementation, the technicians in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In the embodiments provided by the present invention, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiment described above is only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0151] It should be noted that the sequence of the above-mentioned embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-tasking and parallel processing are also possible or may be advantageous. The various embodiments in this specification are described in a progressive manner, and the same and similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments. The above content is only a specific implementation method of the present invention, but the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered within the protection scope of the present invention.
Claims
1. A method for monitoring the storage temperature of anesthetic drugs, characterized in that: The method comprises: Acquiring temperature data of anesthetic drugs in a storage cabinet and a switch status of the storage cabinet; Based on the fluctuation change information of the temperature data and the switch state, an initial acquisition frequency of the temperature data is adjusted to obtain an adjusted frequency; determining a degree of temperature abnormality of the anesthetic drug based on the modulated frequency; Based on the degree of temperature abnormality, monitoring the anesthetic drug for temperature abnormality; The adjusting the initial acquisition frequency of the temperature data based on the fluctuation change information of the temperature data and the switch state to obtain the adjusted frequency includes: When the switch state remains unchanged, determining a distribution relationship between the temperature data and a preset temperature range based on the fluctuation change information of the temperature data; Based on the distribution relationship, determining a sampling frequency adjustment condition of the temperature data; Based on the sampling frequency adjustment, the initial acquisition frequency is adjusted to obtain the adjusted frequency; The method further comprises: When the switch state changes, resetting the initial acquisition frequency; re-collecting the temperature data of the anesthetic drugs in the storage cabinet based on the reset initial collection frequency; When the switch state remains unchanged, determining the distribution relationship between the temperature data and a preset temperature range based on the fluctuation change information of the temperature data includes: When the switch state remains unchanged, determining the temperature change trend and temperature dispersion of the temperature data based on the fluctuation change information of the temperature data; The formula for temperature change trend is as follows: in, Indicates the first The temperature change trend of the temperature data, Indicates the first The sampling time of the temperature data is The length of the interval between the temperature data sampling times, Indicates the first The temperature of the temperature data, Indicates the first The temperature of the temperature data; The formula for temperature dispersion is as follows: in, Indicates The temperature discreteness corresponding to the temperature data is: and Indicates the temperature threshold set by the user; Based on the temperature variation trend and the temperature dispersion, determining a distribution relationship between the temperature data and a preset temperature range; The distribution relationship formula is as follows: in, Indicates The distribution relationship between the temperature value of each temperature data and the preset temperature range; Based on the distribution relationship, determining the adjustment of the sampling frequency of the temperature data includes: The formula for sampling frequency adjustment is as follows: in, Indicates that the Adjustment of sampling time after each temperature data; Indicates The distribution relationship between the temperature values of the historical data and the preset temperature range, and The difference between the temperature value of each temperature data and the distribution relationship between the preset temperature range; Indicates that the location distribution of temperature data is similar to that of historical temperature data, and N represents the number of historical data; This indicates that the collection The cumulative door opening time of each temperature data; Based on the sampling frequency adjustment, the initial acquisition frequency is adjusted to obtain the adjusted frequency, including: The formula for the modulated frequency is as follows: in, Indicates the adjusted sampling time interval, Indicates the originally preset sampling frequency time interval, Indicates the adjustment status of acquisition; The step of determining the abnormal temperature degree of the anesthetic drug based on the adjusted frequency includes: Based on the adjusted frequency, updating the temperature data to obtain updated temperature data; Constructing a temperature change curve based on the fluctuation change information of the updated temperature data; Based on the temperature change curve, determining the temperature abnormality degree; The determining the degree of temperature abnormality based on the temperature change curve includes: Obtaining a storage temperature range matching the anesthetic drug; Based on the stored temperature interval, integrating the temperature values corresponding to the temperature change curve to obtain a temperature integral curve; Based on the temperature integral curve, the temperature anomaly degree representing the change between the temperature data at the current moment and the temperature data at the historical moment is determined.
2. A method for monitoring the storage temperature of anesthetic drugs according to claim 1, characterized in that: The step of obtaining the temperature data of the anesthetic drugs in the storage cabinet includes: Using the temperature sensor in the storage cabinet, the temperature of the anesthetic drugs in the storage cabinet is collected according to the initial collection frequency to obtain initial temperature data; The initial temperature data is processed to obtain the temperature data.
3. A method for monitoring the storage temperature of anesthetic drugs according to claim 1, characterized in that: The monitoring of the temperature abnormality of the anesthetic drug based on the degree of temperature abnormality includes: When the temperature abnormality degree indicates that the temperature data is greater than a preset abnormality threshold, determining the sampling times of the anesthetic drugs and the opening and closing times of the cabinet door in the opening and closing state of the storage cabinet; When the sampling times of the narcotic drugs and / or the opening and closing times of the cabinet door in the opening and closing state of the storage cabinet meet preset conditions, it is determined that the temperature data of the narcotic drugs is abnormal, and an alarm message is generated and output.
4. A narcotic drug storage temperature monitoring system for executing a narcotic drug storage temperature monitoring method as claimed in claim 1, characterized in that: The system comprises: An acquisition module, used to acquire temperature data of anesthetic drugs in a storage cabinet and a switch status of the storage cabinet; An adjustment module, configured to adjust the initial acquisition frequency of the temperature data based on the fluctuation change information of the temperature data and the switch state to obtain an adjusted frequency; A determination module, configured to update the temperature data based on the adjusted frequency to obtain updated temperature data; construct a temperature change curve based on fluctuation change information of the updated temperature data; and determine the degree of temperature anomaly based on the temperature change curve; A monitoring module, used for monitoring the temperature abnormality of the anesthetic drug based on the degree of temperature abnormality; The adjusting the initial acquisition frequency of the temperature data based on the fluctuation change information of the temperature data and the switch state to obtain the adjusted frequency includes: When the switch state remains unchanged, determining a distribution relationship between the temperature data and a preset temperature range based on the fluctuation change information of the temperature data; Based on the distribution relationship, determining a sampling frequency adjustment condition of the temperature data; Based on the sampling frequency adjustment, the initial acquisition frequency is adjusted to obtain the adjusted frequency; The adjustment module is also used to: reset the initial acquisition frequency when the switch state changes; Based on the reset initial collection frequency, the temperature data of the anesthetic drugs in the storage cabinet is recollected.
5. A narcotic drug storage temperature monitoring device, characterized in that: The device comprises: A memory for storing executable program codes; A processor is used to call and run the executable program code from the memory, so that the anesthetic storage temperature monitoring device executes a anesthetic storage temperature monitoring method as described in any one of claims 1 to 3.
