A method and system for early warning of water leakage at night based on denoising

By denoising and processing nighttime water volume data and performing various abnormal inspections, the problem of low accuracy of leakage detection in the existing technology is solved, more accurate leakage detection and early warning are achieved, and water waste and pipe network maintenance are reduced. cost.

CN118606876BActive Publication Date: 2024-10-29NINGBO DONGHAI GRP CORP +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411084601.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-29
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

The existing leakage detection method based on DMA partitions does not consider the impact of removing legal nighttime water use when calculating the minimum flow rate at night, and lacks comprehensive analysis of different types of anomalies, resulting in low accuracy in leakage judgment.

Method used

By collecting pipe network geographic information system data, establishing DMA partitions, obtaining user data and traffic data, calculating the minimum nighttime traffic after denoising, and performing abnormal checks for over-limits, year-on-year mutations, and continuous rises, and comprehensively judging abnormal values ​​to determine whether they exist Pipe network leakage.

Benefits of technology

It improves the accuracy of leakage detection, reduces the possibility of false positives and false negatives, enables real-time monitoring and timely warning, optimizes resource allocation and emergency response, and significantly reduces water waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118606876B_ABST
    Figure CN118606876B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of water supply network leakage detection, and discloses a leakage warning method and system based on denoised nighttime water volume, including collecting network geographic information system data, establishing DMA partitions; obtaining user data in each DMA partition, establishing a partition fee table; obtaining instantaneous flow data and cumulative flow data of each DMA partition, forming an hourly water volume sequence of the partition; calculating the minimum flow of the DMA partition at night and performing denoising processing; setting the abnormal alarm parameters of the minimum flow of the DMA partition at night; performing over-limit abnormality checks, year-on-year mutation abnormality checks and continuous rise abnormality checks on each DMA partition, calculating a comprehensive judgment abnormal value to judge whether there is leakage in the pipe network; based on the comprehensive judgment abnormal value, setting a leakage classification warning threshold and performing leakage classification warning and disposal. The present invention effectively improves the accuracy and early warning capability of leakage detection by accurately calculating the denoised nighttime water volume data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of water supply network leakage detection, and more specifically, to a leakage warning method and system based on denoised nighttime water volume. Background Art

[0002] Water supply network leakage is a common problem in urban water supply systems. Leakage not only causes water waste, but also affects the quality of water supply services. Therefore, timely and accurate detection of pipe network leakage is of great significance for reducing water supply costs and improving water supply service quality.

[0003] In recent years, with the development of smart water services, leakage detection methods based on DMA (District Metering Area) partitions have been widely used. Patent CN109388904B discloses a method and system for calculating leakage based on DMA partition flow. By installing a flow meter at the inflow point of the DMA partition to collect data, and calculating the leakage after normality determination of the flow data, the accuracy and calculation efficiency of the leakage calculation results are improved. Patent CN112116188A discloses a leakage warning method for big data analysis of a comprehensive leakage index. Based on the water meter remote transmission technology, daily water consumption and the minimum flow data of the day are obtained. By comprehensively evaluating the daily weekly increment, daily weekly increase, minimum flow weekly increment, minimum flow weekly increase and other indicators, a unified and continuous leakage assessment is achieved for different meters, different buildings, different DMAs, and different regions, greatly advancing the leakage warning time.

[0004] However, the existing leakage detection method based on DMA partitioning does not consider the impact of removing legal nighttime water use when calculating the minimum flow at night, and lacks a comprehensive analysis of different types of anomalies, resulting in low accuracy in leakage judgment. Summary of the invention

[0005] In order to overcome the above-mentioned defects of the prior art, the present invention provides a leakage warning method and system based on the nighttime water volume after denoising.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] A leakage warning method based on nighttime water volume after denoising, comprising:

[0008] Collect the network GIS data and establish DMA zones;

[0009] Obtain user data in each DMA partition and establish a partition fee table;

[0010] Obtain the instantaneous flow data and cumulative flow data of each DMA partition, aggregate the instantaneous flow data into the hourly water volume of the DMA partition, and form the hourly water volume sequence of the partition; calculate the minimum nighttime flow of the DMA partition based on the hourly water volume sequence, and calculate the minimum nighttime flow of the DMA partition after denoising;

[0011] Set the abnormal alarm parameters for the minimum flow rate at night in the DMA partition;

[0012] According to the denoised minimum nighttime flow and abnormal alarm parameters of the DMA partition, the DMA partition is respectively checked for over-limit abnormality, year-on-year sudden change abnormality and continuous increase abnormality. According to the over-limit abnormality inspection results, year-on-year sudden change abnormality inspection results and continuous increase abnormality inspection results, the comprehensive judgment abnormal value is calculated, and based on the comprehensive judgment abnormal value, it is judged whether there is leakage in the pipeline network;

[0013] Based on the comprehensive judgment of abnormal values, the leakage classification warning threshold is set, and the leakage classification warning and disposal are carried out according to the comprehensive judgment of abnormal values ​​and the leakage classification warning threshold.

[0014] Further, the pipeline network GIS data includes pipeline layout and valve locations;

[0015] The establishment of DMA partitions includes:

[0016] The pipe network topology is obtained through pipe layout. Based on the pipe network topology, the main pipes with a diameter greater than or equal to DN300 are used as preliminary partition boundaries.

[0017] Check whether there are any missing valves at the preliminary partition boundary. If so, add new valves. If not, check whether the valves at the preliminary partition boundary can be opened and closed normally. If not, repair or replace them to determine the final partition boundary.

[0018] Further, the user data includes a user table number and a user address;

[0019] The establishment of a zoned fee schedule includes:

[0020] Match the user address with the DMA partition boundary to identify the partition to which each user belongs;

[0021] Associate user meter numbers with actual charging meter numbers, exclude invalid meter numbers, and generate a partitioned charging meter number list;

[0022] Adopting recursive method, iterate each level of DMA partition from top to bottom to establish the partition charging table number tree structure;

[0023] The established partition fee table number tree structure is organized into a standardized list format to form a partition fee table, including a partition path and a user type; the partition path is used to reflect the location of the partition where the fee table is located, and the user type distinguishes between ordinary users, commercial users and industrial users.

[0024] Furthermore, before forming the hourly water volume sequence of the partition, the hourly water volume of the DMA partition is checked with the accumulated flow data;

[0025] The checking of the hourly water volume of the DMA partition by using the accumulated flow data includes: calculating the absolute value of the difference between the hourly water volume and the accumulated flow data , set the difference threshold to and difference threshold 2 ,in ;

[0026] like , then the hourly water volume of polymerization shall prevail and no adjustment is required;

[0027] like , then according to the difference The hourly water volume is adjusted proportionally, and the adjusted hourly water volume is used as the flow rate for that period;

[0028] like , based on the accumulated traffic data, the increment of accumulated traffic is evenly distributed to each hour.

[0029] Further, the calculation of the minimum nighttime flow rate of the DMA partition according to the hourly water volume sequence includes: extracting the water volume data from 0:00 to 4:00 every day from the hourly water volume sequence, and taking the minimum value as the minimum nighttime flow rate of the DMA partition on that day;

[0030] The method for calculating the denoised DMA partition nighttime minimum flow is as follows: query the table number of the major nighttime water users in the partition from the partition fee table, collect the water consumption of the major nighttime water users from 0:00 to 4:00, superimpose the water consumption of the major nighttime users from 0:00 to 4:00, calculate the legal nighttime water consumption of the partition, subtract the legal nighttime water consumption from the DMA partition nighttime minimum flow, and obtain the denoised DMA partition nighttime minimum flow.

[0031] Furthermore, the setting of the DMA partition nighttime minimum flow abnormal alarm parameters includes:

[0032] Determine the over-limit abnormal alarm parameters, the over-limit abnormal alarm parameters include the over-limit threshold T and the over-limit duration threshold ;

[0033] Set year-on-year mutation abnormal alarm parameters, which include year-on-year change rate threshold and mutation duration threshold ; Set the continuous rising abnormal alarm parameters, the rising abnormal alarm parameters include the continuous rising days threshold D and the rising rate threshold ; The method for determining the over-limit threshold in the over-limit abnormal alarm parameter includes:

[0034]

[0035] in, is the exceeding threshold value, is the DMA partition area, is the length of the DMA partition network, The number of DMA partition users. is the pipe network condition factor, To meet the water supply reliability requirements, is the scale factor, is the area index, is the tube length index, is the user quantity index, is the comprehensive adjustment coefficient.

[0036] Further, the over-limit abnormality check on the DMA partition includes:

[0037] Read the latest DMA nighttime minimum flow data Q after denoising, and determine whether the nighttime minimum flow Q after denoising exceeds the over-limit threshold T. If it exceeds the over-limit threshold T, and the over-limit duration Greater than the set over-limit duration threshold , it is judged as an over-limit abnormality;

[0038] If an over-limit abnormality occurs, determine whether the over-limit abnormality alarm has been triggered. If the over-limit abnormality alarm has been triggered, update the over-limit duration in the latest over-limit abnormality alarm status and continue the alarm; if the over-limit abnormality alarm has not been triggered, add a new over-limit abnormality alarm and record the start time of the over-limit abnormality;

[0039] If no over-limit abnormality occurs, determine whether the over-limit abnormality alarm has been triggered. If the over-limit abnormality alarm has been triggered, end the current over-limit abnormality alarm, store the current over-limit abnormality alarm in the historical alarm record, and read the next denoised DMA night minimum flow data to continue the over-limit abnormality check; if the over-limit abnormality alarm is not triggered, read the next denoised DMA night minimum flow data to continue the over-limit abnormality check.

[0040] Furthermore, the performing year-on-year mutation abnormality check on the DMA partition includes:

[0041] Read the latest denoised DMA nighttime minimum flow data, compare it with the previous day’s nighttime minimum flow, and calculate the year-on-year change rate , if the year-on-year change rate Exceeding the set year-on-year change rate threshold , and the duration of the mutation Greater than the set mutation duration threshold , it is judged as abnormal year-on-year mutation;

[0042] If a year-on-year mutation abnormality occurs, determine whether the year-on-year mutation abnormality alarm has been triggered. If the year-on-year mutation abnormality alarm has been triggered, update the year-on-year mutation duration in the latest year-on-year mutation abnormality alarm status and continue to alarm. If the year-on-year mutation abnormality alarm has not been triggered, add a year-on-year mutation abnormality alarm and record the start time of the year-on-year mutation abnormality.

