Pipeline pressure leakage position detection method, device, equipment, medium and product

By deploying wireless passive pressure sensors on pipelines, and combining pressure attenuation models and hyperbolic positioning methods, the problems of inaccurate positioning and susceptibility to interference in traditional pipeline leak detection methods are solved, achieving more efficient leak location confirmation.

CN120062556BActive Publication Date: 2025-11-18PIPECHINA SOUTH CHINA CO +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510281127.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-11
Publication Date
2025-11-18
Estimated Expiration
2045-03-11

AI Technical Summary

Technical Problem

Traditional pipeline leak detection methods are difficult to detect leaks in a timely manner, have inaccurate location, and are easily affected by environmental noise, resulting in high maintenance costs and low efficiency.

Method used

Wireless passive pressure sensors are used to monitor pipeline pressure changes. The location of the leak is determined by combining a pressure decay model and a hyperbolic positioning method. The final location is confirmed by comparing and combining historical leak data.

Benefits of technology

It improves the accuracy and timeliness of pipeline leak location detection, avoids misjudgment and missed judgment, and enhances the precision of leak location and the reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120062556B_ABST
    Figure CN120062556B_ABST
Patent Text Reader

Abstract

The application discloses a pipeline pressure leakage position detection method, device, equipment, medium and product, and relates to the technical field of pipeline monitoring. When it is identified that a target pipeline leaks, target pressure data of the target pipeline collected by at least three sensors and position information of the sensors are acquired; a first leakage position is determined according to the target pressure information and the position information of the at least three sensors; a second leakage position is determined according to the target time information and the position information of the at least three sensors; the first leakage position and the second leakage position are compared, and a target leakage position is determined according to a comparison result, historical leakage data and the target pressure data. By using the technical scheme, the leakage position is determined through multiple positioning methods, the leakage positions are compared, and the final leakage position is determined in combination with the historical leakage data, so that the misjudgment of the leakage position in the traditional method is avoided, and the accuracy of pipeline leakage position detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of pipeline monitoring technology, and in particular to methods, devices, equipment, media, and products for detecting pipeline pressure leak locations. Background Technology

[0002] With the continuous advancement of industrialization, pipeline transportation systems play a vital role in energy, chemical, and natural gas industries. The stable operation of pipelines is crucial for ensuring energy supply and production safety. However, due to the long-term use of pipelines, changes in the external environment, and the complexity of operation and maintenance, pipeline leaks are often unavoidable. Especially in pipelines transporting critical resources such as oil and natural gas, leaks can cause not only severe economic losses but also significant environmental impacts and even trigger safety accidents.

[0003] Traditional pipeline leak detection methods mainly rely on routine monitoring by pressure sensors and flow meters. However, these methods often have some problems. For example, traditional pressure monitoring equipment often relies on periodic testing and manual inspection, making it difficult to detect leaks in their early stages and causing them to be easily overlooked. Furthermore, traditional leak detection methods mostly rely on monitoring global pressure changes, making it difficult to accurately locate the specific leak point, resulting in high maintenance and troubleshooting costs and low efficiency. Additionally, the signals from traditional sensors are easily affected by environmental noise and external interference, making it difficult to achieve accurate leak detection and location in complex environments. Summary of the Invention

[0004] This invention provides a method, apparatus, equipment, medium, and product for detecting pipeline pressure leaks, in order to solve the problem of how to accurately detect the location of pipeline pressure leaks.

[0005] According to one aspect of the present invention, a method for detecting the location of pipeline pressure leaks is provided, comprising:

[0006] When a leak is detected in the target pipeline, target pressure data of the target pipeline and the location information of the sensors are acquired from at least three sensors; wherein, the target pressure data includes target pressure information and target time information;

[0007] The first leak location is determined based on the target pressure information and the position information of at least three sensors;

[0008] The second leak location is determined based on the target time information and the location information of at least three sensors;

[0009] The first leak location and the second leak location are compared, and the target leak location is determined based on the comparison results, combined with historical leak data and the target pressure data.

[0010] According to another aspect of the present invention, a pipeline pressure leak location detection device is provided, comprising:

[0011] The acquisition module is used to acquire target pressure data of the target pipeline and the location information of the sensors from at least three sensors when a leak is detected in the target pipeline; wherein, the pressure data includes target pressure information and target time information;

