Abnormal pressure table node determination method and device, electronic equipment and storage medium

By constructing a water supply network model and analyzing the pressure monitoring coefficient matrix, abnormal pressure gauge nodes are automatically identified, solving the problem of low accuracy in manual determination and achieving efficient and accurate monitoring.

CN117114645BActive Publication Date: 2026-11-27NAT ENG RES CENT OF URBAN WATER RESOURCE +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310800048.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2026-11-27
Estimated Expiration
2043-06-30

AI Technical Summary

Technical Problem

In existing technologies, the accuracy and efficiency of manually determining abnormal pressure gauge nodes in urban water supply networks are relatively low.

Method used

By constructing a water supply network model diagram, the path set of pressure node groups is obtained, the abnormal pressure value is amplified using the pressure monitoring coefficient matrix, and the abnormal pressure gauge nodes are determined by combining pressure data analysis.

Benefits of technology

It improves the accuracy and efficiency of monitoring abnormal pressure gauge nodes and reduces manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117114645B_ABST
    Figure CN117114645B_ABST
Patent Text Reader

Abstract

The application provides an abnormal pressure table node determination method and device, electronic equipment and a storage medium. It relates to the technical field of water supply data. The method comprises the following steps: obtaining all pressure node groups according to the positions of the pressure table nodes in the water supply pipe network model diagram and the water flow direction of the pipe network; obtaining the path set of each pressure node group respectively; connecting the pressure node groups corresponding to the path set to construct a water supply monitoring diagram under the condition that the path set meets the preset condition; determining a pressure monitoring coefficient matrix according to the positional relationship between each pressure table node in the water supply monitoring diagram; determining the monitoring and analyzing pressure data corresponding to each pressure table node according to the pressure data of each pressure table node in the collection period and the pressure monitoring coefficient matrix, and determining whether the pressure table node corresponding to the monitoring and analyzing pressure data is abnormal according to the monitoring and analyzing pressure data. The application amplifies the abnormal data in the pressure data through the pressure monitoring coefficient matrix, thereby improving the accuracy of the monitoring of the abnormal pressure table node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of water supply data technology, and more specifically, to a method, apparatus, electronic device, and storage medium for determining abnormal pressure gauge nodes. Background Technology

[0002] Water plays a vital role in our daily lives, and protecting water resources from pollution and waste has become a consensus. However, leakage is a common problem in urban water supply networks, one of the many abnormal events that occur in them.

[0003] Currently, the traditional method of detecting abnormal pressure gauge nodes in urban water supply networks is commonly used. This involves manually checking the pressure of each gauge node along the urban water supply pipeline and determining whether each node is abnormal based on the test results. However, the accuracy and efficiency of manually identifying abnormal pressure gauge nodes are relatively low. Summary of the Invention

[0004] To address the aforementioned problems, this invention provides a method, apparatus, electronic device, and storage medium for determining abnormal pressure gauge nodes.

[0005] According to a first aspect of the present invention, a method for determining abnormal pressure gauge nodes is provided, applied to urban water supply networks, the method comprising:

[0006] Based on the position of each pressure gauge node in the water supply network model diagram and the direction of water flow in the network, all pressure node groups are obtained. Each pressure node group consists of two pressure gauge nodes connected by water flow. The water supply network model diagram is constructed based on the urban water supply network.

[0007] The path set of each pressure node group is obtained respectively. If the path set meets the preset conditions, the two pressure gauge nodes in the pressure node group corresponding to the path set are connected to construct a water supply monitoring map.

[0008] Based on the positional relationship between the pressure gauge nodes in the water supply monitoring diagram, a pressure monitoring coefficient matrix is ​​determined, which is used to amplify abnormal pressure values.

[0009] Based on the pressure data of each pressure gauge node within the collection period and the pressure monitoring coefficient matrix, the monitoring pressure data corresponding to each pressure gauge node is determined, and based on the monitoring pressure data, it is determined whether the pressure gauge node corresponding to the monitoring pressure data is abnormal.

[0010] Optionally, obtaining the path set for each of the pressure node groups includes:

[0011] Obtain the node information, pipeline structure, and water flow direction of each node in the water supply network model diagram. The nodes include pressure gauge nodes and non-pressure gauge nodes.

[0012] Based on the node information and the pipeline structure, a directed adjacency matrix corresponding to the water supply network model diagram is constructed. The directed adjacency matrix is ​​used to represent the positional relationship between each node.

[0013] Based on the directed adjacency matrix, the path set corresponding to the pressure node group is determined.

[0014] Optionally, when determining that the path aggregation meets preset conditions, the following steps are included:

[0015] If at least one node in the path does not include the target pressure gauge node, the path set is determined to meet a preset condition, and two pressure gauge nodes in the pressure node group corresponding to the path set are connected, wherein the target pressure gauge node is the pressure gauge node other than the two pressure gauge nodes in the pressure node group.

[0016] If each node in each of the aforementioned paths includes the target pressure gauge node, then the set of paths is determined not to meet the preset conditions.

[0017] Optionally, determining the pressure monitoring coefficient matrix based on the positional relationship between the pressure gauge nodes in the water supply monitoring diagram includes:

[0018] Obtain the positional relationship between each pressure gauge node in the water supply monitoring diagram;

[0019] Based on the positional relationships, construct the undirected adjacency matrix corresponding to the water supply monitoring map;

[0020] Based on the undirected adjacency matrix, determine the degree matrix corresponding to the water supply monitoring map;

[0021] Based on the undirected adjacency matrix and the degree matrix, the Laplace matrix is ​​determined, and the Laplace matrix is ​​used as the pressure monitoring coefficient matrix.

