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

By deploying multiple wireless pressure sensors outside the pipeline, combining the pressure attenuation model and hyperbolic positioning method, the problem of difficulty in accurately positioning the leakage position of the pipeline in traditional methods is solved, and efficient and accurate leakage detection and positioning is achieved.

CN120062556AActive Publication Date: 2025-05-30PIPECHINA SOUTH CHINA CO +1
View PDF 9 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Traditional pipeline leakage detection methods are difficult to accurately and promptly detect leakage points, and it is difficult to accurately locate leakage locations, resulting in high maintenance costs and low efficiency.

Method used

Pressure data in the pipeline is monitored in real time by deploying at least three wireless passive pressure sensors on the outer surface of the pipeline. When a leakage occurs, the pressure data and position information collected by the sensor are obtained, the leakage position is determined using the pressure attenuation model and hyperbolic positioning method, and the leakage position is finally determined through comparison and historical data verification.

Benefits of technology

The accurate positioning of the pipe pressure leakage position is achieved, the timeliness and accuracy of leakage detection is improved, misjudgment and misjudgment in traditional methods is avoided, and maintenance costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120062556A_ABST
    Figure CN120062556A_ABST
Patent Text Reader

Abstract

The invention discloses a pipeline pressure leakage position detection method, device and equipment, a medium and a product, and relates to the technical field of pipeline monitoring. When it is recognized that the target pipeline leaks, target pressure data, collected by at least three sensors, of the target pipeline and position information of the sensors are obtained; determining a first leakage position according to the target pressure information and the position information of at least three sensors; determining a second leakage position according to the target time information and the position information of at least three sensors; and comparing the first leakage position with the second leakage position, and determining a target leakage position according to a comparison result in combination with historical leakage data and the target pressure data. By the adoption of the technical scheme, the leakage position is determined through multiple positioning methods, the leakage position is compared, the final leakage position is determined in combination with the historical leakage data, misjudgment of the leakage position in a 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] The present invention relates to the technical field of pipeline monitoring, and particularly relates to a method, device, equipment, medium and product for detecting the leakage position of pipeline pressure. Background Art

[0002] With the continuous advancement of the industrialization process, the pipeline transportation system plays a crucial role in fields such as energy, chemical industry, and natural gas. 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 leakage problems are often inevitable. Especially in pipelines for transporting important resources such as oil and natural gas, leakage not only causes serious economic losses but may also have a huge impact on the environment and even trigger safety accidents.

[0003] Traditional pipeline leakage detection methods mainly rely on the conventional monitoring of pressure sensors and flow meters, but these methods usually have some problems. For example, traditional pressure monitoring devices often rely on regular inspections and manual patrols, resulting in the occurrence of leakage often being difficult to be detected in a timely manner at the initial stage, and leakage problems are easily overlooked. Moreover, most traditional leakage detection methods rely on the monitoring of global pressure changes and are difficult to accurately locate the specific position of the leakage point, resulting in high costs and low efficiency for maintenance and troubleshooting work. In addition, the signals of traditional sensors are easily affected by factors such as environmental noise and external interference, making it difficult to achieve accurate leakage monitoring and positioning in complex environments. Summary of the Invention

[0004] The present invention provides a method, device, equipment, medium and product for detecting the leakage position of pipeline pressure to solve the problem of how to accurately detect the leakage position of pipeline pressure.

[0005] According to one aspect of the present invention, a method for detecting the leakage position of pipeline pressure is provided, including:

[0006] When it is recognized that a target pipeline has leaked, obtain the target pressure data of the target pipeline collected by at least three sensors and the position information of the sensors; wherein, the target pressure data includes target pressure information and target time information;

[0007] Determine a first leakage position according to the target pressure information and the position information of at least three sensors;

[0008] Determine a second leakage position according to the target time information and the position information of at least three sensors;

[0009] Compare the first leakage position and the second leakage position, and determine the target leakage position according to the comparison result in combination with historical leakage data and the target pressure data.

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

[0011] An acquisition module, configured to obtain target pressure data of a target pipeline collected by at least three sensors and position information of the sensors when it is recognized that the target pipeline leaks; wherein, the pressure data includes target pressure information and target time information;

[0012] A first leakage position determination module, configured to determine a first leakage position according to the target pressure information and position information of at least three sensors;

[0013] A second leakage position determination module, configured to determine a second leakage position according to the target time information and position information of at least three sensors;

