Oil pipeline leakage point positioning system and method, electronic equipment and storage medium

By setting up signal generating and collecting modules on the oil pipeline, the sampling point position database is constructed to solve the problem of low detection accuracy and high cost of the oil pipeline leakage detection accuracy in the existing technology, and achieve the effect of quickly and accurately positioning leakage points and recycling oil products.

CN119374036AActive Publication Date: 2025-01-28CHINA PETROLEUM & CHEMICAL CORP +1

Patent Information

Application Number
CN202310924408.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-26
Publication Date
2025-01-28
Estimated Expiration
2043-07-26

AI Technical Summary

Technical Problem

The existing oil pipeline leakage detection methods are costly and have low accuracy, making it difficult to quickly and accurately locate the leakage points.

Method used

By setting a signal generating module and signal acquisition module on the oil pipeline, the wireless signal and geographical position coordinate are used to build the position database of the sampling point position to determine the location of the leakage point.

Benefits of technology

The leakage point of the rapid and accurate positioning of the oil pipeline is achieved, the detection cost is reduced, and the leak products can be recycled without increasing the additional cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119374036A_ABST
    Figure CN119374036A_ABST
Patent Text Reader

Abstract

The invention provides an oil pipeline leakage point positioning system and method, electronic equipment and a storage medium, and the system comprises an oil pipeline which is provided with a preset number of sampling points; the signal generation modules are arranged on the oil conveying pipeline or around the oil conveying pipeline and are used for generating and transmitting wireless signals at regular time; a signal acquisition module; the moving module is arranged on the oil pipeline and is used for carrying the signal acquisition module to move to the sampling point to acquire the wireless signal under the condition that no leakage point is generated on the oil pipeline; and the processing module is used for receiving the wireless signal, constructing a sampling point position database based on the wireless signal and the geographic position coordinates of the sampling points, and determining the leakage point position of the leakage point of the oil pipeline based on the sampling point position database. The leakage point of the oil pipeline can be quickly and accurately positioned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of oil pipelines, and in particular to a system and method for locating a leakage point in an oil pipeline, electronic equipment and a storage medium. Background Art

[0002] Oil pipeline transportation has become the preferred mode of transportation for crude oil and refined oil products due to its advantages of safety, speed and economy. Oil pipelines have the characteristics of high pressure, flammable and explosive transportation medium, and environmental sensitivity. In pipeline transportation, pipeline leakage accidents frequently occur due to reasons such as material corrosion, natural disasters, and third-party damage. Once an oil pipeline leaks, it will cause great economic losses.

[0003] It is known from relevant technologies that the common method for pipeline leakage detection is to install wireless sensors on the pipeline. This method is costly, the wireless sensors are prone to failure and have low accuracy. Therefore, finding a high-precision oil pipeline leakage point positioning system or method has become a current research hotspot. Summary of the invention

[0004] The present invention provides a system and method for locating a leakage point of an oil pipeline, an electronic device and a storage medium, which can realize rapid and accurate locating of the leakage point of the oil pipeline.

[0005] The present invention provides a leakage point positioning system for an oil pipeline, the leakage point positioning system for an oil pipeline comprising: an oil pipeline, wherein a preset number of sampling points are distributed on the oil pipeline; a plurality of signal generating modules, which are arranged on the oil pipeline or around the oil pipeline and are used to generate and transmit wireless signals at a fixed time; a signal collecting module; a moving module, which is arranged on the oil pipeline and is used to carry the signal collecting module to move to the sampling point to collect the wireless signal when no leakage point is generated in the oil pipeline; and a processing module, which is used to receive the wireless signal, and to construct a sampling point location database based on the wireless signal and the geographical location coordinates of the sampling point, and to determine the leakage point location of the leakage point of the oil pipeline based on the sampling point location database.

[0006] According to a system for locating oil pipeline leakage points provided by the present invention, the system further comprises: a recovery module for moving to the leakage point to recover the oil products leaked from the leakage point upon receiving an instruction to recover the oil products issued by the processing module.

[0007] According to a system for locating a leakage point in an oil pipeline provided by the present invention, the wireless signals collected by the signal collection module include collecting a preset number of wireless signals at each sampling point; the processing module adopts the following method to realize the construction of a sampling point location database based on the wireless signals and the geographical location coordinates of the sampling points: based on the preset number of wireless signals collected at each sampling point, determining the expected signal strength vector of the wireless signal and the signal strength covariance matrix of the wireless signal at each sampling point; constructing the processed sampling coordinates of the sampling point based on the geographical location coordinates of the sampling point, the expected signal strength vector of the wireless signal at the sampling point, and the signal strength covariance matrix of the wireless signal at the sampling point; and constructing the sampling point location database based on the processed sampling coordinates of each sampling point.

[0008] According to a leakage point positioning system for an oil pipeline provided by the present invention, the signal generating module is also used for: in the case where a leakage point occurs in the oil pipeline, collecting the oscillation signal strength value generated by the oil product leaked from the leakage point; the processing module is also used for: obtaining the oscillation signal strength value; the processing module adopts the following method to realize the determination of the leakage point position of the leakage point of the oil pipeline based on the sampling point position database: constructing an oscillation signal strength vector based on the oscillation signal strength value; determining the distance value corresponding to each of the sampling points based on each processed sampling coordinate and the oscillation signal strength vector in the sampling point position database, wherein the distance value is the distance value between the processed sampling coordinate and the oscillation signal strength vector; determining the leakage point position of the leakage point of the oil pipeline based on the distance value corresponding to each of the sampling points.

[0009] According to a leakage point positioning system for an oil pipeline provided by the present invention, the processing module is also used for: determining a first distance value among the distance values ​​corresponding to each of the sampling points, wherein the first distance value is the smallest distance value among the distance values; subtracting the first distance value from the other distance values ​​except the first distance value to obtain a plurality of distance difference values; determining a distance difference average value of the plurality of distance difference values ​​based on the plurality of distance difference values, and determining a standard deviation of the distance difference values ​​based on the distance difference average value; taking a distance difference value whose distance difference value is greater than the standard deviation as a rejection value, and taking a sampling point corresponding to the rejection value as a rejection sampling point; taking sampling points other than the rejection sampling point as a retained sampling point; the processing module adopts the following method to realize determining the leakage point position of the leakage point of the oil pipeline based on the distance values ​​corresponding to each of the sampling points: determining the leakage point position of the leakage point of the oil pipeline based on the distance values ​​corresponding to each of the retained sampling points.

