Search

CN-115795758-B - Pipeline updating system based on node-edge relation

CN115795758BCN 115795758 BCN115795758 BCN 115795758BCN-115795758-B

Abstract

The invention relates to a pipeline updating system based on a node-edge relationship, belongs to the technical field of underground pipelines, and solves the problems that in the prior art, when pipeline data nodes are not marked and pipeline data are newly added, manual updating is time-consuming and labor-consuming. The updating system comprises a data acquisition unit, a data updating unit and a data storage unit, wherein the data acquisition unit is used for acquiring newly-added pipeline data and newly-added break points, the data updating unit is used for dividing original pipeline segment vector data by utilizing the newly-added break points to obtain new pipeline data, and the data storage unit is used for storing the original pipeline data and the new pipeline data. The system realizes the update of the original pipeline data and provides an intelligent, efficient, reproducible and generalized pipeline update system.

Inventors

  • HAN ZHILING
  • WU ZHICHENG
  • HOU FENGWEI
  • Fei Tingwei
  • LI TING
  • CHEN LIZHONG
  • LI NING
  • LIU YEBO

Assignees

  • 航天海鹰机电技术研究院有限公司

Dates

Publication Date
20260508
Application Date
20221130

Claims (10)

  1. 1. A pipeline update system based on a "node-edge" relationship, the update system comprising: the system comprises a data acquisition unit, a data processing unit and a data processing unit, wherein the data acquisition unit is used for acquiring newly-added pipeline data and newly-added break points, and the pipeline data comprise pipeline segment vector data and pipeline point vector data; the data updating unit is used for dividing the vector data of the original pipeline section by utilizing the newly added break point to obtain second line vector data; judging whether a new cross point exists or not based on the newly-added pipeline segment vector data and the second pipeline vector data, if so, dividing the pipeline segments in the second pipeline vector data and the newly-added pipeline segment vector data by using the newly-added cross point to obtain first pipeline vector data, otherwise, taking the second pipeline vector data and the newly-added pipeline segment vector data as the first pipeline vector data, renumbering all pipeline segments in the first pipeline vector data, generating data of two endpoint pairs corresponding to each pipeline segment, namely second point vector data, based on the first pipeline vector data, numbering pipeline points in the first pipeline vector data according to the original pipeline point vector data and the newly-added pipeline point vector data, determining the starting direction corresponding to each pipeline segment in the second pipeline segment according to the third point vector data, and obtaining new pipeline data; and the data storage unit is used for storing the original pipeline data and the new pipeline data.
  2. 2. The update system of claim 1, wherein the update system further comprises: The visualization platform is used for displaying the original pipeline data and the new pipeline data, receiving the pipeline query information of a user, sending the pipeline query information to the data query unit, and receiving and displaying the pipeline data sent by the data query unit; And the data query unit is used for searching corresponding pipeline data in the data storage unit according to the pipeline query information and sending the corresponding pipeline data to the visualization platform for display.
  3. 3. The update system of claim 2, wherein the update system further comprises: and the data editing unit is used for deleting and modifying the corresponding pipeline data in the data storage unit according to the deleting instruction and the modifying instruction sent by the visualization platform.
  4. 4. The update system of claim 1, wherein said determining whether there is a newly added cross point based on said newly added pipeline segment vector data and said second pipeline vector data comprises: And if the projection of the pipeline segment in the newly-added pipeline segment vector data and the projection of the pipeline segment in the second pipeline vector data have an intersection point, judging that a newly-added cross point exists, and obtaining the cross point according to the intersection point.
  5. 5. The update system of claim 4, wherein said dividing said original pipeline segment vector data using said newly added break point comprises dividing a pipeline segment in which said newly added break point exists in said original pipeline segment vector data with said newly added break point as a demarcation point; Dividing pipeline segments in the second line vector data and the newly-added pipeline segment vector data by using the newly-added cross points, wherein the pipeline segments in the second line vector data and the newly-added pipeline segment vector data are divided by taking the newly-added cross points as demarcation points; and assigning the line attribute values of the pipeline segments before division to the pipeline segments after division, wherein the line attribute values comprise a starting point number and an ending point number.
  6. 6. The update system of claim 5, wherein assigning the line attribute value of each line segment before the division to each line segment after the division comprises: if a certain pipeline segment is not divided after division, the line attribute value is unchanged; if a certain pipeline segment is divided into a plurality of pipeline segments after division, assigning the line attribute value of the pipeline segment before division to the plurality of pipeline segments obtained by division.
  7. 7. The update system of claim 1, wherein said numbering the pipeline points in the first pipeline vector data based on the original pipeline point vector data and the newly added pipeline point vector data to obtain third point vector data, comprising: Generating data of all pipeline points in the first line vector data by using a network analysis tool based on the first line vector data to obtain first point vector data; and numbering the first point vector data based on the original pipeline point vector data and the newly added pipeline point vector data to obtain third point vector data.
  8. 8. The update system of claim 7, wherein said numbering said first point vector data based on said original pipeline point vector data and said newly added pipeline point vector data to obtain third point vector data comprises: Finding out a pipeline point with the same position coordinate as that in the original pipeline point vector data and the newly added pipeline point vector data from the first point vector data, taking the pipeline point as an old pipeline point, and assigning point attribute values of points in the original pipeline point vector data and the newly added pipeline point vector data to corresponding old pipeline points, wherein the point attribute values comprise geophysical probe point numbers; And taking the pipeline points except the old pipeline point in the first point vector data as newly divided pipeline points, numbering the geophysical probe point numbers of the newly divided pipeline points, and obtaining the third point vector data.
  9. 9. The updating system of claim 8, wherein the determining, from the third point vector data, a starting and ending direction corresponding to each pipeline segment in the second point vector data, to obtain new pipeline data includes: Finding out pipeline points with the same position coordinates as those in the third point vector data in the second point vector data, mapping the point attribute values of the pipeline points with the same position coordinates in the third point vector data to corresponding pipeline points in the second point vector data, and obtaining the geophysical prospecting point numbers of the mapped pipeline points; Determining the final starting point number and the final end point number corresponding to each pipeline segment in the second point vector data according to the starting point number and the end point number of each pipeline segment in the second point vector data before mapping and the geophysical point numbers of the two end points of the corresponding pipeline segments after mapping, obtaining the pipeline segment numbers of each pipeline segment and the starting point number and the end point number of each pipeline segment, and further processing the pipeline segment numbers as pipeline segment vector data in new pipeline data; And taking the third point vector data as pipeline point vector data in the new pipeline data.
  10. 10. The updating system of claim 9, wherein the determining the final starting point number and the final end point number corresponding to each pipeline segment in the second point vector data according to the starting point number and the end point number of each pipeline segment in the second point vector data before mapping and the geophysical point numbers of the two end points of each corresponding pipeline segment after mapping comprises: if e_origin [ i ] =point [ i ] _1 and s_origin [ i ] =point [ i ] _2, end_point [ i ] =point [ i ] _1 and start_point [ i ] =point [ i ] _2; if e_origin [ i ] =point [ i ] _2 and s_origin [ i ] =point [ i ] _1, end_point [ i ] =point [ i ] _2 and start_point [ i ] =point [ i ] _1; if e_origin [ i ] =point [ i ] _1 and s_origin [ i ] ++point [ i ] _2, then end_point [ i ] =point [ i ] _1 and start_point [ i ] =point [ i ] _2; If e_origin [ i ] ++point [ i ] _1 and s_origin [ i ] =point [ i ] _2, end_point [ i ] =point [ i ] _1 and start_point [ i ] =point [ i ] _2; If e_origin [ i ] + Point [ i ] + 2 and s_origin [ i ] =point [ i ] + 1, then end_point [ i ] =point [ i ] + 2 and start_point [ i ] =point [ i ] +.; If e_origin [ i ] =point [ i ] _2 and s_origin [ i ] ++point [ i ] _1, then end_point [ i ] =point [ i ] _2 and start_point [ i ] =point [ i ] _1; If E_origin [ i ] notequal to Point [ i ] _2 and S_origin [ i ] notequal to Point [ i ] _1, determining end_Point [ i ] and Start_Point [ i ] according to the topological relation rule; Wherein E_origin [ i ] represents the End Point number of the ith pipeline segment before mapping, S_origin [ i ] represents the start Point number of the ith pipeline segment before mapping, point [ i ] 1 represents one End Point geophysical Point number of the ith pipeline segment after mapping, point [ i ] 2 represents the other End Point geophysical Point number of the ith pipeline segment after mapping, end_Point [ i ] represents the final End Point number of the ith pipeline segment, strart _Point [ i ] represents the final start Point number of the ith pipeline segment.

