Remote water quality risk early warning system based on cloud platform

By combining the calculation of abnormality and noise degree of dissolved oxygen and water temperature data on the cloud platform, noise data points are filtered out, which solves the problem of false positives and misreporting under the influence of noise data in the existing water quality risk early warning system, and improves early warning. System accuracy.

CN118468202BActive Publication Date: 2024-10-11SHANDONG HUALI WATER SUPPLY EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410931258.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-11
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

Existing water quality risk early warning systems are prone to false positives and false positives when processing noise data, and cannot effectively identify and process all types of noise data points, resulting in inaccurate early warning results.

Method used

A remote water quality risk early warning system based on the cloud platform is used to obtain dissolved oxygen and water temperature data through the data acquisition module. The abnormality acquisition module determines the abnormality of the dissolved oxygen data point. The noise acquisition module calculates the noise level and filters the water temperature data. Eliminate noisy data points, update the cumulative sum to filter out noisy data and issue an early warning.

Benefits of technology

It improves the accuracy of the water quality risk early warning system, reduces false alarms and false alarms, and ensures the reliability of early warning results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118468202B_ABST
    Figure CN118468202B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and more specifically, to a remote water quality risk early warning system based on a cloud platform. The system comprises: a data acquisition module, which is used to collect dissolved oxygen data and water temperature data in water quality; an abnormality acquisition module, which is used to calculate the abnormality of dissolved oxygen data points; a noise acquisition module, which is used to obtain water temperature data points corresponding to dissolved oxygen data points and reference data segments, and calculate the noise degree of dissolved oxygen data points; a water quality early warning module, which is used to obtain the cumulative sum of dissolved oxygen data points through a cumulative sum algorithm, and take the dissolved oxygen data points corresponding to the noise degree greater than the noise threshold as noise data points, and after screening out the noise data points, determine the updated cumulative sum of dissolved oxygen data points; when the updated cumulative sum of dissolved oxygen data points is greater than the early warning threshold, an early warning is issued externally through the cloud platform, thereby effectively improving the accuracy of the remote water quality risk early warning system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and more specifically, to a remote water quality risk early warning system based on a cloud platform. Background Art

[0002] With the growth of global population and the acceleration of industrialization, the demand for water resources is increasing. Effective water quality detection and early warning systems can help improve the management and utilization efficiency of water resources, thereby ensuring water supply security and sustainable development. The remote water quality risk early warning system uses sensor networks and communication technologies to achieve real-time monitoring of vast waters and cover more key areas. Through automated monitoring and data analysis, it plays an important role in maintaining ecological balance, ensuring drinking water safety, and promoting the sustainable use of water resources.

[0003] The patent application document with publication number CN106354940A discloses a landscape water quality simulation and early warning method based on uncertainty input of a water quality model. This method adds a random error term on the basis of the actual monitored concentration value of the pollutant, and uses the obtained pollutant concentration value as the model input value, and then obtains the model with added input uncertainty, determines the impact of each input on the model output, and compares the impact of each input to obtain an output value in an interval, compares it with the water quality limit, and performs water quality warning classification and water quality early warning judgment.

[0004] In the process of analyzing and processing water quality parameters to obtain abnormal conditions of water quality parameters, the above existing solutions set the output value of the interval and issue an early warning, but they do not take into account the noise data generated during the data collection process. The values ​​of these noise data are random and often mixed with normal data. If only the output interval is adjusted to change the early warning method, false early warnings caused by noise will occur. In addition, the amount of water quality data is large and complex. Although the commonly used data cleaning methods can significantly improve data quality and reduce the impact of noise data points, they cannot ensure that all types of noise data points are fully identified and processed, which ultimately causes false and erroneous water quality risk early warnings.

[0005] Based on this, how to accurately obtain water quality risk warning results when there is the influence of noise data in the water quality data is a technical problem that needs to be urgently solved by technical personnel in this field. Summary of the invention

[0006] In order to solve the technical problem of how to accurately obtain water quality risk warning results when there is noise data in the water quality data, the present invention proposes a remote water quality risk warning system based on a cloud platform. The system includes:

[0007] The data acquisition module is used to collect dissolved oxygen data and water temperature data in water quality; the abnormality acquisition module is used to obtain the reference data segment of each dissolved oxygen data point in the dissolved oxygen data, determine the variance of the reference data segment; calculate the abnormality of the dissolved oxygen data point, and the abnormality is positively correlated with the variance of the reference data segment corresponding to the dissolved oxygen data point; the noise acquisition module is used to obtain the water temperature data point corresponding to the dissolved oxygen data point and the reference data segment of the water temperature data point in the water temperature data, determine the difference in the number of extreme value points of the reference data segment corresponding to the dissolved oxygen data point and the water temperature data point; calculate the dissolved oxygen The noise degree of the dissolved oxygen data point is positively correlated with the abnormality and positively correlated with the absolute value of the difference in the number of extreme points; a water quality early warning module is used to obtain the cumulative sum of the dissolved oxygen data points through a cumulative sum algorithm, and the dissolved oxygen data points corresponding to the noise degree greater than the noise threshold are taken as noise data points. After screening out the noise data points, the updated cumulative sum of the dissolved oxygen data points is determined, and the updated cumulative sum is negatively correlated with the dissolved oxygen value of the noise data point and positively correlated with the cumulative sum of the dissolved oxygen data points; when the updated cumulative sum of the dissolved oxygen data points is greater than the early warning threshold, an early warning is issued externally through the cloud platform.

[0008] The effect is that the abnormality acquisition module of the present invention obtains the reference data segment of the dissolved oxygen data point and determines the fluctuation of the dissolved oxygen data point in the reference data segment, so as to preliminarily capture the abnormal fluctuation in the data and screen out the normal data and the abnormal data; on this basis, in order to further screen out the noise data from the abnormal data, the correlation between the water temperature parameter and the dissolved oxygen parameter in the water quality parameters can be obtained through the noise degree acquisition module to obtain the noise degree of the dissolved oxygen data point, and the noise data points are filtered out by the noise degree and then eliminated, so that the updated cumulative sum after the update is effectively improved, the occurrence of false alarms and wrong alarms is reduced, and the accuracy of the remote water quality risk early warning system is effectively improved.

[0009] According to the remote water quality risk early warning system based on a cloud platform provided by the present invention, the reference data segment of each dissolved oxygen data point in the dissolved oxygen data is obtained, including: presetting the number of reference data points, taking any dissolved oxygen data point as the center, obtaining equal reference data points on both sides of the dissolved oxygen data point, and using the data segment composed of the dissolved oxygen data point and the reference data point as the reference data segment of the dissolved oxygen data point; or constructing an iteration window with each dissolved oxygen data point as the center, and presetting an iteration termination condition and an iteration step; based on half of the iteration step, obtaining equal numbers of dissolved oxygen data points on both sides of the iteration window, and in response to the iteration termination condition, using the iteration window obtained by the final iteration as the reference data segment of each dissolved oxygen data point, wherein the iteration termination condition includes that the dissolved oxygen data points on either side of the iteration window are less than half of the iteration step, and / or the discreteness of the dissolved oxygen data points in the iteration window exceeds a discrete threshold.

[0010] The effect is that the present invention takes into account that there may be errors when determining the abnormality of a single dissolved oxygen data point, and therefore by obtaining a reference data segment of the dissolved oxygen data point to verify the abnormality of the dissolved oxygen data point, the accuracy of the abnormality of the dissolved oxygen data point can be effectively improved.

[0011] According to the cloud platform-based remote water quality risk early warning system provided by the present invention, the calculating of the abnormality of the dissolved oxygen data point includes: obtaining the information entropy value in the reference data segment corresponding to the dissolved oxygen data point, and determining the abnormality of the dissolved oxygen data point:

[0012] ;

[0013] In the formula, Indicates x The abnormality of the dissolved oxygen data point is Indicates x The number of dissolved oxygen data points in the reference data segment with dissolved oxygen data points, Indicates x The dissolved oxygen value of each dissolved oxygen data point, Indicates x The reference data segment for each dissolved oxygen data point The dissolved oxygen value of each dissolved oxygen data point, Indicates x The variance of all data in the reference data segment for dissolved oxygen data points, Indicates x The information entropy value of the reference data segment for each dissolved oxygen data point, Represents the normalization function.

[0014] According to the remote water quality risk early warning system based on a cloud platform provided by the present invention, the calculation of the noise degree of the dissolved oxygen data point includes: obtaining the percentiles of the dissolved oxygen data point and the water temperature data point in their respective corresponding reference data segments, and determining the noise degree of the dissolved oxygen data point:

[0015] ;

[0016] In the formula, Indicates x The noise level of each dissolved oxygen data point is Indicates x The abnormality of the dissolved oxygen data point is , Respectively represent x The percentiles of the dissolved oxygen data points and the corresponding water temperature data points in their respective reference data segments, represents the hyperparameter, , Respectively represent x The number of extreme points in the reference data segment corresponding to each dissolved oxygen data point and the corresponding water temperature data point.