[0010] According to a system for locating a leakage point in an oil pipeline provided by the present invention, the processing module is further used to: determine a first sampling point corresponding to the first distance value; determine a first geographical location coordinate of the first sampling point, and the reserved sampling point position coordinates of each of the reserved sampling points; determine a screening distance value corresponding to each of the reserved sampling points based on the first geographical location coordinate and the position coordinates of each of the reserved sampling points, wherein the screening distance value is a distance value between the first geographical location coordinate and the position coordinates of each of the reserved sampling points; use a screening distance value whose screening distance value exceeds a preset distance value as a rejection distance value, and use the reserved sampling points corresponding to the rejection distance value as secondary rejection sampling points; and use the reserved sampling points other than the secondary rejection sampling points as final reserved sampling points.

[0011] The present invention also provides a method for locating a leakage point in an oil pipeline, wherein a preset number of sampling points are distributed on the oil pipeline, and the method for locating a leakage point in the oil pipeline comprises: generating and transmitting a wireless signal at a regular interval; collecting the wireless signal at the sampling point when no leakage point occurs in the oil pipeline; constructing a sampling point location database based on the wireless signal collected at the sampling point and the geographical location coordinates of the sampling point; and determining the leakage point location of the oil pipeline based on the sampling point location database.

[0012] According to the method for locating a leakage point in an oil pipeline provided by the present invention, the oil pipeline is equipped with a recovery module. After the leakage point position of the oil pipeline is determined based on the sampling point position database, the method further includes: upon receiving an instruction to recover the oil product, controlling the recovery module to move to the leakage point position to recover the oil product leaked from the leakage point.

[0013] According to the oil pipeline leakage point positioning method provided by the present invention, the collecting of the wireless signals at the sampling points specifically includes: collecting a preset number of wireless signals at each of the sampling points; constructing a sampling point location database based on the wireless signals collected at the sampling points and the geographical location coordinates of the sampling points specifically includes: determining the expected signal strength vector of the wireless signal at each of the sampling points and the signal strength covariance matrix of the wireless signal based on the preset number of wireless signals collected at each of the sampling points; constructing the processed sampling coordinates of the sampling points based on the geographical location coordinates of the sampling points, the expected signal strength vector of the wireless signal at the sampling points, and the signal strength covariance matrix of the wireless signal at the sampling points; and constructing the sampling point location database based on the processed sampling coordinates of each of the sampling points.

[0014] According to the method for locating a leakage point in an oil pipeline provided by the present invention, the method further includes: in the case where a leakage point occurs in the oil pipeline, collecting an oscillation signal strength value generated by the oil product leaking from the leakage point; determining the location of the leakage point of the oil pipeline based on the sampling point location database specifically includes: constructing an oscillation signal strength vector based on the oscillation signal strength value; determining a distance value corresponding to each of the sampling points based on each processed sampling coordinate and the oscillation signal strength vector in the sampling point location database, wherein the distance value is the distance value between the processed sampling coordinate and the oscillation signal strength vector; determining the leakage point location of the leakage point of the oil pipeline based on the distance value corresponding to each of the sampling points.

[0015] According to the method for locating a leakage point in an oil pipeline provided by the present invention, the method further includes: determining a first distance value among the distance values ​​corresponding to each of the sampling points, wherein the first distance value is the smallest distance value among the distance values; subtracting the first distance value from the other distance values ​​except the first distance value to obtain a plurality of distance difference values; determining a distance difference average value of the plurality of distance difference values ​​based on the plurality of distance difference values, and determining a standard deviation of the distance difference values ​​based on the distance difference average value; taking a distance difference value whose distance difference value is greater than the standard deviation as a rejection value, and taking a sampling point corresponding to the rejection value as a rejection sampling point; taking sampling points other than the rejection sampling point as a retained sampling point; the determining the leakage point position of the leakage point of the oil pipeline based on the distance values ​​corresponding to each of the sampling points specifically includes: determining the leakage point position of the leakage point of the oil pipeline based on the distance values ​​corresponding to each of the retained sampling points.

[0016] According to the oil pipeline leakage point positioning method provided by the present invention, the reserved sampling points are determined in the following manner: determining a first sampling point corresponding to the first distance value; determining a first geographical location coordinate of the first sampling point and the reserved sampling point position coordinates of each of the reserved sampling points; determining a screening distance value corresponding to each of the reserved sampling points based on the first geographical location coordinates and the position coordinates of each of the reserved sampling points, wherein the screening distance value is a distance value between the first geographical location coordinates and the position coordinates of each of the reserved sampling points; using a screening distance value exceeding a preset distance value as a rejection distance value, and using the reserved sampling points corresponding to the rejection distance value as secondary rejection sampling points; and using the reserved sampling points except the secondary rejection sampling points as final reserved sampling points.

[0017] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for locating a leakage point in an oil pipeline as described in any one of the above is implemented.

[0018] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for locating a leakage point in an oil pipeline as described in any one of the above is implemented.

[0019] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for locating a leakage point in an oil pipeline as described in any one of the above is implemented.

[0020] The present invention provides an oil pipeline leakage point positioning system, method, electronic device and storage medium. The oil pipeline leakage point positioning system includes: an oil pipeline, wherein a preset number of sampling points are distributed on the oil pipeline; a plurality of signal generating modules, which are arranged on or around the oil pipeline and are used to generate and transmit wireless signals at regular intervals; a signal acquisition module; a moving module, which is arranged on the oil pipeline and is used to carry the signal acquisition module to the sampling point to collect wireless signals when no leakage point occurs in the oil pipeline; a processing module, which is used to receive wireless signals, and to construct a sampling point location database based on the wireless signals and the geographical location coordinates of the sampling points, and to determine the leakage point location of the leakage point of the oil pipeline based on the sampling point location database, thereby realizing that the leakage point of the oil pipeline can be quickly and accurately positioned. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0022] Figure 1 It is a structural schematic diagram of the oil pipeline leakage point positioning system provided by the present invention;

[0023] Figure 2 This is one of the flow diagrams of the oil pipeline leakage point locating method provided by the present invention;

[0024] Figure 3 This is the second flow chart of the oil pipeline leakage point locating method provided by the present invention;

[0025] Figure 4 It is a schematic diagram of a flow chart of determining the leakage point location of an oil pipeline based on a sampling point location database provided by the present invention;

[0026] Figure 5 It is a schematic diagram of a flow chart of determining the leakage point location of a leakage point of an oil pipeline based on the distance values ​​corresponding to each sampling point provided by the present invention;

[0027] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention.

[0028] Reference numerals:

[0029] 10: Oil pipeline leakage point positioning system; 110: Oil pipeline;

[0030] 120: sampling point; 130: signal generation module;

[0031] 140: mobile module; 150: signal acquisition module;

[0032] 160: Processing module. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] The oil pipeline leakage point positioning system provided by the present invention has a simple structure, a long service life, high reliability, and accurate recovery system positioning, better real-time performance, can save transportation costs, reduce environmental pollution, can quickly locate pipeline leakage points, and can also recover leaked crude oil, refined oil, etc.

[0035] Figure 1 The present invention is a schematic diagram of the structure of the oil pipeline leakage point positioning system.

[0036] The following will be combined Figure 1 The oil pipeline leakage point positioning system is explained.

[0037] In an exemplary embodiment of the present invention, Figure 1 It can be seen that the oil pipeline leakage point positioning system 10 may include an oil pipeline 110, a plurality of signal generating modules 130, a moving module 140, a signal acquisition module 150 and a processing module 160, and each module will be introduced below.

[0038] In one embodiment, the oil pipeline 110 may be distributed with a preset number of sampling points 120, for example, Q sampling points. A plurality of signal generating modules 130 may be disposed in the oil pipeline 110 or around the oil pipeline 110, wherein: Figure 1 It is shown that the signal generation module 130 is arranged around the oil pipeline 110. The signal generation module 130 can be used to generate and transmit wireless signals at a fixed time. In one example, the wireless signal can be a WIFI signal. The signal generation module 130 can be a WIFI device.

[0039] In another embodiment, the mobile module 140 may be disposed in the oil pipeline 110, and when there is no leakage point in the oil pipeline 110, the mobile module 140 is used to carry the signal acquisition module 150 to move to the Q sampling points 120 to collect wireless signals. In another example, the signal acquisition module 150 may be carried to move to the Q sampling points 120 to collect q wireless signals emitted by the q signal generation modules 130, so that the signal strength values ​​of the q wireless signals collected at each sampling point 120 can be used to form a signal strength vector.

[0040] In another embodiment, the processing module 160 can be used to receive wireless signals. Further, a sampling point location database can be constructed based on the wireless signals and the geographical coordinates of the sampling point 120, and the leakage point location of the leakage point of the oil pipeline 110 can be determined based on the sampling point location database. Through this embodiment, the leakage point of the oil pipeline can be quickly and accurately located at a low cost.

[0041] The oil pipeline leakage point positioning system 10 provided by the present invention includes: an oil pipeline 110, wherein a preset number of sampling points 120 are distributed on the oil pipeline 110; a plurality of signal generating modules 130, which are arranged on the oil pipeline 110 or around the oil pipeline 110, and are used to generate and transmit wireless signals at a regular interval; a signal acquisition module 150; a moving module 140, which is arranged on the oil pipeline 110 and is used to carry the signal acquisition module 150 to move to the sampling point 120 to collect wireless signals when no leakage point occurs in the oil pipeline 110; a processing module 160, which is used to receive wireless signals, and to construct a sampling point location database based on the wireless signals and the geographical location coordinates of the sampling point 120, and to determine the leakage point location of the leakage point of the oil pipeline 110 based on the sampling point location database, thereby realizing that the leakage point of the oil pipeline 110 can be quickly and accurately positioned.

[0042] In another exemplary embodiment of the present invention, the oil pipeline leakage point positioning system 10 may further include a recovery module. The recovery module may be used to move to the leakage point to recover the oil product leaked from the leakage point when receiving the oil product recovery instruction issued by the processing module 160. Through this embodiment, without adding additional costs, the leaked oil product (such as crude oil, refined oil) can be quickly recovered by accurately locating the leakage point, thereby avoiding pollution to the environment and realizing resource reuse.

[0043] In another exemplary embodiment of the present invention, the wireless signals collected by the signal collection module 150 may include collecting a preset number of wireless signals at each sampling point, for example, including q wireless signals collected at Q sampling points. It should be noted that the preset number can be determined according to actual conditions, and is not specifically limited in this embodiment. The preset number can be the same as the number of signal generation modules.

[0044] Furthermore, the processing module 160 may construct a sampling point location database based on the wireless signals and the geographical location coordinates of the sampling points in the following manner:

[0045] Based on a preset number of wireless signals collected at each sampling point 120, determining an expected signal strength vector of the wireless signal at each sampling point 120 and a signal strength covariance matrix of the wireless signal;

[0046] Constructing processed sampling coordinates of the sampling point 120 based on the geographic location coordinates of the sampling point 120, the expected signal strength vector of the wireless signal at the sampling point 120, and the signal strength covariance matrix of the wireless signal at the sampling point 120;

[0047] Based on the processed sampling coordinates of each sampling point 120 , a sampling point location database is constructed.

[0048] In one embodiment, the processed sampling coordinates of the sampling point 120 can be expressed as (x t , E (t) ,Σ t ), where t represents the current sampling point 120, where t = 1, 2, ..., Q. E (t) is the expected vector (corresponding to the expected signal strength vector) of the q WiFi signal strengths (corresponding to the wireless signal) collected at sampling point t, Σ (t) is the signal strength covariance matrix of the q WiFi signal strengths collected at sampling point t. In one example, the signal strength expectation vector can be expressed by formula (1):

[0049]

[0050] Among them, E(t) represents the expected signal strength vector of the wireless signal at sampling point t; n represents the total number of times the signal strength is collected, where, continuing with the example described above, n can be Q*q; P represents the number of times the signal strength is collected for the Pth time; Indicates the signal strength value collected for the first time at sampling point t.

[0051] Furthermore, the geographical coordinates x of the sampling point t can be t , the expected signal strength vector E of the wireless signal at sampling point t (t) , and the signal strength covariance matrix Σ of the wireless signal at sampling point t t , construct the processed sampling coordinates of the sampling points. Construct a sampling point location database based on the processed sampling coordinates of each sampling point. Lay the foundation for determining the leakage point location of the oil pipeline based on the sampling point location database.

[0052] In yet another exemplary embodiment of the present invention, the signal generating module 130 may also be used to:

[0053] When a leak occurs in the oil pipeline 110, the oscillation signal strength value generated by the oil product leaking from the leak is collected;

[0054] The processing module 160 may also be used to:

[0055] Get the oscillation signal strength value;

[0056] The processing module 160 can determine the leakage point location of the oil pipeline based on the sampling point location database in the following manner:

[0057] Based on the oscillation signal strength value, construct an oscillation signal strength vector;