[0014] A target leakage position determination module, configured to compare the first leakage position and the second leakage position, and determine a target leakage position according to the comparison result in combination with historical leakage data and the target pressure data.

[0015] According to another aspect of the present invention, there is provided an electronic device, 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 executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the pipeline pressure leakage position detection method according to any embodiment of the present invention.

[0019] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the pipeline pressure leakage position detection method according to any embodiment of the present invention when executed.

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

[0021] In the technical solution of the embodiment of the present invention, when it is recognized 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 obtained; a first leakage position is determined according to the target pressure information and the position information of at least three sensors; a second leakage position is determined according to the target time information and the position information of at least three sensors; the first leakage position and the second leakage position are compared, and a target leakage position is determined according to the comparison result in combination with historical leakage data and the target pressure data. The above technical solution solves the problem of how to accurately locate the pipeline pressure leakage position. By using multiple positioning methods to determine the leakage position, comparing the leakage positions and combining historical leakage data to determine the final leakage position, the accuracy of the leakage position is ensured, misjudgment and missed judgment in the traditional method are avoided, and the timeliness and accuracy of pipeline leakage detection are improved.

[0022] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0024] Figure 1 is a flowchart of a method for detecting the pipeline pressure leakage position according to an embodiment of the present invention;

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

[0026] Figure 3 is a flowchart of a method for detecting the pipeline pressure leakage position according to an embodiment of the present invention;

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

[0028] Figure 5 is a schematic structural diagram of a device for detecting the pipeline pressure leakage position according to an embodiment of the present invention;

[0029] Figure 6 is a schematic structural diagram of an electronic device for implementing the method for detecting the pipeline pressure leakage position according to an embodiment of the present invention. Detailed implementation manners

[0030] To enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above drawings 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 used may be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0032] In addition, it should also be noted that in the technical solution of the present invention, the collection, storage, use, processing, transmission, provision, disclosure, etc. of the pressure data and the like involved all comply with the provisions of relevant laws and regulations and do not violate public order and good customs.

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

[0034] S110. When it is recognized that the target pipeline leaks, obtain the target pressure data of the target pipeline collected by at least three sensors and the position information of the sensors; wherein, the target pressure data includes target pressure information and target time information.

[0035] Among them, the target pipeline is the pipeline with leakage; 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 corresponding to each moment collected in real time by the sensor deployed on the target pipeline, the target pressure information is the pressure value of the sensor collecting the target pipeline, and the target time information is the time information corresponding to each collected pressure value.

[0036] Specifically, when it is recognized that the target pipeline leaks, at least three sensors deployed on the target pipeline are used to collect the target pressure information and the corresponding time information, and the position information corresponding to each sensor is obtained.

[0037] Preferably, in the embodiment of the present invention, the sensor can be a wireless passive pressure sensor, and three groups of wireless passive pressure sensors are evenly deployed on the outer surface of the pipeline according to the pipeline length; it can be understood that traditional pressure sensors are easily affected by external interference factors and cannot accurately detect pressure in a complex environment, resulting in the inability to monitor the pressure change in the pipeline in a timely manner; while the wireless passive pressure sensor can not only monitor the pressure data in the pipeline in real time, but also uses wireless passive technology, reducing the demand for external power sources and improving the stability and reliability of the system.

[0038] It can be understood that traditional pressure monitoring devices often rely on regular inspections and manual patrols, resulting in the occurrence of leaks often being difficult to be detected in time at the initial stage, and the leakage problem is easily ignored; while in the embodiment of the present invention, the wireless passive pressure sensors arranged at equal intervals on the outer surface of the pipeline can continuously monitor the pressure change in the pipeline, so that when the pressure data changes, it can be processed in time and the leakage problem can be found in time at the initial stage.

[0039] Optionally, as Figure 2 shown, a method for identifying leakage of a target pipeline includes:

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

[0041] The pressure data of the normal operation record of the target pipeline is collected through the sensor deployed on the target pipeline, which can be the pressure value corresponding to each moment, and the pressure value corresponding to each moment is extracted from the normal operation record, and the normal pressure range of the target pipeline is determined based on the minimum pressure and the maximum pressure.

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

[0043] Among them, the pipeline standard pressure data 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, obtain the standard pressure data of the pipeline. Compare the minimum pressure value in the pipeline standard pressure data with the minimum pressure value in the normal pressure range, and take the smaller pressure value of the two as the left boundary value of the steady-state pressure data range. Compare the maximum pressure value in the pipeline standard pressure data with the maximum pressure value in the normal pressure range, and take the larger pressure value of the two as the right boundary value of the steady-state pressure data range. Generate a steady-state pressure range based on the left boundary value and the right boundary value.

