Water supply network leakage incident graded warning method, device, equipment and medium

By obtaining the historical abnormal coefficients and importance of pressure data in the water supply pipe network for weighted processing, the target value is optimized, which solves the problem of noise influence in historical pressure data, improves the accuracy of abnormal data detection, and ensures leakage in the water supply pipe network. reliability of early warning.

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

Patent Information

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

AI Technical Summary

Technical Problem

When the existing technology detects the pressure data of the water supply pipeline network, due to the presence of noise data in the historical pressure data, the accuracy of the target value decreases, which in turn affects the accuracy of the abnormal data.

Method used

By obtaining the abnormal coefficient and importance of historical pressure data for each pressure data, weighted summation is performed to optimize the target value and weaken the impact of noise data on the target value, thereby improving the accuracy of abnormal data detection.

Benefits of technology

It improves the accuracy of abnormal data detection in pressure data, reduces the impact of noise data on target values, and ensures the reliability of leakage warnings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118499705B_ABST
    Figure CN118499705B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and more specifically, to a method, device, equipment and medium for graded early warning of water supply network leakage events. The method comprises: collecting pressure data and flow data, obtaining historical pressure data of each pressure data, obtaining an abnormal coefficient of each historical pressure data of each pressure data, obtaining the importance of each historical pressure data of each pressure data according to the abnormal coefficient of each historical pressure data of each pressure data and the difference between each historical pressure data and the pressure data to which it belongs, correcting the data value of each historical pressure data according to the importance of each historical pressure data of each pressure data, obtaining an optimized target value of each pressure data, and obtaining abnormal pressure data according to the optimized target value of each pressure data. The present invention can accurately detect abnormal pressure data.
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. More specifically, the present invention relates to a graded early warning method, device, equipment and medium for water supply network leakage events. Background Art

[0002] With the acceleration of urbanization and population growth, the pressure on urban water supply systems continues to increase, and the frequency of water supply network leakage incidents is gradually increasing. On the other hand, the water supply networks in many cities still have problems such as aging and damage, which will further increase the risk of network leakage. Therefore, how to effectively monitor and warn of water supply network leakage incidents has become an urgent problem to be solved by urban water supply management departments. This solution realizes the automation and intelligence of leakage warning by detecting abnormal pressure data in the water supply network.

[0003] The patent application document with the publication number CN108801950A currently discloses a method for detecting anomalies in ultraviolet spectroscopy water quality based on sliding window multi-scale principal component analysis, including: 1) obtaining wavelet transform scale, window length, CUSUM control limits of each scale, and CUSUM control limits of wavelet reconstruction data based on historical data; 2) online spectral data acquisition, waiting for data to fill the window; 3) baseline correction and standardization preprocessing of spectral data; 4) MSPCA calculation of spectral data, and selection of the number of principal components by threshold method; 5) anomaly detection of each scale based on CUSUM control chart; 6) combination and reconstruction of abnormal wavelet scales, and PCA calculation of reconstructed data; 7) anomaly detection of reconstructed data based on CUSUM control chart.

[0004] When collecting pressure data in the water supply network, factors such as vibration and temperature changes in the surrounding environment may also affect the measurement of the pressure sensor, resulting in noise data, and the noise data is close to the data value of the abnormal data in the pressure data. When using the CUSUM algorithm in the above method to detect abnormal data in the pressure data, it is usually necessary to first obtain the target value of each pressure data. When obtaining the target value of each pressure data, it is necessary to use the average value of the historical pressure data before each pressure data as the target value of each pressure data, so as to achieve the adaptation of the target value. Therefore, if there is noise data in the historical pressure data before each pressure data, it will cause the accuracy of the target value of each pressure data to decrease, resulting in inaccurate abnormal pressure data finally obtained. Summary of the invention

[0005] In order to solve the problem that noise data exists in the historical pressure data before the pressure data, which leads to a decrease in the accuracy of the target value of the pressure data and inaccurate abnormal pressure data finally obtained, the present invention proposes a graded early warning method, device, equipment and medium for water supply network leakage events.

[0006] In a first aspect, the present invention provides a hierarchical early warning method for water supply network leakage events, the method comprising the following steps:

[0007] Collect pressure data;