[0022] Optionally, determining the monitoring pressure data corresponding to each pressure gauge node based on the pressure data of each pressure gauge node within the acquisition period and the pressure monitoring coefficient matrix includes:

[0023] Acquire the pressure data collected by the pressure gauge node within the acquisition period;

[0024] The monitored pressure data is determined by the product of the pressure data and the pressure monitoring coefficient matrix.

[0025] Optionally, based on the monitored pressure data, determining whether the pressure gauge node corresponding to the monitored pressure data has experienced an anomaly includes:

[0026] If the pressure value in the monitored pressure data is greater than the second pressure value or less than the first pressure value, the pressure gauge node corresponding to the monitored pressure data is determined to be abnormal.

[0027] When the pressure value in the monitored pressure data is between the first pressure value and the second pressure value, it is determined that the pressure gauge node corresponding to the monitored pressure data is normal.

[0028] Optionally, after determining the monitoring pressure data corresponding to each pressure gauge node based on the pressure data of each pressure gauge node within the acquisition period and the pressure monitoring coefficient matrix, the method further includes:

[0029] Based on the Savitzky-Golay algorithm and the monitored pressure data, target monitored pressure data is generated, and based on the target monitored pressure data, it is determined whether the pressure gauge node corresponding to the target monitored pressure data is abnormal.

[0030] According to a second aspect of the present invention, an abnormal pressure gauge node determination device is provided, applied to an urban water supply network, the abnormal pressure gauge node determination device comprising:

[0031] The acquisition module is used to acquire all pressure node groups based on the position of each pressure gauge node in the water supply network model diagram and the direction of water flow in the network. The pressure node group consists of two pressure gauge nodes connected by water flow. The water supply network model diagram is constructed based on the urban water supply network.

[0032] The construction module is used to obtain the path set of each pressure node group respectively, and connect the two pressure gauge nodes in the pressure node group corresponding to the path set when the path set meets the preset conditions.

[0033] The determination module is used to determine the pressure monitoring coefficient matrix based on the positional relationship between the pressure gauge nodes in the water supply monitoring diagram. The pressure monitoring coefficient matrix is ​​used to amplify abnormal pressure values.

[0034] The monitoring module is used to determine the monitoring pressure data corresponding to each pressure gauge node based on the pressure data of each pressure gauge node within the collection period and the pressure monitoring coefficient matrix, and to determine whether the pressure gauge node corresponding to the monitoring pressure data is abnormal based on the monitoring pressure data.

[0035] According to a third aspect of the present invention, an electronic device is provided, the electronic device comprising a memory and a processor, the memory being configured to store computer instructions executable on the processor, the processor being configured to, when executing the computer instructions, base itself on the abnormal pressure gauge node determination method described in the first aspect.

[0036] According to a fourth aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, characterized in that, when the program is executed by a processor, it implements the abnormal pressure gauge node determination method described in the first aspect.

[0037] The technical solution provided by this invention may include the following beneficial effects:

[0038] The method for determining abnormal pressure gauge nodes provided by this invention first obtains all pressure node groups in a pre-constructed water supply network model diagram based on the water flow direction and the positions of each pressure gauge node. Then, it obtains the path set for each pressure node group. If the path set meets preset conditions, it connects two pressure gauge nodes in each pressure node group to construct a water supply monitoring diagram. Further, it utilizes the positional relationships between the pressure gauge nodes in the water supply monitoring diagram to determine a pressure monitoring coefficient matrix for amplifying abnormal pressure values. Finally, it uses the pressure monitoring coefficient matrix to process the collected pressure data, determine the monitored pressure data, and use the monitored pressure data to determine whether a pressure gauge node is abnormal. This invention, through the path set of pressure node groups, can construct a water supply monitoring diagram based on the structural characteristics of the water supply model diagram. Furthermore, it can accurately determine the corresponding pressure monitoring coefficient matrix based on the structural characteristics of the water supply monitoring diagram, and can effectively amplify abnormal data in the pressure data using the pressure monitoring coefficient matrix. Therefore, it can accurately determine the abnormal pressure gauge nodes using the monitored pressure data, thereby improving the accuracy of abnormal pressure gauge node monitoring. Furthermore, this invention determines abnormal pressure gauge nodes through a water supply model diagram, thereby eliminating the need for manual identification of abnormal pressure gauge nodes and improving the monitoring efficiency of abnormal pressure gauge nodes. Attached Figure Description

[0039] Figure 1 A flowchart illustrating a method for determining abnormal pressure gauge nodes provided in an embodiment of the present invention;

[0040] Figure 2 A water supply network model diagram provided for an embodiment of the present invention;

[0041] Figure 3 A water supply network monitoring diagram provided for an embodiment of the present invention;

[0042] Figure 4 A line graph of pressure data of pressure gauge node 23 within the acquisition period provided in this embodiment of the invention;

[0043] Figure 5 This invention provides a line graph of pressure data for monitoring pressure gauge node 23 in an embodiment of the invention;

[0044] Figure 6 A flowchart illustrating another method for determining abnormal pressure gauge nodes provided in an embodiment of the present invention;

[0045] Figure 7 This is a block diagram of an abnormal pressure gauge node determination device provided in an embodiment of the present invention. Detailed Implementation

[0046] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.

[0047] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The singular forms “a,” “the,” and “the” used in this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0048] It should be understood that although the terms first, second, third, etc., may be used in this invention to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first information may also be referred to as second information without departing from the scope of this invention, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."

[0049] In a first aspect, embodiments of the present invention provide a method for determining abnormal pressure gauge nodes, applicable to urban water supply networks, such as... Figure 1 As shown, the method includes:

[0050] S101. Based on the position of each pressure gauge node in the water supply network model diagram and the direction of water flow in the network, obtain all pressure node groups.