[0045] S113. When the target pressure information is less than the minimum value in the steady-state pressure range, it is recognized that the target pipeline has leaked.

[0046] Specifically, the pressure information of the target pipeline is obtained in real time through the 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 has leaked.

[0047] It can be understood that by using the 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 pipeline leakage determination is based on the pipeline historical data, and avoiding misjudgment caused by sudden factors. By clearly setting the maximum and minimum values of the steady-state pressure range, leakage can be quickly recognized when the pressure value is lower than the minimum value, and an immediate response is given, reducing the reaction delay when leakage occurs and improving the real-time performance and accuracy of monitoring.

[0048] In an alternative embodiment of the present invention, to avoid the influence of environmental noise and other interference factors on the pressure data, the pressure data collected by the sensors deployed on the target pipeline can be denoised. In the embodiments of the present invention, it is preferably to denoise the pressure data by the weighted moving average method:

[0049]

[0050] Among them, P(t) represents the value of the smoothed pressure data at time t, P(i) represents the value of the pressure data at time i, i represents the data points within the sliding window, w(i) represents the weighting factor at time i, N represents the window size, and N takes values of 3, 5, or 7.

[0051] Specifically, the pressure data can be cleaned before denoising the pressure data to remove outliers or missing values, and the weight factor can be weighted according to the time interval. For example, the pressure data at the current moment is more important, so a higher weight is given, while the data at the previous moment has a lower weight, so as to highlight the pressure change at the current moment based on the weighted processing.

[0052] It is understandable that the weighted moving average method is used to denoise the pressure data, which improves the stability and reliability of the data. Compared with simple averaging or other denoising methods, the weighted moving average method can effectively retain useful information and reduce noise interference. Especially when there are external environmental fluctuations or sensor errors, by dynamically adjusting the weighting factor, it can more accurately reflect the change trend of the pressure data, reduce the impact of noise on the monitoring results, ensure that the collected pressure data is more real and reliable, and improve the response speed and accuracy of the entire pipeline leakage monitoring system.

[0053] S120. Determine the first leakage location according to the target pressure information and the position information of at least three sensors.

[0054] Among them, the position information of at least three sensors is the positions of three groups of wireless passive pressure sensors deployed on the target pipeline; the target pressure information is the pressure values collected by the sensors deployed on the target pipeline after it is determined that a leakage has occurred.

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

[0056] P(x) = P0·e -α(x-xL)

[0057] Among them, P(x) is the pressure information collected by the sensor at a distance x from the sensor corresponding to the maximum pressure attenuation, P0 is the initial pressure data of the target pipeline, α is the attenuation factor, x is the fixed distance between sensors, and xL is the first leakage location.

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

[0059]

[0060] Among them, α is the attenuation factor, xj is the distance of the j-th sensor, Pj is the pressure information collected by the j-th sensor, represents the average distance of all sensors, represents the average value of the pressure information of all sensors.

[0061] Exemplarily, when a pipeline leakage occurs, the pressure inside the pipeline will attenuate, especially the pressure change near the leakage point is the most obvious. Then, taking the sensor corresponding to the maximum pressure attenuation as the origin, the current pressure values of the remaining two groups of sensors can be obtained respectively when the leakage occurs, and analyzed in combination with the pressure attenuation model, and the leakage location is determined based on the attenuation law of the target pipeline pressure and the pressure value difference of sensors at different positions.

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

[0063] Specifically, the time difference when the remaining sensors collect this pressure value can be determined according to the target time information collected by the remaining sensors except the sensor corresponding to the maximum attenuation, and the second leakage position can be obtained based on the hyperbola positioning method according to this time difference and the position information of at least three sensors:

[0064]

[0065] Wherein, xR is the second leakage position, x1 is the position of a random sensor except the sensor corresponding to the maximum attenuation, x2 is the position of the last remaining sensor among the three groups of wireless passive pressure sensors, c represents the pressure wave propagation speed, and Δt represents the time difference.

[0066] Specifically, the hyperbola positioning method can be used to determine the second leakage position by calculating the propagation time difference of the pressure information recognized as a leakage in the target pipeline to the remaining sensors.

[0067] It can be understood that by combining the pressure attenuation model and the hyperbola positioning method, the limitations of a single method are eliminated, and the inaccuracy of the positioning result caused by the error of a single method is avoided.