[0012] The first leak location determination module is used to determine the first leak location based on the target pressure information and the location information of at least three sensors.

[0013] The second leak location determination module is used to determine the second leak location based on the target time information and the location information of at least three sensors.

[0014] The target leak location determination module is used to compare the first leak location and the second leak location, and determine the target leak location based on the comparison result, combined with historical leak data and the target pressure data.

[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0016] At least one processor; and

[0017] A memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the pipeline pressure leak location detection method according to any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the pipeline pressure leak location detection method according to any embodiment of the present invention.

[0020] According to another aspect of the present invention, a computer program product is provided, the computer program product comprising a computer program that, when executed by a processor, implements the pipeline pressure leak location detection method according to any embodiment of the present invention.

[0021] The technical solution of this invention, upon detecting a leak in a target pipeline, acquires target pressure data of the target pipeline collected by at least three sensors and the position information of the sensors; determines a first leak location based on the target pressure information and the position information of the at least three sensors; determines a second leak location based on the target time information and the position information of the at least three sensors; compares the first leak location and the second leak location, and determines the target leak location based on the comparison result combined with historical leak data and the target pressure data. This technical solution solves the problem of accurately locating pipeline pressure leaks. By determining the leak location through multiple location methods, comparing the leak locations, and combining historical leak data to determine the final leak location, it ensures the accuracy of the leak location, avoids misjudgments and omissions in traditional methods, and improves the timeliness and accuracy of pipeline leak detection.

[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0024] Figure 1 This is a flowchart of a pipeline pressure leak location detection method provided by an embodiment of the present invention;

[0025] Figure 2 This is a flowchart of a method for identifying a target pipeline leak according to an embodiment of the present invention;

[0026] Figure 3 This is a flowchart of a pipeline pressure leak location detection method provided by an embodiment of the present invention;

[0027] Figure 4 This is a flowchart of a method for determining candidate leak locations according to an embodiment of the present invention;

[0028] Figure 5 This is a schematic diagram of a pipeline pressure leakage location detection device provided according to an embodiment of the present invention;

[0029] Figure 6 This is a schematic diagram of the structure of an electronic device that implements a pipeline pressure leakage location detection method according to an embodiment of the present invention. Detailed Implementation

[0030] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0032] Furthermore, it should be noted that the collection, storage, use, processing, transmission, provision, and disclosure of pressure data and other data involved in the technical solution of this invention all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0033] Figure 1 This is a flowchart of a pipeline pressure leak location detection method according to an embodiment of the present invention. This embodiment is applicable to detecting pipeline pressure leak locations. The method can be executed by a pipeline pressure leak location detection device provided in this embodiment, which can be implemented in hardware and / or software and can be configured in a server. Figure 1 As shown, the method includes:

[0034] S110. When a leak is detected in the target pipeline, acquire the target pressure data of the target pipeline collected by at least three sensors and the location information of the sensors; wherein, the target pressure data includes target pressure information and target time information.

[0035] The target pipeline is the pipeline where a leak has occurred; the sensor is a pressure sensor deployed on the outer surface of the target pipeline to collect the pressure value of the pipeline; the target pressure data is the pressure value collected in real time by the sensor deployed on the target pipeline at various times; the target pressure information is the pressure value collected by the sensor on the target pipeline; and the target time information is the time information corresponding to each collected pressure value.

[0036] Specifically, when a leak is detected in the target pipeline, the system acquires the target pressure information and corresponding time information collected by at least three sensors deployed on the target pipeline, and also acquires the location information of each sensor.

[0037] Preferably, in this embodiment of the invention, the sensor can be a wireless passive pressure sensor, with three sets of wireless passive pressure sensors evenly deployed on the outer surface of the pipe according to the length of the pipe. It is understood that traditional pressure sensors are easily affected by external interference factors and cannot accurately detect pressure in complex environments, resulting in the inability to monitor pressure changes in the pipe in a timely manner. In contrast, the wireless passive pressure sensor can not only monitor the pressure data in the pipe in real time, but also uses wireless passive technology, which reduces the need for external power supply and improves the stability and reliability of the system.

[0038] Understandably, traditional pressure monitoring equipment often relies on periodic testing and manual inspection, making it difficult to detect leaks in their early stages and causing them to be easily overlooked. However, in this embodiment of the invention, wireless passive pressure sensors arranged at equal intervals on the outer surface of the pipe can continuously monitor pressure changes within the pipe, enabling timely processing when pressure data changes and early detection of leaks.