[0043] If no year-on-year mutation abnormality occurs, determine whether the year-on-year mutation abnormality alarm has been triggered. If the year-on-year mutation abnormality alarm has been triggered, end the current year-on-year mutation abnormality alarm, store the current year-on-year mutation abnormality alarm in the historical alarm record, read the next denoised DMA night minimum flow data, and continue the year-on-year mutation abnormality check; if the year-on-year mutation abnormality alarm is not triggered, read the next denoised DMA night minimum flow data, and continue the year-on-year mutation abnormality check.

[0044] Further, the continuous rising abnormality check on the DMA partition includes:

[0045] Read the latest DMA nighttime minimum flow data after denoising to determine whether the nighttime minimum flow after denoising of the DMA partition has increased continuously. If so, how many days has it increased continuously? The number of consecutive rising days is greater than the set threshold D, and the average rising rate Greater than the set rise rate threshold , it is judged as a continuous rising abnormality;

[0046] If a continuous rising abnormality occurs, determine whether the continuous rising abnormality alarm has been triggered. If the continuous rising abnormality alarm has been triggered, update the continuous rising days in the latest continuous rising abnormality alarm status and continue to alarm. If the continuous rising abnormality alarm has not been triggered, add a continuous rising abnormality alarm and record the start time of the continuous rising abnormality.

[0047] If no continuous rising abnormality occurs, determine whether the continuous rising abnormality alarm has been triggered. If the continuous rising abnormality alarm has been triggered, end the current continuous rising abnormality alarm, store the current continuous rising abnormality alarm in the historical alarm record, read the next denoised DMA night minimum flow data, and continue the continuous rising abnormality check; if the continuous rising abnormality alarm is not triggered, read the next denoised DMA night minimum flow data, and continue the continuous rising abnormality check.

[0048] Further, the calculation of the comprehensive abnormal value according to the abnormal inspection results of over-limit, the abnormal inspection results of year-on-year sudden change and the continuous increase is to calculate the comprehensive abnormal value according to the duration of over-limit, the duration of sudden change and the number of continuous increase days;

[0049] The formula for calculating the comprehensive abnormal value based on the duration of exceeding the limit, the duration of mutation and the number of consecutive rising days is: ;

[0050] When comprehensively judging abnormal values , it is determined that the DMA partition is in a leakage state.

[0051] Further, the leakage classification warning threshold is set based on the comprehensive judgment abnormal value, and the leakage classification warning and disposal are performed according to the comprehensive judgment abnormal value and the leakage classification warning threshold, including:

[0052] Set critical leakage warning thresholds and emergency leakage warning threshold ,in ;

[0053] when When , it is a general leakage warning;

[0054] when When the alarm is on, it is an important leakage warning;

[0055] when When the alarm is on, it is an emergency leakage warning;

[0056] Acquire comprehensive abnormal values ​​in real time, determine the leakage warning level, generate leakage warning information and send it to relevant personnel; take different warning measures according to the leakage warning level.

[0057] A leakage warning system based on nighttime water volume after denoising, which is used to implement the above-mentioned leakage warning method based on nighttime water volume after denoising, the system comprises:

[0058] DMA partition establishment module: used to collect pipe network geographic information system data and establish DMA partitions;

[0059] Charge table establishment module: used to obtain user data in each DMA partition and establish a partition charge table;

[0060] Data processing module: used to obtain the instantaneous flow data and cumulative flow data of each DMA partition, aggregate the instantaneous flow data into the hourly water volume of the DMA partition, and form the hourly water volume sequence of the partition; calculate the minimum nighttime flow of the DMA partition according to the hourly water volume sequence, and calculate the minimum nighttime flow of the DMA partition after denoising;

[0061] Abnormal check module: used to set the abnormal alarm parameters of the minimum nighttime flow of the DMA partition. According to the denoised minimum nighttime flow and abnormal alarm parameters of the DMA partition, the DMA partition is respectively checked for over-limit abnormality, year-on-year sudden change abnormality, and continuous increase abnormality.

[0062] Pipeline network leakage detection module: used to calculate the comprehensive judgment abnormal value according to the over-limit abnormal inspection results, year-on-year sudden change abnormal inspection results and continuous increase abnormal inspection results, and judge whether there is a pipeline network leakage based on the comprehensive judgment abnormal value;

[0063] Leakage classification warning module: used to set leakage classification warning thresholds based on comprehensive judgment of abnormal values, and to perform leakage classification warnings and disposal according to comprehensive judgment of abnormal values ​​and leakage classification warning thresholds.

[0064] An electronic device includes a memory, a central processing unit, and a computer program stored in the memory and executable on the central processing unit. When the central processing unit executes the computer program, the above-mentioned nighttime water leakage warning method based on denoising is implemented.

[0065] A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed, the above-mentioned method for early warning of water leakage at night based on denoised water volume is implemented.

[0066] Compared with the prior art, the present invention has the following beneficial effects:

[0067] The present invention uses denoising technology to process nighttime water volume data, effectively filtering out external interference factors, such as sudden water use incidents and noise pollution at night, so as to more accurately reflect the actual leakage situation of the pipe network; the denoised data reduces the possibility of false alarms, making leakage detection more accurate.

[0068] The method of the present invention can monitor and analyze the minimum nighttime flow of DMA partitions in real time, and can quickly identify leakage anomalies by setting multiple abnormal alarm parameters such as over-limit, year-on-year mutation and continuous increase; real-time processing and timely warning enable relevant maintenance personnel to take measures quickly to reduce the amount and time of leakage.

[0069] The present invention sets leakage graded warning thresholds according to comprehensive judgment of abnormal values, and can distinguish three warning levels of general leakage, important leakage and emergency leakage; the graded warning mechanism enables leakage problems of different severity to receive corresponding attention and processing, thereby optimizing resource allocation and emergency response.

[0070] By establishing detailed DMA zones and zone fee tables, managers can understand the water use and user types of each zone in detail; the tree structure and standardized list format of the zone fee table make data management and query more convenient, which is conducive to refined management and decision support. Effective leakage detection and early warning can significantly reduce the waste of water resources in the pipe network. By timely discovering and repairing leakage points, the ineffective loss of water resources is reduced, and the overall efficiency and sustainability of the water supply system are improved.

[0071] The method and system of the present invention ensure the stability and reliability of the detection results through a variety of abnormality detection means and a comprehensive judgment mechanism; in particular, through over-limit abnormality detection, year-on-year mutation abnormality detection and continuous increase abnormality detection, it can comprehensively cover possible leakage situations and reduce the probability of missed reports and false alarms.

[0072] Timely and effective leakage detection and early warning reduce water resource losses and pipeline maintenance costs caused by leakage; through accurate anomaly detection, unnecessary manual inspections and repairs are reduced, improving the economic benefits of operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0074] Figure 1 It is a flow chart of a method for early warning of water leakage at night based on denoising in the present invention;

[0075] Figure 2 A flow chart of a method for establishing DMA partitions in a leakage warning method based on nighttime water volume after denoising according to the present invention;

[0076] Figure 3 A flow chart of a method for establishing a zone fee table in a leakage warning method based on nighttime water volume after denoising according to the present invention;

[0077] Figure 4 It is a method flow chart of over-limit abnormality inspection in a leakage warning method based on nighttime water volume after denoising of the present invention;

[0078] Figure 5 It is a flow chart of a method for checking year-on-year mutation abnormality in a leakage warning method based on nighttime water volume after denoising according to the present invention;

[0079] Figure 6It is a flow chart of a method for checking for continuous rising anomalies in a leakage warning method based on nighttime water volume after denoising according to the present invention;

[0080] Figure 7 This is a functional module diagram of a nighttime water leakage warning system based on denoising in the present invention. DETAILED DESCRIPTION

[0081] 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 only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example

[0082] See also Figure 1 As shown, this embodiment provides a leakage warning method based on nighttime water volume after denoising, including:

[0083] Step S1000, collecting pipe network geographic information system data and establishing DMA partitions;

[0084] Furthermore, if Figure 2 As shown, step S1000 includes:

[0085] Step S1100, collecting pipe network GIS data, wherein the pipe network GIS data includes pipe layout and valve positions, and obtaining a pipe network topology structure through the pipe layout;

[0086] Step S1200, based on the pipe network topology, taking the main pipes greater than or equal to DN300 as the preliminary partition boundaries;

[0087] Step S1300, checking the valve status of the preliminary partition boundary and determining the final partition boundary;

[0088] Check whether there are any missing valves at the preliminary partition boundary. If so, add new valves. If not, check whether the valves at the preliminary partition boundary can be opened and closed normally. If not, repair or replace them.

[0089] Step S1400, a flow meter is set at the entrance of the DMA partition, a DMA partition map is drawn, and key partition information including the partition number, boundary pipeline, valve position and flow meter position is marked;