[0051] In this embodiment, the first step is to monitor the node information, pipeline information, and pipeline topology of the urban water supply network. A water supply network model diagram is then constructed using this information. Nodes include pressure gauge nodes and non-pressure gauge nodes. Node information may include elevation, water storage capacity, and location. Pipeline information may include pipe diameter, pipe manufacturer, and pipe maintenance information. The pipeline topology may include pipe structure and water flow direction. Further, using the location of each pressure gauge node and the water flow direction in the water supply network model diagram, two pressure gauge nodes connected by water flow are identified. Based on these connected pressure gauge nodes, pressure node groups are determined. The entire pressure node group is obtained by traversing all pressure gauge nodes in the water supply network model diagram.

[0052] Specifically, such as Figure 2 As shown, this is a water supply network model diagram provided by an embodiment of the invention. The pressure gauge nodes in the water supply network model diagram are 10, 21, 23, and 32. After determining the position of the pressure gauge nodes, according to the direction of water flow in the network, the two pressure gauge nodes connected by the water flow are determined to be "10, 21", "10, 23", "10, 22", "21, 22", and "21, 23", thus obtaining the complete pressure node group as "10, 21", "10, 23", "10, 22", "21, 22", and "21, 23".

[0053] In one example, the water supply network model diagram in this embodiment can be an electronic file in .inp format, or other electronic files can be selected according to actual needs.

[0054] S102, obtain the path set of each pressure node group respectively, and if the path set meets the preset conditions, connect the two pressure gauge nodes in the pressure node group corresponding to the path set to construct a water supply monitoring diagram.

[0055] In this embodiment, after obtaining all pressure node groups, the path set corresponding to each pressure node group is obtained according to the water supply network model diagram. This means obtaining the nodes traversed between two connected pressure gauge nodes in a pressure node group to obtain the path set corresponding to the pressure node group. Further, it is determined whether each path set meets preset conditions. If the path set meets the preset conditions, the two pressure gauge nodes in the pressure node group corresponding to the path set that meets the conditions are connected to construct a water supply monitoring diagram. For example, if the path set corresponding to pressure node group "10, 21" meets the preset conditions, then "10, 21" is connected, and so on, connecting the two pressure gauge nodes in the pressure node group whose path set meets the preset conditions.

[0056] S103, determine the pressure monitoring coefficient matrix based on the positional relationship between the pressure gauge nodes in the water supply monitoring diagram.

[0057] In this embodiment, after constructing the water supply monitoring map, the positional relationships between the various pressure gauge nodes in the water supply monitoring map are obtained, and the pressure monitoring coefficient matrix is ​​determined using the positional relationships between the pressure gauge nodes. Specifically, the pressure monitoring coefficient matrix in this embodiment is used to amplify abnormal pressure values.

[0058] S104. Based on the pressure data of each pressure gauge node within the acquisition period and the pressure monitoring coefficient matrix, determine the monitoring pressure data corresponding to each pressure gauge node, and determine whether the pressure gauge node corresponding to the monitoring pressure data is abnormal based on the monitoring pressure data.

[0059] In this embodiment, after determining the pressure monitoring coefficient matrix, the pressure data of each pressure gauge node within the acquisition period is acquired. The acquired pressure data is further processed using the pressure monitoring coefficient matrix to obtain the pressure monitoring data corresponding to each pressure gauge node. Furthermore, the obtained pressure monitoring data is used to determine whether the corresponding pressure gauge node is abnormal. Specifically, for example, if the water supply network model diagram includes pressure gauge node 10, pressure gauge node 21, pressure gauge node 23, and pressure gauge node 32, the pressure data corresponding to pressure gauge nodes 10, 21, 23, and 32 are acquired respectively. Further, using the pressure monitoring coefficient matrix, the monitoring pressure data corresponding to pressure gauge nodes 10, 21, 23, and 32 are obtained respectively. Finally, based on the monitoring pressure data, it is determined whether pressure gauge nodes 10, 21, 23, and 32 are abnormal.

[0060] The method for determining abnormal pressure gauge nodes provided by this invention first obtains all pressure node groups in a pre-constructed water supply network model diagram based on the water flow direction and the positions of each pressure gauge node. Then, it obtains the path set for each pressure node group. If the path set meets preset conditions, it connects two pressure gauge nodes in each pressure node group to construct a water supply monitoring diagram. Further, it utilizes the positional relationships between the pressure gauge nodes in the water supply monitoring diagram to determine a pressure monitoring coefficient matrix for amplifying abnormal pressure values. Finally, it uses the pressure monitoring coefficient matrix to process the collected pressure data, determine the monitored pressure data, and use the monitored pressure data to determine whether a pressure gauge node is abnormal. This invention, through the path set of pressure node groups, can construct a water supply monitoring diagram based on the structural characteristics of the water supply model diagram. Furthermore, it can accurately determine the corresponding pressure monitoring coefficient matrix based on the structural characteristics of the water supply monitoring diagram, and can effectively amplify abnormal data in the pressure data using the pressure monitoring coefficient matrix. Therefore, it can accurately determine the abnormal pressure gauge nodes using the monitored pressure data, thereby improving the accuracy of abnormal pressure gauge node monitoring. Furthermore, this invention determines abnormal pressure gauge nodes through a water supply model diagram, thereby eliminating the need for manual identification of abnormal pressure gauge nodes and improving the monitoring efficiency of abnormal pressure gauge nodes.

[0061] Furthermore, obtaining the path set for each of the pressure node groups in step S102 may include the following steps:

[0062] S1021, Obtain the node information, pipeline structure, and water flow direction of each node in the water supply network model diagram.

