Financial warehouse supervision method based on Internet of Things technology
By calculating and correcting the noise scale of temperature data, combined with adaptive segmentation and filter window adjustment, the problem of noise interference in the existing technology is solved, and efficient denoising and accurate monitoring of financial warehouse temperature data are achieved.
Patent Information
- Application Number
- CN202410968947.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-19
AI Technical Summary
The existing technology is difficult to adapt to noise changes in different time periods due to noise interference in financial warehouse temperature monitoring, resulting in poor denoising effect and affecting supervision efficiency and accuracy.
By obtaining temperature sensor data at various locations in the financial warehouse, the noise scale is calculated, the first-order difference sequence within the preset local range is corrected, and the adaptive segmentation technology and filter window adjustment are used to achieve accurate denoising of the temperature data.
It improves the denoising quality and monitoring accuracy of temperature data, enhances the adaptability to different local characteristics, and ensures accurate monitoring of the environmental temperature of financial warehouses.
Smart Images

Figure CN118500577B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image data processing. More specifically, the present invention relates to a financial warehouse supervision method based on Internet of Things technology. Background Art
[0002] Financial warehousing refers to the activity of financing enterprises obtaining financing from financial institutions by pledging inventory or warehouse receipts issued by warehousing companies. The warehousing companies supervise the pledged items during the pledge period. During the supervision process, the pledged items are usually more valuable goods. Therefore, real-time monitoring of warehouse temperature is particularly important to prevent accidents that may cause property losses during the storage of goods.
[0003] The existing Chinese patent application document with publication number CN117760593A discloses a method for monitoring temperature anomalies in grain crop storage, including: fitting and traversing different temperature time series data, combining the number of extreme points in the temperature time series data, the area between the temperature curves, the difference between the temperature time series data, and the difference within the sliding window, respectively obtaining two correction matrices, adjusting the temperature time series data to obtain new temperature time series data, and monitoring temperature anomalies on the new temperature time series data.
[0004] In the above scheme, when the conventional Fisher optimal segmentation method is used to segment the time series data,
[0005] The temperature data is easily affected by the noise in the temperature data sequence. In order to improve the accuracy of warehouse temperature monitoring, it is necessary to denoise the collected temperature data to ensure that the monitoring of the temperature data will not be disturbed by noise. However, since the temperature data in different time periods in the time series data are disturbed by noise differently, the existing denoising methods are often difficult to adapt to such noise changes. Therefore, it is necessary to segment the temperature data so that the noise level in each segment is consistent, so as to better denoise. The Fisher optimal solution is an effective time series data segmentation method. The algorithm minimizes the loss function by continuously iterating the data segmentation method, so that the data value of each segment is stabilized at a level.
[0006] However, if the temperature data of the warehouse is directly used for segmentation, then such segmentation method can only make the temperature data values in the segments close in size, and cannot make the noise level in the segments consistent. As a result, the noise level in each scale in the segmentation result is still inconsistent. The existing denoising method is still difficult to adapt to the changes in the noise level, resulting in poor denoising effect, which further affects the efficiency of temperature supervision in financial warehouses. Summary of the invention
[0007] In order to solve the problem that segmenting temperature data so that the temperature data values in the segments are close in size cannot make the noise levels in the segments consistent, resulting in poor denoising effect, inability to accurately adjust the warehouse temperature, and resulting in property losses, the present invention provides solutions in the following aspects.
[0008] The financial warehouse supervision method based on the Internet of Things technology includes: obtaining a temperature data sequence of a temperature sensor at each position of a financial warehouse, calculating the noise scale of each temperature data in the temperature data sequence; presetting a reference local range of temperature data points in the temperature data sequence, obtaining a first-order difference sequence within the reference local range, and correcting the noise scale according to the first-order difference sequence. , where Represents a temperature data point The corrected noise scale, Represents a temperature data point The noise scale before correction, Represents a temperature data point The first-order difference sequence in the local range, represents the variance function, Represents a temperature data point The variance of the first-order difference sequence in the local range, represents the maximum and minimum normalized function, Representing the exponential function, obtaining the corrected significant temperature sequence; adaptively segmenting the significant temperature sequence to obtain the temperature data sequence fragments at each position, denoising the temperature data sequence fragments, adjusting the filter window according to the noise scale, completing the denoising of the financial warehouse temperature data, and accurately supervising the denoised temperature data.
[0009] By calculating the initial noise scale of each temperature data and dynamically correcting the noise scale using the variance of the first-order difference sequence according to the preset reference local range, the algorithm's adaptability to different local characteristics is enhanced; through the application of the corrected noise scale adaptive segmentation technology, the algorithm can perform personalized processing on the temperature data sequence of each location to achieve a more refined denoising effect, and by adjusting the filter window, the noise can be accurately removed according to the noise scale, thereby improving the accuracy and reliability of temperature monitoring in financial warehousing environments.
[0010] In one embodiment, obtaining the noise scale of each temperature data in the temperature data sequence includes:
[0011] Get any temperature sensor as the target sensor and calculate the temperature difference between the target sensor and other sensors at the same time;
[0012] Calculate the ratio of the reciprocal of the distance between the target sensor and the other sensor and the reciprocal of the sum of the distances between the target sensor and the other sensor, and use the ratio as the distance weight of the target data point;
[0013] The product of the temperature difference of the target data point and the distance weight is used as the noise scale of the temperature data point of the target sensor at the current moment.
[0014] By considering the temperature difference at different locations at the same time and the relative positions between temperature sensors, the accuracy and rationality of noise scale estimation are enhanced through distance weighting. According to the design of distance weighting, the neighboring sensors have a greater impact on the noise scale of the target sensor, while the sensors at a longer distance have a smaller impact, thereby more realistically reflecting the temperature distribution characteristics in the sensor network, which is conducive to improving the denoising quality of temperature data and providing a more accurate and reliable temperature monitoring method for places sensitive to ambient temperature, such as financial warehousing.
[0015] In one embodiment, obtaining the noise scale of each temperature data in the temperature data sequence further includes:
[0016] The reciprocal of the distance between the target sensor and the other sensors is used as the consistency of the temperature data, and the consistency is used as a weight. The cumulative sum of the temperature difference and the consistency product is calculated to obtain the noise scale of each temperature data.
[0017] In one embodiment, obtaining a reference local range of a temperature data point in the temperature data sequence includes:
[0018] An arbitrary temperature data point in the temperature data sequence is obtained as a target data point, and a preset number of data is used as a reference local range with the target data point as the center.
[0019] In one embodiment, obtaining the first-order difference sequence within the reference local range includes:
[0020] Taking the difference between every two adjacent data points within the reference local range as a first-order difference sequence within the reference local range;
[0021] The first-order difference sequence is the difference between two adjacent data points, and the local range is obtained. data, then the first-order difference sequence is A sequence of data points.
[0022] The first-order difference sequence can reveal the local fluctuation characteristics of the data, which is conducive to more sensitively detecting small changes in temperature data points, thereby responding quickly to abnormal temperature fluctuations; at the same time, the first-order difference sequence can also help remove noise components in the data and improve the accuracy of temperature monitoring in the financial warehouse environment.
[0023] In one embodiment, adaptively segmenting the significant temperature sequence comprises:
[0024] The noise scale of the temperature data sequence is segmented, the number of segments is preset, the sum of square errors of each segment is calculated, a curve is constructed with the number of segments as the horizontal coordinate and the sum of square errors as the vertical coordinate, the position of the elbow point is determined according to the shape of the curve, and the number of segments is determined according to the position of the elbow point.
[0025] By presetting different numbers of segments and calculating the sum of squared errors for each segment, a curve can be constructed that reflects the relationship between the number of segments and model complexity. The "elbow point" of the curve usually marks the balance point between model complexity and error, that is, increasing the number of segments before this point can significantly reduce the error, while increasing the number of segments after this point has little effect on reducing the error and may lead to overfitting of the model. Therefore, the elbow method provides an intuitive and effective way to determine the optimal number of data sequence segments, which helps to reduce the complexity of the model while maintaining data characteristics, thereby optimizing the denoising and analysis process of temperature data.
[0026] In one embodiment, the filter window satisfies the following relationship:
[0027] ;
[0028] In the formula, represents the actual filtering window, represents the reference filter window, represents the mean noise scale in a segment, Represents the upper limit function.
[0029] The filter window is dynamically adjusted according to the actual noise level of the temperature data points. When the mean noise scale increases, the filter window will increase accordingly to better capture and smooth the noise. Conversely, when the noise scale is small, the filter window is reduced to maintain data details and avoid over-smoothing. This improves the flexibility and robustness of the filtering algorithm, making the denoising process more accurate and suitable for data with different noise levels, thereby effectively reducing noise interference while maintaining signal integrity.
[0030] In one embodiment, the accurate monitoring of the denoised temperature data includes:
[0031] In response to the real-time temperature of the financial warehouse being lower than the preset temperature, the data acquired by the temperature sensor is transmitted to the cloud platform for early warning, and different marks are used to indicate that the temperature at a certain location in the financial warehouse is abnormal.
[0032] The present invention has the following effects:
[0033] 1. The present invention analyzes the noise scale of temperature data and performs Fisher optimal solution segmentation, which can effectively segment data with similar noise levels together, thereby helping to improve the effect of temperature data denoising.
[0034] 2. The present invention processes data in segments according to the noise level, which can capture and adapt to changes in temperature data, making the noise level in each segment consistent, and applying different denoising parameters in each segment, thereby reducing the over-smoothing caused by the denoising algorithm and improving the efficiency and accuracy of the denoising algorithm. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, 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-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0036] Figure 1 It is a method flow chart of steps S1 to S3 in the financial warehouse supervision method based on Internet of Things technology in an embodiment of the present invention.
[0037] Figure 2 It is a method flow chart of steps S10 to S12 in the financial warehouse supervision method based on Internet of Things technology in an embodiment of the present invention.
[0038] Figure 3 It is a method flow chart of step S20-step S21 in the financial warehouse supervision method based on Internet of Things technology in an embodiment of the present invention.
[0039] Figure 4 It is a method flow chart of step S30-step S31 in the financial warehouse supervision method based on Internet of Things technology in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] 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.
[0041] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0042] Reference Figure 1 The financial warehouse supervision method based on the Internet of Things technology includes steps S1 to S3, which are as follows:
[0043] S1: Obtain the temperature data sequence of the temperature sensors at various locations of the financial warehouse, and calculate the noise scale of each temperature data in the temperature data sequence.
[0044] Further explanation: in the financial warehouse, the temperature sensors. In this embodiment, the temperature sensors are spaced apart by The setting interval is set according to the spatial range of the temperature sensor. Generally, the spatial range of the temperature sensor is: - To ensure that the temperature sensor evenly covers the entire financial warehouse, the acquisition frequency of the temperature sensor is And through the wireless technology of the Internet of Things, the collected temperature data is transmitted to the cloud server in real time. The sensor data of each location is arranged from top to bottom and from left to right according to the results of the plan diagram to obtain the temperature data sequence of each location: , Indicates A temperature data sequence collected from a temperature sensor.
[0045] It should be noted that the temperature in the financial warehouse needs to be controlled within a certain range, that is, in an ideal state, the temperature data collected at each location at the same time is basically the same. However, in fact, due to the influence of the external ambient temperature, different locations may have differences. Therefore, it is necessary to calculate the noise scale of the difference between the temperature data of each location at the same time. The greater the difference between the temperature data at the current location and the temperature data at other locations, the greater the noise scale. Since the temperature data of two locations that are closer should be more similar, the distance between the two locations can be used as the weight of the difference, so as to obtain the noise scale of the temperature data point by weighted average, thereby improving the accuracy of the noise scale calculation.
[0046] Reference Figure 2 , obtaining the noise scale includes steps S10 to S12:
[0047] S10: Obtain any temperature sensor as a target sensor, and calculate the temperature difference between the target sensor and other sensors at the same time;
[0048] Further explanation: At this moment, the consistency of the temperature data at the two locations is obtained according to the temperature data difference between the target sensor and the sensors at other locations. The larger the difference, the lower the consistency, and the larger the noise scale.
[0049] S11: Calculate the ratio of the reciprocal of the distance between the target sensor and the other sensors and the reciprocal of the sum of the distances between the target sensor and the other sensors, and use the ratio as the distance weight of the target data point;
[0050] To further illustrate, since the temperature data of the temperature sensors at two locations that are closer to each other are more similar, the distance between the two locations is calculated as the importance of the consistency of the two temperature data points. The closer the distance, the higher the importance of the consistency, and the higher the weight of the corresponding temperature data point.
[0051] S12: taking the product of the temperature difference of the target data point and the distance weight as the noise scale of the temperature data point of the target sensor at the current moment;
[0052] Specifically, the noise scale satisfies the following relationship:
[0053] ;
[0054] In the formula, Represents a temperature data point The noise scale, Indicates A temperature sensor in The temperature data value at the moment, Indicates A temperature sensor in The temperature data value at the moment, Indicates The temperature sensor and The straight-line distance between the two locations of a temperature sensor, Indicates the number of sensors. Indicates The temperature sensor and The straight-line distance between the two locations of a temperature sensor.
[0055] Further explanation: Indicates The temperature sensor and Two temperature sensors are located in The temperature data difference at the time, where the straight-line distance between the two locations (in meters) is Indicates The importance of consistency between a temperature sensor and other location temperature sensors.
[0056] In addition, in another embodiment, the reciprocal of the distance between the target sensor and other sensors is used as the consistency of the temperature data, and the consistency is used as a weight, and the cumulative sum of the temperature difference and the consistency product is calculated to obtain the noise scale of each temperature data.
[0057] It should be noted that, since there may be an abnormal situation in a temperature sensor in the financial warehouse, the noise scale of the temperature data point at the location of the temperature sensor may deviate. Specifically, the noise point often appears as an outlier in the change of time series data, which has nothing to do with the change of surrounding data. Therefore, the noise scale can be corrected by the outlier of the noise data point. The higher the outlier, the higher the possible degree of noise and the higher the noise scale, and the smaller the adjustment of the noise scale.
[0058] S2: Preset a reference local range of temperature data points in the temperature data sequence, obtain a first-order difference sequence within the reference local range, correct the noise scale according to the first-order difference sequence, and obtain a corrected significant temperature sequence.
[0059] Reference Figure 3 , including step S20-step S21:
[0060] S20: obtaining any temperature data point in the temperature data sequence as a target data point, taking the target data point as the center, and setting a preset number of data as a reference local range;
[0061] Further explanation, in this embodiment, a length of 13 data points is preset as a reference local range, and technicians in this field can adjust it according to actual conditions.
[0062] S21: taking the difference between every two adjacent data points within the reference local range as a first-order difference sequence within the reference local range;
[0063] Among them, the first-order difference sequence is the difference between two adjacent data points, and the local range is obtained. data, then the first-order difference sequence is A sequence of data points.
[0064] To further illustrate, the outliers of time series data can be represented by the variance of adjacent data points within the local range of the data point. The consistency of each change can be represented by the variance, which means that the larger the variance of the first-order difference, the higher the outlier.
[0065] Specifically, the corrected noise scale satisfies the following relationship:
[0066] ;
[0067] In the formula, Represents a temperature data point The corrected noise scale, Represents a temperature data point The noise scale before correction, Represents a temperature data point The first-order difference sequence in the local range, represents the variance function, Represents a temperature data point The variance of the first-order difference sequence in the local range, represents the maximum and minimum normalized function, Represents an exponential function.
[0068] Further explanation: the temperature data sequence at each position is respectively calculated by the maximum and minimum normalization function. The purpose is to normalize the operation so that the correction value is between.
[0069] It should be noted that the purpose of segmenting by using the Fisher optimal solution method according to the noise scale is to make the noise level in each segment consistent, which is conducive to subsequent denoising.
[0070] S3: Adaptively segment the significant temperature sequence to obtain the temperature data sequence fragments at each position, denoise the temperature data sequence fragments, adjust the filter window according to the noise scale, complete the denoising of the financial warehouse temperature data, and accurately monitor the denoised temperature data.
[0071] Reference Figure 4 , including step S30-step S31:
[0072] S30: Segment the noise scale of the temperature data sequence, first preset the number of segments, calculate the sum of square errors of each segment, construct a curve with the number of segments as the horizontal coordinate and the sum of square errors as the vertical coordinate, determine the position of the elbow point according to the shape of the curve, and determine the number of segments according to the position of the elbow point.
[0073] Specifically, the The temperature data sequence collected by the temperature sensor For example, take the temperature data series The noise scale of each temperature data point in is used as the characteristic value to perform Fisher optimal solution, so as to segment the temperature data; in particular, Fisher optimal solution is performed by continuously iterating the number of segments, so the elbow method used in this case can adaptively determine the number of segments. Fisher optimal solution and elbow method are well-known technologies in the field and will not be described in detail.
[0074] Specifically, the filter window satisfies the following relationship:
[0075] ,
[0076] In the formula, represents the actual filtering window, represents the reference filter window, represents the mean noise scale in a segment, Represents the upper limit function.
[0077] Further explanation, in this embodiment, denoising is performed by Gaussian filtering, wherein the window size during Gaussian filtering determines the filtering effect. The larger the noise scale in the segment, the larger the filtering window is required. The empirical value of the benchmark filtering window is , by taking the mean of the noise scale in the segmented data, the window size is adaptively adjusted, and denoising is performed based on the adjusted actual filter window to complete the denoising of the financial warehouse temperature data.
[0078] S31: In response to the real-time temperature of the financial warehouse being lower than the preset temperature, the data acquired by the temperature sensor is transmitted to the cloud platform for early warning, and the abnormal temperature at a certain location in the financial warehouse is displayed with different marks.
[0079] It is further explained that the preset temperature is not limited in the present embodiment. The most suitable temperature is set according to the temperature required by the actual storage product, and the technicians can adjust it according to the actual situation.
[0080] This is the end of the present invention.
[0081] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.
[0082] 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.
Claims
1. A financial warehouse supervision method based on Internet of Things technology, characterized in that: include: Placed in equal intervals in the financial warehouse temperature sensors, obtaining temperature data sequences of temperature sensors at various locations of financial warehouses, and calculating the noise scale of each temperature data in the temperature data sequence; Obtain any temperature sensor as the target sensor, calculate the temperature difference between the target sensor and other sensors at the same time; calculate the reciprocal of the distance between the target sensor and the other sensor and the ratio of the reciprocal of the sum of the distances between the target sensor and the other sensor, and use the ratio as the distance weight of the target data point; The product of the temperature difference of the target data point and the distance weight is used as the noise scale of the temperature data of the target sensor at the current moment; Preset a reference local range of temperature data points in the temperature data sequence, obtain any temperature data point in the temperature data sequence as a target data point, take the target data point as the center, preset the number of data as the reference local range, obtain the first-order difference sequence in the reference local range, and correct the noise scale according to the first-order difference sequence. , where Represents a temperature data point The corrected noise scale, Represents a temperature data point The noise scale before correction, Represents a temperature data point The first-order difference sequence in the local range, represents the variance function, Represents a temperature data point The variance of the first-order difference sequence in the local range, represents the maximum and minimum normalized function, represents the exponential function, and the corrected significant temperature series is obtained; The significant temperature sequence is adaptively segmented, the number of segments is preset, the sum of square errors of each segment is calculated, and a curve is constructed with the number of segments as the horizontal coordinate and the sum of square errors as the vertical coordinate. The position of the elbow point is determined according to the shape of the curve, and the number of segments is determined according to the position of the elbow point. The temperature data sequence fragments at each position are obtained, the temperature data sequence fragments are denoised, and the filter window is adjusted according to the noise scale to complete the denoising of the financial warehouse temperature data, and the denoised temperature data is accurately monitored.
2. The financial warehouse supervision method based on Internet of Things technology according to claim 1 is characterized in that: Obtaining a first-order difference sequence within the reference local range includes: Taking the difference between every two adjacent data points within the reference local range as a first-order difference sequence within the reference local range; The first-order difference sequence is the difference between two adjacent data points, and the local range is obtained. data, then the first-order difference sequence is A sequence of data points.
3. The financial warehouse supervision method based on Internet of Things technology according to claim 1 is characterized in that: The filter window satisfies the following relationship: ; In the formula, represents the actual filtering window, represents the reference filter window, represents the mean noise scale in a segment, Represents the upper limit function.
4. The financial warehouse supervision method based on Internet of Things technology according to claim 1 is characterized in that: The accurate supervision of the denoised temperature data includes: In response to the real-time temperature of the financial warehouse being lower than the preset temperature, the data acquired by the temperature sensor is transmitted to the cloud platform for early warning, and different marks are used to indicate that the temperature at a certain location in the financial warehouse is abnormal.