[0017] According to the cloud platform-based remote water quality risk early warning system provided by the present invention, the cumulative sum of dissolved oxygen data points obtained by using a cumulative sum algorithm includes: obtaining historical dissolved oxygen data before the dissolved oxygen data point, and adding each dissolved oxygen data value in the historical dissolved oxygen data by using a cumulative sum algorithm to obtain the cumulative sum of the dissolved oxygen data points.

[0018] According to the remote water quality risk early warning system based on a cloud platform provided by the present invention, the step of determining the updated cumulative sum of the dissolved oxygen data points includes: obtaining the number of noise data points in the historical dissolved oxygen data, and determining the updated cumulative sum of the dissolved oxygen data points:

[0019] ;

[0020] In the formula, Indicates x The updated cumulative sum of dissolved oxygen data points, Indicates x The cumulative sum of dissolved oxygen data points is Indicates x The number of noise data points in the historical dissolved oxygen data of dissolved oxygen data points, Indicates x The historical dissolved oxygen data of dissolved oxygen data points The dissolved oxygen value of the noise data point, Indicates x The average dissolved oxygen value in the historical dissolved oxygen data for 3 dissolved oxygen data points.

[0021] The effect is that: the present invention takes into account that noise data points have a great influence on the cumulative sum of dissolved oxygen data points, and therefore the abnormal situation of dissolved oxygen data points can be accurately obtained by filtering out the noise data points after obtaining them, and based on the updated cumulative sum obtained after filtering out the noise data points.

[0022] According to the remote water quality risk early warning system based on the cloud platform provided by the present invention, when the updated cumulative sum of the dissolved oxygen data points is greater than the early warning threshold, an early warning is issued externally through the cloud platform, including: when the updated cumulative sum is greater than the early warning threshold, the dissolved oxygen data points corresponding to the updated cumulative sum being greater than the early warning threshold are marked as abnormal data points, an early warning is issued externally through the cloud platform, and the updated cumulative sum at the marked abnormal data points and the corresponding collection time are displayed.

[0023] The effect is that in order to enable users to accurately obtain abnormal dissolved oxygen data points and process them in time, the present invention marks the abnormal data points and then feeds them back to users through the cloud platform, making it easier for users to analyze and process them.

[0024] According to the cloud platform-based remote water quality risk early warning system provided by the present invention, after issuing an early warning externally through the cloud platform, it also includes: associating the updated cumulative sum with the corresponding dissolved oxygen data point and storing it in the cloud platform, and clearing the updated cumulative sum.

[0025] The effect is that in order to facilitate subsequent data processing, the present invention needs to clear the accumulated sum when it exceeds a preset threshold value so as to start accumulating again from a new data point.

[0026] The present invention has the following technical effects:

[0027] Based on the above scheme, when the remote water quality risk early warning system of the present invention monitors the water quality, the abnormality acquisition module obtains the reference data segment of the dissolved oxygen data point and determines the fluctuation of the dissolved oxygen data point in the reference data segment, so as to preliminarily capture the abnormal fluctuation in the data and screen out normal data and abnormal data; on this basis, in order to further screen out the noise data from the abnormal data, the correlation between the water temperature parameter and the dissolved oxygen parameter in the water quality parameters can be obtained through the noise degree acquisition module to obtain the noise degree of the dissolved oxygen data point, and the noise data points are filtered out by the noise degree and then eliminated, so that the updated cumulative sum accuracy after the update is effectively improved, the occurrence of false alarms and wrong alarms is reduced, and the accuracy of the remote water quality risk early warning system is effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] 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:

[0029] Figure 1 A schematic diagram of a system block diagram of a cloud platform-based remote water quality risk early warning system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0030] 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.

[0031] 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.

[0032] This invention provides a remote water quality risk early warning system based on a cloud platform. Figure 1 As shown, Figure 1 The system block diagram of the remote water quality risk early warning system based on the cloud platform provided by the embodiment of the present invention is as follows:

[0033] It should be noted that as one of the water quality parameters, the change of dissolved oxygen data plays an important role in the change of water quality. When the dissolved oxygen content in the water is too low, it may mean that there are other pollutants or harmful substances, resulting in poor water quality. Therefore, the change of water quality can be obtained by monitoring the change of dissolved oxygen data in the water quality parameters. When monitoring the collected dissolved oxygen data, if there is noise data in the dissolved oxygen data, it will affect the final monitoring results, and eventually lead to false alarms in the remote water quality risk warning system. Based on this, in order to accurately filter out the noise data from the dissolved oxygen data, other data in the water quality parameters that are correlated with the dissolved oxygen data can be combined and analyzed. The water temperature data is one of the parameters with the strongest correlation with the dissolved oxygen content. It not only directly affects the solubility of dissolved oxygen, but also is easier to control and monitor in actual water management. Therefore, the noise data can be obtained through the correlation between the dissolved oxygen data and the water temperature data. Among them, the higher the water temperature, the lower the dissolved oxygen content; the lower the water temperature, the higher the dissolved oxygen content, and the two are negatively correlated.