[0063] In this embodiment, after constructing a water supply network model diagram using the water supply network, the node information of each node in the water supply network, the pipeline structure of the water supply network model diagram, and the water flow direction of the water supply network model diagram are obtained.

[0064] Specifically, with Figure 2 Taking the water supply network model diagram shown as an example, there are 11 nodes in the water supply network model diagram, specifically including "9, 10, 11, 21, 31, 2, 12, 22, 32, 13, 23". Among them, the pressure gauge nodes include "10, 21, 23, 32", and the non-pressure gauge nodes include "9, 11, 31, 2, 12, 22, 13". At the same time, the pipeline structure and water flow direction of the network can be obtained from the water supply network model diagram.

[0065] S1022, Based on the node information, the pipeline structure, and the water flow direction of the pipeline network, construct the directed adjacency matrix corresponding to the water supply network model diagram.

[0066] In this embodiment, after obtaining the node information, pipeline structure, and water flow direction of the pipeline network, a directed adjacency matrix of the water supply network model is constructed based on the node information, pipeline structure, and water flow, so as to use the directed adjacency matrix to represent the positional relationship between each node.

[0067] Specifically, with Figure 2 Taking the water supply network model diagram shown as an example, the directed adjacency matrix corresponding to this water supply network model diagram is shown in Table 1, and the positional relationship between each node is represented by the directed adjacency matrix.

[0068] Table 1

[0069]

[0070]

[0071] In Table 1, 1 indicates that two nodes are adjacent to each other through a directed edge, and 0 indicates that two nodes are not adjacent to each other.

[0072] S1023, Determine the path set corresponding to the pressure node group based on the directed adjacency matrix.

[0073] In this embodiment, after obtaining the directed adjacency matrix corresponding to the water supply network model diagram, the depth-first search (DFS) algorithm is used to traverse the directed adjacency matrix based on the two pressure gauge nodes in each pressure node group to obtain the path set corresponding to each pressure node group.

[0074] Specifically, the pressure node groups in this embodiment include "10, 21", "10, 23", "10, 22", "21, 22", and "21, 23". After determining the pressure node group "10, 21", based on the positions of pressure gauge node 10 and pressure gauge node 21 in the directed adjacency matrix, the path set corresponding to the pressure node group "10, 21" can be obtained as "10→11→21". Similarly, the path set corresponding to each pressure node group can be obtained. The path sets corresponding to each pressure node group in this embodiment are shown in Table 2.

[0075] Table 2

[0076]

[0077] Among them, P 1021 This indicates pressure node group "10, 21".

[0078] In this embodiment of the invention, a directed adjacency matrix of the water supply network map is constructed by using node information, pipeline structure, and pipeline water flow direction. This allows for accurate understanding of the adjacency relationships between each node, thereby accurately obtaining the path set corresponding to the pressure node group. Consequently, a water supply monitoring map can be accurately constructed. Furthermore, the pressure monitoring coefficient matrix can be used to effectively amplify abnormal data in the pressure data. This allows for accurate identification of abnormal pressure gauge nodes by analyzing the pressure data, thus improving the accuracy of abnormal pressure gauge node monitoring.

[0079] Furthermore, when performing step 102, if the path set meets preset conditions, connecting two pressure gauge nodes in the pressure node group corresponding to the path set may include the following steps:

[0080] S1024, Obtain the nodes of each path in the path set.

[0081] In this embodiment, the nodes of each path in the path set can be obtained according to Table 2, which will not be elaborated here.

[0082] S1025, if at least one node in the path does not include the target pressure gauge node, determine that the path set meets the preset conditions, and connect two pressure gauge nodes in the pressure node group corresponding to the path set.

[0083] In this embodiment, after obtaining the nodes of each path in the path set, it is determined whether each path's nodes include the pressure gauge node corresponding to the non-pressure node group. If at least one path in the path set does not include the pressure gauge node corresponding to the non-pressure node group, the path set is determined to meet a preset condition, and two pressure gauge nodes in the pressure node group corresponding to the path set are connected. In this embodiment, the target pressure gauge node is the pressure gauge node other than the two pressure gauge nodes in the pressure node group.

[0084] Specifically, taking the pressure node group P in Table 2 as an example... 1032 For example, P 1032 The path set corresponding to the pressure node group includes path 1 "10→11→21→31→32", path 2 "10→11→21→22→32", and path 3 "10→11→12→22→32", where P 1032 The target pressure gauge nodes corresponding to the pressure node group include pressure gauge node 21 and pressure gauge node 23. Path 1 includes pressure gauge node 21 that is not corresponding to the pressure node group, so path 1 does not meet the preset conditions. Path 2 includes pressure gauge node 21 that is not corresponding to the pressure node group, so path 2 does not meet the preset conditions. Path 3 does not include the target pressure gauge node, therefore, it can be determined that P... 1032There exists a path in the pressure node group that meets preset conditions, thus determining P. 1032 The path set corresponding to the pressure node group meets the preset conditions and connects pressure gauge node 10 and pressure gauge node 32. Similarly, it is determined whether each path set meets the preset conditions.

[0085] S1026, if each node in each of the paths includes the target pressure gauge node, it is determined that the path set does not meet the preset conditions.

[0086] Specifically, if every path in the path set includes a target pressure node, then the path set is determined not to meet the preset conditions. For example, P 1032 If each path in the path set corresponding to the pressure node group includes either pressure gauge node 21 or pressure gauge node 23, then determine P. 1032 The set of paths corresponding to the pressure node group does not meet the preset conditions.

[0087] Furthermore, in performing step 103, the embodiments of the invention may include the following steps:

[0088] S1031, Obtain the positional relationship between each pressure gauge node in the water supply monitoring diagram.