[0090] Specifically, DMA, or zone metering management, divides the entire water supply network into several independent small areas, each of which is called a DMA zone. Collecting network geographic information system (GIS) data is the basis for dividing DMA zones. GIS data includes pipeline layout, pipe diameter, material, valve position, etc. The pipeline layout information can understand the connectivity and topological structure of the network. The pipe diameter and material information can estimate the hydraulic characteristics of the pipeline. The valve position information can determine the zone boundary and achieve zone isolation. By comprehensively collecting network GIS data, a data foundation can be laid for the scientific and reasonable division of DMA zones. Accurate network GIS data can improve the accuracy of DMA zone division and reduce the workload of later adjustments. Relying on the GIS data of the pipe network, taking into account the actual situation of the pipe network topology, water supply scope, user distribution, etc., the DMA zoning boundaries are preliminarily planned. Generally, the main pipes above DN300 are used as the zoning boundaries, while taking into account the parameters such as the water consumption, pipe length, and area of ​​the zoning, so that the scale of each zoning is equivalent, and the zoning boundaries should avoid important users to reduce the impact of water outages; DN300 means a pipe with a nominal diameter of 300 mm; "DN300 and above" means a pipe with a diameter greater than or equal to 300 mm, including DN300, DN400, DN500 and other pipes with a larger diameter than DN300. When preliminarily planning the DMA zoning boundaries, the main pipes with larger diameters in the pipe network are usually selected as the zoning boundaries, and the pipes of DN300 and above are generally the backbone pipes of the pipe network, with large water consumption, so they are suitable as zoning boundaries. Reasonable planning of zoning boundaries can reduce resistance and investment in subsequent implementation; scientific demarcation of zoning boundaries is the key to ensuring the independent operation and easy management of DMA zoning. Due to the difference between GIS data and reality, it is necessary to verify the status of the zone boundary valve on site. For the initially planned zone boundary, check whether the boundary valve can be opened and closed normally, whether there are problems such as private connection, if the boundary valve is missing or faulty, repair or add valves as appropriate. On-site verification can verify the feasibility of the zone boundary, find potential problems and solve them in time, finally determine the zone boundary, and clear obstacles for zone construction. The boundary valve is the key facility to achieve zone isolation, and reliable boundary valves are the basis for the smooth operation of DMA zones. Flow meters are set at the entrance of DMA zones to monitor the water flow of the zone in real time. By analyzing the flow change law, water supply abnormalities in the zone, such as pipe network leakage and pipe burst, can be found in time, so as to achieve refined management at the zone level and improve the operation efficiency of the pipe network; draw DMA zone maps in the GIS system to intuitively display the spatial scope of each zone, mark the zone boundary, valve position, flow meter position and other key elements in the zone map, and clarify the zone inlet and outlet. The zone map is an important basis for the construction, operation and management of the zone, and is the basis for visual display of the zone status. The zone map with clear markings and complete information can improve the efficiency of zone management and facilitate rapid response to emergencies.DMA zones are the basic units for pipe network leakage control, pressure management, water quality monitoring and other tasks; scientific and reasonable division of DMA zones is the prerequisite for realizing zone metering management.

[0091] For example, the total length of the water supply network in the central urban area of ​​a certain city is 500 kilometers, with 100,000 users. In order to implement DMA management, the GIS data of the pipeline network in the entire central urban area is first collected, including pipeline layout diagrams, pipe diameter material attribute tables, valve coordinate tables, etc., and converted into a standard format and imported into the GIS system. In the GIS system, the central urban area is initially divided into 50 DMA zones based on the main pipes above DN300, combined with factors such as user distribution, network connectivity, and road distribution. Each zone has a pipe length of 5-15 kilometers and 1,000-3,000 users. Then, personnel are organized to check the status of valves at the boundary of the zone on site, replace damaged valves, and add missing valves to ensure that the zone has independent operation conditions. During the on-site inspection, it was found that there were interconnected pipelines between individual zones, which required valves to be installed to isolate them; the valves at the boundary of individual zones were buried too deep and needed to be excavated for maintenance. Through on-site inspection, 47 DMA zones were finally determined, with an average pipe length of 8 kilometers per zone and 1,800 users. Finally, a DMA zoning map was drawn in the GIS system, with the zoning number, boundary pipeline, boundary valve, flow meter location and other information marked on the map, and the zoning map was published and shared. By scientifically planning DMA zoning and clarifying zoning boundaries and key facilities, the leakage rate of the water supply network in the central urban area has dropped from 18% to 12%, the network accident response time has been shortened from 2 hours to 0.5 hours, and the level of refined management of the network has been significantly improved.

[0092] Step S2000, obtaining user data in each DMA partition and establishing a partition charging table;

[0093] Furthermore, if Figure 3 As shown, step S2000 includes:

[0094] Step S2100, obtaining user data in each DMA partition, wherein the user data includes a user table number and a user address; matching the user address with the DMA partition boundary to identify the partition to which each user belongs;

[0095] Step S2200, associating the user table number with the actual charging table number, excluding the invalid table number, and generating a partition charging table number list;

[0096] Step S2300, recursively iterate the DMA partitions at all levels from top to bottom to establish a partition charging table number tree structure;

[0097] Step S2400, arranging the established partition charging table number tree structure into a standardized list format to form a partition charging table, including a partition path and a user type; the partition path is used to reflect the location of the partition where the charging table is located, and the user type distinguishes between ordinary users, commercial users and industrial users;

[0098] Specifically, the leakage control of DMA partitions requires accurate measurement of the water supply and consumption in the partition, and the difference between the two is the leakage. The partition consumption is obtained by summing up the readings of each user's water meter. In order to accurately count the partition consumption, it is necessary to establish a list of fee tables in the partition and clarify the partition to which each water meter belongs. Since the actual water meter information is scattered in multiple business systems such as the user information system and the charging system, it is necessary to first extract the meter number data of each system, and generate a unified list of fee table numbers after correlation and verification. The user information system records the data of all users, including user number, meter number, address, contact information, etc. In order to establish a partition fee table list, it is necessary to first extract the user data in each partition from the user information system, especially the meter number and address information. The meter number is the only key attribute to identify the user. The address information can be overlaid with the GIS system for analysis to determine the partition to which the user belongs. Extracting user information is the first step in refining the partition users. Through spatial overlay analysis, matching the user address with the DMA partition boundary and identifying the partition to which each user belongs is the basis for refined management. The user meter numbers in the user information system are not completely consistent with the actual charging system. There are some invalid or pending meter numbers. It is necessary to associate the user meter numbers with the valid meter numbers in the charging system, remove the invalid or pending meter numbers, and generate a partition charging meter number list. The charging meter number list reflects the actual water meters in the partition, which is the basis for calculating the water volume charged in the partition and the basis for subsequent analysis of water use anomalies. Ensuring the authenticity and validity of the partition charging meter numbers through data cleaning and verification is an important part of refined management.

[0099] DMA partitions have a parent-child inclusion relationship, and the toll table number of the child partition also belongs to the parent partition. In order to comprehensively count the toll table numbers in the partition, a recursive algorithm is used to traverse the partition from top to bottom to establish a tree model of the toll table number. The tree model starts from the first-level partition and recursively iterates downward to the last-level partition to find the toll table numbers in each level of partition, forming a corresponding relationship between the partition path and the table number; the tree structure intuitively reflects the hierarchical relationship of the partition and the distribution of the toll table, which is convenient for rapid retrieval and positioning; recursive tree construction can automatically traverse the child partition downward to improve the statistical efficiency of the partition toll table; the partition toll table tree structure organizes scattered toll table data in a structured way, and is the data basis for realizing refined management of partitions. The established tree structure of the partition fee table number is organized into a standardized list format, mainly including table number, partition path, user type, address and other information, to provide data support for subsequent partition night minimum flow calculation, fee anomaly analysis, etc. The partition path reflects the location of the partition where the fee table is located, such as "first-level partition / second-level partition / third-level partition"; user type distinguishes between ordinary users, commercial users, industrial users, etc., and address information is used for precise positioning; standardized partition fee table list can ensure unified data interface, which is convenient for system integration and shared application; the partition fee table list is the basic data for DMA refined management, which directly affects the accuracy of partition leakage calculation; to facilitate query and retrieval, the list data can be stored in a relational database, and a reasonable table structure and index can be designed to improve data access efficiency; a high-quality partition fee table list can ensure accurate calculation of partition leakage and timely analysis of abnormal water use, thereby improving the pertinence and effectiveness of leakage control.

[0100] For example, a DMA partition is divided into three levels according to the pipe network layout, with a total of 24 terminal partitions. In order to count the water volume charged in each partition, the user meter number, user address and other information of all users are first extracted from the user information system to obtain 200,000 user meter numbers; then the meter numbers that have been invalidated are removed to obtain 180,000 valid meter numbers; then a recursive algorithm is used to establish a partition table number tree model, with the root node being the first-level partition, and three rounds of iterations are used to search downward until the meter number contained in each terminal partition is found, which takes a total of 15 minutes; the tree model nodes include attributes such as partition number, partition name, parent partition, child partition, and number of meter numbers. Finally, the tree model is converted into a relational table, and each record includes fields such as table number, table position, partition path, and user type, which are stored in the Mysql database; based on this, a list of partition meter numbers is obtained, and it is found that the nighttime water consumption of individual commercial users is abnormally large. Through on-site inspection, it is found that there is a phenomenon of private pipe connection; using the partition meter list for refined analysis, illegal water use can be quickly identified and the partition leakage rate can be effectively reduced.

[0101] Step S3000, obtaining instantaneous flow data and cumulative flow data of each DMA partition, aggregating the instantaneous flow data into hourly water volume of the DMA partition, forming an hourly water volume sequence of the partition; calculating the minimum nighttime flow of the DMA partition according to the hourly water volume sequence, and calculating the minimum nighttime flow of the DMA partition after denoising;

[0102] Furthermore, step S3000 includes:

[0103] Step S3100, obtaining instantaneous flow data and cumulative flow data of each DMA partition, aggregating the instantaneous flow data into the DMA partition hourly water volume, and checking the DMA partition hourly water volume with the cumulative flow data to form a partition hourly water volume sequence;

[0104] The method for checking the hourly water volume of DMA partitions using the accumulated flow data comprises:

[0105] Calculate the absolute value of the difference between hourly water volume and cumulative flow data , set the difference threshold to and difference threshold 2 ,in ;

[0106] like , then the hourly water volume of polymerization shall prevail and no adjustment is required;

[0107] like , then according to the difference The hourly water volume is adjusted proportionally, and the adjusted hourly water volume is used as the flow rate for that period;

[0108] like , based on the accumulated traffic data, evenly distribute the increment of accumulated traffic to each hour;

[0109] Specifically, a flow meter is installed at the entrance of the DMA partition, and the instantaneous flow data and cumulative flow data of each DMA partition every 15 minutes or every 1 hour are obtained from the flow meter. The instantaneous flow reflects the current water flow size, and the cumulative flow reflects the total water consumption in a period of time; the collection of instantaneous flow data and cumulative flow data is the basis for calculating the hourly water volume of the partition, and the accuracy of the data directly affects the calculation results. Affected by factors such as equipment failure and communication interruption, the data collected by the flow meter may have abnormal values, such as zero value, negative value, and over-range value; abnormal values ​​need to be identified and processed. Generally, zero value and negative value are regarded as invalid data and deleted, and over-range value is regarded as equipment failure, which can be supplemented by interpolation method; data outlier processing can improve the quality of calculated data and reduce outlier interference. Aggregate the collected 15-minute or 1-hour instantaneous flow data, calculate the total water volume per hour, and obtain the hourly water volume data of the partition. At the same time, the hourly water volume data can also be used for other analyses, such as peak period analysis, holiday water consumption analysis, etc., and has a wide range of uses.