[0039] Optional, such as Figure 2 The method for identifying a target pipeline leak, as shown, includes:

[0040] S111. Collect the normal operation records corresponding to the target pipeline, and extract the normal pressure range from the normal operation records.

[0041] Pressure data is collected by sensors deployed on the target pipeline during normal operation, which can be the pressure value at each moment. The pressure value at each moment is extracted from the normal operation record, and the normal pressure range of the target pipeline is determined based on the minimum and maximum pressure values.

[0042] S112. Generate a steady-state pressure range based on standard pipeline pressure data and normal pressure range.

[0043] Among them, the standard pressure data of the pipeline is the standard pressure data preset for each pipeline; the steady-state pressure range is the pressure fluctuation range of the target pipeline under normal operation.

[0044] Specifically, the standard pressure data of the pipeline is obtained, the minimum pressure value in the standard pressure data is compared with the minimum pressure value in the normal pressure range, and the smaller pressure value is taken as the left boundary value of the steady-state pressure data range; the maximum pressure value in the standard pressure data is compared with the maximum pressure value in the normal pressure range, and the larger pressure value is taken as the right boundary value of the steady-state pressure data range. The steady-state pressure range is generated based on the left and right boundary values.

[0045] S113. When the target pressure information is less than the minimum value in the steady-state pressure range, a leak is detected in the target pipeline.

[0046] Specifically, the pressure information of the target pipeline is acquired in real time by sensors deployed on the target pipeline and compared with the steady-state pressure range. When the pressure information is less than the minimum value of the steady-state pressure data range, it can be determined that the pipeline is leaking.

[0047] Understandably, by using normal operation records and standard pressure data, the pressure range of the pipeline under normal operation can be accurately established, ensuring that the basis for determining pipeline leaks is based on historical pipeline data, thus avoiding misjudgments caused by sudden factors. By clearly setting the maximum and minimum values ​​of the steady-state pressure range, leaks can be quickly identified when the pressure value is lower than the minimum value, and an immediate response can be given, reducing the reaction delay when a leak occurs and improving the real-time performance and accuracy of monitoring.

[0048] In an optional embodiment of the present invention, to avoid the influence of environmental noise and other interference factors on pressure data, the pressure data collected by sensors deployed on the target pipeline can be denoised. Preferably, the pressure data is denoised using a weighted moving average method.

[0049]

[0050] in, This indicates the smoothed pressure data at time [time]. The value, This indicates the pressure data at time [time]. The value, This represents the data points within the sliding window. Indicates time The weighting factor is N, which represents the window size and can take the values ​​3, 5, or 7.

[0051] Specifically, pressure data can be cleaned before noise reduction to remove outliers or missing values, and weighted according to time intervals. For example, the pressure data at the current moment is more important and therefore given a higher weight, while the data at previous moments have a lower weight. This weighted processing can highlight the pressure changes at the current moment.

[0052] Understandably, using the weighted moving average method to reduce noise in pressure data improves the stability and reliability of the data. Compared to simple averaging or other noise reduction methods, the weighted moving average method can effectively retain useful information and reduce noise interference. Especially when there are fluctuations in the external environment or sensor errors, by dynamically adjusting the weighting factor, it can more accurately reflect the changing trend of pressure data, reduce the impact of noise on monitoring results, ensure that the collected pressure data is more real and reliable, and improve the response speed and accuracy of the entire pipeline leak monitoring system.

[0053] S120. Determine the first leak location based on the target pressure information and the position information of at least three sensors.

[0054] Among them, the location information of at least three sensors refers to the location of three sets of wireless passive pressure sensors deployed on the target pipeline; the target pressure information is the pressure value collected by the sensors deployed on the target pipeline after a leak is determined to have occurred.

[0055] Specifically, taking the sensor corresponding to the point of maximum pressure decay as the origin, and combining the pressure information collected by the other sensors with the pressure decay model, the first leak location is obtained; the expression of the pressure decay model is as follows:

[0056]

[0057] in, The sensor corresponding to the point of maximum pressure attenuation. The pressure information collected by the sensor Initial pressure data for the target pipeline. As the attenuation factor, The fixed distance between the sensors This is the location of the first leak.