[0034] It is understandable that other water quality parameters that are correlated with dissolved oxygen data include air pressure, salinity, etc. The embodiment of the present invention is only described by taking water temperature parameters as an example, but it does not mean that the embodiment of the present invention is limited to this.

[0035] The dissolved oxygen data and water temperature data can be collected by the following data collection module 101:

[0036] The data collection module 101 is used to collect dissolved oxygen data and water temperature data in water quality.

[0037] Among them, dissolved oxygen data can be collected through dissolved oxygen sensors; water temperature data can be collected through temperature sensors.

[0038] For example, after the dissolved oxygen sensor and the temperature sensor respectively collect the dissolved oxygen data and the water temperature data, the dissolved oxygen data and the water temperature data can be converted into an easily processed digital form through an analog-to-digital conversion device; wherein the analog-to-digital conversion device can be specifically set according to actual needs.

[0039] It is understandable that in order to facilitate data processing, the collection parameters of dissolved oxygen data and water temperature data are consistent. The collection parameters can be one or more of collection period, collection frequency, and collection duration, which can be set according to actual needs.

[0040] For example, in an embodiment of the present invention, the data collection frequency may be once per second, and the collection duration may be thirty minutes; the collection frequency and collection duration may be set according to actual needs, and the embodiment of the present invention does not impose too many restrictions on this.

[0041] The abnormality acquisition module 102 is used to acquire the reference data segment of each dissolved oxygen data point in the dissolved oxygen data, determine the variance of the reference data segment, and calculate the abnormality of the dissolved oxygen data point.

[0042] Among them, the degree of anomaly is positively correlated with the variance of the reference data segment corresponding to the dissolved oxygen data point.

[0043] For example, in the embodiment of the present invention, when obtaining the reference data segment of each dissolved oxygen data point in the dissolved oxygen data, the following two possible implementation methods may be included:

[0044] In one possible implementation, the number of reference data points can be preset, and a number of reference data points can be equally acquired on both sides of any dissolved oxygen data point with any dissolved oxygen data point as the center, and the data segment consisting of the dissolved oxygen data point and the number of reference data points can be used as the reference data segment of the dissolved oxygen data point.

[0045] For example, 30 reference data points can be obtained on both sides of the dissolved oxygen data point, and the number of reference data points can be set according to actual needs. If the number of reference data points on one side of the dissolved oxygen data point is less than 30, the missing number can be supplemented on the other side.

[0046] In another possible implementation, an iteration window is constructed with each dissolved oxygen data point as the center, and an iteration termination condition and an iteration step are preset; based on half of the iteration step, an equal number of dissolved oxygen data points are obtained on both sides of the iteration window, and in response to the iteration termination condition, the iteration window obtained by the final iteration is used as a reference data segment for each dissolved oxygen data point.

[0047] Among them, the iteration termination conditions include that the dissolved oxygen data points on either side of the iteration window are less than half of the iteration step, and / or the discreteness of the dissolved oxygen data points in the iteration window exceeds the discrete threshold; the discreteness of the dissolved oxygen data points can be obtained by the prior art, and the embodiments of the present invention are not described in detail here; the discrete threshold can be set according to actual needs.

[0048] After obtaining the reference data segment of the data point based on the above method, the degree of fluctuation of the dissolved oxygen data point in the reference data segment can be obtained to reflect the abnormality of the dissolved oxygen data point. Based on this, the abnormality of each dissolved oxygen data point can be obtained in the following way:

[0049] For example, in an embodiment of the present invention, when determining the abnormality of a dissolved oxygen data point, the information entropy value in the reference data segment corresponding to the dissolved oxygen data point may be first obtained, and then the abnormality of the dissolved oxygen data point may be determined.

[0050] For example, the abnormality of the dissolved oxygen data point is determined, and the specific formula is as follows:

[0051] ;

[0052] In the formula, Indicates x The abnormality of the dissolved oxygen data point is Indicates x The number of dissolved oxygen data points in the reference data segment with dissolved oxygen data points, Indicates x The dissolved oxygen value of each dissolved oxygen data point, Indicates x The reference data segment for each dissolved oxygen data point The dissolved oxygen value of each dissolved oxygen data point, Indicates x The variance of all data in the reference data segment for dissolved oxygen data points, Indicates x The information entropy value of the reference data segment for each dissolved oxygen data point, Represents the normalization function.