[0008] Acquire historical pressure data of each pressure data; acquire an anomaly coefficient of each historical pressure data of each pressure data, wherein the anomaly coefficient represents a noise performance degree of each historical pressure data;

[0009] Importance of obtaining historical pressure data for each pressure data , where represents the importance of the mth historical pressure data of the i-th pressure data; represents the anomaly coefficient of the mth historical pressure data of the ith pressure data; represents the sampling time interval between the mth historical pressure data and the ith pressure data of the ith pressure data; represents the anomaly coefficient of the i-th pressure data;

[0010] Obtaining an optimization target value for each pressure data, wherein the optimization target value for each pressure data is obtained by weighted summing the data values ​​of each historical pressure data according to the importance of each historical pressure data of each pressure data; obtaining abnormal pressure data based on the optimization target value for each pressure data.

[0011] The innovation of the present invention lies in obtaining the importance of each historical pressure data of each pressure data and correcting its data value to obtain the optimized target value of each pressure data. This operation distinguishes the noise data from the abnormal data in the historical pressure data, and weakens the influence of the noise data in the historical pressure data on the target value of the pressure data as much as possible, so that the obtained optimized target value of each pressure data is more accurate, which is convenient for the subsequent accurate detection of abnormal data in the pressure data. Furthermore, the importance of each historical pressure data of each pressure data is obtained based on the anomaly coefficient of each historical pressure data of each pressure data and the difference between the historical pressure data and the pressure data to which it belongs, taking into account the noise performance of the historical pressure data itself and the difference between the historical pressure data and the pressure data to which it belongs, so that the obtained importance is more accurate.

[0012] Preferably, the obtaining of historical pressure data of each pressure data includes:

[0013] All pressure data are sorted in ascending order according to the sampling time as a pressure data sequence, and N pressure data before each pressure data are obtained in the pressure data sequence as historical pressure data of each pressure data.

[0014] Preferably, the step of obtaining the anomaly coefficient of each historical pressure data of each pressure data includes:

[0015] Obtain the historical flow data of each flow data; obtain the relationship between each historical pressure data of each pressure data and its corresponding historical flow data;

[0016] ;

[0017] In the formula, represents the anomaly coefficient of the mth historical pressure data of the ith pressure data; represents the value of the mth historical pressure data of the ith pressure data; Represents the maximum value of all historical pressure data of the i-th pressure data; Represents the preset hyperparameters; Represents the relationship between the mth historical pressure data of the ith pressure data and its corresponding historical flow data; Represents the mean of the connectivity between all historical pressure data of the ith pressure data and its corresponding historical flow data; || represents the absolute value symbol.

[0018] The anomaly coefficient of each historical pressure data of each pressure data represents the noise performance degree of the historical pressure data, so as to facilitate the subsequent acquisition of the importance of each historical pressure data of each pressure data according to the anomaly coefficient of each historical pressure data of each pressure data.

[0019] Preferably, the obtaining of historical flow data of each flow data includes:

[0020] All traffic data are sorted in ascending order according to the sampling time as a traffic data sequence, and N traffic data before each traffic data in the traffic data sequence are obtained as historical traffic data of each traffic data.

[0021] Preferably, the step of obtaining the relationship between each historical pressure data and its corresponding historical flow data includes:

[0022] The mth historical flow data of the i-th flow data is recorded as the corresponding historical flow data of the mth historical pressure data of the i-th pressure data; the absolute value of the difference between the percentile of the mth historical pressure data of the i-th pressure data among all the historical pressure data of the i-th pressure data and the percentile of the mth historical flow data of the i-th flow data among all the historical flow data of the i-th flow data is taken as the connection between the mth historical pressure data of the i-th pressure data and its corresponding historical flow data.

[0023] The worse the connection between any historical pressure data of each pressure data and its corresponding historical flow data is, the higher the noise performance of the historical pressure data is.

[0024] Preferably, obtaining the optimization target value of each pressure data includes:

[0025] ;

[0026] In the formula, represents the optimization target value of the i-th pressure data; N represents the number of historical pressure data of the i-th pressure data; The data value of the mth historical pressure data representing the i-th pressure data; Represents the importance of the mth historical pressure data to the i-th pressure data.