[0058] The attenuation factor α is obtained through the following expression:

[0059]

[0060] in, As the attenuation factor, For the first The distance between the sensors For the first Pressure information collected by a single sensor This represents the average distance across all sensors. This represents the average pressure information from all sensors.

[0061] For example, when a pipeline leak occurs, the pressure inside the pipeline will decrease, especially the pressure change is most obvious near the leak point. Then, taking the sensor corresponding to the point of maximum pressure decrease as the origin, the pressure values ​​of the other two sets of sensors at the current moment can be obtained when a leak occurs. Combined with the pressure decrease model, the leak location can be determined based on the pressure decrease law of the target pipeline and the pressure value difference of sensors at different locations.

[0062] S130. Determine the second leak location based on the target time information and the location information of at least three sensors.

[0063] Specifically, the time difference between when the other sensors collect the pressure value can be determined based on the target time information corresponding to the pressure value collected by the sensors other than the sensor corresponding to the maximum attenuation. Then, the second leak location can be obtained based on the hyperbolic positioning method using this time difference and the position information of at least three sensors.

[0064] in, This is the second leak location. This refers to the position of a random sensor, excluding the sensor corresponding to the point of maximum attenuation. This indicates the location of the last remaining sensor in the three sets of wireless passive pressure sensors. Indicates the propagation speed of pressure waves. This indicates the time difference.

[0065] Specifically, the hyperbolic positioning method can be used to determine the second leak location by calculating the propagation time difference between the pressure information of the leak in the target pipeline and the other sensors.

[0066] Understandably, by combining the pressure decay model and the hyperbolic positioning method, the limitations of a single method can be eliminated, and inaccurate positioning results due to errors in a single method can be avoided.

[0067] S140. Compare the first leak location and the second leak location, and determine the target leak location based on the comparison results, combined with historical leak data and target pressure data.

[0068] The historical leakage data includes the historical pressure change rate of the three sets of wireless passive pressure sensors under historical leakage conditions, as well as the final historical leakage location determined under historical leakage conditions, and the historical pressure change rate corresponds to the final historical leakage location; the target pressure data includes the pressure information and corresponding time information collected by the three sets of wireless passive pressure sensors after they have identified the leakage.

[0069] Specifically, the first leak location obtained by combining the pressure decay model is compared with the second leak location obtained based on the time difference. The comparison result can be that the locations are the same or they are different. The final leak location is then determined based on the comparison result, historical leak data and target pressure data.

[0070] Optionally, the first leak location and the second leak location are compared, and the target leak location is determined based on the comparison result, including:

[0071] Compare the first leak location with the second leak location;

[0072] If the first leak location coincides with the second leak location, then the first leak location will be taken as the target leak location;

[0073] If the first leak location is inconsistent with the second leak location, the target leak location is determined based on the target pressure data and historical leak data.

[0074] Specifically, the first leak location, obtained by combining pressure data from other sensors with a pressure decay model, is compared with the second leak location obtained by the hyperbolic positioning method. If the comparison result shows that the first leak location and the second leak location are the same, then the above leak location is taken as the target leak location. If the comparison result shows that the first leak location and the second leak location are different, then total pressure data is collected from the sensor corresponding to the maximum pressure decay. The total pressure data includes pressure information at multiple times and decay feature data is established. By comparing the similarity between the decay feature dataset and historical data, the final location of the leak is confirmed.

[0075] Understandably, the prediction based on the pressure decay model and hyperbolic positioning method improves the accuracy of leak location. When the predicted locations are inconsistent, the comparison with historical data provides an additional verification method, ensuring the accuracy of the location results and improving the efficiency and reliability of the pipeline monitoring system.

[0076] The technical solution of this invention, upon detecting a leak in a target pipeline, acquires target pressure data of the target pipeline collected by at least three sensors and the position information of the sensors; determines a first leak location based on the target pressure information and the position information of the at least three sensors; determines a second leak location based on target time information and the position information of the at least three sensors; compares the first and second leak locations, and determines the target leak location based on the comparison results combined with historical leak data and target pressure data. This technical solution solves the problem of accurately locating pipeline pressure leaks by using multiple location methods to determine the leak location, comparing and verifying the leak locations, and combining historical leak data to determine the final leak location. This improves the accuracy of leak location location, avoids misjudgments and omissions in traditional methods, and enhances the accuracy of pipeline leak location detection.