[0058] Based on each processed sampling coordinate and the oscillation signal strength vector in the sampling point location database, determining a distance value corresponding to each sampling point 120, wherein the distance value is a distance value between the processed sampling coordinate and the oscillation signal strength vector;

[0059] Based on the distance values ​​corresponding to the respective sampling points 120 , the leakage point position of the leakage point of the oil pipeline 110 is determined.

[0060] In one embodiment, the distance value may be a Mahalanobis distance value, or may be other distance values. In this embodiment, the type of the distance value is not specifically limited.

[0061] In another embodiment, the signal generation module 130, which may be a WIFI device, may collect the oscillation signal strength value generated by the oil leakage from the leakage point, and send the collected oscillation signal strength value to the processing module 160. In the application process, the processing module 160 may construct an oscillation signal strength vector s=(s1, s2, ..., s q ). Wherein, s1 represents the oscillation signal strength value collected by the first signal generating module 130, s q represents the oscillation signal strength value collected by the qth signal generating module 130 .

[0062] Furthermore, the Mahalanobis distance corresponding to each sampling point can be determined based on each processed sampling coordinate and oscillation signal strength vector in the sampling point location database. In other words, the size of the Mahalanobis distance can be used as a standard for measuring the similarity between s and the sampling point location data. The smaller the Mahalanobis distance, the greater the similarity of the corresponding sampling point signal location data. On the contrary, the larger the Mahalanobis distance, the smaller the similarity of the corresponding sampling point signal location data.

[0063] In another embodiment, the Mahalanobis distance can be expressed by formula (2):

[0064]

[0065] Where d represents the Mahalanobis distance corresponding to the sampling point t; s represents the oscillation signal strength vector; E (t) represents the expected signal strength vector of the wireless signal at sampling point t; Σ t represents the signal strength covariance matrix of the wireless signal at sampling point t.

[0066] Furthermore, the leakage point location of the leakage point of the oil pipeline can be determined based on the distance values ​​corresponding to the respective sampling points.

[0067] In one example, the weights can be determined based on the Mahalanobis distances corresponding to each sampling point, and then the location of the leak point can be determined based on the geographical coordinates of each sampling point. In other words, the weights are calculated for the location data coordinates (geographic coordinates) of the k sampling points. In one example, the location of the leak point can be determined using formula (3):

[0068]

[0069] Where x represents the location of the leak point; x t represents the geographical location coordinates corresponding to sampling point t; k represents the total number of sampling points; dt represents the distance value corresponding to sampling point t. It can be understood that dt and d in formula (2) are the same parameter, where It can be understood as a weight.

[0070] In yet another exemplary embodiment of the present invention, the processing module 160 may also be used to:

[0071] Determine a first distance value among the distance values ​​corresponding to the respective sampling points, wherein the first distance value is the smallest distance value among the distance values;

[0072] Subtracting the first distance value from the other distance values ​​except the first distance value to obtain a plurality of distance difference values;

[0073] Based on the multiple distance difference values, determine a distance difference value average of the multiple distance difference values, and determine a standard deviation of the distance difference values ​​based on the distance difference value average;

[0074] The distance difference value greater than the standard deviation is used as the rejection value, and the sampling point corresponding to the rejection value is used as the rejection sampling point;

[0075] The sampling points other than the eliminated sampling points are used as the retained sampling points;

[0076] Furthermore, the processing module 160 uses the following method to determine the leakage point location of the oil pipeline based on the distance value corresponding to each sampling point:

[0077] Based on the distance values ​​corresponding to the respective reserved sampling points, the leakage point position of the leakage point of the oil pipeline is determined.

[0078] In one embodiment, in order to reduce the positioning error, the improved adaptive K-value WENN algorithm can also be integrated. In the application process, the calculated Mahalanobis distances (corresponding to the distance values ​​corresponding to each sampling point) can be sorted in ascending order, wherein the one with the smallest Mahalanobis distance after sorting is d1 (corresponding to the first distance value), and the one with the largest Mahalanobis distance is d Q , where Q is the number of sampling points. 1Q For d1 and d Q The Mahalanobis distance difference (corresponding to the distance difference).

[0079] Furthermore, the average value of the Mahalanobis distance difference (corresponding to the average value of the distance difference) is calculated, and the standard deviation of the distance difference is determined based on the average value of the distance difference. The average value of the Mahalanobis distance difference can be determined using formula (4), and the standard deviation can be determined using formula (5):

[0080]

[0081]

[0082] in, represents the average value of Mahalanobis distance difference; d 1Q For d1 and d QThe Mahalanobis distance difference; σ represents the standard deviation; d 1t For d1 and d t The Mahalanobis distance difference.

[0083] In another embodiment, the distance difference value greater than the standard deviation can be used as a rejection value, and the sampling point corresponding to the rejection value can be used as a rejection sampling point; the sampling points other than the rejection sampling points can be used as retained sampling points. Further, the leakage point position of the leakage point of the oil pipeline can be determined based on the distance values ​​corresponding to each retained sampling point.

[0084] In yet another embodiment, if d 1t >σ, then it will be 1t The corresponding sampling point (corresponding to the eliminated sampling point) position data is eliminated. Otherwise, it is retained, and the amount of position data of the remaining sampling points (corresponding to the retained sampling points) is the K value.

[0085] In order to further improve the algorithm accuracy, the position data of K sampling points can be eliminated twice.

[0086] In yet another exemplary embodiment of the present invention, the processing module 160 may also be used to:

[0087] Determining a first sampling point corresponding to a first distance value;

[0088] Determine the first geographical location coordinates of the first sampling point and the reserved sampling point location coordinates of each reserved sampling point;

[0089] Based on the first geographic location coordinates and the location coordinates of each reserved sampling point, determining a screening distance value corresponding to each reserved sampling point, wherein the screening distance value is a distance value between the first geographic location coordinates and the location coordinates of each reserved sampling point;

[0090] The screening distance value that exceeds the preset distance value is used as the rejection distance value, and the retained sampling point corresponding to the rejection distance value is used as the secondary rejection sampling point;

[0091] The retained sampling points except the second elimination sampling points are taken as the final retained sampling points.

[0092] In one embodiment, the screening distance value may be a Euclidean distance. In the application process, the position data of the K sampling points determined above may be eliminated twice. First, the Euclidean distance (corresponding to the screening distance value) between the coordinate x1 corresponding to the position data of the sampling point with the minimum Mahalanobis distance (corresponding to the first sampling point) and the position coordinates of the K-1 sampling points (corresponding to the retained sampling points) is calculated, and is recorded as di 12 ,di 13 ,...,di 1k .

