Method and device for pipeline data integrity detection and electronic equipment

By building buffer surfaces and establishing topological association networks, the problem of scattered underground pipeline data is solved, and automatic detection and efficient integrity evaluation are achieved.

CN120354566APending Publication Date: 2025-07-22CHONGQING INST OF SURVEYING & MAPPING SCI & TECH (CHONGQING MAP COMPILATION CENT)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510433110.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-08
Publication Date
2025-07-22

AI Technical Summary

Technical Problem

In the prior art, underground pipeline data collection has problems such as local, discontinuity and incompleteness, resulting in the scattered and fragmented pipeline data in the information system and the low manual detection efficiency.

Method used

By building a buffer surface, electronic devices automatically detect the logical connectivity between pipeline segments, establish a topological association network, and determine the integrity of pipeline data.

Benefits of technology

It realizes the completeness of automatic detection of pipeline data, improves detection efficiency and accuracy, and can quickly identify data missing areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120354566A_ABST
    Figure CN120354566A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of geographic information, and discloses a method for pipeline data integrity detection, which comprises the following steps: acquiring to-be-detected pipeline data, the to-be-detected pipeline data comprising a plurality of to-be-detected pipeline sections; respectively constructing a corresponding buffer area surface for each to-be-detected pipeline section, and determining each constructed buffer area surface as an alternative buffer area surface; obtaining a target buffer area surface according to each alternative buffer area surface; and determining the integrity condition of the to-be-detected pipeline data according to the target buffer area surface. According to the method, the buffer area surfaces are constructed for the to-be-detected pipeline sections, so that whether the to-be-detected pipeline sections are logically communicated or not can be determined according to the buffer area surfaces. And further obtaining a target buffer area surface. And determining the integrity condition of the to-be-detected pipeline data according to the target buffer area surface. The integrity condition of the pipeline data is automatically detected, and the detection efficiency of the pipeline data is improved. The invention further discloses a device for pipeline data integrity detection and electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of geographic information technology, for example, to a method and device for detecting the integrity of pipeline data, and an electronic device. Background Art

[0002] Underground pipelines are important urban infrastructure. In recent years, sufficient attention has been paid to their data collection, and various underground pipeline information systems have been gradually established and improved. However, in actual work, due to insufficient integrity of data collection, especially in major cities where data is collected and updated through construction projects, which has characteristics such as partiality, discontinuity, and non-integrity, the pipeline data in the information system gradually shows problems of fragmentation and discontinuity.

[0003] To address this problem, data management units need to regularly sort out the pipeline data situation. Currently, mainly through the manual visual method, sorting by map sheets to find scattered pipeline data and manually marking it. This manual-based detection method has low detection efficiency.

[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0005] To have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a general review, nor is it intended to identify key / important elements or delineate the protection scope of these embodiments, but rather as a preface to the following detailed description.

[0006] Embodiments of the present disclosure provide a method and device for detecting the integrity of pipeline data, and an electronic device, so as to improve the efficiency of detecting the integrity of pipeline data.

[0007] In some embodiments, the method includes: obtaining pipeline data to be measured, where the pipeline data to be measured includes a plurality of pipeline segments to be measured; respectively constructing corresponding buffer surfaces for each of the pipeline segments to be measured, and determining the constructed buffer surfaces as alternative buffer surfaces; obtaining a target buffer surface according to each of the alternative buffer surfaces; and determining the integrity situation of the pipeline data to be measured according to the target buffer surface.

[0008] In some embodiments, the device includes: a processor and a memory storing program instructions, where the processor is configured to execute the method for detecting the integrity of pipeline data as described above when running the program instructions.

[0009] In some embodiments, the electronic device includes: an electronic device body; a device for detecting the integrity of pipeline data as described above, which is installed on the electronic device body.

[0010] The method, device, and electronic device for detecting the integrity of pipeline data provided by the embodiments of the present disclosure can achieve the following technical effects:

[0011] By constructing buffer surfaces for the pipeline segments to be measured, it is possible to determine whether the pipeline segments to be measured are logically connected according to the buffer surfaces. And further obtain the target buffer surface. Thus, the integrity of the pipeline data to be measured is determined according to the target buffer surface. The automatic detection of the integrity of pipeline data is realized, and the detection efficiency of pipeline data is improved.

[0012] The above general description and the following description are only exemplary and explanatory, and are not used to limit this application. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] One or more embodiments are exemplarily illustrated by the corresponding drawings. These exemplary illustrations and the drawings do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements. The drawings do not constitute a scale limitation, and among them:

