Vector slice management method and device for underground pipeline, terminal and medium

By acquiring underground pipeline points and dividing hierarchies, building pipeline features and merging them, the problem of changing pipeline topology relationships in vector slices is solved, and efficient underground pipeline data management and rendering is achieved.

CN119201844APending Publication Date: 2024-12-27深圳市宝安区信息中心
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411271954.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The prior art does not consider the pipeline characteristics of underground pipelines in vector slicing projects, resulting in changes in the topological relationship between pipeline points, pipeline lines and pipeline surfaces, and the underground pipeline data cannot be effectively managed.

Method used

By obtaining the original vector tiles, determining the underground pipeline points and hierarchical levels according to their weights, building pipeline characteristics at each level, including line topology relationships and surface topology relationships, and merging them to obtain target pipeline vector slicing for management Pipeline features in original vector tile.

Benefits of technology

During the layering process, the pipeline characteristics of the original vector tiles are retained, which can efficiently store, update and render underground pipeline data, while maintaining the topological relationship between pipelines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201844A_ABST
    Figure CN119201844A_ABST
Patent Text Reader

Abstract

The invention discloses a vector slice management method and device for an underground pipeline, a terminal and a medium, and the method comprises the steps: obtaining an original vector tile, and determining an underground pipeline point according to the original vector tile; dividing the levels of the original vector tiles according to the weights of the underground pipeline points; constructing pipeline features of each hierarchy, wherein the pipeline features comprise a line topological relation and a surface topological relation of the underground pipeline points at the current hierarchy; and merging the pipeline features of each level to obtain a target pipeline vector slice, the target pipeline vector slice being used for managing the pipeline features in the original vector tile. In the process of constructing the target pipeline vector slice, the pipeline characteristics of each layer of the original vector tile before layering are reserved, so that the obtained target pipeline vector slice not only can efficiently store, update and render underground pipeline data, but also maintains the original topological relation between underground pipelines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vector slicing technology, and in particular to a vector slicing management method, device, terminal and medium for underground pipelines. Background Art

[0002] With the development of urban construction, the structure of urban underground pipe networks has become increasingly complex. Therefore, how to efficiently manage the increasingly large urban underground pipe network data has become increasingly important. Vector slicing is a new type of geographic data representation method. It divides geographic data into multiple small blocks, each of which contains only data of a specific area and a specific level, providing strong data support for urban planning, construction and maintenance. Compared with traditional raster slicing, vector slicing has smaller data volume, faster loading speed and higher rendering efficiency. It also supports client-side rendering, bringing richer and more flexible data display effects.

[0003] However, current vector slicing projects generally do not take into account the pipeline characteristics of the underground pipelines themselves. When the vector tiles are hierarchically simplified, the topological relationship between pipeline points, pipeline lines and pipeline surfaces will change, making it impossible to effectively manage underground pipeline data.

[0004] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0005] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a vector slice management method, device, terminal and medium for underground pipelines are provided, aiming to solve the problem that the vector slice projects in the prior art generally do not take into account the pipeline characteristics of the underground pipelines themselves, and when the vector tiles are hierarchically simplified, the topological relationship between pipeline points, pipeline lines and pipeline surfaces will change, making it impossible to achieve effective management of underground pipeline data.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows:

[0007] In a first aspect, the present invention provides a vector slice management method for underground pipelines, wherein the method comprises:

[0008] Acquire original vector tiles, and determine underground pipeline points according to the original vector tiles;

[0009] Dividing the levels of the original vector tiles according to the weights of the underground pipeline points;

[0010] Constructing pipeline features at each level, the pipeline features including line topological relationships and surface topological relationships of the underground pipeline points at the current level;

[0011] The pipeline features of each level are merged to obtain a target pipeline vector slice, and the target pipeline vector slice is used to manage the pipeline features in the original vector tile.

[0012] In one implementation, obtaining the original vector tile includes:

[0013] Collecting underground pipeline data, formatting the underground pipeline data, and obtaining spatial characteristics and attribute information of the underground pipeline;

[0014] The spatial feature and the attribute information are encoded to obtain the original vector tile.

[0015] In one implementation, determining the underground pipeline point according to the original vector tile includes:

[0016] The point layer of the original vector tile is traversed to obtain underground pipeline points, wherein the underground pipeline points include pipeline nodes and pipeline intersection points.