[0068] S140. Compare the first leakage position and the second leakage position, and determine the target leakage position based on the comparison result in combination with the historical leakage data and the target pressure data.

[0069] The historical leakage data includes the historical pressure change rate of the three groups of wireless passive pressure sensors in the case of historical leakage and the historical final leakage position finally determined in the case of historical leakage, and the historical pressure change rate corresponds to the historical final leakage position; the target pressure data includes the pressure information and the corresponding time information collected by the three groups of wireless passive pressure sensors since the leakage was recognized.

[0070] Specifically, the first leakage position obtained by combining the pressure attenuation model is compared with the second leakage position obtained based on the time difference. The comparison result can be that the positions are the same or different. Further, the final leakage position is determined based on the comparison result, the historical leakage data, and the target pressure data.

[0071] Optionally, comparing the first leakage position and the second leakage position and determining the target leakage position according to the comparison result includes:

[0072] Compare the first leakage position and the second leakage position;

[0073] If the first leakage position is the same as the second leakage position, the first leakage position is used as the target leakage position;

[0074] If the first leakage position is different from the second leakage position, the target leakage position is determined according to the target pressure data and the historical leakage data.

[0075] Specifically, the first leakage position obtained by combining the pressure data at the remaining sensors with the pressure decay model is compared with the second leakage position obtained based on the hyperbolic positioning method. If the comparison result shows that the first leakage position is the same as the second leakage position, the above leakage position is used as the target leakage position; if the comparison result shows that the first leakage position is different from the second leakage position, the total pressure data is collected from the sensor corresponding to the largest pressure decay. The total pressure data includes the pressure information at multiple moments, and the decay characteristic data is established. By comparing the similarity between the decay characteristic data set and the historical data, the final position of the leakage is confirmed.

[0076] It can be understood that through the prediction based on the pressure decay model and the hyperbolic positioning method, the accuracy of leakage point positioning is improved. When the predicted positions are inconsistent, by combining the comparison with historical data, an additional verification method is provided, ensuring the accuracy of the positioning result and improving the efficiency and reliability of the pipeline monitoring system.

[0077] In the technical solution of the embodiment of the present invention, when it is recognized that a target pipeline has a leakage, the target pressure data of the target pipeline collected by at least three sensors and the position information of the sensors are obtained; the first leakage position is determined according to the target pressure information and the position information of at least three sensors; the second leakage position is determined according to the target time information and the position information of at least three sensors; the first leakage position and the second leakage position are compared, and the target leakage position is determined according to the comparison result in combination with the historical leakage data and the target pressure data. The above technical solution solves the problem of how to accurately locate the pipeline pressure leakage position. The leakage position is determined by multiple positioning methods, and the leakage position is compared and verified. The final leakage position is determined in combination with the historical leakage data, improving the accuracy of leakage position positioning, avoiding misjudgment and missed judgment in the traditional method, and enhancing the accuracy of pipeline leakage position detection.

[0078] Figure 3 It is a flowchart of a method for detecting the pipeline pressure leakage position provided by an embodiment of the present invention. On the basis of the above embodiment, the embodiment of the present invention supplements the specific determination method for determining the target leakage position based on the pressure data and the historical leakage data when the first leakage position is different from the second leakage position. It should be noted that for the parts not detailed in the embodiment of the present invention, reference can be made to the relevant descriptions of other embodiments. As Figure 3 shown, the method includes:

[0079] S210. When it is recognized that a target pipeline leaks, obtain the target pressure data of the target pipeline collected by at least three sensors and the position information of the sensors; wherein, the target pressure data includes target pressure information and target time information.

[0080] S220. Determine a first leakage position according to the target pressure information and the position information of at least three sensors.

[0081] S230. Determine a second leakage position according to the target time information and the position information of at least three sensors.

[0082] S240. Compare the first leakage position with the second leakage position; if the first leakage position is inconsistent with the second leakage position, perform pressure change processing on the target pressure data to obtain pressure decay data.

[0083] Wherein, the pressure decay data is the pressure change rate corresponding to each sensor at each moment.

[0084] Specifically, if the first leakage position is inconsistent with the second leakage position, obtain the pressure data collected by the sensors, obtain the target pressure information and the target time information in the target pressure data, and perform pressure change on them, and use the pressure change rate at each moment obtained as the pressure decay data.

[0085] S250. Cluster the pressure decay data and the historical leakage data, and determine at least two initial leakage position sets according to the clustering results; the historical leakage data includes historical leakage positions and historical pressure data.