[0014] Figure 1 is a schematic diagram of a method for detecting the integrity of pipeline data provided by an embodiment of the present disclosure;

[0015] Figure 2 is a schematic diagram of another method for detecting the integrity of pipeline data provided by an embodiment of the present disclosure;

[0016] Figure 3 is a schematic structural diagram of a device for detecting the integrity of pipeline data provided by an embodiment of the present disclosure;

[0017] Figure 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0018] In order to be able to understand the features and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below with reference to the drawings. The attached drawings are only for reference and explanation, and are not used to limit the embodiments of the present disclosure. In the following technical description, for the sake of explanation, numerous details are provided to give a full understanding of the disclosed embodiments. However, one or more embodiments can still be implemented without these details. In other cases, well-known structures and devices can be shown in a simplified manner to simplify the drawings.

[0019] In the specification, claims, and the above-mentioned drawings of the embodiments of the present disclosure, terms such as "first" and "second" are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so as to implement the embodiments of the present disclosure described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion.

[0020] Unless otherwise specified, the term "plurality" means two or more.

[0021] In the embodiments of the present disclosure, the character " / " indicates that the front and rear objects are in an "or" relationship. For example, A / B means: A or B.

[0022] The term "and / or" is an associative relationship describing an object, indicating that three relationships can exist. For example, A and / or B means: A or B, or, the three relationships of A and B.

[0023] The term "correspond to" can refer to an associative relationship or a binding relationship. A corresponding to B means that there is an associative relationship or a binding relationship between A and B.

[0024] The embodiments of the present disclosure provide a method for detecting the integrity of pipeline data, and the execution subject is an electronic device. Among them, the electronic device includes a computer or a server, etc. The electronic device establishes a buffer surface for each pipeline segment to be measured, and determines whether the buffer surfaces are connected according to the endpoints of the pipeline segments to be measured. At the same time, the connected buffer surfaces are fused to establish a topological association network of the pipeline segments. In this way, both the spatial relationship between the pipeline segments is considered, and the endpoints of the pipeline segments are used as the basis for logical judgment, solving the problem of spatial intersection but actually being discontinuous. It realizes the automatic detection of the integrity of pipeline data, improves the detection efficiency of pipeline data, and greatly improves the accuracy of detecting data missing areas. The method for detecting the integrity of pipeline data provided by the embodiments of the present disclosure is applicable to scenarios such as urban underground pipeline census, pipe network data quality assessment, and smart city construction.

[0025] Combined with Figure 1 As shown, the embodiments of the present disclosure provide a method for detecting the integrity of pipeline data, including:

[0026] Step S101, the electronic device acquires pipeline data to be measured. The pipeline data to be measured includes a plurality of pipeline segments to be measured. The pipeline data to be measured is the pipeline data of the area to be measured. The pipeline data to be measured also includes the start point and the end point of the pipeline segment to be measured. The pipeline data to be measured is vector data. The pipeline data to be measured is acquired through the pipeline point layer and the pipeline segment layer of the area to be measured. The start point and the end point of the pipeline segment to be measured exist in the pipeline point layer.

[0027] The pipeline point layer is used to record and display the information of key position points in the pipeline to be measured. These points represent the starting point, ending point, turning point, intersection point, inspection well and other key positions of the pipeline to be measured. The pipeline point layer accurately locates the positions of these key points through longitude and latitude or X / Y coordinates and displays them in the form of points on the map.

[0028] The pipeline segment layer is used to display the segment information in the pipeline to be measured. These segments connect the pipeline points to form a complete pipeline network. The pipeline segment layer describes the spatial trend and path distribution information of the pipeline to be measured through a set of longitude and latitude coordinate data.

[0029] Step S102, the electronic device constructs corresponding buffer surfaces for each pipeline segment to be measured and determines the constructed buffer surfaces as alternative buffer surfaces.

[0030] Step S103, the electronic device obtains the target buffer surface according to each alternative buffer surface.

[0031] Step S104, the electronic device determines the integrity of the pipeline data to be measured according to the target buffer surface.

[0032] By adopting the method for detecting the integrity of pipeline data provided by the embodiments of the present disclosure, buffer surfaces are constructed for the pipeline segments to be measured, so that it is possible to determine whether the pipeline segments to be measured are logically connected according to the buffer surfaces. And further obtain the target buffer surface. Thus, the integrity of the pipeline data to be measured is determined according to the target buffer surface. The automatic detection of the integrity of the pipeline data is realized, and the detection efficiency of the pipeline data is improved.