[0053] It can be understood that the abnormality of the dissolved oxygen data point can represent its abnormality degree. The higher the abnormality, the higher the abnormality; conversely, the lower the abnormality, the lower the abnormality.

[0054] In the above formula, Indicates x The sum of the differences between the dissolved oxygen value of the first dissolved oxygen data point and the dissolved oxygen value in the reference data segment. The larger the value, the greater the difference. x The more likely the dissolved oxygen value of a dissolved oxygen data point is to be abnormal, the greater the possibility that it is a noise data point.

[0055] The larger the x The more discrete a dissolved oxygen data point is from the dissolved oxygen value in its reference data segment, the greater the possibility that there is a noise data point in the reference data segment.

[0056] The larger the x The more discrete the dissolved oxygen data point is from the dissolved oxygen value in the reference data segment, the greater the credibility is, and the greater the possibility that there are noise data points in the data segment. x The greater the possibility that a dissolved oxygen data point is a noise data point, the greater its abnormality.

[0057] Based on the above modules, the abnormality of each dissolved oxygen data point can be preliminarily obtained. The abnormal data and normal data in the dissolved oxygen data point can be distinguished by the size of the abnormality of the dissolved oxygen data point:

[0058] For example, in an embodiment of the present invention, after determining the abnormality of each dissolved oxygen data point, the dissolved oxygen data points can be divided according to a preset abnormality threshold, and the dissolved oxygen data points with an abnormality greater than the abnormality threshold are regarded as possibly abnormal dissolved oxygen data points, and the noise degree of these dissolved oxygen data points is determined based on the noise degree acquisition module 103.

[0059] The abnormality threshold can be set according to actual needs.

[0060] The noise degree acquisition module 103 is used to obtain the water temperature data point corresponding to the dissolved oxygen data point and the reference data segment of the water temperature data point in the water temperature data, determine the difference in the number of extreme points in the reference data segment corresponding to the dissolved oxygen data point and the water temperature data point respectively; and calculate the noise degree of the dissolved oxygen data point.

[0061] For example, the method of obtaining the reference data segment of the water temperature data point is consistent with the method of obtaining the reference data segment of the dissolved oxygen data point in the abnormality acquisition module 102, and the embodiment of the present invention will not be described in detail here.

[0062] It should be noted that the abnormal degree of each dissolved oxygen data point obtained by the abnormal degree acquisition module 102 can divide the normal data and abnormal data in the dissolved oxygen data point. However, the obtained abnormal data also includes abnormal data points and noise data points that may require early warning. The two are mixed together and will affect the monitoring results. Based on this, the present invention determines the noise degree of the dissolved oxygen data point through the correlation between the water temperature parameter and the dissolved oxygen parameter in the water quality parameter to divide the abnormal data and the noise data.

[0063] For example, in an embodiment of the present invention, when calculating the noise level of a dissolved oxygen data point, the percentiles of the dissolved oxygen data point and the water temperature data point in their respective corresponding reference data segments may be first obtained, and then the noise level of the dissolved oxygen data point may be determined.

[0064] Among them, the noise degree is positively correlated with the abnormality degree and positively correlated with the absolute value of the difference in the number of extreme points.

[0065] For example, the noise level of the dissolved oxygen data point can be determined by referring to the following formula:

[0066] ;

[0067] In the formula, Indicates x The noise level of each dissolved oxygen data point is Indicates x The abnormality of the dissolved oxygen data point is Indicates x The percentile of the dissolved oxygen data point in the corresponding reference data segment, Indicates x The percentile of the water temperature data point corresponding to the dissolved oxygen data point in the corresponding reference data segment, represents the hyperparameter, , Indicates x The number of extreme points in the reference data segment of the dissolved oxygen data point, Indicates x The number of extreme points in the reference data segment of the water temperature data point corresponding to the dissolved oxygen data point.

[0068] In the above formula, the percentiles of the dissolved oxygen data point and the water temperature data point in their respective corresponding reference data segments can be obtained by the RANK function, which can be specifically set according to actual needs, and the embodiment of the present invention will not be described in detail here.

[0069] It can be understood that the noise degree of a dissolved oxygen data point can represent its noise level. The higher the noise degree, the higher the possibility that the dissolved oxygen data point is a noise data point; conversely, the lower the noise degree, the lower the possibility that the dissolved oxygen data point is a noise data point.