[0110] Hourly water volume data is obtained by aggregation based on instantaneous flow, and data errors may accumulate over time. To ensure data reliability, it is necessary to introduce cumulative flow data for verification. The specific method is to calculate the sum of hourly water volume within a period (such as 1 day) and compare it with the cumulative water volume during the same period. The two should be equal in theory; set difference threshold 1 and difference threshold 2. When the absolute value of the difference between hourly water volume and cumulative flow data is less than or equal to difference threshold 1, it is considered that the two are close, and the aggregated hourly water volume is used as the standard without adjustment; this is because when the difference is small, it can be considered that the aggregation of hourly water volume data is accurate and basically consistent with the actual cumulative value, and no adjustment is required. Doing so can make full use of the original instantaneous flow data and maintain the authenticity and granularity of the data. When the absolute value of the difference between the hourly water volume and the cumulative flow data is greater than the difference threshold 1, but less than or equal to the difference threshold 2, it is considered that there is a certain deviation between the two, and the hourly water volume needs to be adjusted proportionally according to the difference, and the adjusted hourly water volume is used as the flow of the period; this is because when the difference is in the medium range, the hourly water volume data may have some deviations or errors, and it needs to be corrected with reference to the cumulative flow data; but since the difference is not too large, the proportional adjustment method can be used to maintain the change trend of the hourly water volume data and make it closer to the cumulative value; this can improve the overall accuracy while retaining the hourly granularity data. When the absolute value of the difference between the hourly water volume and the cumulative flow data is greater than the difference threshold 2, it is considered that the hourly water volume data may have a large error, and the cumulative flow data is used as the basis, and the increment of the cumulative flow is evenly distributed to each hour to form a new hourly water volume sequence; this is because when the difference is large, the credibility of the hourly water volume data is reduced, and there may be more abnormal values ​​or missing data; at this time, the hourly water volume is redistributed based on the cumulative flow data to ensure that the total amount is consistent with the actual cumulative value; although this will weaken the change characteristics of the hourly granularity data, it can avoid distortion caused by large errors. In this case, accuracy takes precedence over granularity.

[0111] Difference threshold 1 and difference threshold 2 can be set according to factors such as the accuracy of pipe network metering equipment and the error distribution of historical data. In general, difference threshold 1 can be set to 1% to 5%, and difference threshold 2 can be set to 5% to 10%. The specific values ​​can be optimized through statistical analysis and repeated tests. By setting three intervals and adopting different adjustment strategies, the authenticity and granularity of hourly water volume data can be maintained as much as possible while ensuring the accuracy of the total amount, thereby improving the overall data quality. When the difference is small, the original hourly data is used as the standard, and the information of instantaneous flow is fully utilized; when the difference is moderate, the hourly data is corrected with reference to the cumulative flow data, taking into account both accuracy and granularity; when the difference is large, the cumulative data is used as the basis for redistribution to ensure that the total amount is correct. Through this interval-by-interval and strategy-by-strategy adjustment method, the accuracy, continuity and integrity of hourly water volume data can be balanced to the maximum extent, providing high-quality data support for subsequent water use analysis, leakage warning and other applications. At the same time, it also reduces the workload of manual identification and correction, and improves the automation level and efficiency of data processing.

[0112] For example, the 67 DMA zones in City B are all equipped with electromagnetic flowmeters with digital communication functions. The instantaneous flow is transmitted back through the GPRS network every 15 minutes, and the cumulative flow is transmitted back at 0:00 every day. After receiving the raw data from the flowmeter, the monitoring center first uses the threshold method to identify the data, and marks the data less than 0 or greater than the design flow as an abnormal value. Then, the abnormal value missing rate in each period is counted. When the missing rate is less than 20%, the linear interpolation method is used to complete the data. When the missing rate is greater than 20%, the data is considered invalid and not used. After the data is repaired, the 15-minute instantaneous flow data is summarized into hourly water volume data with "zone number + timestamp" as the unique identifier. For each zone, the hourly water volume data from 0 to 24 o'clock is accumulated item by item, the total water volume of the day is calculated, and compared with the cumulative water volume of the day uploaded by the flowmeter. If the difference between the two is 5%, it is considered that the hourly water volume data has a certain deviation compared with the cumulative number, and it is adjusted proportionally. After the data verification is completed, the hourly water volume data of each zone is stored in the database for the night minimum flow calculation module to call. Through the above strict data collection, cleaning, aggregation and verification process, high-quality hourly water volume data of different zones can be obtained, laying a data foundation for DMA leakage analysis. According to trial calculations, the error rate of hourly water volume data processed by this process is reduced from 20% to less than 5% compared with manual meter reading data, and the data confidence is greatly improved.

[0113] Step S3200, extracting the water volume data from 0:00 to 4:00 every day from the hourly water volume sequence, and taking the minimum value as the minimum nighttime flow of the DMA partition on that day;

[0114] Specifically, the minimum nighttime flow rate in a DMA zone is a key indicator that reflects the level of leakage in the pipe network. Ideally, the minimum nighttime flow rate should be close to zero, because there is little legal water use in the late night period. The larger the minimum nighttime flow rate, the higher the level of zone leakage. According to the definition of the International Water Association (IWA), the minimum nighttime flow rate refers to the average flow rate from 1:00 to 4:00 in the middle of the night. 1:00 to 4:00 is selected as the calculation period because this period avoids both the peak of nighttime water use from 23:00 to 1:00 and the gradually increasing morning water use after 4:00. In view of the actual situation in Chinese cities, in order to further reduce the impact of domestic water use, the calculation period of the minimum nighttime flow rate is often advanced to 0:00 to 4:00. The minimum flow at night generally occurs in the time period from 0:00 to 4:00. The water demand is low and the pipe network is in a relatively stable low flow state. To calculate the minimum flow at night, it is necessary to extract the water consumption data of 0:00, 1:00, 2:00, 3:00 and 4:00 every day from the partition hourly water volume sequence. Extracting the night time period data can avoid the fluctuation interference during the peak period during the day and improve the calculation accuracy; the minimum flow at night is a relative value. The minimum value of the hourly water volume from 0:00 to 4:00 is used as the minimum flow at night on that day. By taking the minimum value during the night period (0:00 to 4:00), the interference caused by water fluctuations in a short period of time can be effectively removed, making the measurement value more stable and accurate. Nighttime is usually the period with the lowest water consumption. The minimum flow at this time can better reflect the basic leakage of the water supply pipe network without being disturbed by the user's water use behavior. Taking the minimum value can minimize the error caused by temporary water use (such as cleaning, irrigation, etc.), thereby improving the accuracy of leakage detection. By taking the minimum value within a time period instead of the average value or other statistics, the data processing process can be simplified and the calculation complexity can be reduced. The minimum flow data is relatively stable and easier to compare with the set threshold, making it easier to perform over-limit anomaly checks, year-on-year mutation anomaly checks, and continuous rise anomaly checks, and accurately determine whether there is leakage.

[0115] Continuously calculating the minimum flow rate at night every day, we can get a time series data, which directly reflects the changing trend of the nighttime water consumption in the sub-district. The minimum flow rate sequence at night is the direct basis for leakage anomaly identification and the core data for DMA leakage control. At the same time, this time series can also be used for the analysis of the nighttime water consumption patterns in the sub-districts and the analysis of nighttime water consumption during holidays, which is of great value for the operation diagnosis of the pipe network. Using the minimum flow rate data at night, we can carry out various analyses, such as quickly estimating the leakage rate of the pipe network and predicting the future leakage development trend, etc., to provide data support for the formulation of leakage control strategies for the pipe network.

[0116] Step S3300, query the table number of the major nighttime water users in the partition from the partition fee table, collect the water consumption of the major nighttime water users from 0:00 to 4:00, add the water consumption of the major nighttime users from 0:00 to 4:00, calculate the legal nighttime water consumption of the partition, subtract the legal nighttime water consumption from the minimum nighttime flow of the DMA partition, and obtain the denoised minimum nighttime flow of the DMA partition;

[0117] Specifically, due to the possible existence of legal nighttime water use such as industrial water use and hotel water use in the DMA partition, the calculated minimum nighttime flow data is too high and cannot truly reflect the leakage level of the pipeline network; in order to accurately assess the leakage status of the pipeline network, it is necessary to deduct these legal nighttime water consumption to obtain the denoised minimum nighttime flow. The first step to deduct legal water use is to identify the major nighttime water users in the partition; in the partition fee table list, query the meter numbers of industrial users, commercial users, etc. that may use water at night by user type. The queried meter numbers are taken as key observation objects and included in the denoising calculation scope. Accurately identifying nighttime water meters is the prerequisite for calculating the denoised minimum nighttime flow. It is necessary for water supply companies to establish a complete user information file and link it with the metering system for easy and quick retrieval. For the identified major nighttime water users, it is necessary to collect their detailed water use data from 0:00 to 4:00. It is difficult for traditional manual meter reading to obtain water use data during the night period. Modern smart water meters and user-side data gateways can solve this problem well; smart water meters can store minute-level water use data, and data gateways can automatically collect and transmit data, greatly reducing the cost of data acquisition. The water consumption of each major nighttime water user from 0:00 to 4:00 is superimposed and summarized to obtain the legal nighttime water consumption of the sub-district; this part of the water consumption is normal production or living water in the sub-district, which should not be included in the leakage and needs to be deducted from the total nighttime water consumption; only the nighttime flow after deducting the legal water consumption can truly reflect the leakage level of the pipeline network; the legal nighttime water consumption is subtracted from the total nighttime minimum flow of the sub-district to obtain the denoised nighttime minimum flow. Compared with the original value, the denoised nighttime minimum flow eliminates the influence of legal nighttime water use and can more truly reflect the leakage status of the pipeline network. It is worth noting that the deduction of legal nighttime water use requires comprehensive and accurate user data as support. Water supply companies should improve user files and realize seamless connection between user information and metering systems; at the same time, the application of smart water meters and data gateways should be increased to create conditions for the fine collection of nighttime water use data; only with adequate data support can the accurate denoising of the minimum flow at night be truly achieved, providing a reliable basis for pipeline network leakage diagnosis.