[0093] Further, the screening distance value that exceeds the preset distance value can be used as the elimination distance value, and the retained sampling points corresponding to the elimination distance value can be used as secondary elimination sampling points. The preset distance value can be adjusted according to actual conditions and is not specifically limited in this embodiment. The preset distance value can be 1, and the setting of the preset distance value can affect the number of retained sampling points that are finally left.

[0094] In yet another example, the Euclidean distance (corresponding to the screening distance value) can be determined using formula (6):

[0095]

[0096] Among them, 1k Represents the coordinates (corresponding to the first geographical location coordinates) x1 corresponding to the position data of the sampling point with the minimum Mahalanobis distance (corresponding to the first sampling point) and the position coordinates (corresponding to the position coordinates of the reserved sampling point) x1 of the kth sampling point (corresponding to the reserved sampling point) k The Euclidean distance of .

[0097] When 1k >1, the corresponding sampling point position data is removed from the K sampling point position data to obtain the final retained sampling point.

[0098] It can be seen from the above technical scheme that the oil pipeline leakage point positioning system provided by the present invention uses Wifi equipment (corresponding signal generation module) combined with an improved algorithm to calculate the leakage point. The system has a simple structure, rapid response, easy use, high positioning accuracy, high real-time performance, and low system construction cost. In addition, the present invention can recycle crude oil, refined oil, etc. leaked from the oil pipeline, which can then be processed and used again, saving industrial costs, reducing waste, and reducing pollution to the environment.

[0099] According to the foregoing description, the oil pipeline leakage point positioning system provided by the present invention comprises: an oil pipeline, wherein a preset number of sampling points are distributed on the oil pipeline; a plurality of signal generating modules, which are arranged on or around the oil pipeline and are used to generate and transmit wireless signals at regular intervals; a signal acquisition module; a moving module, which is arranged on the oil pipeline and is used to carry the signal acquisition module to the sampling point to collect wireless signals when no leakage point occurs in the oil pipeline; a processing module, which is used to receive wireless signals, and to construct a sampling point location database based on the wireless signals and the geographical location coordinates of the sampling points, and to determine the leakage point location of the leakage point of the oil pipeline based on the sampling point location database, thereby realizing that the leakage point of the oil pipeline can be quickly and accurately positioned.

[0100] Based on the same inventive concept, the present invention also provides a method for locating a leakage point in an oil pipeline, wherein the method for locating a leakage point in an oil pipeline provided by the present invention is described below, and the method for locating a leakage point in an oil pipeline described below and the system for locating a leakage point in an oil pipeline described above can refer to each other.

[0101] Figure 2 This is one of the flow diagrams of the oil pipeline leakage point locating method provided by the present invention.

[0102] The following will be combined Figure 2 The method of locating the leakage point of the oil pipeline is explained.

[0103] In an exemplary embodiment of the present invention, a preset number of sampling points are distributed on the oil pipeline. Figure 2 It can be seen that the method for locating the oil pipeline leakage point may include steps 210 to 240, and each step will be introduced below.

[0104] In step 210, a wireless signal is generated and transmitted at a fixed time.

[0105] In one embodiment, a wireless signal can be generated and transmitted regularly based on a signal generation module arranged around the oil pipeline. In one example, the wireless signal can be a WIFI signal. The signal generation module can be a WIFI device.

[0106] In step 220, when there is no leakage point in the oil pipeline, wireless signals are collected at the sampling point.

[0107] In one embodiment, when there is no leakage point in the oil pipeline, a preset number of wireless signals can be collected at each sampling point, for example, including q wireless signals collected at Q sampling points. It should be noted that the preset number can be determined according to actual conditions and is not specifically limited in this embodiment. The preset number can be the same as the number of signal generation modules.

[0108] In step 230, a sampling point location database is constructed based on the wireless signals collected at the sampling points and the geographical location coordinates of the sampling points.

[0109] In step 240, the location of the leakage point of the oil pipeline is determined based on the sampling point location database.

[0110] In one embodiment, a sampling point location database can be constructed based on the wireless signal and the geographic location coordinates of the sampling point, and the leakage point location of the leakage point of the oil pipeline can be determined based on the sampling point location database. Through this embodiment, the leakage point of the oil pipeline can be quickly and accurately located at a low cost.

[0111] Figure 3This is the second flow chart of the oil pipeline leakage point locating method provided by the present invention.

[0112] The following will be combined Figure 3 The process of another method for locating the leakage point of an oil pipeline is described.

[0113] In an exemplary embodiment of the present invention, the oil pipeline may be equipped with a recovery module. Figure 3 It can be seen that the method for locating the leakage point of an oil pipeline may include steps 310 to 350, wherein steps 310 to 340 are respectively the same or similar to steps 210 to 240. For its specific implementation and beneficial effects, please refer to the previous description, which will not be repeated in this embodiment. Step 350 will be introduced below.

[0114] In step 350, when receiving the instruction to recover the oil product, the recovery module is controlled to move to the leakage point to recover the oil product leaked from the leakage point.

[0115] During the application process, after the leakage point is accurately located, when receiving the oil product recovery instruction, the recovery module can be controlled to move to the leakage point to recover the oil product leaked from the leakage point. Through this embodiment, without adding additional costs, the leakage point can be accurately located to quickly recover the leaked oil product (such as crude oil, refined oil), thereby avoiding environmental pollution and realizing resource reuse.

[0116] In yet another exemplary embodiment of the present invention, Figure 2 Taking the above embodiment as an example, collecting wireless signals at the sampling point (corresponding to step 220) can be implemented in the following manner:

[0117] Collect a preset number of wireless signals at each sampling point;

[0118] Furthermore, based on the wireless signals collected at the sampling points and the geographical coordinates of the sampling points, constructing a sampling point location database (corresponding to step 230) can be implemented in the following manner:

[0119] Based on a preset number of wireless signals collected at each sampling point, determining a signal strength expectation vector of the wireless signal at each sampling point and a signal strength covariance matrix of the wireless signal;

[0120] Constructing processed sampling coordinates of the sampling point based on the geographic location coordinates of the sampling point, the expected signal strength vector of the wireless signal at the sampling point, and the signal strength covariance matrix of the wireless signal at the sampling point;

[0121] Based on the processed sampling coordinates of each sampling point, a sampling point location database is constructed.