[0089] In this embodiment, after constructing the water supply monitoring map, the water supply monitoring map is read to obtain the positional relationship between each pressure gauge node in the water supply monitoring map.

[0090] Specifically, such as Figure 3 As shown, this is an embodiment of the present invention. Figure 2 The corresponding water supply monitoring map allows for accurate determination of the positional relationships between various pressure gauge nodes.

[0091] S1032, Based on the positional relationship, construct the undirected adjacency matrix corresponding to the water supply monitoring map.

[0092] In this embodiment, after obtaining the positional relationship between each pressure gauge node in the water supply monitoring diagram, the undirected adjacency matrix corresponding to the water supply monitoring diagram is constructed using the water supply monitoring diagram to represent the positional relationship between each pressure gauge node in the water supply monitoring diagram.

[0093] Specifically, with Figure 3 Taking the water supply monitoring map shown below as an example, the corresponding undirected adjacency matrix is ​​shown in Table 3:

[0094] Table 3

[0095] node 10 21 23 32 10 0 1 1 1 21 0 0 1 1 23 0 0 0 0 32 0 0 0 0

[0096] S1033, Determine the degree matrix corresponding to the water supply monitoring map based on the undirected adjacency matrix.

[0097] In this embodiment, after obtaining the undirected adjacency matrix of the water supply monitoring map, the degree matrix corresponding to the undirected adjacency matrix is ​​determined using the undirected adjacency matrix. Specifically, the degree matrix in this embodiment is represented by the first formula, as follows:

[0098]

[0099] Where D represents the degree matrix, D ii Let A represent the value corresponding to the i-th row and i-th column in the matrix, and let A denote the undirected adjacency matrix. ii This represents the value corresponding to the i-th row and i-th column in the undirected adjacency matrix. j is the total number of columns in matrix A.

[0100] S1034, Based on the undirected adjacency matrix and the degree matrix, determine the Laplace matrix, and then define the Laplace matrix as the pressure monitoring coefficient matrix.

[0101] In this embodiment, after obtaining the degree matrix, the Laplace matrix is ​​determined using the undirected adjacency matrix and the degree matrix, and the Laplace matrix is ​​then used as the pressure monitoring coefficient matrix. Specifically, in this embodiment, the Laplace matrix can be determined using a second formula, as follows:

[0102] L = DA;

[0103] Where L is the Laplace matrix.

[0104] This invention utilizes the undirected adjacency matrix and degree matrix of the water supply monitoring map to determine the pressure monitoring coefficient matrix. Based on the structural characteristics of the water supply monitoring map, the pressure monitoring coefficient matrix can be accurately determined. Furthermore, the pressure monitoring coefficient matrix can effectively amplify abnormal data in the pressure data, thereby enabling accurate identification of abnormal pressure gauge nodes using the monitored pressure data, thus improving the accuracy of abnormal pressure gauge node monitoring.

[0105] Furthermore, in an embodiment of the present invention, determining the monitoring pressure data corresponding to each pressure gauge node in step 104 based on the pressure data of each pressure gauge node within the acquisition period and the pressure monitoring coefficient matrix may include the following steps:

[0106] S1041, Obtain the pressure data collected by the pressure gauge node within the acquisition period.

[0107] In this embodiment, after determining the pressure monitoring coefficient matrix, the pressure data of the pressure gauge nodes within the acquisition period is obtained. Specifically, in this embodiment, the total pressure data collected by the pressure gauge nodes within the acquisition period is collected through a Supervisory Control and Data Acquisition (SCADA) system. Furthermore, the pressure data corresponding to each pressure gauge node is determined from the total pressure data.

[0108] Specifically, in this embodiment, the total pressure data collected by the pressure gauge nodes within the acquisition period by the data acquisition and monitoring control system can be represented in the form of a pressure matrix, and the pressure data corresponding to each pressure gauge node can be obtained through the pressure matrix. The pressure matrix is ​​as follows:

[0109]

[0110] Where X represents the pressure matrix, x represents the pressure value at the pressure gauge node, n represents the pressure gauge node, and t represents the time of data collection. nt This represents the pressure value at node n of the pressure gauge at time t.

[0111] In one example, such as Figure 4 The image shown is a line graph of the pressure data of pressure gauge node 23 within the acquisition period according to an embodiment of the present invention. Specifically, the pressure data of pressure gauge node 23 is extracted from the pressure matrix. Figure 4 The X-axis represents the time of data acquisition, and the Y-axis represents the pressure value.

[0112] S1042, Determine the monitored pressure data based on the product of the pressure data and the pressure monitoring coefficient matrix.

[0113] In this embodiment, after obtaining the pressure data corresponding to each pressure gauge node, the monitoring pressure data corresponding to the pressure gauge node is determined by multiplying the pressure data and the pressure monitoring coefficient matrix.

[0114] Specifically, in this embodiment, the total monitored pressure data corresponding to the pressure matrix is ​​first determined by multiplying the pressure matrix and the pressure monitoring coefficient matrix. Then, the monitored pressure data for each pressure gauge node is further determined from the detected pressure data. In this embodiment, the total monitored pressure data is represented by a monitoring pressure matrix, which is shown below:

[0115]

[0116] Where H represents the monitoring pressure matrix, h nt This represents the pressure value monitored at pressure gauge node n at time t.

[0117] Furthermore, the pressure monitoring data corresponding to each pressure gauge node is determined by monitoring the pressure matrix. The specific pressure monitoring data is shown below:

[0118]