[0027] The optimization target value of each pressure data obtained by weighted summing the data values ​​of each historical pressure data according to the importance of each historical pressure data is more accurate.

[0028] Preferably, the step of obtaining abnormal pressure data based on the optimization target value of each pressure data includes:

[0029] According to the optimization target value of each pressure data, the existing calculation method for the CUSUM value in the CUSUM algorithm is used to obtain the normalized CUSUM value of each pressure data. If the normalized CUSUM value of any pressure data is greater than the threshold T1, the pressure data is abnormal pressure data.

[0030] According to the optimized target value of each pressure data, the abnormal data in the pressure data obtained by using the CUSUM algorithm is more accurate.

[0031] Preferably, the collecting of pressure data and flow data includes:

[0032] The pressure sensor and flow meter are installed in the water supply network. The sampling time is 1 second, and the sampling time is 30 minutes. The pressure data of the pressure sensor and the flow data of the flow meter are collected each time.

[0033] In a second aspect, the present invention provides a graded early warning device for water supply network leakage events, which adopts the following technical solution:

[0034] The invention discloses a graded early warning device for water supply network leakage incidents, comprising: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the graded early warning method for water supply network leakage incidents is implemented.

[0035] By adopting the above technical solution, the above-mentioned water supply network leakage event graded warning method is generated into a computer program and stored in a memory to be loaded and executed by a processor, so that a terminal device is made according to the memory and the processor for easy use.

[0036] In a third aspect, the present invention provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes the above-mentioned method for graded early warning of water supply network leakage events.

[0037] The present invention has the following beneficial effects: the innovation of the present invention lies in obtaining the importance of each historical pressure data of each pressure data and correcting its data value to obtain the optimized target value of each pressure data. This operation distinguishes the noise data from the abnormal data in the historical pressure data, and weakens the influence of the noise data in the historical pressure data on the target value of the pressure data as much as possible, so that the obtained optimized target value of each pressure data is more accurate, and the abnormal data in the pressure data can be accurately detected subsequently. Furthermore, the importance of each historical pressure data of each pressure data is obtained based on the anomaly coefficient of each historical pressure data of each pressure data and the difference between the historical pressure data and the pressure data to which it belongs, taking into account the noise performance of the historical pressure data itself and the difference between the historical pressure data and the pressure data to which it belongs, and the importance obtained is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0039] Figure 1 It is a flowchart of the steps of the water supply network leakage event classification early warning method, device, equipment and medium according to 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] See also Figure 1 , which shows a flow chart of the steps of a water supply network leakage event classification warning method, device, equipment and medium provided by an embodiment of the present invention, the method comprising the following steps:

[0043] S001. Collect pressure data and flow data.

[0044] In an embodiment of the present invention, a pressure sensor and a flow meter are installed in a water supply network, with a sampling time of 1 second and a total sampling time of thirty minutes. The pressure data of the pressure sensor and the flow data of the flow meter are collected each time, and the pressure data and flow data at all sampling times are digitally converted.

[0045] S002. Obtain historical pressure data of each pressure data, and obtain an abnormal coefficient of each historical pressure data of each pressure data.

[0046] It should be noted that when collecting pressure data in the water supply network, factors such as vibration and temperature changes in the surrounding environment may also affect the measurement of the pressure sensor, resulting in noise data, and the noise data is close to the data value of the abnormal data in the pressure data. When using the CUSUM algorithm to detect abnormal data in the pressure data, it is usually necessary to first obtain the target value of each pressure data. When the traditional CUSUM algorithm obtains the target value of each pressure data, it is necessary to use the average value of the historical pressure data before each pressure data as the target value of each pressure data, so as to achieve the self-adaptation of the target value. Therefore, if there is noise data in the historical pressure data before each pressure data, the accuracy of the target value of each pressure data will be reduced, resulting in inaccurate abnormal pressure data finally obtained. Therefore, the core of the present invention is to use the CUSUM test algorithm to perform abnormal detection on the pressure data, and to adapt the optimized target value of each pressure data. Therefore, it is necessary to analyze the historical pressure data of each pressure data to determine whether each historical pressure data of each pressure data is likely to be noise data, that is, to obtain the abnormal coefficient of each historical pressure data of each pressure data, and then weaken the influence of noise data on the target value adaptation process according to the abnormal coefficient of each historical pressure data of each pressure data.