[0086] Wherein, the initial leakage position set is the leakage position set including historical leakage data and pressure decay data after the clustering algorithm; the historical leakage data includes historical leakage positions and historical pressure data, the historical leakage position is the historical pressure change rate of three groups of wireless passive pressure sensors deployed on the pipeline in the case of historical leakage and the historical final leakage position finally determined in the case of historical leakage; the historical pressure data is the pressure data collected by three groups of wireless passive pressure sensors deployed on the pipeline in the case of historical leakage.

[0087] In an alternative embodiment of the present invention, the pressure decay data and historical leakage data can be clustered by the K-means clustering algorithm, and at least two initial leakage position sets can be determined according to the clustering results, including: initializing K centroids in the historical leakage data, assigning the 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 preset number of repetitions is completed; integrating the data within each cluster into an initial leakage position set, and at least two initial leakage position sets can be obtained.

[0088] It can be understood that through an automated clustering process, real-time data can be intelligently compared with historical leakage data without manual intervention to determine the probability and location of leakage; even if there are multiple leakage patterns with similar situations in the pipeline, the clustering algorithm can effectively filter out noise data through comprehensive analysis of multiple historical leakage data, improving the accuracy of leakage location judgment. With the continuous accumulation of historical leakage data, its clustering model and the accuracy of leakage location prediction can be continuously optimized.

[0089] S260. Determine candidate leakage positions according to the pressure decay data and at least two initial leakage position sets.

[0090] Among them, each initial leakage position set contains at least one initial leakage position, and the initial leakage position is the historical leakage position in the historical leakage data; the candidate leakage position is the initial leakage position in the initial leakage position set containing the pressure decay data.

[0091] Specifically, determine the candidate leakage position from each initial leakage position in the initial leakage position set containing the pressure decay data according to the pressure decay data.

[0092] Optionally, as Figure 4 shown in the flowchart of the candidate leakage position determination method, determine the candidate leakage position according to the pressure decay data and at least two initial leakage position sets, including:

[0093] S261. Determine the target initial leakage position set to which the pressure decay data belongs from at least two initial leakage position sets.

[0094] Since the attenuation feature data set is assigned to the nearest centroid, there is one and only one cluster containing the pressure decay data. The initial leakage position set where the pressure decay data is located is used as the target initial leakage position set.

[0095] S262. Determine the candidate leakage position from the target initial leakage position set.

[0096] The target initial leakage location set may include at least one initial leakage location, and candidate leakage locations can be determined from the at least one initial leakage location by judging the uniqueness of the initial leakage location.

[0097] Optionally, determining candidate leakage locations from the target initial leakage location set includes:

[0098] If there is only one initial leakage location in the target initial leakage location set, then use this initial leakage location as the candidate leakage location;

[0099] If the target initial leakage location set includes at least two initial leakage locations, then determine candidate leakage locations based on the at least two initial leakage locations.

[0100] Specifically, when the initial leakage location in the target initial leakage location set is unique, use the initial leakage location as the candidate leakage location; when the initial leakage location in the target initial leakage location set is not unique, determine candidate leakage locations based on the at least two initial leakage locations.

[0101] It can be understood that by judging the accuracy of the leakage location according to the uniqueness of the initial leakage location in the target initial leakage location set, the risk of misjudgment caused by the diversity of historical data can be effectively avoided, and a more reliable leakage location prediction result can be provided.

[0102] Optionally, if the target initial leakage location set includes at least two initial leakage locations, then determining candidate leakage locations based on the at least two initial leakage locations includes:

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

[0104] According to the median position, divide the at least two initial leakage locations into a first location set and a second location set;

[0105] Respectively determine the location means of the first location set and the second location set to obtain a first location mean and a second location mean;

[0106] Determine candidate leakage locations 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.

[0107] Among them, the median position is the initial leakage position in the middle of the position sequence; for example: if the number of initial leakage positions in the position sequence is three, the initial leakage position ranked in the middle of the position sequence is used as the median position; if the number of initial leakage positions in the position sequence is two, the average value of the initial leakage positions is used as the median position; the first position set is a position set composed of at least one initial leakage position greater than the median position; the second position set is a position set composed of at least one initial leakage position less than the median position; the first position mean is the average value of at least one initial leakage position in the first position set; the second position mean is the average value of at least one initial leakage position in the second position set; the first position quantity is the number of initial leakage positions in the first position set; the second position quantity is the number of initial leakage positions in the second position set.