[0017] In one implementation, dividing the levels of the original vector tiles according to the weights of the underground pipeline points includes:

[0018] Conducting importance assessment on the underground pipeline points to obtain an assessment ranking;

[0019] Determining the weight of the underground pipeline point according to the evaluation ranking;

[0020] The original vector tile is divided into levels according to the weight.

[0021] In one implementation, dividing the levels of the original vector tiles according to the weights of the underground pipeline points further includes:

[0022] Obtaining a threshold value of underground pipeline points at each level, and determining the number of underground pipeline points included in each level according to the threshold value;

[0023] Selecting a corresponding number of target pipeline points in descending order of the weights;

[0024] The levels of the original vector tile are divided according to the corresponding number of target pipeline points.

[0025] In one implementation, the pipeline features of each level are constructed, and the pipeline features include the line topology relationship and the surface topology relationship of the underground pipeline points at the current level, including:

[0026] Determine the underground pipeline points included in each level;

[0027] Constructing a key pair between each of the underground pipeline points and the original line layer of the original vector tile to obtain the line topological relationship of each level;

[0028] A key pair is constructed between each of the underground pipeline points and the original surface layer of the original vector tile to obtain the surface topological relationship of each level.

[0029] In one implementation, the merging of the pipeline features of each level to obtain a target pipeline vector slice, where the target pipeline vector slice is used to manage the pipeline features in the original vector tile, includes:

[0030] Based on a preset weighted DP algorithm, pipeline features of each level are simplified and integrated to obtain vector tiles of each level, wherein the pipeline features include the line topology relationship and the surface topology relationship;

[0031] Merging the vector tiles of each level to obtain a target pipeline vector tile;

[0032] Based on a preset slicing method, the target pipeline vector tile is sliced ​​to obtain the target pipeline vector slice.

[0033] In a second aspect, an embodiment of the present invention further provides a vector slice management device for underground pipelines, wherein the device includes:

[0034] An underground pipeline point determination module, used to obtain original vector tiles and determine underground pipeline points according to the original vector tiles;

[0035] A vector tile level division module, used for dividing the level of the original vector tile according to the weight of the underground pipeline point;

[0036] A pipeline feature construction module, used to construct pipeline features at each level, wherein the pipeline features include line topological relationships and surface topological relationships of the underground pipeline points at the current level;

[0037] The vector slice determination module is used to merge the pipeline features of each level to obtain a target pipeline vector slice, and the target pipeline vector slice is used to manage the pipeline features in the original vector tile.

[0038] In a third aspect, an embodiment of the present invention further provides a terminal, wherein the terminal includes a memory, a processor, and a vector slice management program for underground pipelines stored in the memory and executable on the processor, and when the processor executes the vector slice management program for the underground pipeline, the steps of the vector slice management method for the underground pipeline of any one of the above-mentioned schemes are implemented.

[0039] In a fourth aspect, an embodiment of the present invention also provides a computer-readable storage medium, wherein a vector slice management program for underground pipelines is stored on the computer-readable storage medium, and when the vector slice management program for underground pipelines is executed by a processor, the steps of the vector slice management method for underground pipelines described in any one of the above-mentioned schemes are implemented.

[0040] Beneficial effects: Compared with the prior art, the present invention discloses a vector slice management method, device, terminal and medium for underground pipelines. In specific implementation, the present invention first obtains the original vector tile and determines the underground pipeline point according to the original vector tile. Then, the hierarchy of the original vector tile is divided according to the weight of the underground pipeline point. Next, the pipeline features of each level are constructed, and the pipeline features include the line topology relationship and the surface topology relationship of the underground pipeline point at the current level. Finally, the pipeline features of each level are merged to obtain a target pipeline vector slice, and the target pipeline vector slice is used to manage the pipeline features in the original vector tile. It can be seen that in the process of constructing the target pipeline vector slice, the present invention retains the pipeline features of each layer of the original vector tile before stratification, so that the obtained target pipeline vector slice can not only efficiently store, update and render the underground pipeline data, but also maintain the original topological relationship between the underground pipelines. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A flowchart of a specific implementation of the vector slice management method for underground pipelines provided in an embodiment of the present invention.

[0042] Figure 2 A schematic diagram of the steps of a vector slice management method for underground pipelines provided in an embodiment of the present invention.