[0118] For example, there is a bath center and two restaurants and hotels in a DMA area of ​​D City. They may use water at night, which may affect the accuracy of the calculation of the minimum flow at night. To this end, the water supply company queries the customer information system to obtain the water meter numbers of the above three large households, and then installs smart water meters for them to collect water consumption data every 5 minutes and transmit it to the monitoring platform. By analyzing the data from the smart meters, it is found that the bath center does not use water at night after 0:00, and the two restaurants and hotels use water at night. The water consumption from 0:00 to 4:00 is 8m³ and 5m³ respectively; the original minimum flow at night is 50m³ / h, the legal nighttime water consumption is (8+5) / 5=2.6m³ / h, and the denoised nighttime minimum flow rate is 50-2.6=47.4m³ / h. It can be seen that after deducting the legal nighttime water consumption, the partition's nighttime minimum flow rate is reduced by 2.6m³ / h, and the leakage rate assessment result is more real and reliable. The denoised results show that there is still a large amount of leakage in the partition, and there may be background leakage. The water supply company subsequently carried out relevant leak detection work, found and repaired a number of leaks, and after treatment, it was calculated again that the partition's nighttime minimum flow rate has dropped to 25m³ / h, and leakage control has achieved significant results.

[0119] Step S4000, setting the DMA partition nighttime minimum flow abnormal alarm parameters;

[0120] Furthermore, step S4000 includes:

[0121] Step S4100: Determine the over-limit abnormal alarm parameters, which include the over-limit threshold T and the over-limit duration threshold. ;

[0122] The minimum flow at night is a key indicator reflecting the leakage status of the DMA partition. Setting scientific and reasonable abnormal alarm parameters is a prerequisite for timely detection of leakage. The over-limit abnormality means that the minimum flow of the DMA partition at night exceeds the set normal range. A reasonable threshold needs to be set, which is generally determined based on factors such as the partition area, pipeline length, number of users, etc., and can also refer to the historical minimum flow data of the partition. In addition, the over-limit duration needs to be set to avoid false alarms caused by instantaneous fluctuations. The over-limit abnormal alarm is mainly aimed at sudden large flow events, such as pipeline bursts, valve damage, etc. If the over-limit abnormal threshold is properly set, sudden leakage events in the partition can be discovered in time.

[0123] The method for determining the over-limit threshold value in the over-limit abnormal alarm parameter includes:

[0124]

[0125] in:

[0126] : Over-limit threshold, in cubic meters per hour (m³ / h), indicating the upper limit of the minimum flow rate of the DMA partition at night. When the actual minimum flow rate exceeds this value, it is considered that an over-limit abnormality occurs;

[0127] : DMA zone area, in square kilometers (km²). The larger the zone area, the greater the possibility of pipeline leakage, and the threshold should be appropriately increased;

[0128] : DMA zone pipe network length, in kilometers (km). The longer the pipe network length, the higher the probability of leakage, and the threshold should be appropriately increased;

[0129] : The number of users in the DMA partition. The more users there are, the greater the normal water consumption at night. The threshold should be appropriately increased. It can be counted from the user information system or the partition fee table;

[0130] : Pipeline network condition factor, which reflects the degree of aging of the pipeline network. The smaller the value, the older the pipeline network is and the higher the leakage risk is. The threshold should be appropriately lowered and can be determined based on qualitative assessments such as pipe age, material, and leakage history;

[0131] : Water supply reliability requirement, which reflects the requirement for water supply reliability. The larger the value, the higher the requirement for water supply reliability and the lower the tolerance for leakage. The threshold should be appropriately lowered, and can be qualitatively judged based on factors such as partition importance and user type;

[0132] : Scale coefficient, which comprehensively reflects the overall impact of scale factors such as DMA partition area A, pipe network length L and user number U on the over-limit threshold. The larger the value, the more significant the impact of the partition size on the threshold;

[0133] : area index;

[0134] : pipe length index;

[0135] : User quantity index;

[0136] : comprehensive adjustment coefficient;

[0137] In the formula, the product of the partition area, pipe length, and number of users ( ) reflects the comprehensive effect of the partition scale. α, as the coefficient of this item, adjusts the overall impact of the scale factor on the threshold. When α is larger, the threshold is more sensitive to changes in the partition scale; when α is smaller, the threshold is less sensitive to changes in the partition scale.

[0138] The value of α should be determined according to the size differences and management requirements of different partitions. In general, the value range of α can be set to 0.1~1:

[0139] When the scale difference between partitions is large, α should take a larger value (such as 0.7~1) to widen the threshold gap between partitions of different sizes and highlight the scale effect;

[0140] When the scale difference between partitions is not too large, α should be taken as a smaller value (such as 0.1~0.5) to narrow the threshold gap between partitions of different sizes and weaken the scale effect;

[0141] When you want the threshold to respond more sensitively to scale changes, you can increase the α value appropriately; when you want the threshold to respond more slowly to scale changes, you can decrease the α value appropriately.

[0142] It should be noted that α does not directly reflect the impact of a single scale factor (such as area) on the threshold, but works together with the exponential terms (β, γ, δ) to reflect the comprehensive effect of scale factors. The impact of a single scale factor on the threshold mainly depends on its corresponding index. At the same time, the value of α should also be coordinated with the pipe network condition factor C in the denominator, the water supply reliability requirement R, and the comprehensive adjustment coefficient η, so that the calculated threshold is in a reasonable range.

[0143] The area index β reflects the nonlinear relationship between the DMA partition area and the over-limit threshold. The larger the β value, the stronger the effect of the increase in area on the threshold. The value is generally between 0.5 and 1. When β=1, the threshold is proportional to the area; when β<1, the threshold growth rate is lower than the area growth rate; when β>1, the threshold growth rate is higher than the area growth rate; the β value should be adjusted based on historical data and management experience to make the relationship between the threshold and the area closer to reality. Pipeline length index It reflects the nonlinear relationship between the length of the DMA partition network and the over-limit threshold. The action mechanism is similar to the area index β. The value is generally between 0.5 and 1. The larger the γ value, the more obvious the threshold value will be when the pipe length increases. The determination of the γ value should take into account factors such as the complexity of the pipe network and the quality of the pipe material, so that the threshold value can better reflect the risk of pipe network leakage. The user number index δ reflects the nonlinear relationship between the number of users in the DMA partition and the over-limit threshold. The action mechanism is similar to the previous two indexes. The value is generally between 0.2 and 0.5. The larger the δ value, the more obvious the threshold value will be when the number of users increases. However, the impact of the number of users on the threshold is generally smaller than the area and pipe length, so the value range is relatively small. The δ value should be determined in combination with factors such as user type and water use habits. Comprehensive adjustment coefficient It is used to balance the impact of different factors on the over-limit threshold and adjust the numerical range of the threshold. The larger the η value, the smaller the threshold value. The value is generally between 10 and 100, and can be calibrated through regression analysis, trial and error testing, etc., so that the calculated threshold falls within a reasonable range. The size of the η value reflects the degree of influence of qualitative factors such as pipeline network conditions and water supply requirements on the threshold. The larger the η value, the stronger the effect of these factors on lowering the threshold.

[0144] This formula considers multiple angles such as the partition area, pipe length, number of users, pipe network conditions, and water supply requirements to set the minimum flow threshold at night; each parameter can be obtained from the business system or daily management, and is operational; when the partition area, pipe length, and number of users increase, the threshold will increase accordingly; when the pipe network condition is poor or the water supply requirement is high, the threshold will decrease; the threshold is dynamically adjusted as the influencing factors change, and is adaptive. This formula comprehensively balances the risk of leakage and water supply safety, and can set differentiated thresholds for partitions with different characteristics, which can avoid leakage risks without frequent false alarms; at the same time, it takes into account the pipe network conditions and water supply requirements, making the threshold more practical; the undetermined parameters in the formula provide flexibility for adjusting the threshold size, which can be dynamically modified according to the actual effect. This formula can be embedded in the DMA partition monitoring system to calculate the over-limit threshold in real time and determine whether it is abnormal, thereby realizing automatic early warning of the minimum flow at night; at the same time, the threshold is associated with the partition parameter and can be easily applied to different partitions, with universality and scalability; in short, this formula dynamically sets the over-limit threshold from multiple dimensions, balances leakage control and water supply safety, improves the pertinence and effectiveness of early warning, provides a scientific basis for DMA partition management, and has good practical value.

[0145] Step S4200: Setting year-on-year sudden change abnormal alarm parameters, wherein the year-on-year sudden change abnormal alarm parameters include a year-on-year change rate threshold and mutation duration threshold ;

[0146] A year-on-year sudden change anomaly means that the minimum nighttime flow rate in the DMA partition has increased significantly compared with the same period last year. It is necessary to set a year-on-year change rate. For example, an increase of 20% is considered an abnormality. At the same time, the abnormality duration is set. If the year-on-year change rate is exceeded for three consecutive days, an alarm is triggered. The year-on-year sudden change anomaly can detect leakage caused by the annual development and changes in the partition, such as accelerated corrosion of old pipelines, rapid growth in the number of users and water consumption, etc.

[0147] Step S4300: Set the continuous rising abnormal alarm parameters, which include the continuous rising days threshold D and the rising rate threshold ;

[0148] Continuous rising anomaly means that the minimum night flow in the DMA partition continues to rise for many days. The number of consecutive rising days needs to be set. For example, if it rises for 5 consecutive days, it is considered an abnormality. The daily rising rate also needs to be set, such as a 2% increase every day. The continuous rising anomaly can detect slowly developing and hidden leakages in the partition, such as slowly aggravated corrosion of the pipeline network, aging leakage of joints or pipes, etc., which helps to warn of hidden dangers in advance.

[0149] Step S5000: According to the denoised minimum nighttime flow and abnormal alarm parameters of the DMA partition, an over-limit abnormality check, a year-on-year sudden change abnormality check, and a continuous increase abnormality check are respectively performed on the DMA partition; based on the over-limit abnormality check results, the year-on-year sudden change abnormality check results, and the continuous increase abnormality check results, a comprehensive judgment abnormal value is calculated, and whether there is a pipe network leakage is judged based on the comprehensive judgment abnormal value;

[0150] Furthermore, step S5000 includes:

[0151] See also Figure 4 Step S5100: read the latest denoised DMA nighttime minimum flow data Q, and determine whether the denoised nighttime minimum flow Q exceeds the over-limit threshold T. If it exceeds the over-limit threshold T, and the over-limit duration Greater than the set over-limit duration threshold , it is judged as an over-limit abnormality;