[0077] Figure 3 This is a flowchart of a pipeline pressure leak location detection method according to an embodiment of the present invention. Based on the above embodiments, this embodiment supplements the specific method for determining the target leak location based on pressure data and historical leak data when the first leak location and the second leak location are inconsistent. It should be noted that for parts not detailed in this embodiment, please refer to the relevant descriptions in other embodiments. Figure 3 As shown, the method includes:

[0078] S210. When a leak is detected in the target pipeline, acquire the target pressure data of the target pipeline and the position information of the sensors collected by at least three sensors; wherein, the target pressure data includes target pressure information and target time information.

[0079] S220. Determine the first leak location based on the target pressure information and the position information of at least three sensors.

[0080] S230. Determine the second leak location based on the target time information and the location information of at least three sensors.

[0081] S240. Compare the first leak location and the second leak location; if the first leak location and the second leak location are inconsistent, perform pressure change processing on the target pressure data to obtain pressure decay data.

[0082] Among them, the pressure decay data is the pressure change rate of each sensor at each time.

[0083] Specifically, if the first leak location is different from the second leak location, the pressure data collected by the sensor is obtained, the target pressure information and target time information in the target pressure data are obtained, and the pressure change is performed on it. The pressure change rate at each time is used as the pressure decay data.

[0084] S250. Cluster the pressure decay data and historical leakage data, and determine at least two initial leakage location sets based on the clustering results; historical leakage data includes historical leakage locations and historical pressure data.

[0085] The initial leak location set is a set of leak locations containing historical leak data and pressure decay data after clustering algorithm; the historical leak data includes historical leak locations and historical pressure data. The historical leak locations are the historical pressure change rates of three sets of wireless passive pressure sensors deployed on the pipeline under historical leak conditions and the final historical leak locations determined under historical leak conditions; the historical pressure data are the pressure data collected by three sets of wireless passive pressure sensors deployed on the pipeline under historical leak conditions.

[0086] In an optional embodiment of the present invention, pressure decay data and historical leakage data can be clustered using the K-means clustering algorithm, and at least two initial leakage location sets can be determined based on the clustering results. This includes: initializing K centroids in the historical leakage data, allocating pressure decay data to the nearest centroid to form K clusters; recalculating the centroid of each cluster and continuously reducing the total number of clusters; redistributing the pressure decay data based on the recalculated centroids of each cluster, and recalculating the centroids of each cluster based on the redistributed clusters, until the centroids of each cluster no longer change or the process is repeated a preset number of times; and integrating the data within each cluster into an initial leakage location set, thus obtaining at least two initial leakage location sets.

[0087] Understandably, through an automated clustering process, real-time data can be intelligently compared with historical leakage data without human intervention to determine the probability and location of a leak. Even if there are multiple leaks with similar patterns in a pipeline, the clustering algorithm can effectively filter out noisy data and improve the accuracy of leak location determination through comprehensive analysis of multiple historical leakage data. As historical leakage data accumulates, the clustering model and the accuracy of leak location prediction can be continuously optimized.

[0088] S260. Based on the pressure decay data and at least two initial leak location sets, determine the candidate leak locations.

[0089] Each initial leak location set contains at least one initial leak location, which is a historical leak location in the historical leak data; the candidate leak location is an initial leak location in the initial leak location set that includes pressure decay data.

[0090] Specifically, candidate leak locations are determined from each initial leak location within the initial leak location set containing the pressure decay data, based on the pressure decay data.

[0091] Optional, such as Figure 4The flowchart shown illustrates the method for determining candidate leak locations. Based on pressure decay data and at least two initial leak location sets, candidate leak locations are determined, including:

[0092] S261. Determine the target initial leak location set to which the pressure decay data belongs from at least two initial leak location sets.

[0093] Since the decay feature data is assigned to the nearest centroid, there is only one cluster containing the pressure decay data. The initial leak location set where the pressure decay data is located is taken as the target initial leak location set.

[0094] S262. Determine candidate leakage locations from the initial set of target leakage locations.

[0095] The target initial leak location set may contain at least one initial leak location, and candidate leak locations can be determined from at least one initial leak location by determining the uniqueness of the initial leak location.

[0096] Optionally, candidate leak locations are determined from the initial set of target leak locations, including:

[0097] If there is only one initial leak location in the target initial leak location set, then that initial leak location is taken as the candidate leak location;

[0098] If the target initial leak location set contains at least two initial leak locations, then candidate leak locations are determined based on the at least two initial leak locations.

[0099] Specifically, when the initial leakage location in the target initial leakage location set is unique, the initial leakage location is used as a candidate leakage location; when the initial leakage location in the target initial leakage location set is not unique, a candidate leakage location is determined based on at least two initial leakage locations.

[0100] Understandably, judging the accuracy of the leak location based on the uniqueness of the initial leak location in the target initial leak location set can effectively avoid the risk of misjudgment caused by the diversity of historical data and provide more reliable leak location prediction results.

[0101] Optionally, if the target initial leak location set contains at least two initial leak locations, then candidate leak locations are determined based on the at least two initial leak locations, including:

[0102] Sort at least two initial leak locations to obtain a location sequence, and determine the median location in the location sequence;

[0103] Based on the median location, at least two initial leakage locations are divided into a first location set and a second location set;

[0104] Determine the mean values ​​of the first and second position sets respectively to obtain the mean values ​​of the first and second positions.

[0105] Candidate leak locations are determined based on the mean of the first location, the mean of the second location, the number of first locations in the first location set, the number of second locations in the second location set, and the median location.

[0106] The median position is the initial leak position located in the middle of the position sequence. For example, if there are three initial leak positions in the position sequence, the initial leak position in the middle of the position sequence is taken as the median position; if there are two initial leak positions in the position sequence, the average of the initial leak positions is taken as the median position. The first position set is the set of positions consisting of at least one initial leak position greater than the median position; the second position set is the set of positions consisting of at least one initial leak position less than the median position; the average of the first position is the average of at least one initial leak position in the first position set; the average of the second position is the average of at least one initial leak position in the second position set; the number of the first position is the number of initial leak positions in the first position set; the number of the second position is the number of initial leak positions in the second position set.

[0107] Specifically, if the target leak location set contains at least two initial leak locations, the at least two initial leak locations are sorted by size to obtain a location sequence of initial leak locations, and the median position in the location sequence is determined; based on the median position and size order, the initial leak locations greater than the median position among the at least two initial leak locations are taken as the first location set; the initial leak locations less than the median position among the at least two initial leak locations are taken as the second location set; the average values ​​of the first location set and the second location set are determined respectively to obtain the first location mean and the second location mean; based on the first location mean, the second location mean, the number of first locations in the first location set, the number of second locations in the second location set, and the median position, candidate leak locations are determined.

[0108] In an alternative embodiment of the present invention, candidate leak locations are determined by grouping initial leak locations and calculating a weighted average, as shown below:

[0109]

[0110] in, Candidate leak locations, The average of the first position. The median position, The mean of the second position. The number of the first positions in the first position set. This represents the number of second positions in the second position set.

[0111] Understandably, grouping the initial leak location data and calculating a weighted average effectively reduces the interference of outliers in leak location judgment and improves the stability and accuracy of leak location determination. Dividing the initial leak location data into two groups by determining the median position avoids the misleading effect of relying solely on extreme values. Using grouped data better represents the overall characteristics of historical leak events, which is especially suitable for scenarios with large changes in leak patterns.

[0112] S270. Determine the target leak location based on the candidate leak location, the first leak location, and the second leak location.

[0113] Specifically, the candidate leak location obtained by combining historical leak locations from historical leak data will be compared again with the first leak location and the second leak location to obtain the target leak location.

[0114] Optionally, the target leak location is determined based on the candidate leak location, the first leak location, and the second leak location, including:

[0115] The leakage range is determined based on the first and second leakage locations;

[0116] When a candidate leak location is within the leak area, the candidate leak location is taken as the target leak location;

[0117] When the candidate leak location is not within the leak range, the target leak location is determined based on the candidate leak location and the leak range.

[0118] Specifically, the leakage range is obtained based on the first leakage location and the second leakage location; when the candidate leakage location is within the leakage range, the candidate leakage location is taken as the target leakage location; when the candidate leakage location is not within the leakage range, the candidate leakage location and the leakage range are integrated to form a set, and the integrated leakage range is taken as the target leakage location.