[0119] Among them, H n h represents the nth row of the monitoring pressure matrix H. nt This represents the monitored pressure value of pressure gauge node n at time t, Wn represents the number of adjacent pressure gauge nodes of pressure gauge node n, c represents a certain adjacent pressure gauge node of pressure gauge node n, and v n Let x represent the set of adjacent pressure gauge nodes of pressure gauge node n. ct This represents the pressure value of the adjacent pressure gauge node c at time t.

[0120] In one example, such as Figure 5 The image shown is a line graph of the pressure data monitored by pressure gauge node 23 provided in this example of the invention. Figure 5 It can be seen that by multiplying the pressure monitoring coefficient matrix and the pressure data, the pressure value can be effectively amplified, and thus the abnormal pressure value can be amplified.

[0121] This invention, through a pressure monitoring coefficient matrix and pressure data, determines the pressure monitoring data. The pressure monitoring coefficient matrix can be used to amplify abnormal pressure values ​​in the pressure data, thereby accurately determining whether there is abnormal pressure in the pressure data. This allows for the accurate identification of pressure gauge nodes where abnormal pressure occurs, improving the accuracy of monitoring abnormal pressure gauge nodes.

[0122] Furthermore, in this embodiment of the invention, determining whether the pressure gauge node corresponding to the monitored pressure data is abnormal based on the monitored pressure data in step 104 may include the following steps:

[0123] 1043. Determine the first pressure value and the second pressure value corresponding to the monitoring pressure data according to the preset statistical algorithm.

[0124] In this embodiment, after obtaining the monitoring pressure, a pre-set statistical algorithm is used to calculate the first pressure value and the second pressure value corresponding to each monitoring pressure data point, thereby determining the normal pressure range, wherein the first pressure value is less than the second pressure value. Specifically, the pre-set statistical algorithm in this embodiment may include the mean-range algorithm, the exponentially weighted moving average algorithm, and the Bollinger Bands algorithm.

[0125] S1044, when the pressure value in the monitored pressure data is greater than the second pressure value or less than the first pressure value, it is determined that the pressure gauge node corresponding to the monitored pressure data is abnormal.

[0126] In this embodiment, after determining the first pressure value and the second pressure value corresponding to the monitoring pressure data, the monitoring pressure data is compared with the first pressure value and the second pressure value respectively. If the monitoring pressure data includes a pressure value greater than the second pressure value, or a pressure value less than the first pressure value, then the pressure gauge node corresponding to the monitoring pressure data is determined to be abnormal.

[0127] S1045, when the pressure value in the monitored pressure data is between the first pressure value and the second pressure value, it is determined that the pressure gauge node corresponding to the monitored pressure data is normal.

[0128] In this embodiment, after determining the first pressure value and the second pressure value corresponding to the monitoring pressure data, the monitoring pressure data is compared with the first pressure value and the second pressure value respectively. If the monitoring pressure data are all greater than or equal to the first pressure value and all pressure values ​​are less than or equal to the second pressure value, that is, if the pressure value of the monitoring pressure data is between the first pressure value and the second pressure value, then the monitoring pressure data is determined to be normal, and the pressure gauge node corresponding to the monitoring pressure data is also determined to be normal.

[0129] Furthermore, the abnormal pressure gauge node determination method provided in this embodiment of the invention, after determining the monitoring pressure data corresponding to each pressure gauge node based on the pressure data of each pressure gauge node within the acquisition period and the pressure monitoring coefficient matrix, may further include the following steps:

[0130] S105, Based on the Savitzky-Golay algorithm and the monitored pressure data, generate target monitored pressure data, and based on the target monitored pressure data, determine whether the pressure gauge node corresponding to the target monitored pressure data is abnormal.

[0131] In this embodiment, after obtaining the monitoring pressure data, the Savitzky-Golay algorithm can be used to perform secondary processing on the monitoring pressure data to filter the pressure values ​​in the monitoring pressure data, thereby generating target monitoring pressure data. Furthermore, S1043-S1045 are executed using the target monitoring pressure data.

[0132] Specifically, in this embodiment, the target monitoring pressure data can be generated using a third formula, as follows:

[0133]

[0134]

[0135] Where, h′ nt h represents the pressure value of the target monitoring pressure data at pressure gauge node n at time t. n(t+b)This represents the pressure value monitored at pressure gauge node n at time t+b, K represents the length of the sliding window, which can be one day, one week, or one month depending on the length of the data collection period, b represents the time from the (m-th)th node to the m-th node, and Q represents the time interval. b This represents the smoothing coefficient.

[0136] In one example, the length of the sliding window can be determined according to the fourth formula, which is shown below:

[0137] K = 2m + 1.

[0138] This invention utilizes the Savitzky-Golay algorithm to perform secondary processing on the monitored pressure data, filtering the pressure values ​​to generate target monitored pressure data. This effectively removes obviously abnormal pressure values, and further utilizing the target monitored pressure data improves the accuracy of abnormal pressure value judgment, thereby enhancing the accuracy of abnormal pressure gauge node monitoring.

[0139] Furthermore, embodiments of the present invention provide yet another method for determining abnormal pressure gauge nodes, such as... Figure 6 As shown, firstly, the node information, pipeline information, and pipeline topology of the urban water supply network to be monitored are obtained, and then the water supply network model diagram is constructed using the node information, pipeline information, and pipeline topology. Further, based on the location of each pressure gauge node in the water supply network model diagram and the direction of water flow in the network, two pressure gauge nodes connected by water flow are determined to obtain all pressure node groups.

[0140] After obtaining all pressure node groups, a directed adjacency matrix corresponding to the water supply network model diagram is constructed based on the node information, pipeline structure, and water flow direction of the network. The path set corresponding to each pressure node group is then determined based on the directed adjacency matrix.