[0152] If an over-limit abnormality occurs, determine whether the over-limit abnormality alarm has been triggered. If the over-limit abnormality alarm has been triggered, update the over-limit duration in the latest over-limit abnormality alarm status and continue the alarm; if the over-limit abnormality alarm has not been triggered, add a new over-limit abnormality alarm and record the start time of the over-limit abnormality;

[0153] If no over-limit abnormality occurs, determine whether the over-limit abnormality alarm has been triggered. If the over-limit abnormality alarm has been triggered, end the current over-limit abnormality alarm, store the current over-limit abnormality alarm in the historical alarm record, read the next denoised DMA night minimum flow data, and continue the over-limit abnormality check; if the over-limit abnormality alarm is not triggered, read the next denoised DMA night minimum flow data, and continue the over-limit abnormality check;

[0154] Specifically, read the minimum nighttime flow data after partition denoising to determine whether it exceeds the over-limit threshold T; if it exceeds the over-limit threshold T, start the abnormality judgment process, record the time of over-limit occurrence, and continuously monitor the subsequent over-limit state; if the over-limit state lasts for longer than the set over-limit duration, it is determined to be an over-limit abnormality; when it is determined that an over-limit abnormality has occurred, it is necessary to further check whether the over-limit abnormality alarm has been triggered; if the alarm has been triggered, it is necessary to update the duration in the latest alarm state to record the duration of the abnormality; if the alarm has not been triggered, it is necessary to add a new over-limit abnormality alarm record and record the time point when the abnormality starts for subsequent tracking and analysis. If the minimum nighttime flow data does not exceed the preset upper limit value, it means that the current flow is within the normal range. However, it is still necessary to determine whether the over-limit abnormality alarm has been triggered before. If the alarm has been triggered before, it is necessary to end the alarm at the current time point, update the latest alarm state, and store the alarm record in the historical alarm record for future backtracking and analysis. If the alarm has not been triggered before, no operation is required, and the data at the next time point can be monitored. By real-time monitoring and comparing traffic data with thresholds, abnormally high situations can be discovered in the first place, thus gaining precious time for timely problem handling. By recording the duration and start time of the abnormality, the degree and time range of the impact of the abnormality on the system can be quantified, providing a basis for assessing the severity of the problem. Storing alarm records in a historical database can facilitate historical data analysis and problem backtracking, providing a reference for optimizing system performance and formulating preventive measures. By timely discovering and handling abnormalities, the reliability and stability of the system can be effectively improved, and the impact of abnormalities on the business can be reduced. In summary, through real-time monitoring, quantification of abnormal impact, historical data analysis and other methods, over-limit abnormality detection can timely discover and handle abnormalities, improve the reliability and stability of the system, and provide strong guarantees for the normal operation of the business.

[0155] See also Figure 5 Step S5200: read the latest denoised DMA nighttime minimum flow data, compare it with the previous day’s nighttime minimum flow, and calculate the year-on-year change rate. , if the year-on-year change rate Exceeding the set year-on-year change rate threshold , and the duration of the mutation Greater than the set mutation duration threshold , it is judged as abnormal year-on-year mutation;

[0156] If a year-on-year mutation abnormality occurs, determine whether the year-on-year mutation abnormality alarm has been triggered. If the year-on-year mutation abnormality alarm has been triggered, update the year-on-year mutation duration in the latest year-on-year mutation abnormality alarm status and continue to alarm. If the year-on-year mutation abnormality alarm has not been triggered, add a year-on-year mutation abnormality alarm and record the start time of the year-on-year mutation abnormality.

[0157] If no year-on-year mutation abnormality occurs, determine whether the year-on-year mutation abnormality alarm has been triggered. If the year-on-year mutation abnormality alarm has been triggered, end the current year-on-year mutation abnormality alarm, store the current year-on-year mutation abnormality alarm in the historical alarm record, read the next denoised DMA night minimum flow data, and continue the year-on-year mutation abnormality check; if the year-on-year mutation abnormality alarm is not triggered, read the next denoised DMA night minimum flow data, and continue the year-on-year mutation abnormality check;

[0158] Specifically, read the minimum nighttime traffic data after partition denoising, and calculate the year-on-year change rate with the previous time point; if the year-on-year change rate exceeds the set year-on-year change rate threshold, start the year-on-year mutation abnormality judgment process, record the time of mutation, and continuously monitor the subsequent mutation state; if the duration of the mutation state exceeds the set mutation duration threshold, it is determined to be a year-on-year mutation abnormality; when a year-on-year mutation abnormality occurs, the system will automatically determine whether the year-on-year mutation abnormality alarm has been triggered. If the alarm has been triggered, the duration in the latest alarm state will be updated to accurately record the duration of the abnormal state. By recording the duration, operation and maintenance personnel can evaluate the severity and scope of the abnormality, providing important clues for problem analysis and resolution. If the alarm has not been triggered, the system will automatically add a year-on-year mutation abnormality alarm and record the time point when the abnormality started, so as to track the start time and development trend of the abnormality. If no year-on-year mutation abnormality occurs, the system will further determine whether there is a year-on-year mutation abnormality alarm that has been triggered. If there is a triggered alarm, it means that the abnormal state has ended, the system will automatically end the current alarm, update the latest alarm state, and store this alarm record in the historical alarm record. By archiving the alarm records, historical data comparison and trend analysis can be easily performed, providing a basis for optimizing system algorithms and threshold settings. If there is no triggered alarm, no operation is required, and the data at the next time point can be monitored. By calculating the year-on-year change rate and comparing it with the year-on-year change rate threshold, the sudden changes in traffic data can be effectively identified, providing a basis for timely response to potential problems; by recording the duration and start time of the anomaly, the degree and time range of the impact of the anomaly on the system can be quantified, providing important clues for problem analysis and resolution; by storing the alarm records in the historical database, historical data comparison and trend analysis can be easily performed, providing data support for optimizing the anomaly detection algorithm and threshold settings; by real-time monitoring of the year-on-year change rate, the changing trend of traffic data can be dynamically adapted to improve the adaptability and robustness of the system; in summary, the year-on-year mutation anomaly detection can effectively identify sudden changes in traffic data by calculating the year-on-year change rate, quantifying the impact of anomalies, optimizing algorithms and thresholds, and improving the adaptability and robustness of the system, providing important guarantees for maintaining the stable operation of the system.

[0159] See also Figure 6 Step S5300: read the latest DMA nighttime minimum flow data after denoising, and determine whether the DMA partition nighttime minimum flow after denoising has increased continuously. If it has increased continuously for several days, The number of consecutive rising days is greater than the set threshold D, and the average rising rate Greater than the set rise rate threshold , it is judged as a continuous rising abnormality;

[0160] If a continuous rising abnormality occurs, determine whether the continuous rising abnormality alarm has been triggered. If the continuous rising abnormality alarm has been triggered, update the continuous rising days in the latest continuous rising abnormality alarm status and continue to alarm. If the continuous rising abnormality alarm has not been triggered, add a continuous rising abnormality alarm and record the start time of the continuous rising abnormality.

[0161] If no continuous rising abnormality occurs, it is determined whether the continuous rising abnormality alarm has been triggered. If the continuous rising abnormality alarm has been triggered, the current continuous rising abnormality alarm is terminated, the current continuous rising abnormality alarm is stored in the historical alarm record, and the next denoised DMA night minimum flow data is read to continue the continuous rising abnormality check; if the continuous rising abnormality alarm is not triggered, the next denoised DMA night minimum flow data is read to continue the continuous rising abnormality check;

[0162] Specifically, when performing continuous rising anomaly analysis, first read the configured continuous rising anomaly judgment parameters, including the number of continuous rising days D, the average rising rate, etc.; then read the night minimum flow data after partition denoising to determine whether it shows a continuous rising trend; if the number of continuous rising days exceeds the set number of days D, the anomaly judgment process is started, the start time and rise rate of the continuous rise are recorded, and the subsequent rising state is continuously monitored; if the average rise rate exceeds the set threshold, it is determined to be a continuous rising anomaly; when a continuous rising anomaly occurs, the system will automatically determine whether the continuous rising anomaly alarm has been triggered. If the alarm has been triggered, the duration in the latest alarm status will be updated to accurately record the duration of the abnormal state. By recording the duration, the operation and maintenance personnel can evaluate the severity and scope of the anomaly, providing a basis for problem analysis and decision-making. If the alarm has not been triggered, the system will automatically add a continuous rising anomaly alarm and record the time point when the anomaly started, so as to track the start time and development trend of the anomaly. If the continuous rising anomaly has not occurred, the system will further determine whether there is a triggered continuous rising anomaly alarm. If there is a triggered alarm, it means that the abnormal state has ended. The system will automatically end the current alarm, update the latest alarm state, and store the alarm record in the historical alarm record. By archiving the alarm record, historical data analysis and trend prediction can be easily performed to provide decision support for optimizing resource allocation and capacity planning. If there is no triggered alarm, no operation is required, and the data at the next time point can be monitored. By judging the continuous rising trend and comparing it with the threshold, the abnormal growth of traffic data can be discovered early, providing early warning for timely response to potential problems; by recording the duration and start time of the abnormality, the degree and time range of the impact of the abnormality on the system can be quantified, providing a basis for problem analysis and decision-making; by storing the alarm record in the historical database, historical data analysis and trend prediction can be easily performed to provide decision support for optimizing resource allocation and capacity planning; by real-time monitoring of the continuous rising trend, system resources can be dynamically adjusted to improve the scalability and elasticity of the system; in summary, the continuous rising anomaly detection can detect the abnormal growth of traffic data early by judging the continuous rising trend, quantifying the impact of the abnormality, optimizing resource allocation, etc., improve the scalability and elasticity of the system, and provide a strong guarantee for maintaining the long-term stable operation of the system. At the same time, through historical data analysis and trend prediction, valuable data support can be provided for business decision-making and capacity planning, promoting continuous optimization and improvement of the system.

[0163] Step S5400, calculating a comprehensive abnormal value according to the duration of exceeding the limit, the duration of sudden change and the number of consecutive rising days;

[0164] The formula for calculating the comprehensive abnormal value based on the duration of exceeding the limit, the duration of mutation and the number of consecutive rising days is: ;

[0165] When comprehensively judging abnormal values When , the DMA partition is determined to be in a leakage state;