[0033] Further, constructing corresponding buffer surfaces for each pipeline segment to be measured includes: performing the following operations on each pipeline segment to be measured:

[0034] Expand a preset distance along both sides of the pipeline segment to be measured to generate the buffer surface corresponding to the pipeline segment to be measured.

[0035] In some embodiments, the preset distance is any length within the range of 0.1 meter to 1 meter, for example, 0.3 meter. Using GIS data processing software, a parallel line is generated at the preset distance on both sides of the pipeline segment to be measured, and a surface is formed by using these two parallel lines, that is, the buffer surface corresponding to the pipeline segment to be measured is obtained. The starting point and ending point of each pipeline segment to be measured are determined as pipeline points to be measured. And the coordinates of the pipeline points to be measured are stored in the preset buffer surface element attribute table. In this way, the constructed alternative buffer surfaces have the characteristics of being centered on the pipeline segment to be measured, symmetric on both sides, and strip-shaped on the graph. Each alternative buffer surface respectively contains the corresponding pipeline segment to be measured.

[0036] Further, obtaining the target buffer surface according to each alternative buffer surface includes: determining whether there is a connection among the alternative buffer surfaces. When there is a connection among the alternative buffer surfaces, fusing the connected alternative buffer surfaces, and determining the fused alternative buffer surface as the target buffer surface. When there is no connection among the alternative buffer surfaces, determining the unconnected alternative buffer surfaces as the target buffer surfaces. If there is a connection among the alternative buffer surfaces, it is determined that the pipeline segments to be measured corresponding to the connected alternative buffer surfaces are connected. Therefore, by determining whether the alternative buffer surfaces are connected, it can be determined whether the pipeline segments to be measured corresponding to the alternative buffer surfaces are connected. And fusing the connected buffer surfaces to obtain the target buffer surface. Thus, a topological association network of pipeline segments is established, considering the relationship among pipeline segments. Greatly improving the accuracy of pipeline data missing detection.

[0037] In some embodiments, using GIS software, the connection situation of each alternative buffer surface is detected according to the buffer surface element attribute table. Specifically, when there are pipeline points to be measured with the same coordinates in the buffer surface element attribute table, it is determined that the alternative buffer surfaces corresponding to the same pipeline points to be measured are connected. Because the pipeline points to be measured stored in the buffer surface element attribute table are the starting points or ending points of the pipeline segments to be measured. When there are pipeline points to be measured with the same coordinates, it means that the pipeline segments to be measured corresponding to the same pipeline points to be measured are connected.

[0038] Further, fusing the connected alternative buffer surfaces includes: merging the connected alternative buffer surfaces. Obtaining the target buffer surface according to the merged alternative buffer surface. Each pipeline segment to be measured in the merged alternative buffer surface is in a connected state. Determining the pipeline segments included in the target buffer surface as the target pipeline segments. In this way, by fusing each alternative buffer surface, a topologically continuous buffer is obtained. Establishing a topological association network of pipeline segments, taking into account both the spatial relationship among pipelines and using pipeline points as the basis for logical judgment, solving the problem of spatial intersection but actual discontinuity, and greatly improving the accuracy of data integrity detection.

[0039] Further, obtaining the target buffer surface according to the merged alternative buffer surface includes: obtaining the boundary vertex coordinates of the merged alternative buffer surface. Calculating the distance between any two boundary vertices. When the distance is less than the set threshold, deleting any one of the two boundary vertices corresponding to the distance, and deleting all the boundary vertices between the two boundary vertices corresponding to the distance. Thus, the target buffer surface is obtained. In some embodiments, the set threshold is 0.1. In this way, the gaps in the merged alternative buffer surface can be eliminated.

[0040] Further, determine the integrity of the pipeline data to be measured according to the target buffer surface, including: obtaining the geometric area of each target buffer surface. Obtain the length of each target pipeline segment according to each geometric area. Wherein, the target pipeline segment is the pipeline segment included in the target buffer surface. Determine the integrity of the pipeline data to be measured according to the length of each target pipeline segment.

[0041] Further, obtaining the geometric area of the target buffer surface includes: arranging the boundary vertex coordinates of the target buffer surface in a clockwise or counterclockwise order, and calculating the geometric area of the target buffer surface using a determinant.