[0141] Simultaneously, it is determined whether the path set meets the preset conditions. If the path set meets the preset conditions, the two pressure gauge nodes in the pressure node group corresponding to the path set are connected to construct a water supply monitoring map. Furthermore, based on the positional relationship between each pressure gauge node in the water supply monitoring map, an undirected adjacency matrix corresponding to the water supply monitoring map is generated to generate a degree matrix. Further, based on the undirected adjacency matrix and the degree matrix, the pressure monitoring coefficient matrix is ​​determined.

[0142] After obtaining the pressure monitoring coefficient matrix, the data acquisition and monitoring control system collects the total pressure data of the pressure gauge nodes within the acquisition period, and determines the total pressure data to be analyzed based on the product of the total pressure data and the pressure monitoring coefficient matrix. Furthermore, the pressure data of each pressure gauge node is obtained from the total pressure data to be analyzed.

[0143] After determining the monitoring pressure data of each pressure gauge, target monitoring pressure data is generated based on the Savitzky-Golay algorithm and the monitoring pressure data. A preset statistical algorithm is then used to determine the first and second pressure values ​​corresponding to the target monitoring pressure data. If a pressure value in the target monitoring pressure data is greater than the second pressure value or less than the first pressure value, the pressure gauge node corresponding to the monitoring pressure data is determined to be abnormal. If the pressure value in the target monitoring pressure data is between the first and second pressure values, the pressure gauge node corresponding to the monitoring pressure data is determined to be normal.

[0144] In one example, the mean-range algorithm in this embodiment is shown in formulas six and seven, and the specific formulas are as follows:

[0145] UCL=μ+ρσ

[0146] LCL = μ - ρσ;

[0147] Wherein, UCL is the second pressure value, LCL is the first pressure value, μ is the mean of the target monitoring pressure data during the collection period, σ is the standard deviation, and ρ is the confidence coefficient. For example, ρ values ​​of 1, 2, and 3 approximately correspond to confidence levels of 68%, 95%, and 99.7%, respectively.

[0148] In one example, the exponentially weighted moving average algorithm is shown in formulas seven through nine, with the specific formulas as follows:

[0149] Z t =λh′ nt +(1-λ)Z t-1 ;

[0150]

[0151]

[0152] Among them, h' nt This represents the pressure value of the target monitoring pressure data at pressure gauge node n at time t, where λ is the smoothing coefficient, and Z... t To monitor and analyze stress data, Z t-1 This is the monitoring pressure data from the previous collection cycle.

[0153] In one example, the Bollinger Bands algorithm is shown in formulas 10-11, with the specific formulas as follows:

[0154] UCL = MA + ρδ;

[0155] LCL = MA - ρδ;

[0156] Where MA is the moving average and ρ is the confidence coefficient.

[0157] Specifically,

[0158] Another embodiment of the present invention provides an abnormal pressure gauge node determination device, applied to urban water supply networks. Please refer to [link / reference]. Figure 7 As shown, the device includes:

[0159] The acquisition module 701 is used to acquire all pressure node groups based on the position of each pressure gauge node in the water supply network model diagram and the direction of water flow in the network. The pressure node group consists of two pressure gauge nodes connected by water flow. The water supply network model diagram is constructed based on the urban water supply network.

[0160] The construction module 702 is used to obtain the path set of each pressure node group respectively, and when the path set meets the preset conditions, connect the two pressure gauge nodes in the pressure node group corresponding to the path set to construct a water supply monitoring diagram.

[0161] The determining module 703 is used to determine a pressure monitoring coefficient matrix based on the positional relationship between the pressure gauge nodes in the water supply monitoring diagram. The pressure monitoring coefficient matrix is ​​used to amplify abnormal pressure values.

[0162] The monitoring module 704 is used to determine the monitoring pressure data corresponding to each pressure gauge node based on the pressure data of each pressure gauge node within the acquisition period and the pressure monitoring coefficient matrix, and to determine whether the pressure gauge node corresponding to the monitoring pressure data is abnormal based on the monitoring pressure data.

[0163] Another embodiment of the present invention provides an electronic device, the electronic device including a memory and a processor, the memory being used to store computer instructions that can be executed on the processor, and the processor being used to execute the computer instructions based on the abnormal pressure gauge node determination method described in the first aspect.

[0164] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the abnormal pressure gauge node determination method described in the first aspect.

[0165] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0166] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the invention.

[0167] In addition, the memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0168] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0169] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0170] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0171] In a typical configuration, an electronic device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0172] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0173] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0174] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

Claims

1. A method for determining abnormal pressure gauge nodes, applied to urban water supply networks, characterized in that, The method for determining abnormal pressure gauge nodes includes: Based on the position of each pressure gauge node in the water supply network model diagram and the direction of water flow in the network, all pressure node groups are obtained. Each pressure node group consists of two pressure gauge nodes connected by water flow. The water supply network model diagram is constructed based on the urban water supply network. Obtain the path set of each pressure node group respectively. If the path set meets the preset conditions, connect the two pressure gauge nodes in the pressure node group corresponding to the path set to construct a water supply monitoring map. Based on the positional relationship between the pressure gauge nodes in the water supply monitoring diagram, a pressure monitoring coefficient matrix is ​​determined. The pressure monitoring coefficient matrix is ​​a Laplace matrix and is used to amplify abnormal pressure values. Based on the pressure data of each pressure gauge node within the collection period and the pressure monitoring coefficient matrix, the monitoring pressure data corresponding to each pressure gauge node is determined, and based on the monitoring pressure data, it is determined whether the pressure gauge node corresponding to the monitoring pressure data is abnormal. The step of obtaining the path set for each pressure node group includes: Obtain the node information, pipeline structure, and water flow direction of each node in the water supply network model diagram. The nodes include pressure gauge nodes and non-pressure gauge nodes. Based on the node information, the pipeline structure, and the water flow direction of the pipeline network, a directed adjacency matrix corresponding to the water supply network model diagram is constructed. The directed adjacency matrix is ​​used to represent the positional relationship between each node. Based on the directed adjacency matrix, determine the path set corresponding to the pressure node group; When the path set meets preset conditions, connecting two pressure gauge nodes in the pressure node group corresponding to the path set includes: Obtain the nodes of each path in the path set; If at least one node in the path does not include the target pressure gauge node, the path set is determined to meet a preset condition, and two pressure gauge nodes in the pressure node group corresponding to the path set are connected, wherein the target pressure gauge node is the pressure gauge node other than the two pressure gauge nodes in the pressure node group. If each node in the path includes the target pressure gauge node, the path set is determined not to meet the preset conditions.