[0043] Figure 3 A flowchart of hierarchical simplification of vector tiles for underground pipelines provided in an embodiment of the present invention.

[0044] Figure 4 A functional schematic diagram of a vector slice management device for underground pipelines provided in an embodiment of the present invention.

[0045] Figure 5 A functional block diagram of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples.

[0047] Those skilled in the art will appreciate that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Unless specifically stated, the singular forms "one", "said", and "the" used herein may also include plural forms, and the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or their groups. It should be understood that when an element is "connected" or "coupled" to another element, it may be directly connected or coupled to other elements, or there may also be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0048] The present embodiment provides a vector slice management method, device, terminal and medium for underground pipelines. In specific implementation, the present embodiment first obtains the original vector tile and determines the underground pipeline point according to the original vector tile. Then, the hierarchy of the original vector tile is divided according to the weight of the underground pipeline point. Next, the pipeline features of each hierarchy are constructed, and the pipeline features include the line topology relationship and the surface topology relationship of the underground pipeline point at the current hierarchy. Finally, the pipeline features of each hierarchy are merged to obtain a target pipeline vector slice, and the target pipeline vector slice is used to manage the pipeline features in the original vector tile. Therefore, in the process of constructing the target pipeline vector slice, the present embodiment retains the pipeline features of each layer of the original vector tile before stratification, so that the obtained target pipeline vector slice can not only efficiently store, update and render the underground pipeline data, but also maintain the original topological relationship between the underground pipelines.

[0049] Exemplary Methods

[0050] The vector slice management method for underground pipelines in this embodiment can be applied to a terminal, which can be a preset mobile terminal such as a mobile phone, tablet, computer, or an intelligent device such as a smart TV. In this embodiment, the terminal can be an external device connected to the vector slice management device for underground pipelines, or it can be a device built into the vector slice management device for underground pipelines. Figure 1 As shown in , the vector slice management method for underground pipelines in this embodiment includes the following steps:

[0051] Step S100: Acquire original vector tiles, and determine underground pipeline points according to the original vector tiles.

[0052] In one implementation, when obtaining the original vector tile, this embodiment includes the following steps:

[0053] Step S101, collecting underground pipeline data, formatting the underground pipeline data, and obtaining spatial characteristics and attribute information of the underground pipeline;

[0054] Step S102: Encode the spatial feature and the attribute information to obtain the original vector tile.

[0055] In specific implementation, the underground pipeline data collected in this embodiment comes from a variety of different data sources, including CAD drawings, database tables and other forms. In this embodiment, the collected original underground pipeline data is formatted and then converted into the same data format and stored. Specifically, since the underground pipeline data collected in this embodiment includes multiple forms, it is necessary to unify the data source, for example, uniformly adopt the WGS84 coordinate system to extract the spatial characteristics and attribute information of the underground pipeline data. The WGS84 coordinate system is also known as the World Geodetic System, which is a geodetic system standard used for cartography, geodesy and navigation (including the global positioning system). WGS84 includes a set of standard longitude and latitude coordinate systems of the earth, a reference ellipsoid for calculating original altitude data, and a set of gravitational equipotential surface data for defining sea level height. Among them, the spatial characteristics in this embodiment may include the coordinate position and shape attributes of the underground pipeline, and the attribute information may refer to a detailed description of the underground pipeline, usually including information such as the type, material, size information, status and installation date of the pipeline.

[0056] Furthermore, if Figure 2 As shown in , in order to facilitate the subsequent vector slicing, this embodiment will format the extracted pipeline data such as spatial features and attribute information. For example, these data are uniformly converted into vector data formats such as Geojson, topojson, and mvt through data formatting. Since Geojson has higher interoperability and flexibility, such as supporting multiple types of geographic data structures, supporting custom attributes, and adding additional information as needed, it is very suitable for efficiently processing and sharing underground pipeline data in geographic information systems. Therefore, in this embodiment, encoding is performed in accordance with the Geojson format, and the data is uniformly converted into the Geojson vector data format. Then, the spatial features and attribute information are encoded according to the unified Geojson vector data format. Finally, the original vector tile is generated.

[0057] In one implementation, when determining underground pipeline points according to the original vector tiles, this embodiment includes the following steps:

[0058] Step S103, traverse the point layer of the original vector tile to obtain underground pipeline points, wherein the underground pipeline points include pipeline nodes and pipeline intersection points.

[0059] After the original vector tile is obtained in this embodiment, the vector tile will be further scaled and displayed. Since this embodiment scales the vector tile according to the importance of the underground pipeline point, this embodiment first needs to determine the underground pipeline point in the original vector tile.

[0060] In this implementation, underground pipeline points include various pipeline nodes, such as inspection wells, pump stations, etc., and also include pipeline intersections in various situations, such as the conversion point between two inspection wells, and the intersection between an inspection well and a pump station. In specific implementation, this embodiment obtains all underground pipeline points by traversing the point layer of the original vector tile. Then, all underground pipeline points are hierarchically managed to further solve the problem of topological changes in pipeline elements when the pipeline data is scaled at the level.

[0061] Step S200: Divide the levels of the original vector tiles according to the weights of the underground pipeline points.

[0062] In specific implementation, after traversing the point layer of the original vector tile and obtaining all underground pipeline points, this embodiment will further determine the weight of the underground pipeline point and determine which tile level the current pipeline point is divided into based on the weight of the underground pipeline point.

[0063] In one implementation, step S200 of this embodiment specifically includes the following steps:

[0064] Step S201, evaluating the importance of the underground pipeline points to obtain an evaluation ranking;

[0065] Step S202: determining the weight of the underground pipeline point according to the evaluation ranking;

[0066] Step S203: Divide the levels of the original vector tiles according to the weights.

[0067] Specifically, when this embodiment traverses the point layer of the original vector tile (such as: the 0th layer of vector tiles) to obtain underground pipeline points, the importance of these underground pipeline points is evaluated synchronously, and then the evaluation ranking is obtained according to the importance evaluation result of each underground pipeline point. Optionally, the importance evaluation basis of the underground pipeline point can be attribute information such as the type, material, size information, status and installation date of the pipeline, and then the evaluation ranking of the underground pipeline point is determined by a comprehensive evaluation of several attributes of each underground pipeline point. Furthermore, the evaluation ranking of the underground pipeline points in this embodiment is used to determine the weight ranking of the underground pipeline points, and then the hierarchy of the original vector tile is divided by the weight ranking. Among them, the smaller the zoom level in this embodiment, the greater the map magnification, and the map will show more details. When the zoom level is larger, it means that the map magnification is smaller, and the map will cover a wider range.

[0068] In one implementation, step S200 of this embodiment further includes the following steps:

[0069] Step S204, obtaining a threshold value of underground pipeline points at each level, and determining the number of underground pipeline points included in each level according to the threshold value;

[0070] Step S205, selecting a corresponding number of target pipeline points in descending order of the weights;

[0071] Step S206: Divide the levels of the original vector tile according to the corresponding number of target pipeline points.

[0072] During specific implementation, this embodiment also needs to determine the threshold of underground pipeline points occupied by each level when dividing the levels, and then realize the hierarchical division of the original vector tile according to the threshold and the weight occupied by the underground pipeline points. Specifically, this embodiment can set the threshold of underground pipeline points of each level by the actual zoom range. For example, at the 0th level without zooming, the threshold is the largest, which can be understood as: the 0th level contains all underground pipeline points; at the 1st level where the zoom range is reduced by half, the threshold is also reduced by half, that is, the underground pipeline points retained in the 1st level are reduced to 50% of the total number of points, including only some key functional points; at the 2nd level where the zoom range is reduced to half of the 1st level, the threshold continues to decrease, that is, the underground pipeline points contained in the 2nd level are reduced to 50% of the previous level, including only underground pipeline points of the core infrastructure.

[0073] Furthermore, this embodiment arranges the weight rankings of underground pipeline points from large to small, and then selects a corresponding number of target pipeline points in sequence according to the weight ranking order. For example, when the threshold value of underground pipeline points at level 0 is 100, the first 100 underground pipeline points are selected from large to small according to the weight ranking of underground pipeline points as level 0 of the original vector tile. When the threshold value of underground pipeline points at level 1 is 50, the 101-150 underground pipeline points are selected from large to small according to the weight ranking of underground pipeline points as level 1 of the original vector tile. Similarly, when the threshold value of underground pipeline points at level 2 is 25, the 151-175 underground pipeline points are selected from large to small according to the weight ranking of underground pipeline points as level 2 of the original vector tile.