[0070] In the above formula, Indicates x The difference between the percentiles of the dissolved oxygen data point and the corresponding water temperature data point in their respective reference data segments. The smaller the value, the lower the difference between the two parameter data in the first x The higher the correlation between the dissolved oxygen data point and the sampling time, the higher the correlation between the dissolved oxygen data point and the sampling time. xThe dissolved oxygen data point is abnormal data. The smaller the possibility that this abnormal data belongs to noise data, the greater the possibility that it belongs to the abnormal data point generated by the system itself and needs to be warned. x The smaller the value is, the smaller the noise level of the dissolved oxygen data point is; on the contrary, the larger the value is, the more the two parameter data are in the x The lower the correlation between the dissolved oxygen data point and the sampling time, the lower the x The dissolved oxygen data point is abnormal data. The greater the possibility that this abnormal data belongs to noise data, the smaller the possibility that it belongs to the abnormal data point generated by the system itself and needs to be warned. x The noise level of each dissolved oxygen data point is also greater.

[0071] Indicates x The difference between the number of extreme points of the dissolved oxygen data point and the corresponding water temperature data point in their respective reference data segments. The larger the value, the greater the difference between the two parameter data in the first x The lower the correlation between the dissolved oxygen data points and the sampling time, the lower the x The dissolved oxygen data point is abnormal data. The greater the possibility that this abnormal data belongs to noise data, the smaller the possibility that it belongs to the abnormal data point generated by the system itself and needs to be warned. x The greater the noise level of the dissolved oxygen data point, the smaller the value is, indicating that the two parameter data are x The higher the correlation between the dissolved oxygen data points and the sampling time, the higher the correlation between the dissolved oxygen data points and the sampling time. x The dissolved oxygen data point is abnormal data. The smaller the possibility that this abnormal data belongs to noise data, the greater the possibility that it belongs to the abnormal data point generated by the system itself and needs to be warned. x The noise level of each dissolved oxygen data point is also smaller.

[0072] After obtaining the noise degree of the dissolved oxygen data point based on the above method, the noise data can be filtered based on the noise degree of the dissolved oxygen data point:

[0073] The water quality warning module 104 is used to obtain the cumulative sum of dissolved oxygen data points through a cumulative sum algorithm, and take the dissolved oxygen data points corresponding to the noise degree greater than the noise threshold as noise data points. After screening out the noise data points, the updated cumulative sum of the dissolved oxygen data points is determined; when the updated cumulative sum is greater than the warning threshold, a warning is issued externally through the cloud platform.

[0074] The noise threshold may be 0.6, which may be set according to actual needs.

[0075] It should be noted that the presence of noise data will affect the cumulative sum of dissolved oxygen data points, resulting in the obtained cumulative sum of dissolved oxygen data points being inaccurate, and the system cannot accurately warn based on the cumulative sum with low accuracy. Based on this, the present invention can effectively reduce the impact of low noise data on the final warning result by filtering out noise data and then calculating the updated cumulative sum.

[0076] For example, in an embodiment of the present invention, when obtaining the cumulative sum of dissolved oxygen data points, historical dissolved oxygen data before the dissolved oxygen data point can be obtained, and each dissolved oxygen data value in the historical dissolved oxygen data can be accumulated through a cumulative sum algorithm to obtain the cumulative sum of the dissolved oxygen data points.

[0077] Based on the above method, the cumulative sum of dissolved oxygen data points affected by noise data can be obtained. The updated cumulative sum of dissolved oxygen data points after filtering out noise data is determined as follows:

[0078] For example, in an embodiment of the present invention, when determining the updated cumulative sum of dissolved oxygen data points, the number of noise data points in the historical dissolved oxygen data may be obtained, and then the updated cumulative sum of dissolved oxygen data points may be determined.

[0079] Among them, the updated cumulative sum is negatively correlated with the dissolved oxygen value of the noise data point and positively correlated with the cumulative sum of the dissolved oxygen data points.

[0080] For example, the updated cumulative sum of dissolved oxygen data points can be determined by referring to the following formula:

[0081] ;

[0082] In the formula, Indicates x The updated cumulative sum of dissolved oxygen data points, Indicates x The cumulative sum of dissolved oxygen data points is Indicates x The number of noise data points in the historical dissolved oxygen data of dissolved oxygen data points, Indicates x The historical dissolved oxygen data of dissolved oxygen data points The dissolved oxygen value of the noise data point, Indicates x The average dissolved oxygen value in the historical dissolved oxygen data for 3 dissolved oxygen data points.

[0083] After obtaining the updated cumulative sum of dissolved oxygen data points based on the above method, the abnormal data points generated by the system itself can be obtained based on the warning threshold:

[0084] For example, before judging the warning threshold value of the updated cumulative sum of the dissolved oxygen data points, the updated cumulative sum of the dissolved oxygen data points may be normalized.

[0085] For example, the warning threshold may be 0.9, and may be set according to actual needs.