[0108] Specifically, if the target leakage position set contains at least two initial leakage positions, the at least two initial leakage positions are sorted in size to obtain the position sequence of the initial leakage positions, and the median position in the position sequence is determined; according to the median position and the size order, the initial leakage positions greater than the median position among the at least two initial leakage positions are used as the first position set; the initial leakage positions less than the median position among the at least two initial leakage positions are used as the second position set; and the average values of the first position set and the second position set are respectively determined to obtain the first position mean and the second position mean; according to the first position mean, the second position mean, the first position quantity of the first position set, the second position quantity of the second position set, and the median position, the candidate leakage position is determined.

[0109] In an alternative manner of the embodiment of the present invention, the candidate leakage position is determined by grouping the initial leakage positions and calculating the weighted average value, as follows:

[0110]

[0111] Among them, Y is the candidate leakage position, J1 is the first position mean, J2 is the median position, J3 is the second position mean, n1 is the first position quantity of the first position set, and n3 is the second position quantity of the second position set.

[0112] It can be understood that by grouping the initial leakage position data and calculating the weighted average value, the interference of outliers on the judgment of the leakage position is effectively reduced, and the stability and accuracy of the determination of the leakage position are improved; by determining the median position, the initial leakage position data is divided into two groups, avoiding the misleading caused by simply relying on extreme values; using grouped data better represents the overall characteristics of historical leakage events, especially suitable for scenarios where the leakage pattern changes greatly.

[0113] S270. Determine the target leakage position according to the candidate leakage position, the first leakage position, and the second leakage position.

[0114] Specifically, the candidate leakage positions obtained by combining the historical leakage positions in the historical leakage data are compared again with the first leakage position and the second leakage position to obtain the target leakage position.

[0115] Optionally, determining the target leakage position according to the candidate leakage position, the first leakage position, and the second leakage position includes:

[0116] Obtaining a leakage range based on the first leakage position and the second leakage position;

[0117] When the candidate leakage position is within the leakage range, the candidate leakage position is used as the target leakage position;

[0118] When the candidate leakage position is not within the leakage range, the target leakage position is determined according to the candidate leakage position and the leakage range.

[0119] Specifically, obtaining a leakage range based on the first leakage position and the second leakage position; when the candidate leakage position is within the leakage range, the candidate leakage position is used as the target leakage position; when the candidate leakage position is not within the leakage range, the candidate leakage position and the leakage range are integrated to take the union, and the integrated leakage range is used as the target leakage position.

[0120] The embodiments of the present invention compare and verify the leakage positions, and re - locate the leakage positions in combination with historical leakage data, ensuring the accuracy of the leakage positions. When comparing the prediction results, it automatically determines whether the candidate leakage positions meet the preset leakage range, and can integrate the leakage positions outside the range to further optimize the leakage range, improving the system's adaptability to complex leakage situations; by combining the integration method of candidate leakage positions and leakage ranges, it avoids the misjudgment problems easily occurring in traditional methods, provides a more reliable method for determining leakage positions, helps to take repair measures in time, and reduces losses.

[0121] Figure 5 FIG. is a schematic structural diagram of a pipeline pressure leakage position detection device provided by an embodiment of the present invention. The embodiments of the present invention are applicable to the situation of detecting pipeline leakage positions; the pipeline pressure leakage position detection device can be implemented in the form of hardware and / or software, and the pipeline pressure leakage position detection device can be configured in a server. The pipeline pressure leakage position detection device 300 includes a collection module 310, a first leakage position determination module 320, a second leakage position determination module 330, and a target leakage position determination module 340.

[0122] The collection module 310 is configured to obtain the target pressure data of the target pipeline collected by at least three sensors and the position information of the sensors when it is recognized that the target pipeline leaks; wherein, the pressure data includes target pressure information and target time information;

[0123] The first leakage position determination module 320 is configured to determine the first leakage position according to the target pressure information and the position information of at least three sensors;

[0124] The second leakage position determination module 330 is configured to determine the second leakage position according to the target time information and the position information of at least three sensors;

[0125] The target leakage position determination module 340 is configured to compare the first leakage position with the second leakage position, and determine the target leakage position according to the comparison result in combination with historical leakage data and target pressure data.