[0047] It should be further explained that when analyzing the historical pressure data of each pressure data, the greater the difference between the data value of any historical pressure data and its surrounding data, the greater the anomaly coefficient of the historical pressure data. Based on the scenario investigation and Bernoulli's principle, the movement of the fluid in the pipeline will be affected by factors such as changes in the cross-sectional area of ​​the pipeline, changes in flow rate, and gravity. When the flow rate increases, the flow rate will increase, thereby increasing the kinetic energy of the fluid and causing the pressure to decrease; vice versa. Therefore, there is a negative correlation between flow and pressure. Therefore, the worse the connection between any historical pressure data and the corresponding flow data at its sampling time, the greater the possibility that the historical pressure data belongs to noise and the greater its anomaly coefficient.

[0048] In an embodiment of the present invention, all pressure data are sorted in ascending order according to the sampling time as a pressure data sequence, and all flow data are sorted in ascending order according to the sampling time as a flow data sequence. The pressure data sequence and the flow data sequence correspond one to one in time series, and the N pressure data before each pressure data in the pressure data sequence are obtained as the historical pressure data of each pressure data; the N flow data before each flow data in the flow data sequence are obtained as the historical flow data of each flow data; it should be noted that when N pressure data or N flow data are not satisfied, a 0-filling operation is performed; in an embodiment of the present invention, the preset number of data N=100, and in other embodiments, the implementer can preset the value of the number of data N according to the specific implementation situation.

[0049] The mth historical flow data of the i-th flow data is recorded as the corresponding historical flow data of the mth historical pressure data of the i-th pressure data; the absolute value of the difference between the percentile of the mth historical pressure data of the i-th pressure data among all the historical pressure data of the i-th pressure data and the percentile of the mth historical flow data of the i-th flow data among all the historical flow data of the i-th flow data is used as the connection between each historical pressure data of each pressure data and its corresponding historical flow data.

[0050] Get the anomaly coefficient of each historical pressure data for each pressure data:

[0051]

[0052] In the formula, represents the anomaly coefficient of the mth historical pressure data of the ith pressure data; represents the value of the mth historical pressure data of the ith pressure data; Represents the maximum value of all historical pressure data of the i-th pressure data; || represents the absolute value symbol; Represents the preset hyperparameters. In order to avoid In the embodiment of the present invention, the preset hyperparameter In other embodiments, the implementer may preset the hyperparameters according to the specific implementation conditions. The value of Represents the relationship between the mth historical pressure data of the ith pressure data and its corresponding historical flow data; Represents the mean value of the connection between all historical pressure data of the i-th pressure data and its corresponding historical flow data; The absolute value of the difference between the value of the mth historical pressure data of the i-th pressure data and the maximum value of all its historical pressure data is smaller, indicating that the value of the mth historical pressure data of the i-th pressure data is larger and more likely to be abnormal, and its anomaly coefficient is larger; The absolute value of the difference between the connection between the mth historical pressure data of the ith pressure data and its corresponding historical flow data and the mean connection between all historical pressure data and their corresponding historical flow data is larger, indicating that the connection between the mth historical pressure data of the ith pressure data and its corresponding historical flow data is lower, and the mth historical pressure data of the ith pressure data is more likely to be noise data.

[0053] S003. Obtain the importance of each historical pressure data of each pressure data according to the anomaly coefficient of each historical pressure data of each pressure data and the difference between each historical pressure data and the pressure data to which it belongs, and modify the data value of each historical pressure data according to the importance of each historical pressure data of each pressure data to obtain the optimization target value of each pressure data.

[0054] It should be noted that step S002 obtains the anomaly coefficient of each historical pressure data of each pressure data, which represents the noise situation of the historical pressure data. When the anomaly coefficient of any historical pressure data of any pressure data is large, it means that the data value of the historical pressure data of the pressure data has a weaker ability to provide reliable reference information for the pressure data. Therefore, the importance of the historical pressure data of the pressure data is low. However, it is inaccurate to determine the importance of the historical pressure data based solely on the anomaly coefficient. It is also necessary to analyze the difference between the historical pressure data and the pressure data to which it belongs. When the difference is smaller, the historical pressure data can provide more reliable reference information for the pressure data to which it belongs, and its importance will be greater.