Description

Pipeline updating system based on node-edge relation Technical Field The invention relates to the technical field of underground pipelines, in particular to a pipeline updating system based on a node-edge relationship. Background Urban underground pipelines are important components of urban underground municipal infrastructure, and the construction of the underground pipelines is an important foundation for urban safe and orderly operation and is an important content for urban high-quality development. The urban underground pipeline mainly comprises pipelines such as water supply, rainwater, sewage, fuel gas and the like, auxiliary facilities and the like. Pipeline data is the basis for pipeline analysis, visualization applications, and the like. Urban underground pipe networks can be abstracted into a mathematical model of pipeline point-pipeline segment, and the prior art mainly adopts a data structure of two points and one line. The pipeline vector data is composed of a line with pipeline segment attribute and coordinate information and node data with pipeline point attribute information and coordinate information. For two-dimensional vector data of urban underground pipeline parts, key break points are not marked, namely, when pipeline segments are divided, a plurality of continuous directed lines are divided into one pipeline segment, and meanwhile, when pipeline data are newly added to a pipeline network, the original pipeline data need to be updated according to the newly added pipeline data. In the prior art, aiming at the problem that some nodes of pipeline data are not marked, unmarked points are usually directly ignored, or calibration is performed manually line by line. Directly ignoring some key nodes necessarily affects modeling effect and analysis result, manual calibration is time-consuming and labor-consuming and has low efficiency, and changing a new set of data is equivalent to doing all from new to new, so that manual piece-by-piece calibration lacks popularization. When new pipeline data appear, the newly added pipeline data are fused with the original pipeline data manually, so that the pipeline network is updated, time and labor are wasted, and the efficiency is low. Disclosure of Invention In view of the above analysis, an embodiment of the present invention is directed to providing a pipeline updating system based on a node-edge relationship, so as to solve the problem in the prior art that when a pipeline data node is not marked and pipeline data is newly added, manual updating is time-consuming and laborious. The embodiment of the invention provides a pipeline updating system based on a node-edge relation, which comprises the following components: the system comprises a data acquisition unit, a data processing unit and a data processing unit, wherein the data acquisition unit is used for acquiring newly-added pipeline data and newly-added break points, and the pipeline data comprise pipeline segment vector data and pipeline point vector data; The data updating unit is used for dividing the vector data of the original pipeline section by utilizing the newly added break point to obtain second line vector data; judging whether a new cross point exists or not based on the newly-added pipeline segment vector data and the second line vector data, if so, dividing the second line vector data and the pipeline segment in the newly-added pipeline segment vector data by using the newly-added cross point to obtain first line vector data, if not, taking the second line vector data and the newly-added pipeline segment vector data as the first line vector data, renumbering all the pipeline segments in the first line vector data, generating data of two endpoint pairs corresponding to each pipeline segment, namely second point vector data, based on the first line vector data, numbering pipeline points in the first line vector data according to the original pipeline point vector data and the newly-added pipeline point vector data, obtaining third point vector data, and determining the starting direction corresponding to each pipeline segment in the second line vector data according to the third point vector data to obtain new pipeline data; and the data storage unit is used for storing the original pipeline data and the new pipeline data. Based on a further improvement of the above system, the updating system further comprises: The visualization platform is used for displaying the original pipeline data and the new pipeline data, receiving the pipeline query information of a user, sending the pipeline query information to the data query unit, and receiving and displaying the pipeline data sent by the data query unit; And the data query unit is used for searching corresponding pipeline data in the data storage unit according to the pipeline query information and sending the corresponding pipeline data to the visualization platform for display. Based on a further improvement of the above system, the u