[0119] This invention compares and verifies the leak location, and combines historical leak data to relocate the leak location, ensuring the accuracy of the leak location. When comparing the prediction results, it automatically determines whether the candidate leak location conforms to the preset leak range, and can integrate leak locations that are not within the range to further optimize the leak range and improve the system's adaptability to complex leak situations. By combining the integration method of candidate leak locations and leak range, it avoids the misjudgment problem that is prone to occur in traditional methods, and provides a more reliable leak location determination method, which helps to take timely remedial measures and reduce losses.

[0120] Figure 5This is a schematic diagram of a pipeline pressure leak location detection device according to an embodiment of the present invention. This embodiment is applicable to situations requiring pipeline leak location detection; the pipeline pressure leak location detection device can be implemented in hardware and / or software, and can be configured in a server. The pipeline pressure leak location detection device 300 includes a data acquisition module 310, a first leak location determination module 320, a second leak location determination module 330, and a target leak location determination module 340.

[0121] The acquisition module 310 is used to acquire target pressure data of the target pipeline and sensor location information collected by at least three sensors when a leak is detected in the target pipeline; wherein, the pressure data includes target pressure information and target time information;

[0122] The first leak location determination module 320 is used to determine the first leak location based on the target pressure information and the location information of at least three sensors.

[0123] The second leak location determination module 330 is used to determine the second leak location based on the target time information and the location information of at least three sensors.

[0124] The target leak location determination module 340 is used to compare the first leak location and the second leak location, and determine the target leak location based on the comparison result combined with historical leak data and target pressure data.

[0125] The technical solution of this invention, when a leak is detected in a target pipeline, acquires target pressure data of the target pipeline collected by at least three sensors and the position information of the sensors; determines a first leak location based on the target pressure information and the position information of the at least three sensors; determines a second leak location based on target time information and the position information of the at least three sensors; compares the first leak location and the second leak location, and determines the target leak location based on the comparison result combined with historical leak data and target pressure data. This technical solution solves the problem of how to improve the accuracy of locating pipeline pressure leaks. By determining the leak location through multiple location methods and comparing and verifying the leak locations, the accuracy of the leak location is ensured, avoiding misjudgments and omissions in traditional methods, and improving the timeliness and accuracy of pipeline leak detection.

[0126] Optionally, the target leak location determination module 340 is used to compare the first leak location and the second leak location; if the first leak location is consistent with the second leak location, the first leak location is taken as the target leak location; if the first leak location is inconsistent with the second leak location, the target leak location is determined based on the target pressure data and historical leak data.

[0127] Optionally, the target leak location determination module 340 includes a pressure decay data determination unit, a clustering unit, a candidate leak data determination unit, and a target leak location determination unit.

[0128] The pressure decay data determination unit is used to perform pressure change processing on the target pressure data to obtain pressure decay data if the first leakage location and the second leakage location are inconsistent.

[0129] Clustering units are used to cluster pressure decay data and historical leakage data, and determine at least two initial sets of leakage locations based on the clustering results; historical leakage data includes historical leakage locations and historical pressure data.

[0130] The candidate leak data determination unit is used to determine candidate leak locations based on pressure decay data and at least two initial leak location sets;

[0131] The target leak location determination unit is used to determine the target leak location based on the candidate leak location, the first leak location, and the second leak location.

[0132] Optionally, the candidate leak data determination unit includes a target initial leak location set subunit and a candidate leak location determination subunit;

[0133] The target initial leak location set sub-unit is used to determine the target initial leak location set to which the pressure decay data belongs from at least two initial leak location sets;

[0134] The candidate leak location determination subunit is used to determine candidate leak locations from the initial set of target leak locations.

[0135] Optionally, the candidate leak location determination subunit is used to: if there is only one initial leak location in the target initial leak location set, then the initial leak location is used as a candidate leak location; if the target initial leak location set contains at least two initial leak locations, then the candidate leak location is determined based on the at least two initial leak locations.

[0136] Optionally, the candidate leak location determination subunit is specifically used to sort at least two initial leak locations to obtain a location sequence and determine the median position in the location sequence; divide the at least two initial leak locations into a first location set and a second location set according to the median position; determine the position mean of the first location set and the second location set respectively to obtain the first position mean and the second position mean; and determine the candidate leak location according to the first position mean, the second position mean, the number of first positions in the first location set, the number of second positions in the second location set, and the median position.