[0126] In the technical solution of the embodiment of the present invention, when it is recognized that a leakage occurs in the target pipeline, the target pressure data of the target pipeline collected by at least three sensors and the position information of the sensors are obtained; the first leakage position is determined according to the target pressure information and the position information of at least three sensors; the second leakage position is determined according to the target time information and the position information of at least three sensors; the first leakage position and the second leakage position are compared, and the target leakage position is determined according to the comparison result in combination with historical leakage data and target pressure data. The above technical solution solves the problem of how to accurately locate the pipeline pressure leakage position, determines the leakage position through multiple positioning methods, compares and verifies the leakage position, ensures the accuracy of the leakage position, avoids misjudgment and missed judgment in the traditional method, and improves the timeliness and accuracy of pipeline leakage detection.

[0127] Optionally, the target leakage position determination module 340 is configured to compare the first leakage position with the second leakage position; if the first leakage position is the same as the second leakage position, the first leakage position is used as the target leakage position; if the first leakage position is different from the second leakage position, the target leakage position is determined according to the target pressure data and the historical leakage data.

[0128] Optionally, the target leakage position determination module 340 includes a pressure decay data determination unit, a clustering unit, a candidate leakage data determination unit, and a target leakage position determination unit.

[0129] The pressure decay data determination unit is configured to perform pressure change processing on the target pressure data to obtain pressure decay data if the first leakage position is different from the second leakage position;

[0130] The clustering unit is configured to cluster the pressure decay data and the historical leakage data, and determine at least two initial leakage position sets according to the clustering result; the historical leakage data includes historical leakage positions and historical pressure data;

[0131] A candidate leakage data determination unit, configured to determine candidate leakage positions according to pressure decay data and at least two initial leakage position sets;

[0132] A target leakage position determination unit, configured to determine a target leakage position according to the candidate leakage positions, the first leakage position, and the second leakage position.

[0133] Optionally, the candidate leakage data determination unit includes a target initial leakage position set subunit and a candidate leakage position determination subunit;

[0134] The target initial leakage position set subunit is configured to determine a target initial leakage position set to which the pressure decay data belongs from at least two initial leakage position sets;

[0135] The candidate leakage position determination subunit is configured to determine candidate leakage positions from the target initial leakage position set.

[0136] Optionally, the candidate leakage position determination subunit is specifically configured to, if there is only one initial leakage position in the target initial leakage position set, use this initial leakage position as the candidate leakage position; if the target initial leakage position set contains at least two initial leakage positions, determine the candidate leakage position according to the at least two initial leakage positions.

[0137] Optionally, the candidate leakage position determination subunit is specifically configured to sort the at least two initial leakage positions to obtain a position sequence, and determine the median position in the position sequence; divide the at least two initial leakage positions into a first position set and a second position set according to the median position; respectively determine the position means of the first position set and the second position set to obtain a first position mean and a second position mean; determine the candidate leakage position according to the first position mean, the second position mean, the first position quantity of the first position set, the second position quantity of the second position set, and the median position.

[0138] Optionally, the target leakage position determination unit is specifically configured to obtain a leakage range according to the first leakage position and the second leakage position; when the candidate leakage position is within the leakage range, use the candidate leakage position as the target leakage position; when the candidate leakage position is not within the leakage range, determine the target leakage position according to the candidate leakage position and the leakage range.

[0139] Optionally, the acquisition module 310 is configured 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, it is recognized that the target pipeline has a leakage.

[0140] The pipeline pressure leakage position detection device provided by the embodiments of the present invention can execute the pipeline pressure leakage position detection method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.

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

[0142] Figure 6 FIG. shows a schematic structural diagram of an electronic device 10 that can be used to implement the embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, for example, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, for example, a personal digital processor, a cellular phone, a smart phone, a wearable device (such as a helmet, glasses, a watch, 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 present invention described and / or claimed herein.

[0143] As Figure 6 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. Among them, the memory stores a computer program executable by the at least one processor, and the processor 11 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

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

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

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

[0147] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuitry, integrated circuit systems, field-programmable gate arrays (FPGA), application-specific integrated circuits (ASIC), application-specific standard products (ASSP), systems-on-chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.

[0148] The computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowchart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

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

[0150] To provide for 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 a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide for 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 acoustic input, speech input, or tactile input).

[0151] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0152] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The client-server relationship is created by computer programs running on 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 a cloud host, which is a host product in the cloud computing service system, and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0153] It should be understood that various forms of processes shown above can be used, steps can be reordered, added or deleted. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.