[0086] By way of example, in an embodiment of the present invention, when the updated cumulative sum is greater than the warning threshold, the dissolved oxygen data point corresponding to the updated cumulative sum being greater than the warning threshold is marked as an abnormal data point, an early warning is issued through the cloud platform, and the updated cumulative sum and the corresponding collection time at the marked abnormal data point are displayed.

[0087] The cloud platform may be a web page, a mobile application, etc., and may be configured according to actual needs.

[0088] It can be seen that in the embodiment of the present invention, the remote water quality risk warning system based on the cloud platform may include the following modules: a data acquisition module, which is used to collect dissolved oxygen data and water temperature data in water quality; an abnormality acquisition module, which is used to obtain the reference data segment of each dissolved oxygen data point in the dissolved oxygen data, and determine the variance of the reference data segment; calculate the abnormality of the dissolved oxygen data point, and the abnormality is positively correlated with the variance of the reference data segment corresponding to the dissolved oxygen data point; a noise acquisition module, which is used to obtain the water temperature data point corresponding to the dissolved oxygen data point and the reference data segment of the water temperature data point in the water temperature data, and determine the abnormality of the dissolved oxygen data point. The difference in the number of extreme points in the reference data segment corresponding to each water temperature data point; calculating the noise degree of the dissolved oxygen data point, the noise degree is positively correlated with the abnormality, and positively correlated with the absolute value of the difference in the number of extreme points; a water quality early warning module is used to obtain the cumulative sum of the dissolved oxygen data points, and the dissolved oxygen data points corresponding to the noise degree greater than the noise threshold are taken as noise data points. After screening out the noise data points, the updated cumulative sum of the dissolved oxygen data points is determined, and the updated cumulative sum is negatively correlated with the dissolved oxygen value of the noise data point, and positively correlated with the cumulative sum of the dissolved oxygen data points; when the updated cumulative sum is greater than the early warning threshold, an early warning is issued externally through the cloud platform.

[0089] In this way, the abnormality acquisition module obtains the reference data segment of the dissolved oxygen data point and determines the fluctuation of the dissolved oxygen data point in the reference data segment, so as to preliminarily capture the abnormal fluctuation in the data and screen out normal data and abnormal data; on this basis, in order to further screen out the noise data from the abnormal data, the noise degree acquisition module can be used to obtain the correlation between the water temperature parameter and the dissolved oxygen parameter in the water quality parameters to obtain the noise degree of the dissolved oxygen data point, and the noise data points are filtered out by the noise degree and then eliminated, so that the updated cumulative sum after the update is effectively improved, the occurrence of false alarms and wrong alarms is reduced, and the accuracy of the remote water quality risk early warning system is effectively improved.

[0090] After the abnormal data points are obtained based on the above embodiment and an early warning is issued, in order to facilitate subsequent data processing, the present invention needs to clear the accumulated sum when it exceeds a preset threshold so as to start accumulation again from a new data point:

[0091] For example, in an embodiment of the present invention, after issuing an early warning through the cloud platform, the method further includes: associating the updated cumulative sum with the corresponding dissolved oxygen data point and storing it in the cloud platform, and clearing the updated cumulative sum.

[0092] In this way, the accumulation and status at the beginning of each data point can be clearly judged, making it easier to determine whether abnormal changes have occurred in the data, which helps the system respond quickly to abnormal situations in real-time monitoring.

[0093] 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.