[0042] In some embodiments, by calculating obtain the geometric area of the a-th target buffer surface. Wherein, S a is the geometric area of the a-th target buffer surface, X i is the x coordinate value of the i-th boundary vertex of the a-th target buffer surface, Y i is the y coordinate value of the i-th boundary vertex of the a-th target buffer surface. X i+1 is the x coordinate value of the (i + 1)-th boundary vertex of the a-th target buffer surface, Y i+1 is the y coordinate value of the (i + 1)-th boundary vertex of the a-th target buffer surface. n is the number of boundary vertices of the a-th target buffer surface, and X n+1 = X1, Y n+1 = Y1

[0043] Further, obtaining the length of each target pipeline segment according to the geometric area of each target buffer surface includes: calculating L a = S a / 2r to obtain the length of the target pipeline segment. Wherein, L a is the length of the a-th target pipeline segment, and r is a preset distance.

[0044] Further, determining the integrity of the pipeline data to be measured according to the length of each target pipeline segment includes: in the case where there is a target pipeline segment with a length less than the pipeline length threshold, determine that the integrity of the pipeline data to be measured is missing. In this way, when there is a target pipeline segment with a length less than the pipeline length threshold, it indicates that there is an overly short pipeline segment in the pipeline data to be measured, so it is determined that the pipeline data to be measured is incomplete, that is, there are missing pipeline segments.

[0045] In the case where the lengths of all target pipeline segments are greater than or equal to the pipeline length threshold, determine that the integrity of the pipeline data to be measured is complete. In this way, when the lengths of all target pipeline segments are greater than or equal to the pipeline length threshold, it indicates that there is no overly short pipeline segment in the pipeline data to be measured, so it is determined that the pipeline data to be measured is complete and there are no missing pipeline segments.

[0046] In some embodiments, the pipeline length threshold is obtained as follows: Obtain the geographical location information of the area corresponding to the pipeline data to be measured. Use this geographical location information to perform a look-up operation in a preset data table to find the pipeline length threshold corresponding to the geographical location information. The preset data table stores the correspondence between the geographical location information and the pipeline length threshold. In this way, the setting of the pipeline length threshold takes into account the characteristics of the geographical location area corresponding to the pipeline data to be measured, which can make the setting of the pipeline length threshold more reasonable, and thus make the detection of the pipeline data to be measured more accurate.

[0047] In some embodiments, the value range of the pipeline length threshold is from 500 meters to 1500 meters.

[0048] Combined with Figure 2 As shown, another method for detecting the integrity of pipeline data provided by an embodiment of the present disclosure includes:

[0049] Step S201, the electronic device obtains the pipeline data to be measured.

[0050] Step S202, the electronic device expands a preset distance along both sides of each pipeline segment to be measured to generate a buffer surface corresponding to each pipeline segment to be measured, and determines the constructed buffer surfaces as alternative buffer surfaces.

[0051] Step S203, the electronic device determines whether there is a connection situation for each alternative buffer surface; if so, execute Step S204, if not, execute Step S205.

[0052] Step S204, fuse the connected alternative buffer surfaces, determine the fused alternative buffer surface as the target buffer surface, and then execute Step S206.

[0053] Step S205, the electronic device determines the non-connected alternative buffer surfaces as the target buffer surfaces, and then executes Step S206.

[0054] Step S206, the electronic device obtains the geometric area of each target buffer surface.

[0055] Step S207, the electronic device obtains the length of the target pipeline segment included in each target buffer surface according to each geometric area.

[0056] Step S208, the electronic device determines whether the length of each target pipeline segment is less than the pipeline length threshold; if so, execute Step S209; if not, execute Step S210.

[0057] Step S209, the electronic device determines that the integrity of the pipeline data to be measured is missing.

[0058] Step S210, the electronic device determines that the integrity of the pipeline data to be measured is complete.

[0059] By constructing buffer surfaces for each pipeline segment to be measured and using the spatial relationship of vector data, the pipeline length within each buffer surface is determined. Thus, the missing pipeline data can be found, and the missing situation of the pipeline data to be measured can be determined quickly and accurately.

[0060] Further, after determining that the integrity of the pipeline data to be measured is missing, it also includes: in the case where there is a target pipeline segment with a length less than the pipeline length threshold and there is also a target pipeline segment with a length greater than or equal to the pipeline length threshold, the target buffer surface corresponding to the target pipeline segment with a length less than the pipeline length threshold is determined as a scattered buffer surface. The target buffer surface corresponding to the target pipeline segment with a length greater than or equal to the pipeline length threshold is determined as a non-scattered buffer surface. According to the scattered buffer surface and the non-scattered buffer surface, the missing pipeline segment is obtained.