[0166] Specifically, due to the different judgment criteria and effects of various abnormal inspection methods, in order to accurately determine whether a partition is leaking, the three abnormal inspection results need to be summarized and evaluated. The weighted average method is used to assign different weights to the duration of each type of abnormality to obtain a comprehensive judgment abnormality value; the weight coefficient is determined according to the importance and credibility of each type of abnormality, such as the weight of the same ratio mutation abnormality is the highest, which is 0.5, followed by the over-limit abnormality, which is 0.2, and the continuous rise abnormality, which is 0.3; the weight coefficient can be dynamically adjusted according to the actual effect. The comprehensive judgment abnormality value after weighted average can quantitatively reflect the degree of abnormality of the partition. The larger the abnormality value, the higher the possibility of leakage.

[0167] For example, if the over-limit abnormality of a certain zone lasts for 2 days, the year-on-year sudden change abnormality has just occurred for 1 day, and there is no continuous rising abnormality, then the abnormal value is comprehensively judged. =2×0.2+1×0.5+0×0.3 =0.9<1. Although there is an abnormality, it is not enough to be judged as leakage.

[0168] If the over-limit abnormality lasts for 3 days, the year-on-year sudden change abnormality lasts for 2 days, and the continuous increase abnormality lasts for 1 day, the abnormal value is comprehensively judged. =3×0.2+2×0.5+1×0.3=1.9>1, it can be determined that leakage has occurred in this partition and measures need to be taken.

[0169] Step S6000, based on the comprehensive judgment abnormal value, set the leakage classification warning threshold, and perform leakage classification warning and disposal according to the comprehensive judgment abnormal value and the leakage classification warning threshold;

[0170] Furthermore, step S6000 includes:

[0171] Step S6100, setting the corresponding relationship between the comprehensive judgment abnormal value and the leakage warning level, distinguishing between general leakage warning, important leakage warning and emergency leakage warning;

[0172] Set critical leakage warning thresholds and emergency leakage warning threshold ,in ;

[0173] When , it is a general leakage warning;

[0174] When the alarm is on, it is an important leakage warning;

[0175] When the alarm is on, it is an emergency leakage warning;

[0176] Step S6200, obtaining the comprehensive judgment abnormal value in real time, judging its leakage warning level, generating leakage warning information and sending it to relevant personnel;

[0177] Step S6300, taking different early warning measures according to the leakage warning level;

[0178] Specifically, the comprehensive judgment abnormal value is calculated based on multiple dimensions such as over-limit abnormality, year-on-year mutation abnormality, and continuous rising abnormality, reflecting the comprehensive risk level of leakage in the DMA partition. In order to facilitate graded warning and differentiated disposal, it is necessary to set the corresponding relationship between the comprehensive judgment abnormal value and the warning level. The following classification scheme can be referred to: when the comprehensive judgment abnormal value is between 1-3, it is a general leakage warning, indicating that there may be slight leakage in the partition, and it is necessary to manually check the pipe network facilities on site to check the leakage point; when the comprehensive judgment abnormal value is between 3-5, it is an important leakage warning, indicating that there may be large leakage in the partition, and it is necessary to increase the frequency of pipe network inspections and use technical means such as audio leakage detection to timely discover and deal with problems; when the comprehensive judgment abnormal value is greater than 5, it is an emergency leakage warning, indicating that there may be serious leakage in the partition, and it is necessary to immediately activate the emergency plan and organize a repair team to control the expansion of leakage as soon as possible. Reasonable warning classification can avoid a one-size-fits-all disposal method, and will not cause a big fuss due to slight leakage, nor will it react slowly due to serious leakage. It is the key to improving the effectiveness of leakage warning. After calculating the comprehensive judgment abnormal value in real time, the system automatically determines its warning level, generates warning information and pushes it to relevant personnel. The warning information mainly includes warning zones, warning levels, warning time, comprehensive judgment abnormal values, etc., which provide decision-making references for subsequent warning disposal. Different warning disposal measures should be taken for different warning levels: for general leakage warning areas, personnel can be arranged to conduct on-site inspections of pipeline facilities, check the operating status of valves, pipelines and other facilities, and report any problems in a timely manner; for important leakage warning areas, the GIS system should be combined to formulate key inspection routes, and leak detection operations should be carried out at night during the period with the lowest water consumption using tools such as leak detection sticks; for emergency leakage warning areas, a repair team should be immediately established, carrying relevant equipment to the scene, and taking emergency measures such as valve control and pressure plugging to minimize leakage time and water volume. Through graded warning and differentiated disposal, leakage risks can be responded to quickly, leakage losses can be reduced, and the pertinence and effectiveness of leakage control can be improved.

[0179] For example, a DMA partition detected abnormal minimum flow at night for three consecutive days, and the comprehensive abnormal value was 4.2, reaching the important leakage warning level. After receiving the warning information, the water supply company immediately analyzed the key pipe sections through the GIS system, formulated an inspection plan, and conducted leak detection from 0:00 to 4:00 for three consecutive days. At a location 500 meters away from the partition exit, a leak point was measured using relevant instruments, and the leakage flow was about 5 cubic meters / hour. The emergency repair personnel used airbag sealing and pipeline connection technology to complete the repair of the leak without stopping the water supply. The minimum flow at night in the partition returned to normal and the warning was lifted. Through the graded warning mechanism, the water supply company promptly discovered important leakage risks, avoided the deterioration of leakage problems, reduced water resource losses, and improved the efficiency of pipeline network operation. Example

[0180] This embodiment provides a leakage warning system based on the night water volume after denoising on the basis of embodiment 1, such as Figure 7 As shown, including:

[0181] DMA partition establishment module: used to collect pipe network geographic information system data and establish DMA partitions;

[0182] Charge table establishment module: used to obtain user data in each DMA partition and establish a partition charge table;

[0183] Data processing module: used to obtain the instantaneous flow data and cumulative flow data of each DMA partition, aggregate the instantaneous flow data into the hourly water volume of the DMA partition, and form the hourly water volume sequence of the partition; calculate the minimum nighttime flow of the DMA partition according to the hourly water volume sequence, and calculate the minimum nighttime flow of the DMA partition after denoising;

[0184] Abnormal check module: used to set the abnormal alarm parameters of the minimum nighttime flow of the DMA partition. According to the denoised minimum nighttime flow and abnormal alarm parameters of the DMA partition, the DMA partition is respectively checked for over-limit abnormality, year-on-year sudden change abnormality, and continuous increase abnormality.

[0185] Pipeline network leakage detection module: used to calculate the comprehensive judgment abnormal value according to the over-limit abnormal inspection results, year-on-year sudden change abnormal inspection results and continuous increase abnormal inspection results, and judge whether there is a pipeline network leakage based on the comprehensive judgment abnormal value;

[0186] Leakage classification warning module: used to set leakage classification warning thresholds based on comprehensive judgment of abnormal values, and to perform leakage classification warnings and disposal according to comprehensive judgment of abnormal values ​​and leakage classification warning thresholds. Example

[0187] This embodiment discloses an electronic device, including a memory, a central processing unit, and a computer program stored in the memory and executable on the central processing unit. When the central processing unit executes the computer program, the above-mentioned method for early warning of water leakage at night based on denoising is implemented.

[0188] Since the electronic device introduced in this embodiment is an electronic device used to implement a leakage warning method based on nighttime water volume after denoising in the embodiment of the present application, based on the leakage warning method based on nighttime water volume after denoising introduced in the embodiment of the present application, the technical personnel of the field can understand the specific implementation of the electronic device of the present embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present application is not introduced in detail here. As long as the technical personnel of the field implement the electronic device used in the leakage warning method based on nighttime water volume after denoising in the embodiment of the present application, it belongs to the scope of protection of the present application. Example

[0189] The present embodiment discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed, the above-mentioned method for early warning of water leakage at night based on denoised water volume is implemented.

[0190] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters, weights and thresholds in the formula are set by technicians in this field according to actual conditions.

[0191] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired network or a wireless network. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD) or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.

[0192] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

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

[0194] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of the units is only one, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0195] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0196] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0197] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

[0198] Finally: 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 spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for early warning of water leakage at night based on denoised water volume, characterized in that: include: Collect the network GIS data and establish DMA zones; Obtain user data in each DMA partition and establish a partition fee table; Obtain the instantaneous flow data and cumulative flow data of each DMA partition, aggregate the instantaneous flow data into the hourly water volume of the DMA partition, and form the hourly water volume sequence of the partition; calculate the minimum nighttime flow of the DMA partition based on the hourly water volume sequence, and calculate the minimum nighttime flow of the DMA partition after denoising; The method for calculating the denoised DMA partition nighttime minimum flow is as follows: query the table number of the large nighttime water users in the partition from the partition fee table, collect the water consumption of the large nighttime water users from 0:00 to 4:00, add the water consumption of the large nighttime users from 0:00 to 4:00, calculate the legal nighttime water consumption of the partition, and subtract the legal nighttime water consumption from the DMA partition nighttime minimum flow to obtain the denoised DMA partition nighttime minimum flow; Set the abnormal alarm parameters for the minimum flow rate at night in the DMA partition; According to the denoised minimum nighttime flow and abnormal alarm parameters of the DMA partition, the DMA partition is respectively checked for over-limit abnormality, year-on-year sudden change abnormality and continuous increase abnormality. According to the over-limit abnormality inspection results, year-on-year sudden change abnormality inspection results and continuous increase abnormality inspection results, the comprehensive judgment abnormal value is calculated, and based on the comprehensive judgment abnormal value, it is judged whether there is leakage in the pipeline network; Based on the comprehensive judgment of abnormal values, the leakage classification warning threshold is set, and the leakage classification warning and disposal are carried out according to the comprehensive judgment of abnormal values ​​and the leakage classification warning threshold.

2. The method for early warning of nighttime water loss based on denoised water volume according to claim 1, characterized in that: The pipeline network GIS data includes pipeline layout and valve locations; The establishment of DMA partitions includes: The pipe network topology is obtained through pipe layout. Based on the pipe network topology, the main pipes with a diameter greater than or equal to DN300 are used as preliminary partition boundaries. Check whether there are any missing valves at the preliminary partition boundary. If so, add new valves. If not, check whether the valves at the preliminary partition boundary can be opened and closed normally. If not, repair or replace them to determine the final partition boundary.