[0154] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A pipeline pressure leakage location detection method, characterized in that: include: When a leak is identified in the target pipeline, target pressure data of the target pipeline collected by at least three sensors and position information of the sensors are acquired; wherein the target pressure data includes target pressure information and target time information; determining a first leakage location according to the target pressure information and location information of at least three sensors; determining a second leakage location according to the target time information and location information of at least three sensors; The first leakage position and the second leakage position are compared, and a target leakage position is determined according to the comparison result combined with historical leakage data and the target pressure data.

2. The method according to claim 1, characterized in that Comparing the first leakage position with the second leakage position, and determining a target leakage position according to the comparison result combined with historical leakage data and the target pressure data, including: comparing the first leakage position and the second leakage position; If the first leakage position is consistent with the second leakage position, taking the first leakage position as the target leakage position; If the first leakage position is inconsistent with the second leakage position, the target leakage position is determined according to the target pressure data and the historical leakage data.

3. The method according to claim 2, characterized in that Determining a target leakage location according to the target pressure data and the historical leakage data set includes: Performing pressure change processing on the target pressure data to obtain pressure decay data; Clustering the pressure decay data and the historical leakage data, and determining at least two initial leakage location sets according to the clustering results; the historical leakage data includes historical leakage locations and historical pressure data; determining a candidate leakage location based on the pressure decay data and the at least two initial leakage location sets; A target leakage position is determined according to the candidate leakage positions, the first leakage position and the second leakage position.

4. The method according to claim 3, characterized in that Determining candidate leakage locations according to the pressure decay data and the at least two initial leakage location sets includes: Determine a target initial leakage position set to which the pressure decay data belongs from the at least two initial leakage position sets; A candidate leakage location is determined from the target initial leakage location set.

5. The method according to claim 4, characterized in that Determining a candidate leakage location from the target initial leakage location set includes: If there is only one initial leakage position in the target initial leakage position set, the initial leakage position is used as a candidate leakage position; If the target initial leakage position set includes at least two initial leakage positions, a candidate leakage position is determined according to the at least two initial leakage positions.

6. The method according to claim 5, characterized in that If the target initial leakage position set includes at least two initial leakage positions, determining a candidate leakage position according to the at least two initial leakage positions includes: Sorting at least two initial leakage positions to obtain a position sequence, and determining a median position in the position sequence; According to the median position, dividing the at least two initial leakage positions into a first position set and a second position set; Determine the position means of the first position set and the second position set respectively, to obtain a first position mean and a second position mean; A candidate leakage position is determined according to the first position mean, the second position mean, the first position number of the first position set, the second position number of the second position set, and the median position.

7. The method according to claim 3, characterized in that Determining a target leakage position according to the candidate leakage position, the first leakage position, and the second leakage position includes: Obtaining a leakage range according to the first leakage position and the second leakage position; When the candidate leakage position is within the leakage range, taking the candidate leakage position as the target leakage position; When the candidate leakage position is not within the leakage range, a target leakage position is determined according to the candidate leakage position and the leakage range.

8. The method according to claim 1, characterized in that Identify the target pipeline leak, including: Collecting normal operation records corresponding to the target pipeline, and extracting a normal pressure range from the normal operation records; generating a steady-state pressure range based on pipeline standard pressure data and the normal pressure range; When the target pressure information is less than a minimum value in the steady-state pressure range, it is recognized that leakage occurs in the target pipeline.

9. A pipeline pressure leakage position detection device, characterized in that: include: A collection module, used for acquiring target pressure data of the target pipeline collected by at least three sensors and position information of the sensors when a leak is identified in the target pipeline; wherein the pressure data includes target pressure information and target time information; A first leakage position determination module, used to determine a first leakage position according to the target pressure information and position information of at least three sensors; A second leakage position determination module, used to determine a second leakage position according to the target time information and position information of at least three sensors; The target leakage position determination module is used to compare the first leakage position and the second leakage position, and determine the target leakage position according to the comparison result combined with the historical leakage data and the target pressure data.

10. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the pipeline pressure leakage location detection method according to any one of claims 1-8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the pipeline pressure leakage position detection method according to any one of claims 1 to 8 when executed.

12. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the pipeline pressure leakage position detection method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Water supply network monitoring system based on narrow-band Internet of Things

    CN108843976A

  • Gas pipe network leakage detection method and device based on simulation technology

    CN110263416A

  • Municipal pipe network pipe explosion monitoring system and method

    CN112377817A

  • Water supply network leakage monitoring method, computer device and storage medium

    CN115218129A

  • Pipeline leakage monitoring analysis method and system based on pressure gauge, terminal and medium

    CN118088948A