[0094] 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. Remote water quality risk early warning system based on cloud platform, It is characterized in that Includes the following modules: Data acquisition module, used to collect dissolved oxygen data and water temperature data in water quality; An abnormality acquisition module is used to obtain a reference data segment of each dissolved oxygen data point in the dissolved oxygen data and determine the variance of the reference data segment; Calculating the abnormality of the dissolved oxygen data point includes: obtaining the information entropy value in the reference data segment corresponding to the dissolved oxygen data point, and determining the abnormality of the dissolved oxygen data point: ; In the formula, Indicates x The abnormality of the dissolved oxygen data point is Indicates x The number of dissolved oxygen data points in the reference data segment with dissolved oxygen data points, Indicates x The dissolved oxygen value of each dissolved oxygen data point, Indicates x The reference data segment for each dissolved oxygen data point The dissolved oxygen value of each dissolved oxygen data point, Indicates x The variance of all data in the reference data segment for dissolved oxygen data points, Indicates x The information entropy value of the reference data segment for each dissolved oxygen data point, represents a normalization function; the abnormality of a dissolved oxygen data point represents its abnormality; the abnormality is positively correlated with the variance of a reference data segment corresponding to the dissolved oxygen data point; The noise degree acquisition module is used to acquire the water temperature data point corresponding to the dissolved oxygen data point and the reference data segment of the water temperature data point in the water temperature data, and determine the difference in the number of extreme value points of the reference data segment corresponding to the dissolved oxygen data point and the water temperature data point respectively; calculate the noise degree of the dissolved oxygen data point, including: acquiring the percentiles of the dissolved oxygen data point and the water temperature data point in the respective corresponding reference data segments, and determining the noise degree of the dissolved oxygen data point: ; In the formula, Indicates x The noise level of each dissolved oxygen data point is Indicates x The abnormality of the dissolved oxygen data point is , Respectively represent x The percentiles of the dissolved oxygen data points and the corresponding water temperature data points in their respective reference data segments, represents the hyperparameter, , Respectively represent x The number of extreme value points of the reference data segment corresponding to each of the dissolved oxygen data point and the corresponding water temperature data point; the noise degree of the dissolved oxygen data point represents its noise level; the noise degree is positively correlated with the abnormality and positively correlated with the absolute value of the difference in the number of extreme value points; The water quality early warning module is used to obtain the cumulative sum of dissolved oxygen data points through a cumulative sum algorithm, take the dissolved oxygen data points corresponding to the noise degree greater than the noise threshold as noise data points, and after screening out the noise data points, determine the updated cumulative sum of the dissolved oxygen data points, the updated cumulative sum is negatively correlated with the dissolved oxygen value of the noise data points, and positively correlated with the cumulative sum of the dissolved oxygen data points; when the updated cumulative sum of the dissolved oxygen data points is greater than the early warning threshold, an early warning is issued externally through the cloud platform.

2. According to the cloud platform-based remote water quality risk early warning system of claim 1, It is characterized in that The step of obtaining a reference data segment for each dissolved oxygen data point in the dissolved oxygen data includes: The number of reference data points is preset, and with any dissolved oxygen data point as the center, reference data points are obtained in equal amounts on both sides of the dissolved oxygen data point, and the data segment composed of the dissolved oxygen data point and the reference data point is used as the reference data segment of the dissolved oxygen data point; or an iteration window is constructed with each dissolved oxygen data point as the center, and an iteration termination condition and an iteration step are preset; based on half of the iteration step, an equal number of dissolved oxygen data points are obtained on both sides of the iteration window, and in response to the iteration termination condition, the iteration window obtained by the final iteration is used as the reference data segment of each dissolved oxygen data point, wherein the iteration termination condition includes that the dissolved oxygen data points on either side of the iteration window are less than half of the iteration step, and / or the discreteness of the dissolved oxygen data points in the iteration window exceeds a discrete threshold.

3. According to the cloud platform-based remote water quality risk early warning system of claim 1, It is characterized in that The method of obtaining the cumulative sum of dissolved oxygen data points by using the cumulative sum algorithm includes: The historical dissolved oxygen data before the dissolved oxygen data point is obtained, and each dissolved oxygen data value in the historical dissolved oxygen data is accumulated by a cumulative sum algorithm to obtain the cumulative sum of the dissolved oxygen data point.

4. According to the cloud platform-based remote water quality risk early warning system of claim 1, It is characterized in that Determining the updated cumulative sum of the dissolved oxygen data points includes: Obtain the number of noise data points in the historical dissolved oxygen data, and determine the updated cumulative sum of the dissolved oxygen data points: ; In the formula, Indicates x The updated cumulative sum of dissolved oxygen data points, Indicates x The cumulative sum of dissolved oxygen data points is Indicates x The number of noise data points in the historical dissolved oxygen data of dissolved oxygen data points, Indicates x The historical dissolved oxygen data of dissolved oxygen data points The dissolved oxygen value of the noise data point, Indicates x The average dissolved oxygen value in the historical dissolved oxygen data for 3 dissolved oxygen data points.

5. According to the cloud platform-based remote water quality risk early warning system of claim 1, It is characterized in that When the updated cumulative sum of the dissolved oxygen data points is greater than the warning threshold, issuing a warning through the cloud platform includes: When the updated cumulative sum is greater than the warning threshold, the dissolved oxygen data point corresponding to the updated cumulative sum being greater than the warning threshold is marked as an abnormal data point, an early warning is issued through the cloud platform, and the updated cumulative sum at the marked abnormal data point and the corresponding collection time are displayed.

6. According to the cloud platform-based remote water quality risk early warning system of claim 1, It is characterized in that After the warning is issued through the cloud platform, the method further includes: associating the updated cumulative sum with the corresponding dissolved oxygen data point and storing it in the cloud platform, and clearing the updated cumulative sum.