3. The method for early warning of water leakage at night based on denoised water volume according to claim 1, characterized in that: The user data includes a user table number and a user address; The establishment of a zoned fee schedule includes: Match the user address with the DMA partition boundary to identify the partition to which each user belongs; Associate user meter numbers with actual charging meter numbers, exclude invalid meter numbers, and generate a partitioned charging meter number list; Adopting recursive method, iterate each level of DMA partition from top to bottom to establish the partition charging table number tree structure; The established partition fee table number tree structure is organized into a standardized list format to form a partition fee table, including a partition path and a user type; the partition path is used to reflect the location of the partition where the fee table is located, and the user type distinguishes between ordinary users, commercial users and industrial users.

4. The method for early warning of water leakage at night based on denoised water volume according to claim 1, characterized in that: Before forming the hourly water volume sequence of the partition, the hourly water volume of the DMA partition is checked with the accumulated flow data; The checking of the hourly water volume of the DMA partitions by using the accumulated flow data includes: Calculate the absolute value θ of the difference between the hourly water volume and the cumulative flow data, set the difference threshold θ1 and the difference threshold θ2, where θ1<θ2; If θ≤θ1, the hourly water volume of polymerization shall prevail and no adjustment is required; If θ1<θ<θ2, the hourly water volume is adjusted proportionally according to the difference θ, and the adjusted hourly water volume is used as the flow rate for this period; If θ ≥ θ2, the cumulative flow data shall be used as the basis and the increment of the cumulative flow shall be evenly distributed to each hour.

5. The method for early warning of water leakage at night based on denoised water volume according to claim 1, characterized in that: The method of calculating the minimum nighttime flow rate of the DMA partition according to the hourly water volume sequence includes: extracting water volume data from 0:00 to 4:00 every day from the hourly water volume sequence, and taking the minimum value as the minimum nighttime flow rate of the DMA partition on that day.

6. The method for early warning of nighttime water loss based on denoised water volume according to claim 1, characterized in that: The setting of the DMA partition nighttime minimum flow abnormal alarm parameters includes: Determine an over-limit abnormal alarm parameter, wherein the over-limit abnormal alarm parameter includes an over-limit threshold T and an over-limit duration threshold t1; Setting year-on-year mutation abnormal alarm parameters, wherein the year-on-year mutation abnormal alarm parameters include a year-on-year change rate threshold S1 and a mutation duration threshold t2; Setting continuous rising abnormal alarm parameters, wherein the rising abnormal alarm parameters include a continuous rising days threshold D and a rising rate threshold S2; The method for determining the over-limit threshold in the over-limit abnormal alarm parameter includes: Among them, T is the over-limit threshold, A is the DMA partition area, L is the DMA partition pipe network length, U is the number of DMA partition users, C is the pipe network condition factor, R is the water supply reliability requirement, α is the scale coefficient, β is the area index, γ is the pipe length index, δ is the user number index, and η is the comprehensive adjustment coefficient.

7. The method for early warning of water leakage at night based on denoised water volume according to claim 1, characterized in that: The over-limit abnormality check on the DMA partition includes: Read the latest DMA nighttime minimum flow data Q after denoising, and determine whether the nighttime minimum flow Q after denoising exceeds the over-limit threshold T. If it exceeds the over-limit threshold T, and the over-limit duration t x If it is greater than the set over-limit duration threshold t1, it is judged as an over-limit abnormality; If an over-limit abnormality occurs, determine whether the over-limit abnormality alarm has been triggered. If the over-limit abnormality alarm has been triggered, update the over-limit duration in the latest over-limit abnormality alarm status and continue the alarm; if the over-limit abnormality alarm has not been triggered, add a new over-limit abnormality alarm and record the start time of the over-limit abnormality; If no over-limit abnormality occurs, determine whether the over-limit abnormality alarm has been triggered. If the over-limit abnormality alarm has been triggered, end the current over-limit abnormality alarm, store the current over-limit abnormality alarm in the historical alarm record, and read the next denoised DMA night minimum flow data to continue the over-limit abnormality check; if the over-limit abnormality alarm is not triggered, read the next denoised DMA night minimum flow data to continue the over-limit abnormality check.

8. The method for early warning of nighttime water loss based on denoised water volume according to claim 1, characterized in that: The year-on-year mutation abnormality check on the DMA partition includes: Read the latest denoised DMA nighttime minimum flow data, compare it with the previous day’s nighttime minimum flow, and calculate the year-on-year change rate S y , if the year-on-year change rate S y Exceeds the set year-on-year change rate threshold S1, and the mutation duration t y If it is greater than the set mutation duration threshold t2, it is judged as a year-on-year mutation abnormality; If a year-on-year mutation abnormality occurs, determine whether the year-on-year mutation abnormality alarm has been triggered. If the year-on-year mutation abnormality alarm has been triggered, update the year-on-year mutation duration in the latest year-on-year mutation abnormality alarm status and continue to alarm. If the year-on-year mutation abnormality alarm has not been triggered, add a year-on-year mutation abnormality alarm and record the start time of the year-on-year mutation abnormality. If no year-on-year mutation abnormality occurs, determine whether the year-on-year mutation abnormality alarm has been triggered. If the year-on-year mutation abnormality alarm has been triggered, end the current year-on-year mutation abnormality alarm, store the current year-on-year mutation abnormality alarm in the historical alarm record, read the next denoised DMA night minimum flow data, and continue the year-on-year mutation abnormality check; if the year-on-year mutation abnormality alarm is not triggered, read the next denoised DMA night minimum flow data, and continue the year-on-year mutation abnormality check.

9. The method for early warning of water leakage at night based on denoised water volume according to claim 1, characterized in that: The continuous rising abnormality check on the DMA partition includes: Read the latest DMA nighttime minimum flow data after denoising, and determine whether the nighttime minimum flow after denoising of the DMA partition has increased continuously. If it has increased continuously for a number of days D z The number of consecutive rising days is greater than the set threshold D, and the average rising rate S z If it is greater than the set rising rate threshold S2, it is judged as a continuous rising abnormality; If a continuous rising abnormality occurs, determine whether the continuous rising abnormality alarm has been triggered. If the continuous rising abnormality alarm has been triggered, update the continuous rising days in the latest continuous rising abnormality alarm status and continue to alarm. If the continuous rising abnormality alarm has not been triggered, add a continuous rising abnormality alarm and record the start time of the continuous rising abnormality. If no continuous rising abnormality occurs, determine whether the continuous rising abnormality alarm has been triggered. If the continuous rising abnormality alarm has been triggered, end the current continuous rising abnormality alarm, store the current continuous rising abnormality alarm in the historical alarm record, read the next denoised DMA night minimum flow data, and continue the continuous rising abnormality check; if the continuous rising abnormality alarm is not triggered, read the next denoised DMA night minimum flow data, and continue the continuous rising abnormality check.

10. The method for early warning of nighttime water loss based on denoised water volume according to claim 1, characterized in that: The calculation of the comprehensive abnormal value according to the abnormal inspection results of over-limit, year-on-year sudden change and continuous increase is to calculate the comprehensive abnormal value according to the duration of over-limit, duration of sudden change and continuous increase days; The formula for calculating the comprehensive abnormal value based on the duration of exceeding the limit, the duration of mutation and the number of consecutive rising days is Q T =0.2×t x +0.5×t y +0.3×D z ; When the outlier value Q is comprehensively judged T When >1, the DMA partition is determined to be in leakage state.

11. The method for early warning of nighttime water loss based on denoised water volume according to claim 1, characterized in that: The leakage classification warning threshold is set based on the comprehensive judgment abnormal value, and the leakage classification warning and disposal are performed according to the comprehensive judgment abnormal value and the leakage classification warning threshold, including: Set the important leakage warning threshold θ x and emergency leakage warning threshold θ y , where 1<θ x <θ y ; When Q T <θ x When , it is a general leakage warning; When θ x ≤Q T ≤θ y When the alarm is on, it is an important leakage warning; When Q T >θ y When the alarm is on, it is an emergency leakage warning; Acquire comprehensive abnormal values ​​in real time, determine the leakage warning level, generate leakage warning information and send it to relevant personnel; take different warning measures according to the leakage warning level.

12. A leakage warning system based on denoised night water volume, which is used to implement a leakage warning method based on denoised night water volume according to any one of claims 1 to 11, characterized in that: The system comprises: DMA partition establishment module: used to collect pipe network geographic information system data and establish DMA partitions; Charge table establishment module: used to obtain user data in each DMA partition and establish a partition charge table; Data processing module: used to obtain the instantaneous flow data and cumulative flow data of each DMA partition, aggregate the instantaneous flow data into the hourly water volume of the DMA partition, and form the hourly water volume sequence of the partition; calculate the minimum nighttime flow of the DMA partition according to the hourly water volume sequence, and calculate the minimum nighttime flow of the DMA partition after denoising; Abnormal check module: used to set the abnormal alarm parameters of the minimum nighttime flow of the DMA partition. According to the denoised minimum nighttime flow and abnormal alarm parameters of the DMA partition, the DMA partition is respectively checked for over-limit abnormality, year-on-year sudden change abnormality, and continuous increase abnormality. Pipeline network leakage detection module: used to calculate the comprehensive judgment abnormal value according to the over-limit abnormal inspection results, year-on-year sudden change abnormal inspection results and continuous increase abnormal inspection results, and judge whether there is a pipeline network leakage based on the comprehensive judgment abnormal value; Leakage classification warning module: used to set leakage classification warning thresholds based on comprehensive judgment of abnormal values, and to perform leakage classification warnings and disposal according to comprehensive judgment of abnormal values ​​and leakage classification warning thresholds.

13. An electronic device comprising a memory, a central processing unit, and a computer program stored in the memory and executable on the central processing unit, characterized in that: When the central processing unit executes the computer program, the leakage warning method based on the denoised nighttime water volume described in any one of claims 1-11 is implemented.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method for early warning of water leakage at night based on denoised water volume according to any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • A method and system for calculating leakage based on DMA partitioning traffic.

    CN109388904B

  • Comprehensive leakage index big data analysis leakage early warning solution method

    CN112116188A

  • Community DMA leakage detection management and control method based on noise monitoring technology

    CN111720753A

  • Water supply pipe network hidden leakage recognition method based on dynamic process

    CN111853555A