[0137] Optionally, the target leak location determination unit is specifically used to obtain the leak range based on the first leak location and the second leak location; when the candidate leak location is within the leak range, the candidate leak location is used as the target leak location; when the candidate leak location is not within the leak range, the target leak location is determined based on the candidate leak location and the leak range.

[0138] Optionally, the acquisition module 310 is used to acquire the normal operation records corresponding to the target pipeline and extract the normal pressure range from the normal operation records; generate a steady-state pressure range based on the pipeline standard pressure data and the normal pressure range; when the target pressure data is less than the minimum value in the steady-state pressure range, a leak is detected in the target pipeline.

[0139] The pipeline pressure leakage location detection device provided in this embodiment of the invention can execute the pipeline pressure leakage location detection method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0140] According to embodiments of the present invention, the present invention also provides an electronic device, a readable storage medium, and a computer program product.

[0141] Figure 6 A schematic diagram of an electronic device 10, which can be used to implement embodiments of the present invention, is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0142] like Figure 6 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0143] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0144] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as pipeline pressure leak location detection methods.

[0145] In some embodiments, the pipeline pressure leak location detection method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the pipeline pressure leak location detection method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the pipeline pressure leak location detection method by any other suitable means (e.g., by means of firmware).

[0146] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0147] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0148] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0149] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0150] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0151] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0152] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

Claims

1. A method for detecting the location of pipeline pressure leaks, characterized in that, include: When a leak is detected in the target pipeline, target pressure data of the target pipeline and the location information of the sensors are acquired from at least three sensors; wherein, the target pressure data includes target pressure information and target time information; The first leak location is determined based on the target pressure information and the position information of at least three sensors; The second leak location is determined based on the target time information and the location information of at least three sensors; Compare the first leak location and the second leak location; If the first leak location coincides with the second leak location, then the first leak location is taken as the target leak location; If the first leak location is different from the second leak location, the target pressure data is processed to obtain pressure decay data. The pressure decay data and historical leakage data are clustered, and at least two initial leakage location sets are determined based on the clustering results; the historical leakage data includes historical leakage locations and historical pressure data. Based on the pressure decay data and the at least two initial leak location sets, candidate leak locations are determined; The leakage range is obtained based on the first leakage location and the second leakage location; When the candidate leak location is within the leak range, the candidate leak location is taken as the target leak location; When the candidate leak location is not within the leak range, the target leak location is determined based on the candidate leak location and the leak range.

2. The method according to claim 1, characterized in that, Based on the pressure decay data and the at least two initial leak location sets, candidate leak locations are determined, including: Determine the target initial leak location set to which the pressure decay data belongs from the at least two initial leak location sets; Candidate leak locations are determined from the initial set of target leak locations.

3. The method according to claim 2, characterized in that, Determining candidate leak locations from the initial set of target leak locations includes: If there is only one initial leak location in the target initial leak location set, then that initial leak location is taken as a candidate leak location; If the target initial leak location set contains at least two initial leak locations, then candidate leak locations are determined based on the at least two initial leak locations.

4. The method according to claim 3, characterized in that, If the target initial leak location set contains at least two initial leak locations, then candidate leak locations are determined based on the at least two initial leak locations, including: The at least two initial leak locations are sorted to obtain a location sequence, and the median location in the location sequence is determined. Based on the median position, the at least two initial leakage locations are divided into a first location set and a second location set; The mean values ​​of the first position set and the second position set are determined respectively to obtain the first mean value and the second mean value; Candidate leak locations are determined based on the first location average, the second location average, the first number of locations in the first location set, the second number of locations in the second location set, and the median location.

5. The method according to claim 1, characterized in that, A leak was detected in the target pipeline, including: Collect the normal operation records corresponding to the target pipeline, and extract the normal pressure range from the normal operation records; A steady-state pressure range is generated based on the standard pipeline pressure data and the normal pressure range. When the target pressure information is less than the minimum value in the steady-state pressure range, a leak is detected in the target pipeline.

6. A pipeline pressure leak location detection device, characterized in that, The device implements the pipeline pressure leak location detection method according to any one of claims 1-5.

7. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the pipeline pressure leak location detection method according to any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the pipeline pressure leak location detection method according to any one of claims 1-5.

9. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the pipeline pressure leak location detection method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Municipal pipe network pipe explosion monitoring system and method

    CN112377817A

  • Precise positioning system for pipeline leakage

    CN118503628A