[0055] In an embodiment of the present invention, the importance of each historical pressure data of each pressure data is obtained:

[0056] ;

[0057] In the formula, represents the importance of the mth historical pressure data of the i-th pressure data; represents the anomaly coefficient of the mth historical pressure data of the ith pressure data; represents the sampling time interval between the mth historical pressure data and the ith pressure data of the ith pressure data; represents the anomaly coefficient of the i-th pressure data; The larger the value of is, the greater the possibility that the mth historical pressure data of the i-th pressure data is noise, then the ability of the mth historical pressure data of the i-th pressure data to provide reliable reference information for the i-th pressure data will be weaker, and the importance of the mth historical pressure data of the i-th pressure data will be lower; The larger the value is, the greater the difference between the mth historical pressure data of the i-th pressure data and the i-th pressure data is, and the ability of the mth historical pressure data of the i-th pressure data to provide reliable reference information for the i-th pressure data will be weaker, and its importance will be lower; The greater the absolute value of the difference between the anomaly coefficients of the m-th historical pressure data and the i-th pressure data, the greater the difference between the m-th historical pressure data and the i-th pressure data. Therefore, the ability of the m-th historical pressure data of the i-th pressure data to provide reliable reference information for the i-th pressure data will be weaker, and its importance will be lower.

[0058] It should be noted that the traditional CUSUM algorithm takes the mean of the data values ​​of all historical pressure data of each pressure data as the target value of each pressure data. However, the historical pressure data may be affected by noise data, resulting in inaccurate target values ​​of each pressure data. Therefore, it is necessary to perform weighted correction on the data values ​​of the historical pressure data according to the importance of the historical pressure data to obtain the target value of the pressure data. That is, the greater the importance of the historical pressure data, the more normal the historical pressure data is and the less affected by noise, then the greater the weight of the data value of the historical pressure data in the weighted calculation of the target value.

[0059] In the embodiment of the present invention, the optimization target value of each pressure data is obtained:

[0060] ;

[0061] In the formula, represents the optimization target value of the i-th pressure data; N represents the number of historical pressure data of the i-th pressure data; The data value of the mth historical pressure data representing the i-th pressure data; represents the importance of the mth historical pressure data of the i-th pressure data; The larger the value of is, the more reference value the data value of the mth historical pressure data of the ith pressure data has, and it is used as a weight to correct the data value of the mth historical pressure data of the ith pressure data.

[0062] S004. Obtain abnormal pressure data according to the optimization target value of each pressure data.

[0063] In an embodiment of the present invention, according to the optimization target value of each pressure data, the existing calculation method for the CUSUM value in the CUSUM algorithm is used to obtain the normalized CUSUM value of each pressure data. If the normalized CUSUM value of any pressure data is greater than the threshold value T1, the pressure data is abnormal pressure data, and the water supply network has a risk of leakage at the sampling time corresponding to the pressure data, and it needs to be promptly warned. The preset threshold value T1=0.6. In other embodiments, the implementer can preset the value of the threshold value T1 according to the specific implementation method.

[0064] The present invention also provides a graded warning device for water supply network leakage events, comprising: 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 graded warning method for water supply network leakage events is implemented.

[0065] By adopting the above technical solution, the above-mentioned water supply network leakage event graded warning method is generated into a computer program and stored in a memory to be loaded and executed by a processor, so that a terminal device is made according to the memory and the processor for easy use.

[0066] The present invention also provides an electronic device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the water supply network leakage event graded early warning method in the above-mentioned embodiments.

[0067] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for graded early warning of water supply network leakage events.

[0068] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0069] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0070] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A hierarchical early warning method for water supply network leakage events, characterized in that: include: Collect pressure data; Obtain historical pressure data of each pressure data; Obtain anomaly coefficients of each historical pressure data of each pressure data, wherein the anomaly coefficients represent the degree of noise performance of each historical pressure data; Importance of obtaining historical pressure data for each pressure data , where represents the importance of the mth historical pressure data of the i-th pressure data; represents the anomaly coefficient of the mth historical pressure data of the ith pressure data; represents the sampling time interval between the mth historical pressure data and the ith pressure data of the ith pressure data; represents the anomaly coefficient of the i-th pressure data; Obtaining an optimization target value for each pressure data, wherein the optimization target value for each pressure data is obtained by weighted summing the data values ​​of each historical pressure data according to the importance of each historical pressure data of each pressure data; obtaining abnormal pressure data based on the optimization target value for each pressure data.

