A cold chain storage temperature monitoring method and system
By dividing the temperature data set and deleting similar data in cold chain warehousing, the efficiency of the k-medoids algorithm is improved, the problem of large calculations in the existing technology is solved, and more efficient temperature monitoring and prediction are achieved.
Patent Information
- Application Number
- CN202411044962.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-01
AI Technical Summary
In the existing technology, the k-medoids algorithm needs to traverse a large amount of similar data when merging cold chain storage temperature data, resulting in a large amount of calculation and low monitoring efficiency.
By dividing the temperature data into various data sets, obtaining similar data of each data set and deleting them, and using the center point of the updated data set for prediction, the efficiency of center point acquisition and system monitoring efficiency is improved.
It improves the accuracy of temperature data prediction and system monitoring efficiency, reduces the amount of calculation, and ensures real-time temperature monitoring of cold chain storage environments.
Smart Images

Figure CN118585012B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a cold chain storage temperature monitoring method and system. Background Art
[0002] Cold chain storage refers to storage for items that require temperature control, mostly for fresh food, medicines, etc. This means that cold chain storage has certain requirements for temperature control. With the rapid development of technologies such as the Internet of Things, big data, and cloud computing, cold chain storage temperature monitoring technology has also been significantly improved. For example, the cold chain storage monitoring platform system ensures the applicability of the temperature in the cold chain storage by real-time monitoring and regulating the temperature in the warehouse to ensure the quality and safety of the goods in the warehouse. Among them, data prediction is an important part of the new cold chain storage temperature monitoring method and system. It establishes a temperature prediction model by collecting, sorting and analyzing historical temperature data, and predicts future temperature change trends. When the difference between the predicted value and the actual value of the temperature is greater, the system can issue an early warning to remind managers to take measures to avoid losses.
[0003] Sun Guoqing, Research on Prediction Method and System of Temperature and Humidity in Cold Chain Transportation Environment, Master's thesis of Chinese Academy of Agricultural Mechanization Sciences, 2023. In this paper, a cold chain environment prediction method based on k-medoids and LSTM is proposed. The process mainly uses k-medoids to fuse the temperature data collected by multiple sensors, and then trains the long short-term memory (LSTM) neural network model on the fused data to obtain the prediction results.
[0004] When the k-medoids algorithm in the above article fuses data, it is necessary to traverse each data set, take the distance between each data and other data and the smallest data as the center point, and use the center point to represent the data set, so as to achieve data fusion in the data set. In addition, because multiple sensors in the cold chain warehouse are affected by similar external conditions, or are located close to the same cold air outlet, there are some similar data in all temperature data of multiple sensors in the cold chain warehouse at the same time, that is, there are similar temperature data in each data set. Therefore, these similar data need to participate in the traversal of the center point, which also requires a large amount of calculation and more time, affecting the system monitoring efficiency. Summary of the invention
[0005] In order to solve the technical problem that when the k-medoids algorithm is used for data fusion, similar data existing in all temperature data of multiple sensors in a cold chain warehouse at the same time need to participate in the traversal of the center point, which requires a large amount of calculation and affects the system monitoring efficiency, the present invention provides a cold chain warehouse temperature monitoring method and system.
[0006] In a first aspect, the present invention provides a cold chain storage temperature monitoring method, which adopts the following technical solution:
[0007] A cold chain storage temperature monitoring method comprises the following steps:
[0008] Collect the temperature data of each sensor at each sampling time; construct a vector with the change rate and deviation degree of the temperature data of each sensor at each sampling time as the distribution feature of the temperature data of each sensor at each sampling time; obtain the noise performance of the temperature data of each sensor at each sampling time, and the noise performance is used to judge the degree to which the temperature data deviates from the true value; take the temperature data of all temperature sensors at the same sampling time as a data set to obtain each data set; obtain the similarity between each temperature data of each data set and each temperature data other than each temperature data:
[0009] , where Represents the similarity between the nth temperature data of the jth data set and the tth temperature data except the nth temperature data; as well as Represents the distribution characteristics and noise performance of the nth temperature data of the jth data set; Represents the distribution characteristics of the t-th temperature data except the n-th temperature data in the j-th data set; Represents the noise performance of the t-th temperature data except the n-th temperature data in the j-th data set;
[0010] Based on the similarity, similar data of each temperature data of each data set is obtained, and similar data of each temperature data of each data set is deleted in sequence to obtain each updated data set; and temperature data of the next time period is predicted according to the center point of each updated data set.
[0011] The innovation of the present invention lies in dividing the collected temperature data into various data sets, obtaining similar data of each temperature data of each data set, deleting the similar data of each temperature data of each data set in turn, obtaining each updated data set, and finally predicting the temperature data of the next time period based on the center point of each updated data, so that there is no similar data in each updated data set, thereby improving the efficiency of obtaining the center point and the system monitoring efficiency; further, the similar data of each temperature data in the data set is based on the similarity in distribution characteristics between the temperature data, rather than the similarity in numerical values, so that it is more accurate to measure the similarity between the temperature data.
[0012] Preferably, the method for obtaining the change rate of the temperature data of each sensor at each sampling time is:
[0013] The absolute value of the difference between the temperature data at the j-1th sampling time of the ith sensor and the temperature data at the jth sampling time of the ith sensor is obtained, which is recorded as the first absolute value of the difference; the absolute value of the difference between the temperature data at the j+1th sampling time of the ith sensor and the temperature data at the jth sampling time of the ith sensor is obtained, which is recorded as the second absolute value of the difference; the ratio of the sum of the first absolute value of the difference and the second absolute value of the difference to the value of the temperature data at the jth sampling time of the ith sensor is taken as the rate of change of the temperature data at the jth sampling time of the ith sensor.
[0014] The rate of change of temperature data can intuitively reflect the trend and dynamic characteristics of temperature data, making it easier to obtain the distribution characteristics of temperature data based on the rate of change of temperature data.
[0015] Preferably, the method for obtaining the degree of deviation is:
[0016] The mean of the temperature data at all sampling moments of the i-th sensor is obtained, which is recorded as the first mean; the median of the temperature data at all sampling moments of the i-th sensor is obtained, which is recorded as the first median; the absolute value of the difference between the temperature data at the j-th sampling moment of the i-th sensor and the first mean is recorded as the mean difference; the absolute value of the difference between the temperature data at the j-th sampling moment of the i-th sensor and the first median is recorded as the median difference; the ratio of the mean difference to the median difference is recorded as the degree of deviation of the temperature data at the j-th sampling moment of the i-th sensor.
[0017] The degree of deviation of the temperature data can be used to evaluate the stability of the temperature data, so as to facilitate the subsequent acquisition of the distribution characteristics of the temperature data based on the degree of deviation of the temperature data.
[0018] Preferably, the step of obtaining the noise performance of the temperature data of each sensor at each sampling time includes:
[0019] Obtain the fitting curve at each sampling moment;
[0020] ;
[0021] In the formula, Represents the noise performance of the temperature data at the jth sampling time of the i-th sensor; Represents the shortest vertical distance from the temperature data of the i-th sensor at the j-th sampling moment to the fitting curve at the j-th sampling moment; Represents the value of the temperature data of the i-th sensor at the j-th sampling moment; represents the fitting value of the temperature data of the i-th sensor at the j-th sampling time on the fitting curve at the j-th sampling time; || represents the absolute value symbol.
[0022] The greater the noise performance of the temperature data of the i-th sensor at the j-th sampling moment, the more it indicates that the distribution characteristics of the temperature data of the i-th sensor at the j-th sampling moment are unreliable, and the distribution characteristics need to be corrected to make them more accurate.
[0023] Preferably, obtaining the fitting curve at each sampling moment includes:
[0024] The temperature data of all sensors at the j-th sampling moment are fitted using the least squares method to obtain the fitting curve at the j-th sampling moment.
[0025] Preferably, the obtaining of similar data of each temperature data of each data set includes:
[0026] A similarity threshold T1 is preset. If the similarity between the nth temperature data of the jth data set and the tth temperature data other than the nth temperature data is greater than the similarity threshold, the tth temperature data other than the nth temperature data in the jth data set is used as the similar data of the nth temperature data of the jth data set, and several similar data of the nth temperature data of the jth data set are obtained.
[0027] Preferably, the obtaining of each updated data set includes:
[0028] Each temperature data in the j-th data set is traversed in sequence. When traversing to any temperature data, similar data of the temperature data needs to be deleted, and the deleted data set is used as a new data set to continue traversing, and so on, to obtain the j-th updated data set; each data in the j-th updated data set has no similar data.
[0029] The similar data of each temperature data of each data set are deleted in turn to obtain each updated data set, and finally the temperature data of the next time period is predicted according to the center point of each updated data, so that there is no similar data in each updated data set, which improves the efficiency of obtaining the center point and the system monitoring efficiency.
[0030] Preferably, the predicting of the temperature data for the next time period according to the center point of each updated data set includes:
[0031] The k-medoids algorithm is used to obtain the center point of each updated data set, and the center point of each updated data set is input as the fused data into the long short-term memory (LSTM) neural network model for training. The trained LSTM model is used to predict the temperature data of the next hour in the cold chain warehouse.
[0032] In a second aspect, the present invention provides a cold chain storage temperature monitoring system, which adopts the following technical solution:
[0033] A cold chain warehouse temperature monitoring system comprises: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the above-mentioned cold chain warehouse temperature monitoring method is implemented.
[0034] By adopting the above technical solution, the above-mentioned cold chain warehouse temperature monitoring method is generated into a computer program and stored in the memory to be loaded and executed by the processor, so that a terminal device is made according to the memory and the processor for easy use.
[0035] The present invention has the following technical effects: the collected temperature data is divided into various data sets, similar data of each temperature data of each data set is obtained, the similar data of each temperature data of each data set is deleted in sequence, each updated data set is obtained, and finally the temperature data of the next time period is predicted according to the center point of each updated data, so that there is no similar data in each updated data set, and the efficiency of obtaining the center point and the efficiency of system monitoring are improved; and the acquisition of similar data of each temperature data in the data set is based on the similarity in distribution characteristics between the temperature data rather than the similarity in numerical values, so that the similarity between the temperature data is measured more accurately. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-restrictive manner, and the same or corresponding reference numerals represent the same or corresponding parts.
[0037] Figure 1 It is a method flow chart of a cold chain storage temperature monitoring method in an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0039] It should be understood that when the terms "first", "second", etc. are used in the claims, descriptions, and drawings of the present invention, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the description and claims of the present invention indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their collections.
[0040] The embodiment of the present invention discloses a cold chain storage temperature monitoring method, referring to Figure 1 , comprising steps S1 to S3:
[0041] S1: Collect temperature data.
[0042] In an embodiment of the present invention, temperature sensors are installed at different locations in the cold chain warehouse, and a sampling time is set at 1 minute. The temperature data of each temperature sensor is collected in turn each time, and the collection time is 1 hour in total.
[0043] S2: Obtain the distribution characteristics and noise performance of the temperature data of each sensor at each sampling time.
[0044] It should be noted that the purpose of the present invention is to analyze the collected temperature data to predict the future trend of temperature data changes. When it is predicted that the future temperature data value exceeds the preset range, the system can issue an early warning to remind the management personnel to take measures to avoid losses. It can also automatically adjust the storage temperature according to the prediction results, thereby realizing the monitoring of the cold chain storage temperature. It is known that Sun Guoqing, Research on Prediction Method and System of Temperature and Humidity in Cold Chain Transportation Environment, Master's Thesis of Chinese Academy of Agricultural Mechanization Sciences, 2023, proposed a cold chain environment prediction method based on k-medoids and LSTM in this paper. The process mainly involves first using k-medoids to fuse the temperature data collected by multiple sensors, and then training the fused data with a long short-term memory (LSTM) neural network model to obtain the prediction results. When using k-medoids to fuse the data, it is necessary to traverse each data in the data set, take the distance between each data and other data and the smallest data as the center point, and use the center point to represent the data set, thereby realizing data fusion in the data set.
[0045] It should be further explained that, when k-medoids is used to fuse data, it is necessary to traverse each data set, take the distance between each data set and other data and the smallest data as the center point, and use the center point to represent the data set, so as to realize data fusion in the data set. Therefore, in the present invention, all temperature data of all sensors at the same time need to be taken as a data set to obtain several data sets, and a center point is selected in any data set as the temperature data in the cold chain warehouse at the sampling time corresponding to any data set to participate in the prediction of subsequent temperature data. In addition, because multiple sensors in the cold chain warehouse are affected by similar external conditions, or are located close to the same cold air outlet, there are some similar data in all temperature data of multiple sensors in the cold chain warehouse at the same time, that is, there are similar temperature data in each data set. Therefore, these similar data need to participate in the traversal of the center point, which also requires a large amount of calculation and more time, affecting the system monitoring efficiency. It is necessary to obtain similar data of each temperature data in each data set, delete the similar data of each temperature data in each data set in turn, obtain each updated data set, and finally obtain the center point of each updated data set to represent each data set.
[0046] Step S2 includes steps S20-S21, which are specifically as follows:
[0047] S20: Obtain distribution characteristics of temperature data of each sensor at each sampling moment.
[0048] It should be noted that the traditional similarity between data depends on the numerical difference between the data. It is believed that the similarity between two data points with small numerical difference is high, but the numerical difference can only capture the linear relationship between the data. The temperature change in the cold chain warehouse is affected by factors such as the location of the refrigeration unit, resulting in the nonlinear characteristics of the temperature data collected by different sensors. Therefore, it is necessary to use the similarity of the distribution characteristics of the temperature data as the basis for judging the similarity of the temperature data.
[0049] It should be further explained that when obtaining the distribution characteristics of temperature data, it is necessary to analyze all temperature data of any sensor at different sampling times, that is, to analyze all temperature data of any sensor at different sampling times and obtain the distribution characteristics of the temperature data of the sensor at each sampling time; the change rate of known temperature data can intuitively reflect the trend and dynamic characteristics of temperature data, and the deviation degree of temperature data can evaluate the stability and consistency of temperature data, so the change rate and deviation degree of temperature data of each sensor at each sampling time are obtained to reflect the distribution characteristics of temperature data.
[0050] In an embodiment of the present invention, an absolute value of a difference between temperature data at the j-1th sampling moment of the ith sensor and temperature data at the jth sampling moment of the ith sensor is obtained, which is recorded as a first absolute value of a difference; an absolute value of a difference between temperature data at the j+1th sampling moment of the ith sensor and temperature data at the jth sampling moment of the ith sensor is obtained, which is recorded as a second absolute value of a difference; and a ratio of a sum of the first absolute value of a difference and the second absolute value of a difference to a value of the temperature data at the jth sampling moment of the ith sensor is taken as a rate of change of the temperature data at the jth sampling moment of the ith sensor.
[0051] The mean of the temperature data at all sampling moments of the i-th sensor is obtained, which is recorded as the first mean; the median of the temperature data at all sampling moments of the i-th sensor is obtained, which is recorded as the first median; the absolute value of the difference between the temperature data at the j-th sampling moment of the i-th sensor and the first mean is recorded as the mean difference; the absolute value of the difference between the temperature data at the j-th sampling moment of the i-th sensor and the first median is recorded as the median difference; the ratio of the mean difference to the median difference is recorded as the degree of deviation of the temperature data at the j-th sampling moment of the i-th sensor.
[0052] The change rate of the temperature data of the i-th sensor at the j-th sampling moment and the deviation degree of the temperature data of the i-th sensor at the j-th sampling moment form a vector as the distribution feature of the temperature data of the i-th sensor at the j-th sampling moment.
[0053] S21: Obtain the noise performance of the temperature data of each sensor at each sampling moment.
[0054] It should be noted that the temperature sensor may be affected by the environment and cause noise during the process of collecting temperature data. Therefore, it is necessary to analyze the temperature data of multiple sensors at any sampling time to identify which temperature data deviates from the true value, that is, to obtain the noise performance of the temperature data of each sensor at each sampling time, and correct the distribution characteristics of the temperature data of each sensor at each sampling time.
[0055] In the embodiment of the present invention, the temperature data of all sensors at the j-th sampling moment are fitted using the least square method to obtain a fitting curve at the j-th sampling moment.
[0056] Get the noise performance of the temperature data at the jth sampling time of the i-th sensor:
[0057] ;
[0058] In the formula, Represents the noise performance of the temperature data at the jth sampling time of the i-th sensor; Represents the shortest vertical distance from the temperature data of the i-th sensor at the j-th sampling moment to the fitting curve at the j-th sampling moment; Represents the value of the temperature data of the i-th sensor at the j-th sampling moment; represents the fitting value of the temperature data at the jth sampling time of the ith sensor on the fitting curve at the jth sampling time; || represents the absolute value symbol; if the shortest vertical distance from the temperature data to the fitting curve is large, but the fitting residual is relatively small, it means that the temperature data is interfered by a large random noise rather than a systematic deviation, that is, The larger the value of , the greater the noise performance of the temperature data of the i-th sensor at the j-th sampling time, which means that the distribution characteristics of the temperature data of the i-th sensor at the j-th sampling time are unreliable.
[0059] S3: According to the temperature data, obtain each data set, and according to the noise performance and distribution characteristics of the temperature data at each sampling moment of each sensor, obtain the similarity between each temperature data of each data set and each temperature data except each temperature data, and based on the similarity, obtain the similar data of each temperature data of each data set, delete the similar data of each temperature data of each data set in turn, obtain each updated data set, and obtain the center point of each updated data set to predict the temperature data of the next time period.
[0060] Step S3 includes steps S30 and S31, which are specifically as follows:
[0061] S30: Obtain each data set based on the temperature data, and obtain the similarity between each temperature data of each data set and each temperature data other than each temperature data based on the noise performance and distribution characteristics of the temperature data at each sampling moment of each sensor. Based on the similarity, obtain similar data of each temperature data of each data set, delete the similar data of each temperature data of each data set in turn, and obtain each updated data set.
[0062] It should be noted that when performing data fusion, it is first necessary to obtain each data set. Therefore, it is necessary to take all the temperature data of all sensors at the same time as a data set to obtain several data sets. According to the similarity between the temperature data in each data set, the similar data are deleted and finally a central point is selected as the temperature data in the cold chain warehouse at the sampling time corresponding to each data set to participate in the prediction of subsequent temperature data; and the more similar the distribution characteristics between the temperature data in each data set are, the more similar the temperature data are. Therefore, it is first necessary to correct the distribution characteristics of the temperature data according to the noise performance of the temperature data in each data set, and then use the cosine similarity of the corrected distribution characteristics between the temperature data as the similarity metric between the temperature data.
[0063] In the embodiment of the present invention, the temperature data of all temperature sensors at the jth sampling time is taken as the jth data set.
[0064] Get the similarity between the nth temperature data of the jth data set and the tth temperature data excluding the nth temperature data:
[0065] ;
[0066] In the formula, Represents the similarity between the nth temperature data of the jth data set and the tth temperature data except the nth temperature data; Represents the distribution characteristics of the nth temperature data of the jth data set; represents the noise performance of the nth temperature data of the jth data set; Represents the distribution characteristics of the t-th temperature data except the n-th temperature data in the j-th data set; Represents the noise performance of the t-th temperature data in the j-th data set except the n-th temperature data; the distribution characteristics of the n-th temperature data in the j-th data set are corrected according to the noise performance. The higher the noise performance, the less credible its distribution characteristics are, and the lower the noise performance, the more credible its distribution characteristics are; The larger the value of is, the more similar the two temperature data are.
[0067] A similarity threshold T1 is preset. If the similarity between the nth temperature data of the jth data set and the tth temperature data other than the nth temperature data is greater than the similarity threshold, the tth temperature data other than the nth temperature data in the jth data set is used as similar data to the nth temperature data of the jth data set, and several similar data to the nth temperature data of the jth data set are obtained. In the embodiment of the present invention, the similarity threshold T1 is preset to 0.5. In other embodiments, the implementer may preset the value of the similarity threshold according to the specific implementation situation.
[0068] Similarly, obtain similar data for each temperature data of each data set;
[0069] Each temperature data in the j-th data set is traversed in sequence. When traversing to any temperature data, similar data of the temperature data needs to be deleted, and the deleted data set is used as a new data set to continue traversing, and so on, to obtain the j-th updated data set; each data in the j-th updated data set has no similar data.
[0070] S31: Obtain the center point of each updated data set to predict the temperature data for the next time period.
[0071] In an embodiment of the present invention, a k-medoids algorithm is used to obtain the center point of each updated data set, and the center point of each updated data set is input as fused data into a long short-term memory (LSTM) neural network model for training, and the trained LSTM model is used to predict the temperature data of the cold chain warehouse in the next hour to obtain predicted values of several temperature data. If the absolute value of the difference between the predicted value of any temperature data and the true value of the temperature data is greater than a difference threshold, it indicates that an abnormal situation has occurred in the cold chain warehouse. At this time, the system triggers an alarm mechanism to notify relevant staff for further processing and investigation; the preset difference threshold a=5, in other embodiments, the implementer can preset the value of the difference threshold a according to the specific implementation situation.
[0072] The above system also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, and their configuration and functions are known in the art, so they will not be described in detail here.
[0073] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, a computer-readable storage medium may be any suitable magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory, a dynamic random access memory, a static random access memory, an enhanced dynamic random access memory, a high bandwidth memory, a hybrid storage cube, etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of the device or accessible or connectable to the device.
[0074] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.
[0075] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A cold chain storage temperature monitoring method, characterized in that: Includes steps: Collect temperature data of each sensor at each sampling time; construct a vector with the change rate and deviation degree of the temperature data of each sensor at each sampling time as the distribution feature of the temperature data of each sensor at each sampling time; Obtaining the noise performance of the temperature data of each sensor at each sampling moment, including: obtaining a fitting curve at each sampling moment; ; In the formula, Represents the noise performance of the temperature data at the jth sampling time of the i-th sensor; Represents the shortest vertical distance from the temperature data of the i-th sensor at the j-th sampling moment to the fitting curve at the j-th sampling moment; Represents the value of the temperature data of the i-th sensor at the j-th sampling moment; represents the fitting value of the temperature data of the i-th sensor at the j-th sampling time on the fitting curve at the j-th sampling time; || represents the absolute value symbol; the noise performance is used to determine the degree of deviation of the temperature data from the true value, and to correct the distribution characteristics of the temperature data at each sampling time of each sensor; the temperature data of all temperature sensors at the same sampling time are taken as a data set to obtain each data set; the similarity between each temperature data of each data set and each temperature data other than each temperature data is obtained: , where Represents the similarity between the nth temperature data of the jth data set and the tth temperature data except the nth temperature data; as well as Represents the distribution characteristics and noise performance of the nth temperature data of the jth data set; Represents the distribution characteristics of the t-th temperature data except the n-th temperature data in the j-th data set; Represents the noise performance of the t-th temperature data except the n-th temperature data in the j-th data set; Based on the similarity, similar data of each temperature data of each data set is obtained, and similar data of each temperature data of each data set is deleted in sequence to obtain each updated data set, including: traversing each temperature data in the j-th data set in sequence, when traversing to any temperature data, it is necessary to delete similar data of the temperature data, and continue to traverse the deleted data set as a new data set, and so on, to obtain the j-th updated data set; each data in the j-th updated data set has no similar data; and predicting the temperature data of the next time period according to the center point of each updated data set; The method for obtaining the degree of deviation is as follows: obtaining the mean of the temperature data at all sampling moments of the i-th sensor, recorded as the first mean; obtaining the median of the temperature data at all sampling moments of the i-th sensor, recorded as the first median; recording the absolute value of the difference between the temperature data at the j-th sampling moment of the i-th sensor and the first mean as the mean difference; recording the absolute value of the difference between the temperature data at the j-th sampling moment of the i-th sensor and the first median as the median difference, and recording the ratio of the mean difference to the median difference as the degree of deviation of the temperature data at the j-th sampling moment of the i-th sensor.
2. A cold chain storage temperature monitoring method according to claim 1, characterized in that: The method for obtaining the change rate of the temperature data of each sensor at each sampling time is: The absolute value of the difference between the temperature data at the j-1th sampling time of the ith sensor and the temperature data at the jth sampling time of the ith sensor is obtained, which is recorded as the first absolute value of the difference; the absolute value of the difference between the temperature data at the j+1th sampling time of the ith sensor and the temperature data at the jth sampling time of the ith sensor is obtained, which is recorded as the second absolute value of the difference; the ratio of the sum of the first absolute value of the difference and the second absolute value of the difference to the value of the temperature data at the jth sampling time of the ith sensor is taken as the rate of change of the temperature data at the jth sampling time of the ith sensor.
3. A cold chain storage temperature monitoring method according to claim 1, characterized in that: The step of obtaining the fitting curve at each sampling moment includes: The temperature data of all sensors at the j-th sampling moment are fitted using the least squares method to obtain the fitting curve at the j-th sampling moment.
4. A cold chain storage temperature monitoring method according to claim 1, characterized in that: The obtaining of similar data of each temperature data of each data set includes: A similarity threshold T1 is preset. If the similarity between the nth temperature data of the jth data set and the tth temperature data other than the nth temperature data is greater than the similarity threshold, the tth temperature data other than the nth temperature data in the jth data set is used as the similar data of the nth temperature data of the jth data set, and several similar data of the nth temperature data of the jth data set are obtained.
5. A cold chain storage temperature monitoring method according to claim 1, characterized in that: The predicting of the temperature data for the next time period according to the center point of each updated data set includes: The k-medoids algorithm is used to obtain the center point of each updated data set, and the center point of each updated data set is input as the fused data into the long short-term memory (LSTM) neural network model for training. The trained LSTM model is used to predict the temperature data of the next hour in the cold chain warehouse.
6. A cold chain storage temperature monitoring system, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, a cold chain warehouse temperature monitoring method according to any one of claims 1 to 5 is implemented.