[0122] In one embodiment, a preset number of wireless signals are collected at each sampling point, for example, including q wireless signals collected at Q sampling points. It should be noted that the preset number can be determined according to actual conditions and is not specifically limited in this embodiment. The preset number can be the same as the number of signal generation modules.

[0123] In yet another embodiment, the processed sampling coordinates of the sampling points can be expressed as (x t , E (t) ,Σ t ), where t represents the current sampling point, where t=1,2,...,Q. E (t) is the expected vector (corresponding to the expected signal strength vector) of the q WiFi signal strengths (corresponding to the wireless signal) collected at sampling point t, Σ (t) is the signal strength covariance matrix of the q WiFi signal strengths collected at sampling point t. Wherein, the signal strength expectation vector can be expressed by the formula (1) described above.

[0124] Furthermore, the geographical coordinates x of the sampling point t can be t , the expected signal strength vector E of the wireless signal at sampling point t (t) , and the signal strength covariance matrix Σ of the wireless signal at sampling point t t , construct the processed sampling coordinates of the sampling points. Construct a sampling point location database based on the processed sampling coordinates of each sampling point. Lay the foundation for determining the leakage point location of the oil pipeline based on the sampling point location database.

[0125] Figure 4 It is a schematic diagram of a flow chart for determining the location of a leakage point of an oil pipeline based on a sampling point location database provided by the present invention.

[0126] The following will be combined Figure 4 The process of determining the location of a leak point in an oil pipeline based on a sampling point location database is described.

[0127] In an exemplary embodiment of the present invention, Figure 4 It can be seen that determining the leakage point location of the oil pipeline based on the sampling point location database may include steps 410 to 440, and each step will be introduced below.

[0128] In step 410, when a leak occurs in the oil pipeline, the oscillation signal strength value generated by the oil product leaking from the leak is collected.

[0129] In step 420, an oscillation signal strength vector is constructed based on the oscillation signal strength value.

[0130] In step 430, based on each processed sampling coordinate in the sampling point location database and the oscillation signal strength vector, a distance value corresponding to each sampling point is determined.

[0131] In step 440, the leakage point location of the leakage point of the oil pipeline is determined based on the distance values ​​corresponding to the respective sampling points.

[0132] The distance value is the distance value between the processed sampling coordinates and the oscillation signal strength vector. The distance value may be a Mahalanobis distance value or other distance values. In this embodiment, the type of the distance value is not specifically limited.

[0133] In another embodiment, the signal generation module, for example, a WIFI device can collect the oscillation signal strength value generated by the oil leakage from the leakage point. In the application process, the oscillation signal strength vector s = (s1, s2, ..., s q ). Among them, s1 represents the oscillation signal strength value collected by the first signal generation module, s q Indicates the oscillation signal strength value collected by the qth signal generation module.

[0134] Furthermore, the Mahalanobis distance corresponding to each sampling point can be determined based on each processed sampling coordinate and oscillation signal strength vector in the sampling point location database. In other words, the size of the Mahalanobis distance can be used as a standard for measuring the similarity between s and the sampling point location data. The smaller the Mahalanobis distance, the greater the similarity of the corresponding sampling point signal location data. On the contrary, the larger the Mahalanobis distance, the smaller the similarity of the corresponding sampling point signal location data.

[0135] In yet another embodiment, the Mahalanobis distance may be expressed using the formula (2) described above.

[0136] Furthermore, the leakage point location of the leakage point of the oil pipeline can be determined based on the distance values ​​corresponding to the respective sampling points.

[0137] In one example, the weights can be determined according to the Mahalanobis distances corresponding to the sampling points, and then the leakage point locations of the leakage points can be determined based on the geographical location coordinates of the sampling points. In other words, the weights are calculated for the location data coordinates (geographic location coordinates) of the k sampling points. In one example, the leakage point locations of the leakage points can be determined using the formula (3) described above.

[0138] Figure 5 The present invention provides a flow chart for determining the location of a leakage point of an oil pipeline based on distance values ​​corresponding to each sampling point.

[0139] The following will be combined Figure 5A process of determining the location of a leak point of an oil pipeline based on distance values ​​corresponding to each sampling point is described.

[0140] In an exemplary embodiment of the present invention, Figure 5 It can be seen that determining the leakage point location of the leakage point of the oil pipeline based on the distance value corresponding to each sampling point may include steps 510 to 560, and each step will be introduced below.

[0141] In step 510, a first distance value is determined among the distance values ​​corresponding to the respective sampling points.

[0142] In step 520, the distance values ​​other than the first distance value are subtracted from the first distance value to obtain a plurality of distance difference values.

[0143] In step 530 , based on the multiple distance difference values, an average value of the multiple distance difference values ​​is determined, and based on the average value of the distance difference values, a standard deviation of the distance difference values ​​is determined.

[0144] In step 540, the distance difference value whose distance difference value is greater than the standard deviation is used as a rejection value, and the sampling point corresponding to the rejection value is used as a rejection sampling point.

[0145] In step 550, the sampling points except the discarded sampling points are used as the reserved sampling points.

[0146] In step 560, the leakage point location of the leakage point of the oil pipeline is determined based on the distance values ​​corresponding to each of the reserved sampling points.

[0147] The first distance value is the smallest distance value among the distance values.

[0148] In one embodiment, in order to reduce the positioning error, the improved adaptive K-value WENN algorithm can also be integrated. In the application process, the calculated Mahalanobis distances (corresponding to the distance values ​​corresponding to each sampling point) can be sorted in ascending order, wherein the one with the smallest Mahalanobis distance after sorting is d1 (corresponding to the first distance value), and the one with the largest Mahalanobis distance is d Q , where Q is the number of sampling points. 1Q For d1 and d Q The Mahalanobis distance difference (corresponding to the distance difference).

[0149] Furthermore, the average value of the Mahalanobis distance difference (corresponding to the average value of the distance difference) is calculated, and the standard deviation of the distance difference is determined based on the average value of the distance difference. The average value of the Mahalanobis distance difference can be determined using the formula (4) described above, and the standard deviation can be determined using the formula (5) described above.

[0150] In another embodiment, the distance difference value greater than the standard deviation can be used as a rejection value, and the sampling point corresponding to the rejection value can be used as a rejection sampling point; the sampling points other than the rejection sampling points can be used as retained sampling points. Further, the leakage point position of the leakage point of the oil pipeline can be determined based on the distance values ​​corresponding to each retained sampling point.

[0151] In yet another embodiment, if d 1t >σ, then it will be 1t The corresponding sampling point (corresponding to the eliminated sampling point) position data is eliminated. Otherwise, it is retained, and the amount of position data of the remaining sampling points (corresponding to the retained sampling points) is the K value.