[0061] When some of the target pipeline segments have a length less than the pipeline length threshold and some have a length greater than or equal to the pipeline length threshold, it indicates that some pipeline segments in the pipeline data to be measured are complete and some are missing. Using the buffer surface corresponding to the complete pipeline segment to fill in the missing pipeline segment, because the spatial relationship between pipelines is considered, the missing pipeline segment can be determined more accurately.

[0062] Further, after determining that the integrity of the pipeline data to be measured is missing, it also includes: in the case where the lengths of all target pipeline segments are less than the pipeline length threshold, the target buffer surface corresponding to the target pipeline segment with the longest length is determined as a non-scattered buffer surface. All the remaining target buffer surfaces except the non-scattered buffer surface are determined as scattered buffer surfaces. According to the scattered buffer surface and the non-scattered buffer surface, the missing pipeline segment is obtained. In this way, using the spatial relationship between pipeline segments, the missing pipeline segment can be determined more accurately.

[0063] Further, according to the scattered buffer surfaces and non-scattered buffer surfaces, the missing pipeline segments are obtained, including: obtaining the first boundary vertex sets corresponding to the scattered buffer surfaces respectively, where each first boundary vertex set contains the boundary vertices of the corresponding scattered buffer surface. And, obtaining the second boundary vertex set, which contains the boundary vertices of all non-scattered buffer surfaces. Then, the following operations are performed on each first boundary vertex set: obtaining the Euclidean distances between the boundary vertices in each first boundary vertex set and the boundary vertices in the second boundary vertex set. Generating a straight line segment between the boundary vertices corresponding to the minimum Euclidean distance, and determining the generated straight line segment as the missing pipeline segment of the corresponding scattered buffer surface. In this way, by utilizing the spatial relationship between pipeline segments, it is possible to fill in each missing pipeline segment. Moreover, the missing pipeline segments can be obtained more quickly and accurately.

[0064] Combined with Figure 3 As shown, an apparatus 300 for pipeline data integrity detection provided by an embodiment of the present disclosure includes a processor 304 and a memory 301 storing program instructions. Optionally, the apparatus may further include a communication interface 302 and a bus 303. Among them, the processor 304, the communication interface 302, and the memory 301 can communicate with each other through the bus 303. The communication interface 302 can be used for information transmission. The processor 304 can call the program instructions in the memory 301 to execute the method for pipeline data integrity detection in the above embodiment.

[0065] In addition, when the logical instructions in the above-mentioned memory 301 are implemented in the form of software functional units and sold or used as an independent product, they can be stored in a computer-readable storage medium.

[0066] The memory 301, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as the program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 304 executes functional applications and data processing by running the program instructions / modules stored in the memory 301, that is, implements the method for pipeline data integrity detection in the above embodiment.

[0067] The memory 301 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory 301 may include a high-speed random access memory and may also include a non-volatile memory.

[0068] Combined with Figure 4As shown, an embodiment of the present disclosure provides an electronic device 400, including: an electronic device body, and the above-described device 300 for pipeline data integrity detection. The device 300 for pipeline data integrity detection is installed on the electronic device body. The installation relationship described here is not limited to being placed inside the electronic device, but also includes installation connections with other components of the electronic device, including but not limited to physical connections, electrical connections, or signal transmission connections, etc. Those skilled in the art can understand that the device 300 for pipeline data integrity detection can be adapted to a feasible electronic device body, thereby implementing other feasible embodiments.

[0069] Optionally, the electronic device includes a computer or a server.

[0070] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The foregoing storage medium can be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc, etc., which are various media that can store program codes, or it can also be a transient storage medium.

[0071] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure, enabling those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, process, and other changes. The embodiments only represent possible variations. Unless explicitly required, the individual components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terms used in this application are only for describing the embodiments and do not limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to also include the plural forms. Similarly, as used in this application, the term "and / or" refers to any and all possible combinations of one or more of the associated listed items. Additionally, when used in this application, the term "comprise" and its variants "comprises" and / or "comprising" etc. mean the presence of the stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or groupings of these. Without further limitation, an element defined by the statement "comprising one..." does not exclude the presence of additional identical elements in the process, method, or device comprising the element. Herein, each embodiment may focus on the differences from other embodiments, and the same or similar parts among the embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, the relevant parts may refer to the description of the method part.

[0072] Those skilled in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner may depend on the specific application and design constraints of the technical solution. The skilled person can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the embodiments of the present disclosure. The skilled person can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0073] In the embodiments disclosed in this article, the disclosed methods, products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units can be merely a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Additionally, the couplings or direct couplings or communication connections shown or discussed between each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical, or other forms. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. Additionally, in the embodiments of this disclosure, the various functional units can be integrated in one processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.