2. The water supply network leakage incident classification early warning method according to claim 1 is characterized in that: The obtaining of historical pressure data of each pressure data comprises: All pressure data are sorted in ascending order according to the sampling time as a pressure data sequence, and N pressure data before each pressure data are obtained in the pressure data sequence as historical pressure data of each pressure data.

3. The water supply network leakage incident classification early warning method according to claim 1 is characterized in that: The method of obtaining the abnormal coefficient of each historical pressure data of each pressure data includes: Obtain the historical flow data of each flow data; obtain the relationship between each historical pressure data of each pressure data and its corresponding historical flow data; ; In the formula, represents the anomaly coefficient of the mth historical pressure data of the ith pressure data; represents the value of the mth historical pressure data of the ith pressure data; Represents the maximum value of all historical pressure data of the i-th pressure data; Represents the preset hyperparameters; Represents the relationship between the mth historical pressure data of the ith pressure data and its corresponding historical flow data; Represents the mean of the connectivity between all historical pressure data of the ith pressure data and its corresponding historical flow data; || represents the absolute value symbol.

4. The water supply network leakage incident classification early warning method according to claim 3 is characterized in that: The obtaining of historical flow data of each flow data includes: All traffic data are sorted in ascending order according to the sampling time as a traffic data sequence, and N traffic data before each traffic data are obtained in the traffic data sequence as historical traffic data of each traffic data.

5. The water supply network leakage incident graded early warning method according to claim 3 or 4, characterized in that: The acquisition of the relationship between each historical pressure data and its corresponding historical flow data includes: The mth historical flow data of the i-th flow data is recorded as the corresponding historical flow data of the mth historical pressure data of the i-th pressure data; the absolute value of the difference between the percentile of the mth historical pressure data of the i-th pressure data among all the historical pressure data of the i-th pressure data and the percentile of the mth historical flow data of the i-th flow data among all the historical flow data of the i-th flow data is taken as the connection between the mth historical pressure data of the i-th pressure data and its corresponding historical flow data.

6. The water supply network leakage incident graded early warning method according to claim 1 is characterized in that: The step of obtaining the optimized target value of each pressure data includes: ; In the formula, represents the optimization target value of the i-th pressure data; N represents the number of historical pressure data of the i-th pressure data; The data value of the mth historical pressure data representing the i-th pressure data; Represents the importance of the mth historical pressure data to the i-th pressure data.

7. The water supply network leakage incident graded early warning method according to claim 1 is characterized in that: The step of obtaining abnormal pressure data based on the optimization target value of each pressure data includes: According to the optimization target value of each pressure data, the existing calculation method for the CUSUM value in the CUSUM algorithm is used to obtain the normalized CUSUM value of each pressure data. If the normalized CUSUM value of any pressure data is greater than the threshold T1, the pressure data is abnormal pressure data.

8. The water supply network leakage incident graded early warning method according to claim 5 is characterized in that: The collecting of pressure data and flow data includes: The pressure sensor and flow meter are installed in the water supply network. The sampling time is 1 second, and the sampling time is 30 minutes. The pressure data of the pressure sensor and the flow data of the flow meter are collected each time.

9. A graded early warning device for water supply network leakage events, 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, the water supply network leakage event graded early warning method according to any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by the processor, the method for graded early warning of water supply network leakage events according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Ultraviolet spectrum water quality abnormality detection method based on multi-scale sliding window principal component analysis

    CN108801950A

  • Oil pipeline leakage monitoring method based on pressure monitoring time series data

    CN111639711A

  • Pipe network detection data exception judgment method and system

    CN112597263A

  • Heat distribution pipeline leakage detection method, device and equipment and storage medium

    CN116928608A

  • Multi-water plant water supply system pressure optimization control method based on big data learning

    CN117469603A