[0074] Therefore, this embodiment divides underground pipeline nodes of different importance into different vector tile levels. When selecting underground pipeline data of a certain importance level for viewing, updating or rendering, it is sufficient to select the corresponding vector tile level for analysis. There is no need to analyze and process the entire vector tile, thereby reducing data redundancy and improving data reading speed.

[0075] Step S300: construct pipeline features at each level, wherein the pipeline features include line topological relationships and surface topological relationships of the underground pipeline points at the current level.

[0076] Since the process of layering vector tiles may easily lead to topological changes between the pipeline elements of the original vector tiles, this embodiment will further construct pipeline features of each level after dividing the different vector tile levels, so that the target pipeline vector slices obtained after layering can maintain the original topological relationship between the underground pipelines.

[0077] In one implementation, step S300 of this embodiment specifically includes the following steps:

[0078] Step S301, determining underground pipeline points included in each level;

[0079] Step S302: construct a key pair between each underground pipeline point and the original line layer of the original vector tile to obtain the line topological relationship of each level;

[0080] Step S303: construct a key pair between each of the underground pipeline points and the original surface layer of the original vector tile to obtain the surface topological relationship of each level.

[0081] In specific implementation, this embodiment first determines the underground pipeline points contained in each level, for example, determines the 100 specific pipeline intersection points, conversion points, inspection wells and pump stations contained in the 0th level, determines the 50 specific underground pipeline points contained in the 1st level, and determines the 25 specific underground pipeline points contained in the 2nd level. Then, construct the pipeline features of each level, and the pipeline features include the line topology relationship and the surface topology relationship of the underground pipeline points at the current level. For example, when constructing the pipeline features of the 0th level, it includes: constructing key pairs with the original line layer of the original vector tile for the 100 specific pipeline intersection points contained in the 0th level, respectively, to obtain the line topology relationship of the 0th level, and constructing key pairs with the original surface layer of the original vector tile for the 100 specific pipeline intersection points contained in the 0th level, respectively, to obtain the surface topology relationship of the 0th level.

[0082] Step S400: Merge the pipeline features of each level to obtain a target pipeline vector slice, where the target pipeline vector slice is used to manage the pipeline features in the original vector tile.

[0083] Specifically, after this embodiment constructs pipeline features such as line topology relationships and surface topology relationships at each level, it is still necessary to merge the line topology relationships and surface topology relationships. Before the merging process, this embodiment also simplifies and integrates the line topology relationships and surface topology relationships in advance to reduce the number of data points while maintaining the overall accuracy of the geographic shape.

[0084] In one implementation, step S400 of this embodiment specifically includes the following steps:

[0085] Step S401: Based on a preset weighted DP algorithm, simplify and synthesize pipeline features of each level to obtain vector tiles of each level, wherein the pipeline features include the line topology relationship and the surface topology relationship;

[0086] Step S402: merging the vector tiles of each level to obtain a target pipeline vector tile;

[0087] Step S403: Slice the target pipeline vector tile based on a preset slicing method to obtain the target pipeline vector slice.

[0088] like Figure 3As shown, this embodiment mainly simplifies and integrates the pipeline features of each level based on the preset weighted DP algorithm to obtain vector tiles of each level. In the process of forming key pairs of point and line, point and surface IDs in this embodiment, if the underground pipeline point is located on the line or in the surface (including the boundary), the key pair value is T (true), otherwise it is F (false). For example, if a point with ID 5 falls on the line with ID 18, it is recorded as (5, 18) = T. Since the threshold in the DP algorithm will be adjusted according to different zoom levels and weights, this embodiment will also consider adding weights during the simplification process for weighted points, which ensures that important points will not be discarded during the simplification process.