[0074] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to the embodiments of this disclosure. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the blocks can occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks can also occur in a different order than that disclosed in the description. Sometimes, there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. Each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for pipeline data integrity detection, characterized in that, Including: Obtain pipeline data to be measured, where the pipeline data to be measured includes multiple pipeline segments to be measured; Construct corresponding buffer surfaces for each of the pipeline segments to be measured, and determine the constructed buffer surfaces as alternative buffer surfaces; Obtain a target buffer surface based on each of the alternative buffer surfaces; Determine the integrity of the pipeline data to be measured based on the target buffer surface.

2. The method according to claim 1, characterized in that, Constructing corresponding buffer surfaces for each of the pipeline segments to be measured includes: Perform the following operations on each pipeline segment to be measured: Expand a preset distance along both sides of the pipeline segment to be measured to generate a buffer surface corresponding to the pipeline segment to be measured.

3. The method according to claim 1, wherein Obtaining a target buffer surface based on each of the alternative buffer surfaces includes: Determine whether there is a connection among the alternative buffer surfaces; In the case where there is a connection among the alternative buffer surfaces, fuse the connected alternative buffer surfaces, and determine the fused alternative buffer surface as the target buffer surface; In the case where there is no connection among the alternative buffer surfaces, determine the non-connected alternative buffer surfaces as the target buffer surfaces.

4. The method according to claim 1, wherein Determining the integrity of the pipeline data to be measured based on the target buffer surface includes: Obtain the geometric area of each target buffer surface; Obtain the length of each target pipeline segment based on each of the geometric areas; where the target pipeline segment is the pipeline segment included in the target buffer surface; Determine the integrity of the pipeline data to be measured based on the lengths of the target pipeline segments.

5. The method according to claim 4, wherein Determining the integrity of the pipeline data to be measured based on the lengths of the target pipeline segments includes: In the case where there is a target pipeline segment with a length less than the pipeline length threshold, determine that the integrity of the pipeline data to be measured is missing; In the case where the lengths of all target pipeline segments are greater than or equal to the pipeline length threshold, determine that the integrity of the pipeline data to be measured is complete.

6. The method according to claim 5, wherein After determining that the integrity of the pipeline data to be measured is missing, it further includes: In the case where there is a target pipeline segment with a length less than the pipeline length threshold and there is also a target pipeline segment with a length greater than or equal to the pipeline length threshold, determine the target buffer surface corresponding to the target pipeline segment with a length less than the pipeline length threshold as a scattered buffer surface; determine the target buffer surface corresponding to the target pipeline segment with a length greater than or equal to the pipeline length threshold as a non-scattered buffer surface; Obtain the missing pipeline segments based on the scattered buffer surface and the non-scattered buffer surface.

7. The method according to claim 5, wherein After determining that the integrity of the pipeline data to be measured is missing, it further includes: In the case where the lengths of all target pipeline segments are less than the pipeline length threshold, determine the target buffer surface corresponding to the target pipeline segment with the longest length as a non-scattered buffer surface; determine all the remaining target buffer surfaces except the non-scattered buffer surface as scattered buffer surfaces; Obtain the missing pipeline segments based on the scattered buffer surface and the non-scattered buffer surface.

8. The method according to claim 6 or 7, characterized in that Obtaining the missing pipeline segments based on the scattered buffer surface and the non-scattered buffer surface includes: Obtain the first boundary vertex sets corresponding to the respective scattered buffer surfaces, each of the first boundary vertex sets respectively containing the boundary vertices of the corresponding scattered buffer surface; and, obtain the second boundary vertex set, the second boundary vertex set containing the boundary vertices of all non-scattered buffer surfaces; Perform the following operations on each of the first boundary vertex sets: Obtain the Euclidean distances between each boundary vertex in the first boundary vertex set and each boundary vertex in the second boundary vertex set; Generate a straight line segment between the boundary vertices corresponding to the minimum Euclidean distance, and determine the straight line segment as the missing pipeline segment of the corresponding scattered buffer surface.

9. An apparatus for detecting the integrity of pipeline data, comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to execute the method for pipeline data integrity detection according to any one of claims 1 to 8 when running the program instructions.

10. An electronic device, characterized in that, Including: The electronic device body; The device for pipeline data integrity detection according to claim 9, which is installed on the electronic device body.