[0152] In order to further improve the algorithm accuracy, the position data of K sampling points can be eliminated twice.

[0153] In yet another exemplary embodiment of the present invention, the reserved sampling points may be determined in the following manner:

[0154] Determining a first sampling point corresponding to a first distance value;

[0155] Determine the first geographical location coordinates of the first sampling point and the reserved sampling point location coordinates of each reserved sampling point;

[0156] Based on the first geographic location coordinates and the location coordinates of each reserved sampling point, determining a screening distance value corresponding to each reserved sampling point, wherein the screening distance value is a distance value between the first geographic location coordinates and the location coordinates of each reserved sampling point;

[0157] The screening distance value exceeding the preset distance value is used as the rejection distance value, and the retained sampling point corresponding to the rejection distance value is used as the secondary rejection sampling point;

[0158] The retained sampling points except the second elimination sampling points are taken as the final retained sampling points.

[0159] In one embodiment, the screening distance value may be a Euclidean distance. In the application process, the position data of the K sampling points determined above may be eliminated twice. First, the Euclidean distance (corresponding to the screening distance value) between the coordinate x1 corresponding to the position data of the sampling point with the minimum Mahalanobis distance (corresponding to the first sampling point) and the position coordinates of the K-1 sampling points (corresponding to the retained sampling points) is calculated, and is recorded as di 12 ,di 13 ,...,di 1k .

[0160] Further, the screening distance value that exceeds the preset distance value can be used as the elimination distance value, and the retained sampling points corresponding to the elimination distance value can be used as secondary elimination sampling points. The preset distance value can be adjusted according to actual conditions and is not specifically limited in this embodiment. The preset distance value can be 1, and the setting of the preset distance value can affect the number of retained sampling points that are finally left.

[0161] In yet another example, the Euclidean distance (corresponding to the screening distance value) can be determined using the formula (6) described above.

[0162] When 1k >1, the corresponding sampling point position data is removed from the K sampling point position data to obtain the final retained sampling point.

[0163] Through the oil pipeline leakage point locating method described above, the leakage point of the oil pipeline can be quickly and accurately located, and the crude oil, refined oil, etc. leaked from the oil pipeline can be recovered and then processed for continued use, saving industrial costs, reducing waste, and reducing pollution to the environment.

[0164] Figure 6 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the oil pipeline leakage point positioning method, wherein the oil pipeline is distributed with a preset number of sampling points, and the oil pipeline leakage point positioning method includes: generating and transmitting wireless signals at regular intervals; collecting the wireless signals at the sampling points when no leakage points are generated in the oil pipeline; constructing a sampling point location database based on the wireless signals collected at the sampling points and the geographical location coordinates of the sampling points; and determining the leakage point location of the oil pipeline based on the sampling point location database.

[0165] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0166] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the oil pipeline leakage point locating method provided by the above methods. A preset number of sampling points are distributed on the oil pipeline. The oil pipeline leakage point locating method includes: regularly generating and transmitting wireless signals; when no leakage point occurs in the oil pipeline, collecting the wireless signals at the sampling points; constructing a sampling point location database based on the wireless signals collected at the sampling points and the geographical location coordinates of the sampling points; and determining the leakage point location of the oil pipeline based on the sampling point location database.

[0167] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the oil pipeline leakage point locating method provided by the above-mentioned methods, wherein a preset number of sampling points are distributed on the oil pipeline, and the oil pipeline leakage point locating method comprises: generating and transmitting a wireless signal at regular intervals; collecting the wireless signal at the sampling point when no leakage point occurs in the oil pipeline; constructing a sampling point location database based on the wireless signal collected at the sampling point and the geographical location coordinates of the sampling point; and determining the leakage point location of the oil pipeline based on the sampling point location database.

[0168] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0169] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0170] It is further understood that, although the operations are described in a specific order in the accompanying drawings in the embodiments of the present invention, it should not be understood as requiring the operations to be performed in the specific order or serial order shown, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.

[0171] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A system for locating oil pipeline leakage points, characterized in that: The oil pipeline leakage point positioning system comprises: An oil pipeline, wherein a preset number of sampling points are distributed on the oil pipeline; A plurality of signal generating modules, arranged on or around the oil pipeline, for generating and transmitting wireless signals at regular intervals; Signal acquisition module; A mobile module, arranged in the oil pipeline, and used to carry the signal acquisition module to the sampling point to collect the wireless signal when no leakage point occurs in the oil pipeline; The processing module is used to receive the wireless signal, build a sampling point location database based on the wireless signal and the geographical location coordinates of the sampling point, and determine the leakage point location of the leakage point of the oil pipeline based on the sampling point location database.

2. The oil pipeline leakage point positioning system according to claim 1 is characterized in that: The oil pipeline leakage point positioning system also includes: The recovery module is used to move to the leakage point to recover the oil product leaked from the leakage point when receiving the oil product recovery instruction issued by the processing module.

3. The oil pipeline leakage point positioning system according to claim 1 or 2, characterized in that: The wireless signals collected by the signal collection module include collecting a preset number of wireless signals at each sampling point; The processing module uses the following method to build a sampling point location database based on the wireless signal and the geographical location coordinates of the sampling point: Based on a preset number of the wireless signals collected at each of the sampling points, determining an expected signal strength vector of the wireless signal at each of the sampling points and a signal strength covariance matrix of the wireless signal; Constructing processed sampling coordinates of the sampling point based on the geographic location coordinates of the sampling point, the expected signal strength vector of the wireless signal at the sampling point, and the signal strength covariance matrix of the wireless signal at the sampling point; The sampling point location database is constructed based on the processed sampling coordinates of each sampling point.

4. The oil pipeline leakage point positioning system according to claim 1, characterized in that: The signal generating module is also used for: In the case where a leakage point occurs in the oil pipeline, collecting the oscillation signal intensity value generated by the oil product leaking from the leakage point; The processing module is also used for: Obtaining the oscillation signal strength value; The processing module determines the leakage point location of the leakage point of the oil pipeline based on the sampling point location database in the following manner: Based on the oscillation signal strength value, construct an oscillation signal strength vector; Based on each processed sampling coordinate and the oscillation signal strength vector in the sampling point location database, determining a distance value corresponding to each sampling point, wherein the distance value is a distance value between the processed sampling coordinate and the oscillation signal strength vector; Based on the distance values ​​corresponding to the respective sampling points, the leakage point position of the leakage point of the oil pipeline is determined.