[0089] Specifically, for line topological relationships, weighted points need to be specially considered during simplification. If the underground pipeline points of this embodiment are weighted, the threshold needs to be adjusted to take these weights into account when applying the DP algorithm. For surface topological relationships, this embodiment needs to check whether the weighted points still fall within the surface after each simplification using the DP algorithm. If an important point of a certain record falls outside the surface after simplification, the recorded point and surface key pair value changes from T to F, and the key value changes, so the simplification of the point is stopped and the next point is jumped to. This step ensures that the key geographical features of this embodiment will not be lost during the simplification process. Finally, the simplified point, line, and surface layers are merged and output as layered vector tiles. Therefore, this embodiment can reduce data complexity and ensure the accuracy and readability of pipeline information by simplifying and synthesizing line topological relationships and surface topological relationships, while maintaining the topological relationship between elements and maintaining the overall accuracy of the geographic shape. Moreover, the smaller the zoom level in this embodiment, the smaller the threshold in the PD algorithm. Optionally, in addition to using the improved weighted PD algorithm mentioned in this embodiment to perform hierarchical processing on vector tiles, it is also possible to consider improving other simplified algorithms, such as the Radial Diposition algorithm, the Visva Lingam-Whyatt algorithm, etc., which are not specifically limited in this embodiment.

[0090] Furthermore, this embodiment merges the vector tiles (0th level, 1st level, second level, etc.) obtained after simplification and synthesis of each level to obtain the target pipeline vector tile. Then, the target pipeline vector tile is sliced ​​based on the preset slicing method to obtain the target pipeline vector slice. The target pipeline vector slice is used to manage the pipeline features in the original vector tile. For large-scale data such as underground pipelines, the sliced ​​target pipeline vector slice can be maintained and updated as required and rendered in real time to display data.

[0091] Specifically, the slicing process of this embodiment can divide each level of tiles into multiple vector tiles of the same size. The number of vector tiles of the same size can be set by the user. For example, when setting the 0th level to be divided into 4 (ie, 4 1 ) vector tiles of the same size, then, in this embodiment, the first level can also be divided into 16 (ie, 4 2 ) vector tiles of the same size, dividing the second level into 64 (i.e. 4 3 ) vector tiles of the same size, and so on. In this embodiment, the nth level can be divided into 4 n+1 Therefore, in this embodiment, by dividing each level of tiles into a plurality of vector tiles of the same size, the management of the vector tile map is more convenient.

[0092] In addition, unlike traditional raster slicing, this embodiment also needs to clip the vector elements when slicing the vector tiles. Therefore, in this embodiment, the Cohen-Suther l and algorithm is used to clip the vector elements to efficiently clip the pipeline elements intersecting with the specific tile area, thereby ensuring that each tile only contains the pipeline information in the corresponding area, reducing data redundancy, and optimizing storage space and loading speed. Optionally, other algorithms can also be used in this embodiment to clip the vector elements to achieve the same technical effect in this embodiment, which is not specifically limited in this embodiment.

[0093] In summary, the present embodiment provides a vector slice management method for underground pipelines. During specific implementation, the present embodiment first obtains the original vector tile and determines the underground pipeline point based on the original vector tile. Then, the levels of the original vector tile are divided according to the weight of the underground pipeline point. Next, the pipeline features of each level are constructed, and the pipeline features include the line topology relationship and the surface topology relationship of the underground pipeline point at the current level. Finally, the pipeline features of each level are merged to obtain a target pipeline vector slice, and the target pipeline vector slice is used to manage the pipeline features in the original vector tile. It can be seen that in the process of constructing the target pipeline vector slice, the present embodiment retains the pipeline features of each layer of the original vector tile before stratification, so that the obtained target pipeline vector slice can not only efficiently store, update and render the underground pipeline data, but also maintain the original topological relationship between the underground pipelines.

[0094] Exemplary Devices

[0095] Based on the above embodiments, the present invention also provides a vector slice management device for underground pipelines, such as Figure 4As shown in, the vector slice management device for underground pipelines includes: an underground pipeline point determination module 10, a vector tile level division module 20, a pipeline feature construction module 30, and a vector slice determination module 40. Specifically, the underground pipeline point determination module 10 is used to obtain the original vector tile and determine the underground pipeline point according to the original vector tile. The vector tile level division module 20 is used to divide the level of the original vector tile according to the weight of the underground pipeline point. The pipeline feature construction module 30 is used to construct pipeline features of each level, and the pipeline features include the line topology relationship and the surface topology relationship of the underground pipeline point at the current level. The vector slice determination module 40 is used to merge the pipeline features of each level to obtain the target pipeline vector slice, and the target pipeline vector slice is used to manage the pipeline features in the original vector tile.

[0096] In one implementation, the underground pipeline point determination module 10 includes:

[0097] An underground pipeline data collection unit is used to collect underground pipeline data, format the underground pipeline data, and obtain spatial characteristics and attribute information of the underground pipeline;

[0098] The original vector tile determination unit is used to encode the spatial feature and the attribute information to obtain the original vector tile.

[0099] In one implementation, the underground pipeline point determination module 10 further includes:

[0100] The underground pipeline point determination unit is used to traverse the point layer of the original vector tile to obtain underground pipeline points, and the underground pipeline points include pipeline nodes and pipeline intersection points.

[0101] In one implementation, the vector tile level division module 20 includes:

[0102] An underground pipeline point evaluation unit, used to evaluate the importance of the underground pipeline points to obtain an evaluation ranking;

[0103] An underground pipeline point weight determination unit, used to determine the weight of the underground pipeline point according to the evaluation ranking;

[0104] The vector tile level division first unit is used to divide the level of the original vector tile according to the weight.

[0105] In one implementation, the vector tile level division module 20 further includes:

[0106] A layer pipeline point quantity determination unit is used to obtain a threshold value of underground pipeline points at each layer, and determine the number of underground pipeline points included in each layer according to the threshold value;

[0107] A hierarchical pipeline point selection unit, used to select a corresponding number of target pipeline points in descending order of the weights;

[0108] The vector tile level division second unit is used to divide the level of the original vector tile according to the corresponding number of target pipeline points.

[0109] In one implementation, the pipeline feature construction module 30 includes:

[0110] A layer pipeline point determination unit is used to determine the underground pipeline points included in each layer;

[0111] A line topology relationship construction unit, used to construct a key pair between each of the underground pipeline points and the original line layer of the original vector tile to obtain the line topology relationship of each level;

[0112] The surface topology relationship construction unit is used to construct a key pair between each of the underground pipeline points and the original surface layer of the original vector tile to obtain the surface topology relationship of each level.

[0113] In one implementation, the vector slice determination module 40 includes:

[0114] A pipeline feature simplification and synthesis unit, used for simplifying and synthesizing pipeline features of each level based on a preset weighted DP algorithm to obtain vector tiles of each level, wherein the pipeline features include the line topology relationship and the surface topology relationship;

[0115] A pipeline vector tile determination unit, configured to merge the vector tiles of each level to obtain a target pipeline vector tile;

[0116] The pipeline vector slice determination unit is used to slice the target pipeline vector tile based on a preset slicing method to obtain the target pipeline vector slice.

[0117] The working principles of each module in the vector slice management device for underground pipelines in this embodiment are the same as the principles of each step in the above method embodiment, and will not be repeated here.

[0118] Based on the above embodiment, the present invention further provides a terminal, the principle block diagram of the terminal can be as follows: Figure 5 The terminal may include one or more processors 100 ( Figure 5Only one is shown in the figure), a memory 101 and a computer program 102 stored in the memory 101 and executable on one or more processors 100, for example, a vector slice management program for underground pipelines. When one or more processors 100 execute the computer program 102, the various steps in the embodiment of the vector slice management method for underground pipelines can be implemented. Alternatively, when one or more processors 100 execute the computer program 102, the functions of the various modules / units in the embodiment of the vector slice management device for underground pipelines can be implemented, which is not limited here.

[0119] In one embodiment, the processor 100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0120] In one embodiment, the memory 101 may be an internal storage unit of an electronic device, such as a hard disk or memory of the electronic device. The memory 101 may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device. Further, the memory 101 may also include both an internal storage unit of the electronic device and an external storage device. The memory 101 is used to store computer programs and other programs and data required by the terminal. The memory 101 may also be used to temporarily store data that has been output or is to be output.

[0121] Those skilled in the art will understand that Figure 5 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the terminal to which the scheme of the present invention is applied. The specific terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0122] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, operating database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0123] In summary, the present invention discloses a vector slice management method, device, terminal and medium for underground pipelines, the method comprising: obtaining original vector tiles, determining underground pipeline points according to the original vector tiles; dividing the levels of the original vector tiles according to the weights of the underground pipeline points; constructing pipeline features at each level, the pipeline features including the line topology relationship and the surface topology relationship of the underground pipeline points at the current level; merging the pipeline features at each level to obtain a target pipeline vector slice, the target pipeline vector slice is used to manage the pipeline features in the original vector tile. In the process of constructing the target pipeline vector slice, the present invention retains the pipeline features of each layer of the original vector tile before stratification, so that the obtained target pipeline vector slice can not only efficiently store, update and render the underground pipeline data, but also maintain the original topological relationship between the underground pipelines.