2. The method for determining abnormal pressure gauge nodes according to claim 1, characterized in that, The step of determining the pressure monitoring coefficient matrix based on the positional relationship between the pressure gauge nodes in the water supply monitoring diagram includes: Obtain the positional relationship between each pressure gauge node in the water supply monitoring diagram; Based on the positional relationships, construct the undirected adjacency matrix corresponding to the water supply monitoring map; Based on the undirected adjacency matrix, determine the degree matrix corresponding to the water supply monitoring map; Based on the undirected adjacency matrix and the degree matrix, the Laplace matrix is ​​determined, and the Laplace matrix is ​​used as the pressure monitoring coefficient matrix.

3. The method for determining abnormal pressure gauge nodes according to claim 1, characterized in that, The step of determining the monitoring pressure data corresponding to each pressure gauge node based on the pressure data of each pressure gauge node within the collection period and the pressure monitoring coefficient matrix includes: Acquire the pressure data collected by the pressure gauge node within the acquisition period; The monitored pressure data is determined by the product of the pressure data and the pressure monitoring coefficient matrix.

4. The method for determining abnormal pressure gauge nodes according to claim 1, characterized in that, Based on the monitored pressure data, determine whether the pressure gauge node corresponding to the monitored pressure data has experienced an anomaly, including: The first pressure value and the second pressure value corresponding to the monitoring pressure data are determined according to a preset statistical algorithm, wherein the first pressure value is less than the second pressure value, and the preset statistical algorithm includes at least one of the following: mean-range algorithm, exponential weighted moving average algorithm and Bollinger Band algorithm; If the pressure value in the monitored pressure data is greater than the second pressure value or less than the first pressure value, the pressure gauge node corresponding to the monitored pressure data is determined to be abnormal. When the pressure value in the monitored pressure data is between the first pressure value and the second pressure value, it is determined that the pressure gauge node corresponding to the monitored pressure data is normal.

5. The method for determining abnormal pressure gauge nodes according to claim 1, characterized in that, After determining the monitored pressure data corresponding to each pressure gauge node based on the pressure data of each pressure gauge node within the acquisition period and the pressure monitoring coefficient matrix, the method further includes: Based on the Savitzky-Golay algorithm and the monitored pressure data, target monitored pressure data is generated, and based on the target monitored pressure data, it is determined whether the pressure gauge node corresponding to the target monitored pressure data is abnormal.

6. An abnormal pressure gauge node determination device, applied to urban water supply networks, characterized in that, The abnormal pressure gauge node determination device includes: The acquisition module is used to acquire all pressure node groups based on the position of each pressure gauge node in the water supply network model diagram and the direction of water flow in the network. The pressure node group consists of two pressure gauge nodes connected by water flow. The water supply network model diagram is constructed based on the urban water supply network. The construction module is used to obtain the path set for each of the pressure node groups. Obtain the path set of each pressure node group respectively. If the path set meets the preset conditions, connect the two pressure gauge nodes in the pressure node group corresponding to the path set to construct a water supply monitoring map. The determination module is used to determine the pressure monitoring coefficient matrix based on the positional relationship between the pressure gauge nodes in the water supply monitoring diagram. The pressure monitoring coefficient matrix is ​​used to amplify abnormal pressure values. The monitoring module is used to determine the monitoring pressure data corresponding to each pressure gauge node based on the pressure data of each pressure gauge node within the collection period and the pressure monitoring coefficient matrix, and to determine whether the pressure gauge node corresponding to the monitoring pressure data is abnormal based on the monitoring pressure data. The construction module is further configured to obtain node information, pipe structure, and water flow direction of each node in the water supply network model diagram, wherein the nodes include pressure gauge nodes and non-pressure gauge nodes; construct a directed adjacency matrix corresponding to the water supply network model diagram based on the node information, pipe structure, and water flow direction, wherein the directed adjacency matrix is ​​used to represent the positional relationship between each node; and determine the path set corresponding to the pressure node group based on the directed adjacency matrix. The building module is also used to obtain the nodes of each path in the path set; If at least one node in the path does not include the target pressure gauge node, the path set is determined to meet a preset condition, and two pressure gauge nodes in the pressure node group corresponding to the path set are connected, wherein the target pressure gauge node is the pressure gauge node other than the two pressure gauge nodes in the pressure node group. If each node in the path includes the target pressure gauge node, the path set is determined not to meet the preset conditions.

7. An electronic device, characterized in that, The electronic device includes a memory and a processor. The memory is used to store computer instructions that can be executed on the processor. The processor is used to determine the abnormal pressure gauge node based on any one of claims 1 to 5 when executing the computer instructions.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the abnormal pressure gauge node determination method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Water supply pipe network pipe burst and leakage preliminary positioning method

    CN109869638A

  • Electric power system partition standby configuration method based on spectral clustering

    CN112507601A