5. The oil pipeline leakage point positioning system according to claim 4 is characterized in that: The processing module is also used for: Determine a first distance value among the distance values ​​corresponding to the respective sampling points, wherein the first distance value is the smallest distance value among the distance values; Subtracting the first distance value from the other distance values ​​except the first distance value to obtain a plurality of distance difference values; Based on the multiple distance differences, determining a distance difference average of the multiple distance differences, and determining a standard deviation of the distance differences based on the distance difference average; The distance difference value greater than the standard deviation is used as a rejection value, and the sampling point corresponding to the rejection value is used as a rejection sampling point; The sampling points other than the removed sampling points are used as the retained sampling points; The processing module determines the leakage point position of the leakage point of the oil pipeline based on the distance value corresponding to each sampling point in the following manner: Based on the distance values ​​corresponding to the respective reserved sampling points, the leakage point position of the leakage point of the oil pipeline is determined.

6. The oil pipeline leakage point positioning system according to claim 5, characterized in that: The processing module is also used for: Determining a first sampling point corresponding to the first distance value; Determine the first geographical location coordinates of the first sampling point and the reserved sampling point location coordinates of each of the reserved sampling points; Based on the first geographical location coordinates and the location coordinates of each of the reserved sampling points, determining a screening distance value corresponding to each of the reserved sampling points, wherein the screening distance value is a distance value between the first geographical location coordinates and the location coordinates of each of the reserved sampling points; The screening distance value that exceeds the preset distance value is used as a rejection distance value, and the retained sampling point corresponding to the rejection distance value is used as a secondary rejection sampling point; The retained sampling points except the secondarily eliminated sampling points are taken as the final retained sampling points.

7. A method for locating a leak point in an oil pipeline, characterized in that: The oil pipeline is distributed with a preset number of sampling points, and the oil pipeline leakage point positioning method includes: Generate and transmit wireless signals regularly; In the case where there is no leakage point in the oil pipeline, collecting the wireless signal at the sampling point; Building a sampling point location database based on the wireless signals collected at the sampling points and the geographical location coordinates of the sampling points; The leakage point location of the oil pipeline is determined based on the sampling point location database.

8. The method for locating a leak point in an oil pipeline according to claim 7, characterized in that: The oil pipeline is equipped with a recovery module. After determining the leakage point location of the oil pipeline based on the sampling point location database, the method further includes: When receiving the instruction to recover the oil product, the recovery module is controlled to move to the leakage point to recover the oil product leaked from the leakage point.

9. The method for locating a leakage point in an oil pipeline according to claim 7 or 8, characterized in that: The collecting the wireless signal at the sampling point specifically includes: Collecting a preset number of wireless signals at each of the sampling points; The constructing a sampling point location database based on the wireless signal collected at the sampling point and the geographical location coordinates of the sampling point specifically includes: Based on a preset number of the wireless signals collected at each of the sampling points, determining an expected signal strength vector of the wireless signal at each of the sampling points and a signal strength covariance matrix of the wireless signal; Constructing processed sampling coordinates of the sampling point based on the geographic location coordinates of the sampling point, the expected signal strength vector of the wireless signal at the sampling point, and the signal strength covariance matrix of the wireless signal at the sampling point; The sampling point location database is constructed based on the processed sampling coordinates of each sampling point.

10. The method for locating a leakage point in an oil pipeline according to claim 7, characterized in that: The method further comprises: In the case where a leakage point occurs in the oil pipeline, collecting the oscillation signal intensity value generated by the oil product leaking from the leakage point; The determining the leakage point location of the oil pipeline based on the sampling point location database specifically includes: Based on the oscillation signal strength value, construct an oscillation signal strength vector; Based on each processed sampling coordinate and the oscillation signal strength vector in the sampling point location database, determining a distance value corresponding to each sampling point, wherein the distance value is a distance value between the processed sampling coordinate and the oscillation signal strength vector; Based on the distance values ​​corresponding to the respective sampling points, the leakage point position of the leakage point of the oil pipeline is determined.

11. The method for locating a leakage point in an oil pipeline according to claim 10, characterized in that: The method further comprises: Determine a first distance value among the distance values ​​corresponding to the respective sampling points, wherein the first distance value is the smallest distance value among the distance values; Subtracting the first distance value from the other distance values ​​except the first distance value to obtain a plurality of distance difference values; Based on the multiple distance differences, determining a distance difference average of the multiple distance differences, and determining a standard deviation of the distance differences based on the distance difference average; The distance difference value greater than the standard deviation is used as a rejection value, and the sampling point corresponding to the rejection value is used as a rejection sampling point; The sampling points other than the removed sampling points are used as the retained sampling points; Determining the leakage point position of the leakage point of the oil pipeline based on the distance value corresponding to each of the sampling points specifically includes: Based on the distance values ​​corresponding to the respective reserved sampling points, the leakage point position of the leakage point of the oil pipeline is determined.

12. The method for locating a leakage point in an oil pipeline according to claim 11, characterized in that: The reserved sampling points are determined in the following manner: Determining a first sampling point corresponding to the first distance value; Determine the first geographical location coordinates of the first sampling point and the reserved sampling point location coordinates of each of the reserved sampling points; Based on the first geographical location coordinates and the location coordinates of each of the reserved sampling points, determining a screening distance value corresponding to each of the reserved sampling points, wherein the screening distance value is a distance value between the first geographical location coordinates and the location coordinates of each of the reserved sampling points; The screening distance value exceeding the preset distance value is used as the rejection distance value, and the retained sampling points corresponding to the rejection distance value are used as secondary rejection sampling points; The retained sampling points except the secondarily eliminated sampling points are taken as the final retained sampling points.

13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for locating a leakage point in an oil pipeline as described in any one of claims 7 to 12 is implemented.

14. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for locating a leakage point in an oil pipeline as claimed in any one of claims 7 to 12 is implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for locating a leakage point in an oil pipeline as claimed in any one of claims 7 to 12 is implemented.

Citation Information

Patent Citations

  • Surface array ultrasonic gas leakage point positioning detecting device and method

    CN108444653A

  • Multiphase flow pipeline leakage monitoring method and system

    CN116045220A

  • Oil delivery pipeline leakage detecting and positioning device based on GPRS

    CN201502870U

  • Oil pipeline leakage monitoring system based on wireless sensing network

    CN203023812U

  • Leak Detection and Location Sensing System in WorkingPipeline

    KR1020000065505A

Cited By

  • Oil pipeline leak point positioning system, method, electronic device and storage medium

    CN119374036B