[0124] 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 vector slice management method for underground pipelines, characterized in that: The method comprises: Acquire original vector tiles, and determine underground pipeline points according to the original vector tiles; Dividing the levels of the original vector tiles according to the weights of the underground pipeline points; Constructing pipeline features at each level, the pipeline features including line topological relationships and surface topological relationships of the underground pipeline points at the current level; The pipeline features of each level are merged to obtain a target pipeline vector slice, and the target pipeline vector slice is used to manage the pipeline features in the original vector tile.

2. The vector slice management method for underground pipelines according to claim 1 is characterized in that: The obtaining of the original vector tile comprises: Collecting underground pipeline data, formatting the underground pipeline data, and obtaining spatial characteristics and attribute information of the underground pipeline; The spatial feature and the attribute information are encoded to obtain the original vector tile.

3. The vector slice management method for underground pipelines according to claim 2 is characterized in that: The step of determining underground pipeline points according to the original vector tiles comprises: The point layer of the original vector tile is traversed to obtain underground pipeline points, wherein the underground pipeline points include pipeline nodes and pipeline intersection points.

4. The vector slice management method for underground pipelines according to claim 3 is characterized in that: The dividing the levels of the original vector tiles according to the weights of the underground pipeline points includes: Conducting importance assessment on the underground pipeline points to obtain an assessment ranking; Determining the weight of the underground pipeline point according to the evaluation ranking; The original vector tile is divided into levels according to the weight.

5. The vector slice management method for underground pipelines according to claim 4 is characterized in that: The step of dividing the levels of the original vector tiles according to the weights of the underground pipeline points further includes: Obtaining a threshold value of underground pipeline points at each level, and determining the number of underground pipeline points included in each level according to the threshold value; Selecting a corresponding number of target pipeline points in descending order of the weights; The levels of the original vector tile are divided according to the corresponding number of target pipeline points.

6. The vector slice management method for underground pipelines according to claim 4, characterized in that: The pipeline features of each level are constructed, and the pipeline features include the line topological relationship and the surface topological relationship of the underground pipeline points at the current level, including: Determine the underground pipeline points included in each level; Constructing a key pair between each of the underground pipeline points and the original line layer of the original vector tile to obtain the line topological relationship of each level; A key pair is constructed between each of the underground pipeline points and the original surface layer of the original vector tile to obtain the surface topological relationship of each level.

7. The vector slice management method for underground pipelines according to claim 6 is characterized in that: The merging of the pipeline features of each level to obtain a target pipeline vector slice, wherein the target pipeline vector slice is used to manage the pipeline features in the original vector tile, includes: Based on a preset weighted DP algorithm, pipeline features of each level are simplified and integrated to obtain vector tiles of each level, wherein the pipeline features include the line topology relationship and the surface topology relationship; Merging the vector tiles of each level to obtain a target pipeline vector tile; Based on a preset slicing method, the target pipeline vector tile is sliced ​​to obtain the target pipeline vector slice.

8. A vector slice management device for underground pipelines, characterized in that: The device comprises: An underground pipeline point determination module, used to obtain original vector tiles and determine underground pipeline points according to the original vector tiles; A vector tile level division module, used for dividing the level of the original vector tile according to the weight of the underground pipeline point; A pipeline feature construction module, used to construct pipeline features at each level, wherein the pipeline features include line topological relationships and surface topological relationships of the underground pipeline points at the current level; The vector slice determination module is used to merge the pipeline features of each level to obtain a target pipeline vector slice, and the target pipeline vector slice is used to manage the pipeline features in the original vector tile.

9. A terminal, characterized in that: The terminal includes a memory, a processor, and a vector slice management program for underground pipelines stored in the memory and executable on the processor. When the processor executes the vector slice management program for the underground pipeline, the steps of the vector slice management method for the underground pipeline as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a vector slice management program for underground pipelines. When the vector slice management program for underground pipelines is executed by a processor, the steps of the vector slice management method for underground pipelines as described in any one of claims 1-7 are implemented.