CN115577478A - Method, system, equipment and medium for constructing mountain pipeline digital twin system - Google Patents

Method, system, equipment and medium for constructing mountain pipeline digital twin system Download PDF

Info

Publication number
CN115577478A
CN115577478A CN202211209394.2A CN202211209394A CN115577478A CN 115577478 A CN115577478 A CN 115577478A CN 202211209394 A CN202211209394 A CN 202211209394A CN 115577478 A CN115577478 A CN 115577478A
Authority
CN
China
Prior art keywords
model
mountain
pipeline
data
center line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211209394.2A
Other languages
Chinese (zh)
Inventor
马剑林
梁俊
吴志锋
孙啸
侯浩
李顺勇
连江桥
高建章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Oil and Gas Pipeline Network Corp
National Pipeline Network Southwest Pipeline Co Ltd
Original Assignee
China Oil and Gas Pipeline Network Corp
National Pipeline Network Southwest Pipeline Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Oil and Gas Pipeline Network Corp, National Pipeline Network Southwest Pipeline Co Ltd filed Critical China Oil and Gas Pipeline Network Corp
Priority to CN202211209394.2A priority Critical patent/CN115577478A/en
Publication of CN115577478A publication Critical patent/CN115577478A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/10Numerical modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/14Pipes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Remote Sensing (AREA)
  • Computer Graphics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method, a system, equipment and a medium for constructing a mountain land pipeline digital twin system, which relate to the technical field of pipeline engineering construction, and comprise the following steps: acquiring digital orthophoto map data, digital elevation model data and pipeline asset data, wherein the pipeline asset data comprises line asset data and station yard asset data; constructing a mountain land model according to the digital orthophoto map data and the digital elevation model data; constructing a line model according to the pipeline asset data; constructing a station yard model according to the station yard asset data; and performing three-dimensional rendering on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system. The mountain land model and the line model constructed by the method are easy to modify and replace, the rendered mountain land pipeline digital twin system is high in precision, the position, the trend and the surrounding mountain information of the mountain land pipeline can be subjected to omnibearing analog simulation, the construction period is short, and the investment cost is low.

Description

Method, system, equipment and medium for constructing mountain pipeline digital twin system
Technical Field
The invention relates to the technical field of pipeline engineering construction, in particular to a method, a system, equipment and a medium for constructing a mountain pipeline digital twin system.
Background
In recent 20 years, natural gas pipelines in China are rapidly developed, and by 2019, the total mileage of the built natural gas pipelines in China is about 8 kilometers, and trunk networks covering the whole country are formed in an initial step. The requirements for digital, intelligent and integrated management of pipeline assets are increasingly strong, and the requirement for building a pipeline digital twin platform is urgent.
At present, the construction of the digital twin system is generally directly processed by modeling software, such as a series of modeling software under the flags of Auto Desk company, bentley company and CATIA company. The 3D Studio Max software under the Auto Desk company can shape and define environment, object and role details, can model personnel, positions or things, can model terrain, and can better reflect mountain detail information; context Capture (CC for short) software under the Bentley company can quickly generate a three-dimensional live-action model (oblique photography) reflecting the real environment for various types of infrastructure projects, and the software is widely applied to the fields of buildings, civil engineering, transportation, processing plants, government departments, utilities and the like.
Although the relief characteristics of the mountainous region terrain can be well expressed by using the traditional modeling software, the pipeline entity can also be constructed and processed, the mountain pipeline digital twin system is designed for mountainous long-distance pipelines by using the traditional modeling software, the defects of long period and high investment cost of model construction exist, and the content of a model file generated by the traditional modeling software cannot be modified. For mountain pipelines with complex and variable terrain, the unmanned aerial vehicle is difficult to restore the terrain condition by 100% when collecting data, and the original model data is required to be modified to simulate the trend of a real mountain shape, but the traditional modeling software does not have the modification or replacement function. If the pipeline changes or the terrain changes, modeling needs to be carried out again, so that a large amount of time and cost are consumed, and the working schedule is influenced.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: when a mountain pipeline digital twin system is designed for a mountain long-distance pipeline by using traditional modeling software, the period for constructing the model is long, the investment cost is high, the real state of the mountain pipeline cannot be reflected, and the generated model file content cannot be modified, so that the model is not beneficial to timely adjustment due to the influence of external environmental conditions and internal factors in the later period. In order to solve the technical problem, the invention provides a method, a system, equipment and a medium for constructing a mountain land pipeline digital twin system, so that the construction time of a model is shortened, the constructed model is easy to modify and replace, the true mountain-shaped trend can be restored, and the most true state of a mountain land pipeline is shown.
The technical scheme for solving the technical problems is as follows:
a method for constructing a mountain pipeline digital twin system comprises the following steps:
acquiring digital orthophoto map data, digital elevation model data and pipeline asset data, wherein the pipeline asset data comprises line asset data and station yard asset data;
constructing a mountain land model according to the digital orthophoto map data and the digital elevation model data, wherein the mountain land model is used for simulating the height fluctuation of mountain land terrain;
constructing a line model according to the pipeline asset data, wherein the line model is used for simulating the position and the trend of a mountain pipeline;
according to the station asset data, a station model is constructed, and the station model is used for simulating the position and the form of station equipment;
and performing three-dimensional rendering on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system.
The beneficial effects of the invention are: the method comprises the steps that a mountain land model is built according to acquired digital orthophoto map data and digital elevation model data, when terrain changes, the original digital orthophoto map data or/and digital elevation model data of the terrain are replaced by new digital orthophoto map data or/and digital elevation model data corresponding to the changed terrain, and the built mountain land model is locally adjusted by utilizing the new digital orthophoto map data or/and digital elevation model data, so that the mountain land model is easy to modify and replace; constructing a line model according to the acquired pipeline asset data, when the position of the line model in the space needs to be adjusted, adjusting the position of the mountain pipeline in the space by dragging the mountain pipeline and other operations to obtain new pipeline asset data corresponding to the mountain pipeline, and constructing the line model by using the new pipeline asset data to realize easy modification and replacement of the line model; the mountain land model, the line model and the station yard model are subjected to three-dimensional rendering, so that the position, the trend and the surrounding mountain gesture information of the mountain land pipeline can be subjected to all-dimensional simulation, the mountain land model can restore the real mountain shape trend, and the line model can show the real state of the mountain land pipeline; the mountain land model is built based on the digital orthophoto map data, the definition of the model is guaranteed, the mountain land relief state is built based on the digital elevation model data, the built mountain land model has high reduction degree, and the rendered mountain land pipeline digital twin system is high in precision; the digital orthophoto map data and the digital elevation model data for constructing the mountain land model can be acquired and processed simultaneously, so that the period of the model is greatly reduced, and the investment cost is low.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the method further comprises:
constructing a geological disaster early warning system, wherein the geological disaster early warning system is used for early warning natural disasters; the geological disaster early warning system comprises a monitoring module, a data analysis module, a communication module, a display module and an alarm module, wherein the monitoring module, the display module and the alarm module are connected with the data analysis module through the communication module;
the construction of the geological disaster early warning system comprises the following steps:
monitoring and acquiring geological environment data in real time through a pre-installed monitoring module;
sending the geological environment data to the data analysis module, analyzing the geological environment data through the data analysis module to generate an analysis result, sending the analysis result to the display module, and displaying the analysis result through the display module;
if the analysis result is abnormal, the data analysis module generates an alarm instruction according to the analysis result, and sends the alarm instruction to the alarm module, and the alarm module gives an alarm according to the alarm instruction;
the three-dimensional rendering is carried out on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system, and the method comprises the following steps:
and performing three-dimensional rendering on the mountain land model, the line model, the station yard model and the geological disaster early warning system to obtain the mountain land pipeline digital twin system.
The beneficial effect of adopting the above further scheme is: by integrally rendering the mountain model, the line model and the station yard model, a real physical simulation scene can be obtained, and by combining a geological disaster early warning system, effects of rapid positioning of a disaster point, disaster simulation, rescue simulation and the like are realized.
Further, the method further comprises:
constructing a GPS line patrol system, wherein the GPS line patrol system is used for acquiring the position information of a line patrol worker; the GPS line patrol system comprises a handheld terminal and a control terminal, wherein the handheld terminal is connected with the control terminal through a communication module, and a GPS positioning module is arranged in the handheld terminal;
the GPS line patrol system is constructed, and comprises the following steps:
setting a line patrol path for a line patrol worker through the control terminal according to the arrangement of the pipelines;
sending the line patrol path to the handheld terminal through the communication module;
the position information of the line patrol personnel wearing the handheld terminal is sent to the control terminal in real time through the handheld terminal, and line patrol management is carried out through the control terminal;
the three-dimensional rendering is carried out on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system, and the method comprises the following steps:
and performing three-dimensional rendering on the mountain land model, the line model, the station yard model and the GPS line patrol system to obtain the mountain land pipeline digital twin system.
The beneficial effect of adopting the above further scheme is: under a real three-dimensional physical model scene, position information of a line patrol worker is acquired through a GPS line patrol system, and a line patrol moving track of the line patrol worker can be formed; when the line patrol personnel encounter a problem point, the position of the problem point can be quickly and accurately acquired according to the position information of the line patrol personnel, so that the problem is frequently summarized and summarized, and effective prevention and solution measures are formed.
Further, the method further comprises:
correcting the line model according to the digital elevation model data and the line model so as to bury the line model in the ground;
the method comprises the steps that a line model comprises a plurality of coordinate positions of mountain pipeline center line points, a plurality of coordinate positions of upstream center line points of mountain pipeline center line points and a plurality of coordinate positions of downstream center line points of mountain pipeline center line points, and the line model is corrected according to digital elevation model data and the line model so as to be buried in the ground, and specifically comprises the following steps:
determining elevation information corresponding to each mountain pipeline centerline point according to the coordinate position of each mountain pipeline centerline point;
determining elevation information corresponding to the upstream centerline point of each centerline point of the mountain pipeline according to the coordinate position of the upstream centerline point of each centerline point of the mountain pipeline;
determining elevation information corresponding to the downstream centerline point of each centerline point of the mountain pipeline according to the coordinate position of the downstream centerline point of each centerline point of the mountain pipeline;
constructing a ground surface model according to the digital elevation model data, wherein the ground surface model comprises elevation information corresponding to each coordinate position of the mountain ground surface;
acquiring elevation information of the coordinate position in the earth surface model corresponding to the coordinate position according to the coordinate position of the line point in each mountain pipeline, and acquiring reference elevation information corresponding to the line point in each mountain pipeline;
for each mountain pipeline center line point, determining the position state of the mountain pipeline center line point according to the elevation information of the mountain pipeline center line point and the datum elevation information corresponding to the mountain pipeline center line point;
for each mountain pipeline center line point, if the position state of the mountain pipeline center line point is exposed above the ground, determining target elevation information of the mountain pipeline center line point according to elevation information of the mountain pipeline center line point and a preset ground pressing depth, determining target elevation information of an upstream center line point of the mountain pipeline center line point according to a coordinate position of the mountain pipeline center line point, the target elevation information of the mountain pipeline center line point, a coordinate position of an upstream center line point of the mountain pipeline center line point and elevation information of an upstream center line point of the mountain pipeline center line point, and determining target elevation information of a downstream center line point of the mountain pipeline center line point according to the coordinate position of the mountain pipeline center line point, the target elevation information of the mountain pipeline center line point, the coordinate position of a downstream center line point of the mountain pipeline center line point and the elevation information of the downstream center line point of the mountain pipeline center line point;
and adjusting the positions of pipeline entities of the mountain pipeline center line point, the upstream section of the mountain pipeline center line point and the downstream section of the mountain pipeline center line point in the route model according to the coordinate positions and target elevation information corresponding to the mountain pipeline center line point, the upstream center line point of the mountain pipeline center line point and the downstream center line point of the mountain pipeline center line point.
The beneficial effect of adopting the further scheme is that: the line model is buried into the ground by correcting the line model, so that the accuracy of the position of the pipeline entity in the line model is improved.
Further, the building of the mountain land model according to the digital orthophoto map data and the digital elevation model data includes:
according to the pixel size of the digital orthophoto map data, carrying out image cutting processing on the digital orthophoto map data to obtain map tiles of different levels;
for each map tile, acquiring a target area tile corresponding to the map tile according to the row and column number of the map tile, and performing picture fusion processing on the map tile and the target area tile to obtain a tile file corresponding to the map tile; wherein the row and column number of the map tile comprises a hierarchy of the map tile, a longitude area and a latitude area corresponding to the map tile;
according to the pixel size of the digital elevation model data, carrying out image cutting processing on the digital elevation model data to obtain DEM image maps of different levels;
acquiring a target raster file, and acquiring elevation files corresponding to the DEM image maps of different levels according to the target raster file;
the mountain model includes the tile file and the elevation file.
The beneficial effect of adopting the further scheme is that: the method comprises the steps of processing digital orthophoto map data to obtain map tiles of different levels and corresponding tile files, processing digital elevation model data to obtain DEM (digital elevation model) maps of different levels and corresponding elevation files, and constructing a mountain land model according to the tile files and the elevation files to prepare for obtaining a mountain pipeline digital twin system subsequently.
Further, the building a line model according to the pipeline asset data includes:
and constructing a line model through line design software according to the pipeline asset data.
The beneficial effect of adopting the above further scheme is: and a three-dimensional line model is constructed according to the pipeline asset data through line design software, so that the design speed is high and the design is convenient.
Further, the constructing a station yard model according to the station yard asset data comprises:
and constructing a station model through three-dimensional design software according to the station asset data.
The beneficial effect of adopting the further scheme is that: a three-dimensional station model is constructed according to station asset data through three-dimensional design software (such as SP3D, PDMS and Revit), and the design speed is high and the precision is high.
In order to solve the above technical problem, the present invention further provides a system for constructing a mountain pipeline digital twin system, which comprises:
the data acquisition module is used for acquiring digital orthophoto map data, digital elevation model data and pipeline asset data, wherein the pipeline asset data comprises line asset data and station yard asset data;
the first model building module is used for building a mountain land model according to the digital orthophoto map data and the digital elevation model data, and the mountain land model is used for simulating the height fluctuation of mountain land terrain;
the second model building module is used for building a line model according to the pipeline asset data, and the line model is used for simulating the position and the trend of a mountain pipeline;
the third model building module is used for building a station yard model according to the station yard asset data, and the station yard model is used for simulating the position and the form of station yard equipment;
and the system construction module is used for performing three-dimensional rendering on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system.
In order to solve the technical problem, the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method for constructing a mountain pipeline digital twin system as described above.
In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method for constructing a mountain pipeline digital twin system as described above.
Drawings
FIG. 1 is a schematic flow diagram of a method for constructing a mountain pipeline digital twin system according to the present invention;
FIG. 2 is a schematic illustration of the scale resolution of the present invention;
FIG. 3 is a flow chart of the DOM data processing of the present invention;
FIG. 4 is a flow chart of DEM data processing according to the present invention;
FIG. 5 is a flow chart of the process of pipeline asset data in the present invention;
FIG. 6 is a schematic structural diagram of a construction system of a mountain land pipeline digital twin system.
Detailed Description
The principles and features of this invention are described below in conjunction with examples which are set forth to illustrate, but are not to be construed to limit the scope of the invention.
Example one
In order to solve the technical problems in the prior art, the embodiment provides a method for constructing a mountain pipeline digital twin system, as shown in fig. 1, including:
the method comprises the following steps that S1, digital orthophoto map data, digital elevation model data and pipeline asset data are obtained, wherein the pipeline asset data comprise line asset data and station yard asset data;
s2, constructing a mountain land model according to the digital orthophoto map data and the digital elevation model data, wherein the mountain land model is used for simulating the elevation and subsidence of mountain land terrain;
s3, constructing a line model according to the pipeline asset data, wherein the line model is used for simulating the position and the trend of a mountain pipeline;
s4, building a station yard model according to the station yard asset data, wherein the station yard model is used for simulating the position and the form of station yard equipment, and the station yard equipment comprises process equipment, pipelines and buildings in the station yard;
and S5, performing three-dimensional rendering on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system.
The mountain land Model construction method includes the steps of relying on a Digital orthographic projection Map (DOM) and a Digital Elevation Model (DEM), and constructing a mountain land Model according to Digital orthographic projection Map data and Digital Elevation Model data, wherein the steps of:
acquiring DOM (document object model) data and DEM (digital elevation model) data around a mountain land pipeline, wherein the DOM data is used for providing images for the construction of the mountain land model, and the DEM data is used for providing elevation information (namely height fluctuation change) for the construction of the mountain land model; because the high-precision DOM data and the DEM data are shot by the unmanned aerial vehicle, the price is high, and only the DOM data and the DEM data within the range of 500 meters around the mountain pipeline are obtained in the embodiment;
for the DOM data, according to the pixel size of the DOM data, carrying out graph cutting processing on the DOM data through a graph cutting algorithm to obtain map tiles of different levels;
for each map tile, acquiring a target area tile corresponding to the map tile according to the row and column number of the map tile, and performing picture fusion processing on the map tile and the target area tile to obtain a tile file corresponding to the map tile; wherein the row and column number of the map tile comprises a hierarchy of the map tile, a longitude area and a latitude area corresponding to the map tile; the map tiles and the target area tiles are subjected to picture fusion processing to fill DOM data outside the range of 500 m around the pipeline;
for the DEM data, according to the pixel size of the DEM data, performing image cutting processing on the DEM data through a resampling algorithm to obtain DEM image maps of different levels;
acquiring a target raster file, and acquiring elevation files corresponding to the DEM images of different levels according to the target raster file;
the mountain model includes the tile file and the elevation file.
The pixel is an important mark reflecting image characteristics, different pixel sizes represent different precision ranges, and a person skilled in the art can determine the level range in which the acquired image data needs to be subjected to graph cutting according to the precision of the acquired image data (namely, the DOM data and the DEM data), for example, the DOM data with the precision of 1.6 m can be subjected to graph cutting to the level 17, the DOM data with the precision of 0.8 m can be subjected to graph cutting to the level 18, the DOM data with the precision of 0.4-0.5 m can be subjected to graph cutting to the level 18, and the DOM data with the precision of 0.2 m can be subjected to graph cutting to the level 20.
The acquired DOM data is multiband raster data, and for graph cutting processing of the DOM data, in this embodiment, an EPSG: and the 900913 map cutting algorithm determines the range of the map cutting based on the coordinate range in the mercator projection coordinate system, and fills the determined range of the map cutting with the elevation file generated according to the DEM data after determining the range of the map cutting. Wherein, EPSG:900913 EPSG:3857, EPSG:3857 projection is a projection coordinate system based on mercator, which is adopted by map manufacturers such as google map, compulsory map, arcGIS Online, and EPSG:900913 a map is a square with map ranges of [ -20037508.342789244,20037508.342789244 ], in meters.
When graph cutting processing is carried out on the DOM data, the map resolution of the map tile of the ith (i is an integer and is more than or equal to 0) level is as follows:
Figure BDA0003873973520000081
wherein L represents the length of the map corresponding to the map-cutting algorithm (in this embodiment, the map of EPSG: 900913), W represents the width of the map corresponding to the map-cutting algorithm, and N represents the width of the map corresponding to the map-cutting algorithm 1 Denotes the length of the slice, N 2 In this embodiment, the size of the slice is set according to an industry standard, the resolution size may be 256 × 256, and the map resolution of the map tile at level 0 is:
Figure BDA0003873973520000082
the number of map tiles at level 0 is 1 × 1, the number of map tiles at level 1 is 2 × 2, the number of map tiles at level 2 is 4 × 4, the number of map tiles at level 3 is 8 × 8, and so on, and it can be seen that: the number of map tiles at level i is 2 i ×2 i And (5) opening. The resolution of map Tiles of each level is shown in fig. 2, level represents the level of the map Tiles, pixel Size represents the map resolution of the map Tiles, scale represents the layer Scale, and Tiles represents the number of map Tiles of the current level.
Before the DOM data is subjected to a graph cutting processing process through a graph cutting algorithm, a satellite map used for obtaining target area tiles corresponding to the DOM data is determined, and an initial level of the DOM data subjected to the graph cutting processing is determined according to the determined maximum level of the satellite map which can be sliced, wherein the maximum level is larger than or equal to the initial level. The initial level of the DOM data for graph cutting processing is determined according to the map resolution of map tiles of each level of the satellite map, and the determined standard is as follows: and on the premise that the DOM data has no distortion under the map resolution, taking the level corresponding to the minimum map resolution as an initial level.
The data formats of the map tiles obtained by the map cutting algorithm EPSG:900913 comprise WebP, PNG and JPEG, and considering that the problem of reducing the disk space as much as possible, and because the disk space occupied by the tiles in the WebP format under the same image resolution is smaller than that of the tiles in the PNG format, the map tiles and the target area tiles below 14 levels (including the 14 th level) are stored in the PNG format, and the map tiles and the target area tiles above 14 levels are stored in the WebP format.
A specific process of implementing image fusion between map tiles and target area tiles corresponding to the map tiles based on a high-precision unmanned aerial vehicle aerial photograph map and a low-precision google map is shown in fig. 3, taking the obtained original DOM data (aerial DOM shown in fig. 3) with the precision of 0.2 m as an example, a person skilled in the art can know that the original DOM data needs to be cut to 20 levels, and the original DOM data with the precision of 0.2 m is subjected to graph cutting processing through a graph cutting algorithm to obtain tile files corresponding to the original DOM data, and the specific method comprises the following steps:
performing image cutting processing on original DOM data with the precision of 0.2 m to obtain a map tile at a 14 th level and a map tile at a 16 th level in a PNG format, wherein the image resolution of the map tile at the 14 th level is 1024 × 1024, and the 14 th level is an initial level for performing image cutting processing on the original DOM data; the map tile of level 16 has an image resolution of 4096 × 4096, the map tile of level 16 having an image resolution of 4096 × 4096 being taken as the first map tile;
according to the tile information of the map tile of the 14 th level, carrying out image fusion processing (picture fusion shown in figure 3) on the map tile of the 14 th level and a target area tile of the Google map under the tile information to obtain a tile file corresponding to the map tile of the 14 th level;
splitting a tile file corresponding to a map tile at a 14 th level to obtain a map tile at a 15 th level and a map tile at a 16 th level, wherein the image resolutions are all 256 multiplied by 256 and the data formats are all WebP, and taking the map tile at the 16 th level with the image resolution of 256 multiplied by 256 as a second map tile;
performing image fusion processing (image fusion shown in fig. 3) on the first map tile and the second map tile to obtain a third map tile, wherein the third map tile represents a map tile of a 16 th level;
according to the tile information of the third map tile, performing image fusion processing on the third map tile and a target area tile of the Google map under the tile information to obtain a tile file corresponding to the map tile of the 16 th level;
splitting a tile file corresponding to a map tile of a 14 th level to obtain a map tile of a 17 th level, a map tile of an 18 th level, a map tile of a 19 th level and a map tile of a 20 th level, wherein the image resolutions of the map tiles are all 256 multiplied by 256 and the data formats of the map tiles are WebP;
according to the tile information of the 17 th level map tile, carrying out image fusion processing on the 17 th level map tile and a target area tile of the Google map under the tile information to obtain a tile file corresponding to the 17 th level map tile;
according to the tile information of the map tile of the 18 th level, carrying out image fusion processing on the map tile of the 18 th level and a target area tile of the Google map under the tile information to obtain a tile file corresponding to the map tile of the 18 th level;
according to the tile information of the map tile of the 19 th level, carrying out image fusion processing on the map tile of the 19 th level and a target area tile of the Google map under the tile information to obtain a tile file corresponding to the map tile of the 19 th level;
and according to the tile information of the map tile at the 20 th level, carrying out image fusion processing on the map tile at the 20 th level and a target area tile of the Google map under the tile information to obtain a tile file corresponding to the map tile at the 20 th level.
It should be noted that "splitting" in the present invention means performing cropping processing on an image; the maximum level of the Google map which can be obtained currently is 14 levels, so that when the original DOM data are subjected to image cutting processing, the original DOM data are cut to 14 levels; when the original DOM data are subjected to image cutting processing, the time for image fusion can be reduced by cutting the original DOM data to 14 levels and 16 levels; according to the situation that partial areas of map tiles of a 16 th level obtained by cutting the original DOM data are missing, the map tiles of a 14 th level with image resolution of 1024 × 1024 and the corresponding target area tiles of the map tiles are fused, the fused tile file can be cut to 16 levels, the image resolution of the obtained map tiles of the 16 th level is 256 × 256, the map tiles of the 16 th level with image resolution of 256 × 256 and 4096 × 4096 are fused, and then subsequent processing is carried out according to the fused map tiles, so that the map tiles of the maximum level can be cut as far as possible on the premise of not wasting the accuracy of the original DOM data, and the map tiles can not have blank missing; and for the image resolution of the map tile at the highest level of the DOM data needing to be subjected to map cutting, after the map tile is subjected to the image resolution with the best display effect in a browser, uploading the obtained tile files corresponding to the map tiles at all levels to a server for storage.
Wherein, the obtaining of the target area tile corresponding to the map tile according to the row and column number of the map tile specifically includes:
determining a satellite map;
and acquiring a target area tile of the satellite map under the row and column numbers.
In the embodiment, the satellite map adopts a google map, the projection adopted by the google map is 3857 mode, and is consistent with the projection of the map tile obtained by processing through the graph cutting algorithm, and the two map tiles can be subjected to image fusion (namely image superposition).
The acquired DEM data are single-waveband raster data, namely gray level images, each DEM data has the size of an own pixel, and one pixel corresponds to one precision range. When the pixel size of the DEM data does not meet the requirement and the like, the pixel size of the DEM data needs to be resampled. For example, the pixel size of DEM data is 2m, the DEM data is cut to 14-level sampling points (the sampling point size is 64 × 64), the corresponding actual geographic range of the DEM data can be calculated to be 2.4km according to the cutting algorithm, the size of each pixel is 2400/64=37.5m, the pixel size of the original DEM data is 2m, therefore, the pixel size needs to be modified, and the pixel size is amplified from 2m to 37.5m, and the process is resampling. The DEM data with the resolution of M x N is divided into grids with M rows and N columns, each grid corresponds to one pixel, and the size of a sampling point corresponding to the DEM data is M x N; for the DEM data with the resolution size of M x N, if the size of a sampling point is 64 x 64, the DEM data is divided into grids with 64 rows and 64 columns, each grid corresponds to one image block, and each image block corresponds to a local area with the resolution size of (M/64) ((N/64)) in the DEM data.
If the elevation file is subjected to image cutting processing on the DEM data through a resampling algorithm, after the maximum accuracy of the DEM data is exceeded (in the embodiment, the maximum accuracy of the DEM data is 30 meters, and the accuracy of 30 meters is the highest accuracy topographic data which can be obtained at home at present), a plurality of elevation points with the same value can appear in the elevation file of a higher level, the higher the level is, the more the number of the same value points is, the visual representation form of the terrain data is that the terrain data becomes a step state, and in order to avoid the situation, the method adopts a nearest neighbor method to perform image cutting processing on the DEM data, the data format of the elevation file generated after the DEM data is subjected to image cutting through the nearest neighbor method is a TXT file, and the data organization mode is a 64 x 64 matrix form. Compared with the elevation file generated in 3dTiles of ceium (the data composition mode is 65 × 65 matrix form, the numerical values of the adjacent edges of the matrix, namely 65 th column and 1 st column of the next matrix are consistent to prevent the fault from appearing), the method performs interpolation processing on two adjacent matrices (namely two adjacent TXT files, including two TXT files adjacent to the left and the right and two TXT files adjacent to the top and the bottom), namely performs interpolation processing on the last column data of the previous matrix and the first column data of the next matrix, and performs interpolation processing on the last column data of the previous matrix and the first column data of the next matrix, so that the adjacent position of the matrices is eclosed, the fault is prevented from appearing, the continuity of the data is ensured, and the size of the elevation file is reduced.
According to the acquired accuracy of the DEM data, a skilled person in the art can determine a hierarchy range in which the DEM data needs to be cut, for example, the DEM data with the accuracy of 30 meters needs to be cut to 14 levels, the DEM data with the accuracy of 12.5-15 meters needs to be cut to 15 levels, the DEM data with the accuracy of 7 meters needs to be cut to 16 levels, the DEM data with the accuracy of 4-5 meters needs to be cut to 17 levels, and the DOM data with the accuracy of 2 meters needs to be cut to 18 levels.
For the DEM data, the quantity of the produced elevation files is related to the geographical range represented by the DEM data, when the DEM data is cut into 14 levels, 1 part of elevation files are generated, each level is added to the cut, and the quantity of the generated elevation files is 2 k ×2 k Where k represents the number of levels added on a level 14 basis, for example, a geographic range represented by a DEM data is approximately 2.4 square kilometers, and as can be seen from the above-described mapping algorithm, if the DEM data is mapped as a 14-level elevation file, 1 elevation file will be generated, and if the DEM data is mapped to a level 15, 4 elevation files will be generated. In the invention, in the process of cutting the DEM data, the reason that the 14 th level is taken as the cutting reference is that the pixel size of the free DEM data with the highest precision currently obtained in China is 30 meters, and an elevation file with 14 levels and the sampling point size of 64 × 64 is generated corresponding to a cutting tool.
A specific flow of image fusion based on low-precision DEM data and high-precision DEM data is shown in fig. 4, taking the obtained original DEM data with the precision of 0.2 meter (aerial DEM shown in fig. 4) as an example, a person skilled in the art can map-cut the original DEM data to 18 levels, and map-cut the original DEM data with the precision of 0.2 meter by using a map-cutting algorithm to obtain elevation files of different levels, and the specific method includes:
cutting the original DEM data to levels 14, 15, 16, 17 and 18 respectively to obtain DEM image maps of different levels;
cutting the free elevation data with the precision of 30 meters to the 14 th level to obtain a raster file with raster data stored, wherein the raster file is the target raster file; the storage format of the raster file comprises TIFF, img, rst and ENVI hdr, the raster data is a data form which divides the space into regular grids, each grid is called as a unit (namely a pixel), and each unit is endowed with a corresponding attribute value to represent an entity, the position of each unit is defined by the row and column number of each unit, and the row and column number comprises the level of the raster file where the unit is located, and the longitude area and the latitude area corresponding to the unit;
attaching numerical values of corresponding positions in the raster file to positions of nondata (namely, no data) in the DEM image map of the 14 th level (namely, fusion processing, corresponding to 14-level height data combination shown in FIG. 4) to obtain a height file of the 14 th level so as to fill up DEM data outside the range of 500 meters around the pipeline;
cutting the elevation file at the 14 th level to the 15 th, 16 th, 17 th and 18 th levels (splitting to the 18 th level shown in fig. 4) to obtain raster files corresponding to different levels;
for the DEM image maps at 15 th, 16 th, 17 th and 18 th levels, the positions of the nondata (i.e. no data) contained in the DEM image maps are respectively attached with the numerical values of the corresponding positions in the raster file of the corresponding level (the data at 15 th, 16 th, 17 th and 18 th levels are respectively fused as shown in fig. 4), and the elevation files at 15 th, 16 th, 17 th and 18 th levels are obtained.
And after the map is cut, uploading the obtained elevation files corresponding to the DEM image maps of all the levels to a server for storage. The method adopts a linear interpolation method to fuse the raster file corresponding to the low-precision DEM data and the DEM image corresponding to the high-precision DEM data, and gives consideration to displaying the low-precision topographic data while representing the high-precision topographic data.
The mountain land model is generated by a tile file generated by DOM data and an elevation file generated by DEM data, and the generated tile file and the elevation file are stored in a server. When the mountain land model is built, a client requests tile files and elevation files of the same row and column numbers from a server, an area range is shared in 64-by-64 grids, the elevation value represented by each grid is provided by the elevation files, and the tile files are used for building the surface of the mountain land model, so that the effect of dynamic generation is achieved. The mountain land model generated by the method can restore the precision of the original data (namely the acquired DOM data and the acquired DEM data), and the higher the precision of the original data is, the higher the precision of the mountain land model is.
It should be noted that the reason why the DOM data and the DEM data are respectively subjected to the map cutting and merging processing is that in consideration of the visual effect and the economic cost, the method fills the geographic range area over 500 meters with the 14-level google map and the DEM data with the precision of 30 meters. For DEM data, the accuracy of 30 meters is the highest accuracy topographic data which can be obtained at home at present; for a target area tile corresponding to a 14-level google map, it can be known that the geographic range corresponding to one target area tile is about 2444 meters through calculation, and by designing a 64 × 64 matrix, it can be known that the geographic range represented by one sampling point is about 38 meters, which is greater than and closer to the accuracy of 30 meters of DEM data, so that the 14-level google map is used for influence filling.
Mountain region model with the demonstration of circuit model needs the cooperation of front end rear end to be realized, mountain region model's construction needs the front end (be the client) to obtain through the form of row column number to rear end (be the server) request according to the tile file that the DOM data generated and according to the elevation file that the DEM data produced, a tile file corresponds an elevation file, and the front end is right through real-time rendering technique mountain region model is rendered, the tile file does mountain region model provides the image, the elevation file does mountain region model provides the mountain gesture that changes undulation. In this embodiment, the mountain model is dynamically rendered by the front end through the WebGL technology.
The construction of the line model requires requesting vector data of pipeline entities in the pipeline asset data, and the request mode of the vector data of the pipeline entities has two modes, one mode is a request range transmitted from the front end, and the back end can query the range by using the capability of a geospatial database engine according to the requested range and return the vector data of all pipeline entities in the range. The other method is that the front end transmits a request camera position and height, the rear end calculates a query range according to the input camera position and height, then queries according to the calculated query range, and returns the vector data of the pipeline entity required by the front end. And dynamically rendering the line model by a real-time rendering technology after the front end acquires the vector data of the pipeline entity.
Constructing a line model according to the pipeline asset data comprises:
and constructing a line model through line design software according to the pipeline asset data.
For the acquired pipeline asset data, the method firstly uses the acquired pipeline asset data as original pipeline asset data, obtains the pipeline asset data for constructing the line model and the station yard model after performing data recovery processing on the original pipeline asset data, and performs data recovery processing on the original pipeline asset data to obtain the pipeline asset data, and specifically comprises the following steps:
performing data cleaning on the original pipeline asset data to obtain intermediate pipeline asset data;
and carrying out data management on the intermediate pipeline asset data to obtain the pipeline asset data for constructing the line model and the station name.
The data cleaning of the original pipeline asset data specifically comprises the following steps:
and screening and removing repeated and redundant data in the original pipeline asset data, and correcting or deleting obviously wrong data.
Wherein, to the intermediate pipe assets data carries out data governance, specifically include:
and completing the data supplement lacking in the intermediate pipeline asset data.
For the pipeline asset data obtained after data management, the pipeline resource data are put into a warehouse by the line model, the pipeline asset data are associated with the line model in a data mounting mode, the pipeline asset data are mounted into the line model, dynamic rendering and loading are carried out by using a three-dimensional display technology, and visual operation, such as click viewing, can be carried out through the front end.
For the line asset data obtained after data processing, coordinate information of the entity can be obtained through line point detection and crater detection in the pipeline, and then warehousing operation is directly carried out. And if data such as three piles, one card, crossing, hydraulic protection, elbow bending and the like are detected, measuring the nearest pile number and the relative mileage distance between the nearest pile number and the nearest pile number, calculating horizontal continuous mileage based on the relative mileage distance between the pile numbers when the data are processed for warehousing, and calculating the point position coordinate information and the elevation information of the line model by a linear interpolation method according to the horizontal continuous mileage and the horizontal continuous mileage of the welded junction data.
For station asset data, the station asset data is obtained by daily maintenance and overhaul of equipment by workers in the station, and the station asset data comprises various types of data such as processes, instruments, pumps, lines and the like. And (4) screening out unnecessary system default attribute information in the three-dimensional modeling software by performing data cleaning on the original station asset data.
For station asset data obtained after data management, an information system is used for collecting data of various stages of pipeline engineering design, mining, construction, operation and the like, and data association, storage and sharing are carried out through a database, so that the aim of complete and accurate digital description of a pipeline entity is fulfilled. The design period data are acquired according to records in the process of initial setting and detailed setting of the pipeline, the acquisition period data are acquired according to the purchasing condition of pipe consumables, the construction period data are acquired according to statistical records of the pipeline construction party in the pipeline construction stage in the processes of trenching, landfill and the like, and the operation period data are acquired through instrument equipment in the pipeline operation period after the pipeline construction is completed.
As shown in fig. 5, the pipeline asset data is installed in the line model, including crater data storage and other pipeline entity pipeline data storage. When the welding crater data are put in storage, the welding crater data need to be analyzed, the welding crater data are put in storage, the welding crater data comprise longitude and latitude data and elevation data of the welding crater, and the welding crater data are obtained through line center point detection and welding crater detection. And secondly, analyzing data of three piles and one plate, crossing, hydraulic protection and elbow bending, wherein the entity data (hereinafter referred to as intermediate insertion points) lack necessary longitude and latitude data, finding the nearest upstream welding point and downstream welding point of the entity according to horizontal continuous mileage during analysis and warehousing, and calculating the coordinate position and the elevation position of the current entity according to a linear interpolation method. The upstream welding opening point and the downstream welding opening point are provided with a coordinate position, elevation information and a horizontal continuous mileage, the middle inserting point can be converted between the upstream welding opening point and the downstream welding opening point in an equal ratio relation through a linear interpolation method, and the coordinate position, the elevation information and the horizontal continuous mileage of the middle inserting point can be calculated.
The station yard model is rendered and loaded through a three-dimensional model file generated by modeling software and a three-dimensional display technology. The building of the station yard model according to the station yard asset data comprises the following steps:
and constructing a station yard model through three-dimensional design software according to the station yard asset data.
Wherein, the three-dimensional design software comprises SP3D, PDMS and Revit.
The three-dimensional rendering is carried out on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system, and the method specifically comprises the following steps:
and carrying out three-dimensional panoramic display on the mountain land model, the line model and the station yard model, carrying out mirror image mapping on a physical entity in a virtual information space, and displaying the full life cycle condition of the pipeline. In this embodiment, the three-dimensional panorama display is mainly rendered by a WebGL technology to obtain a three-dimensional scene, where the displayed data is provided and supported by a back-end server.
The mountain land model has a modification function, and the modification mode comprises replacing a tile file and operating an elevation file. For the elevation file, the front end can increase or decrease the terrain data, wherein the increase operation on the terrain data refers to the elevation of the terrain elevation, and the decrease operation on the terrain data refers to the depression of the terrain elevation. For each terrain data needing to be modified, the mountain land model increases the numerical value of one or more sampling points by determining point location information in a 64 x 64 matrix in an elevation file corresponding to the terrain data when heightening operation is needed, decreases the numerical value of one or more sampling points when lowering operation is needed, and synchronizes the updated elevation file to a back-end server through an interface. When the elevation file is operated, the front end provides a visual interface, the conditions of all sampling points can be clearly seen, and dynamic modification of the elevation file and remodeling of the three-dimensional terrain are realized by operating a single sampling point or a plurality of sampling points. For the tile file, when DOM data required for building the mountain land model needs to be modified, the DOM data only needs to be subjected to graph cutting again to obtain a new tile file, and the mountain land model is built according to the new tile file.
The line model has a line model position and height position modification function, and the line model position and height position represent the position of the line model in space and correspond to the spatial positions of the line model in three directions of an X axis, a Y axis and a Z axis in space. When the line model is updated, the pipeline entity can be dragged, when the line model is operated, the rear end can calculate the positions of other entities attached to the pipeline in real time, and accordingly all pipeline related entities are dragged along with the pipeline, and the positions are correspondingly changed.
Optionally, the method further includes:
constructing a geological disaster early warning system, wherein the geological disaster early warning system is used for early warning natural disasters, and the natural disasters comprise landslide, debris flow, flood and fire; the geological disaster early warning system comprises a monitoring module, a data analysis module, a communication module, a display module and an alarm module, wherein the monitoring module, the display module and the alarm module are connected with the data analysis module through the communication module;
the construction of the geological disaster early warning system comprises the following steps:
monitoring and acquiring geological environment data in real time through a pre-installed monitoring module; the monitoring module is arranged according to mountain geology;
sending the geological environment data to the data analysis module, analyzing the geological environment data through the data analysis module to generate an analysis result, sending the analysis result to the display module, and displaying the analysis result through the display module;
if the analysis result is abnormal, the data analysis module generates an alarm instruction according to the analysis result, and sends the alarm instruction to the alarm module, and the alarm module gives an alarm according to the alarm instruction;
the geological disaster early warning system is used for early warning natural disasters, wherein the natural disasters comprise landslide, debris flow, flood and fire;
the three-dimensional rendering is carried out on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system, and the method comprises the following steps:
and performing three-dimensional rendering on the mountain land model, the line model, the station yard model and the geological disaster early warning system to obtain the mountain land pipeline digital twin system.
The geological environment data collected in real time are stored in a database for analysis through the data analysis module, and the geological conditions of each monitoring area are displayed by combining a map module (namely the display module) in a geographic information system. The map information system is an information system which mainly aims at researching acquisition, transmission, conversion, storage, analysis and utilization and the like of map information. The map information transmission function is performed through the whole process of information transmission from a map builder to a map builder and from the map builder to the map builder. The map information system comprises a map module, a data module and an analysis module (namely the data analysis module), wherein the map module comprises the functions of map plotting and the like.
The natural gas long-distance pipeline geological disaster early warning system integrating distributed storage, intelligent management and high-efficiency information release is established by integrating geological disaster prevention and control information resources, perfecting informatization basic design of software, hardware, network environment and the like, the constructed geological disaster early warning system can effectively detect information such as ground settlement, ground slippage, ground collapse, ground stress monitoring information, soil moisture content and the like along a pipeline, and if a problem occurs (for example, the pressure of a pipe wall is too large due to soil displacement), early warning and display are respectively performed through the warning module and the display module in the geological disaster early warning system. And by combining with a high-consequence area (namely an area which can cause great adverse effects on the public and the environment after the pipeline is leaked) in the line asset data, disaster early warning treatment can be effectively carried out.
Optionally, the method further includes:
constructing a GPS line patrol system, wherein the GPS line patrol system is used for acquiring the position information of a line patrol worker;
the three-dimensional rendering is carried out on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system, and the method comprises the following steps:
and performing three-dimensional rendering on the mountain land model, the line model, the station yard model and the GPS line patrol system to obtain the mountain land pipeline digital twin system.
The GPS line patrol system comprises a handheld terminal and a control terminal, wherein the handheld terminal is connected with the control terminal through a communication module, and a GPS positioning module is arranged in the handheld terminal;
the GPS line patrol system is constructed, and comprises the following steps:
setting a line patrol path for a line patrol worker through the control terminal according to the arrangement of the pipelines;
sending the line patrol path to the handheld terminal through the communication module;
and through the handheld terminal, the position information of the line patrol personnel wearing the handheld terminal is sent to the control terminal in real time, and line patrol management is carried out through the control terminal.
The control terminal is used for setting a line patrol path of a line patrol worker, the line patrol path is sent to the handheld terminal through the communication module, and the line patrol worker patrols the line according to the line patrol path. In addition, the control terminal can also set the patrol time and the necessary patrol position of the patrol personnel, the patrol personnel can also send the information (in the modes of images, voice, characters, video and the like) of unsafe events such as hidden dangers and accidents which occur in the patrol process to the control terminal through the handheld terminal, and the control terminal stores and analyzes the information of the unsafe events so as to set a patrol route later, reduce the hidden dangers of the accidents, realize the advanced control of the unsafe events and improve the patrol safety quality.
Through the GPS line patrol system, line patrol personnel can be remotely monitored and managed, and the line patrol personnel can accurately patrol according to the set line patrol path, patrol time, necessary patrol positions and the like.
Optionally, the method further includes:
correcting the line model according to the digital elevation model data and the line model so as to bury the line model in the ground;
the method comprises the steps that a line model comprises a plurality of coordinate positions of mountain pipeline center line points, a plurality of coordinate positions of upstream center line points of mountain pipeline center line points and a plurality of coordinate positions of downstream center line points of mountain pipeline center line points, and the line model is corrected according to digital elevation model data and the line model so as to be buried in the ground, and specifically comprises the following steps:
determining elevation information corresponding to each mountain pipeline centerline point according to the coordinate position of each mountain pipeline centerline point;
determining elevation information corresponding to the upstream centerline point of each centerline point of the mountain pipeline according to the coordinate position of the upstream centerline point of each centerline point of the mountain pipeline;
determining elevation information corresponding to the downstream centerline point of each centerline point of the mountain pipeline according to the coordinate position of the downstream centerline point of each centerline point of the mountain pipeline;
constructing a ground surface model according to the digital elevation model data, wherein the ground surface model comprises elevation information corresponding to each coordinate position of the mountain land surface;
acquiring elevation information of the coordinate position in the earth surface model corresponding to the coordinate position according to the coordinate position of each mountain land pipeline center line point through a pre-constructed pipeline elevation automatic calibration model, and acquiring reference elevation information corresponding to each mountain land pipeline center line point;
for each mountain pipeline centerline point, the pipeline elevation automatic calibration model determines the position state of the mountain pipeline centerline point according to the elevation information of the mountain pipeline centerline point and the reference elevation information corresponding to the mountain pipeline centerline point;
for each mountain pipeline center line point, if the position state of the mountain pipeline center line point is exposed above the ground, the pipeline elevation automatic calibration model determines target elevation information of the mountain pipeline center line point according to elevation information of the mountain pipeline center line point and a preset ground pressing depth, determines target elevation information of an upstream center line point of the mountain pipeline center line point according to a coordinate position of the mountain pipeline center line point, the target elevation information of the mountain pipeline center line point, a coordinate position of an upstream center line point of the mountain pipeline center line point and elevation information of an upstream center line point of the mountain pipeline center line point, and determines target elevation information of a downstream center line point of the mountain pipeline center line point according to the coordinate position of the mountain pipeline center line point, the target elevation information of the mountain pipeline center line point, the coordinate position of a downstream center line point of the mountain pipeline center line point and the elevation information of a downstream center line point of the mountain pipeline center line point;
and adjusting the positions of the pipeline entities of the mountain pipeline center line point, the upstream section of the mountain pipeline center line point and the downstream section of the mountain pipeline center line point in the line model according to the coordinate position and the target elevation information corresponding to the mountain pipeline center line point, the upstream center line point of the mountain pipeline center line point and the downstream center line point of the mountain pipeline center line point.
The pipeline elevation automatic calibration model is matched with the front end and the rear end in real time, and the position state between the line model and the ground surface model output according to the elevation file is calculated, so that the pipeline entity exposed above the ground surface is pressed into the ground. The pipeline elevation automatic calibration model automatically updates the pipeline elevation information according to the ground elevation information, and the line model is buried underground to reflect the real state of the mountain pipeline. When the pipeline elevation automatic calibration model starts to work, the automatic cruise is carried out along with the trend of a pipeline, the coordinate position of each pipeline center line point and the coordinate position of the corresponding point in the earth surface model are checked, if the position value of the pipeline center line point is higher than the position value of the corresponding coordinate in the earth surface model, the elevation value of the pipeline center line point is obtained according to the earth surface model, the ground pressing depth input in the pipeline elevation automatic calibration model is subtracted from the elevation value to obtain a new position value, the new position value is transmitted to the rear end, the coordinate positions and the elevation information of the upstream center line point and the downstream center line point of the pipeline center line point are obtained at the rear end, and the positions of all entities of the upstream section and the downstream section of the pipeline center line point on the line model are adjusted by utilizing a linear interpolation method according to the new position value. And after the updating is finished, returning the message to the front end, moving the visual angle of the front end camera to the centerline point of the next pipeline to continue calculating, and finally finishing the elevation updating of the centerline of the whole pipeline. The method comprises the steps of obtaining a line center point of a pipeline, determining the line center point of the pipeline after an elevation file is imported, determining the spatial position of the line center point of the pipeline by finding a unique coordinate point in the elevation file according to the coordinate position, and obtaining an elevation value recorded in the elevation file, namely the elevation value of the line center point of the pipeline according to the determined spatial position.
Example two
Based on the same principle as the method for constructing the mountain pipeline digital twin system in the first embodiment, the present embodiment provides a system for constructing a mountain pipeline digital twin system, as shown in fig. 6, including:
the data acquisition module is used for acquiring digital orthophoto map data, digital elevation model data and pipeline asset data, wherein the pipeline asset data comprises line asset data and station yard asset data;
the first model building module is used for building a mountain land model according to the digital orthophoto map data and the digital elevation model data, and the mountain land model is used for simulating the elevation and subsidence of mountain land terrain;
the second model building module is used for building a line model according to the pipeline asset data, and the line model is used for simulating the position and the trend of a mountain pipeline;
the third model building module is used for building a station yard model according to the station yard asset data, and the station yard model is used for simulating the position and the form of station yard equipment;
and the system construction module is used for performing three-dimensional rendering on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system.
Wherein the first model building module is specifically configured to:
according to the pixel size of the digital orthophoto map data, carrying out image cutting processing on the digital orthophoto map data to obtain map tiles of different levels;
for each map tile, acquiring a target area tile corresponding to the map tile according to the row and column number of the map tile, and performing picture fusion processing on the map tile and the target area tile to obtain a tile file corresponding to the map tile; wherein the row and column number of the map tile comprises a hierarchy of the map tile, a longitude area and a latitude area corresponding to the map tile;
according to the pixel size of the digital elevation model data, carrying out image cutting processing on the digital elevation model data to obtain DEM image maps of different levels;
acquiring a target raster file, and acquiring elevation files corresponding to the DEM image maps of different levels according to the target raster file;
the mountain model includes the tile file and the elevation file.
Wherein the second model building module is specifically configured to:
and constructing a line model through line design software according to the pipeline asset data.
Wherein the third model building module is specifically configured to:
and constructing a station yard model through three-dimensional design software according to the station yard asset data.
Optionally, the system further includes:
the fourth model building module is used for building a geological disaster early warning system, and the geological disaster early warning system is used for early warning natural disasters; the geological disaster early warning system comprises a monitoring module, a data analysis module, a communication module, a display module and an alarm module, wherein the monitoring module, the display module and the alarm module are connected with the data analysis module through the communication module;
the fourth model building module is specifically configured to:
monitoring and acquiring geological environment data in real time through a pre-installed monitoring module;
sending the geological environment data to the data analysis module, analyzing the geological environment data through the data analysis module to generate an analysis result, sending the analysis result to the display module, and displaying the analysis result through the display module;
if the analysis result is abnormal, the data analysis module generates an alarm instruction according to the analysis result, and sends the alarm instruction to the alarm module, and the alarm module gives an alarm according to the alarm instruction;
the system building module is specifically configured to:
and performing three-dimensional rendering on the mountain land model, the line model, the station yard model and the geological disaster early warning system to obtain the mountain land pipeline digital twin system.
Optionally, the system further includes:
the fifth model building module is used for building a GPS line patrol system, and the GPS line patrol system is used for acquiring the position information of line patrol personnel; the GPS line patrol system comprises a handheld terminal and a control terminal, wherein the handheld terminal is connected with the control terminal through a communication module, and a GPS positioning module is arranged in the handheld terminal;
the fifth model building module is specifically configured to:
setting a line patrol path aiming at a line patrol worker through the control terminal according to the arrangement of the pipelines;
sending the line patrol path to the handheld terminal through the communication module;
the position information of the line patrol personnel wearing the handheld terminal is sent to the control terminal in real time through the handheld terminal, and line patrol management is carried out through the control terminal;
the system building module is specifically configured to: and performing three-dimensional rendering on the mountain land model, the line model, the station yard model and the GPS line patrol system to obtain the mountain land pipeline digital twin system.
Optionally, the system further includes:
the model correction module is used for correcting the line model according to the digital elevation model data and the line model so as to bury the line model into the ground;
the line model comprises a plurality of mountain pipeline centerline points, a plurality of mountain pipeline centerline points upstream and a plurality of mountain pipeline centerline points downstream, and the model correction module is specifically configured to:
determining elevation information corresponding to each mountain pipeline centerline point according to the coordinate position of each mountain pipeline centerline point;
determining elevation information corresponding to the upstream center line point of each mountain pipeline center line point according to the coordinate position of the upstream center line point of each mountain pipeline center line point;
determining elevation information corresponding to the downstream centerline point of each centerline point of the mountain pipeline according to the coordinate position of the downstream centerline point of each centerline point of the mountain pipeline;
constructing a ground surface model according to the digital elevation model data, wherein the ground surface model comprises elevation information corresponding to each coordinate position of the mountain ground surface;
according to the coordinate position of the centerline point of each mountain pipeline, acquiring elevation information of the coordinate position in the earth surface model corresponding to the coordinate position, and acquiring reference elevation information corresponding to the centerline point of each mountain pipeline;
for each mountain pipeline center line point, determining the position state of the mountain pipeline center line point according to the elevation information of the mountain pipeline center line point and the datum elevation information corresponding to the mountain pipeline center line point;
for each mountain pipeline center line point, if the position state of the mountain pipeline center line point is exposed above the ground, determining target elevation information of the mountain pipeline center line point according to elevation information of the mountain pipeline center line point and a preset ground pressing depth, determining target elevation information of an upstream center line point of the mountain pipeline center line point according to a coordinate position of the mountain pipeline center line point, the target elevation information of the mountain pipeline center line point, a coordinate position of an upstream center line point of the mountain pipeline center line point and elevation information of an upstream center line point of the mountain pipeline center line point, and determining target elevation information of a downstream center line point of the mountain pipeline center line point according to the coordinate position of the mountain pipeline center line point, the target elevation information of the mountain pipeline center line point, the coordinate position of a downstream center line point of the mountain pipeline center line point and the elevation information of the downstream center line point of the mountain pipeline center line point;
and adjusting the positions of pipeline entities of the mountain pipeline center line point, the upstream section of the mountain pipeline center line point and the downstream section of the mountain pipeline center line point in the route model according to the coordinate positions and target elevation information corresponding to the mountain pipeline center line point, the upstream center line point of the mountain pipeline center line point and the downstream center line point of the mountain pipeline center line point.
EXAMPLE III
Based on the same principle as the method for constructing the mountain pipeline digital twin architecture in the first embodiment, the present embodiment provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the method for constructing the mountain pipeline digital twin architecture in the first embodiment is implemented.
Example four
Based on the same principle as the method for constructing the mountain pipeline digital twin system in the first embodiment, the present embodiment provides a computer-readable storage medium, wherein the computer-readable storage medium stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements the method for constructing the mountain pipeline digital twin system in the first embodiment.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A method for constructing a mountain pipeline digital twin system is characterized by comprising the following steps:
acquiring digital orthophoto map data, digital elevation model data and pipeline asset data, wherein the pipeline asset data comprises line asset data and station yard asset data;
constructing a mountain land model according to the digital orthophoto map data and the digital elevation model data, wherein the mountain land model is used for simulating the height fluctuation of mountain land terrain;
constructing a line model according to the pipeline asset data, wherein the line model is used for simulating the position and the trend of a mountain pipeline;
according to the station asset data, a station model is constructed, and the station model is used for simulating the position and the form of station equipment;
and performing three-dimensional rendering on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system.
2. The method of claim 1, further comprising:
constructing a geological disaster early warning system, wherein the geological disaster early warning system is used for early warning natural disasters; the geological disaster early warning system comprises a monitoring module, a data analysis module, a communication module, a display module and an alarm module, wherein the monitoring module, the display module and the alarm module are connected with the data analysis module through the communication module;
the construction of the geological disaster early warning system comprises the following steps:
monitoring and acquiring geological environment data in real time through a pre-installed monitoring module;
sending the geological environment data to the data analysis module, analyzing the geological environment data through the data analysis module to generate an analysis result, sending the analysis result to the display module, and displaying the analysis result through the display module;
if the analysis result is abnormal, the data analysis module generates an alarm instruction according to the analysis result, and sends the alarm instruction to the alarm module, and the alarm module gives an alarm according to the alarm instruction;
the three-dimensional rendering is carried out on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system, and the method comprises the following steps:
and performing three-dimensional rendering on the mountain land model, the line model, the station yard model and the geological disaster early warning system to obtain the mountain land pipeline digital twin system.
3. The method of claim 1, further comprising:
constructing a GPS line patrol system, wherein the GPS line patrol system is used for acquiring the position information of line patrol personnel; the GPS line patrol system comprises a handheld terminal and a control terminal, wherein the handheld terminal is connected with the control terminal through a communication module, and a GPS positioning module is arranged in the handheld terminal;
the GPS line patrol system is constructed, and comprises:
setting a line patrol path aiming at a line patrol worker through the control terminal according to the arrangement of the pipelines;
sending the line patrol path to the handheld terminal through the communication module;
the position information of the line patrol personnel wearing the handheld terminal is sent to the control terminal in real time through the handheld terminal, and line patrol management is carried out through the control terminal;
the three-dimensional rendering is carried out on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system, and the method comprises the following steps:
and three-dimensional rendering is carried out on the mountain land model, the line model, the station yard model and the GPS line patrol system, so that the mountain land pipeline digital twin system is obtained.
4. The method of claim 1, further comprising:
correcting the line model according to the digital elevation model data and the line model so as to bury the line model into the ground;
the method comprises the steps of correcting a route model according to digital elevation model data and the route model to bury the route model in the ground, wherein the route model comprises a plurality of coordinate positions of a centerline point in the mountain pipeline, a plurality of coordinate positions of an upstream centerline point of the centerline point in the mountain pipeline and a plurality of coordinate positions of a downstream centerline point of the centerline point in the mountain pipeline, and specifically comprises the following steps:
determining elevation information corresponding to each mountain pipeline centerline point according to the coordinate position of each mountain pipeline centerline point;
determining elevation information corresponding to the upstream centerline point of each centerline point of the mountain pipeline according to the coordinate position of the upstream centerline point of each centerline point of the mountain pipeline;
determining elevation information corresponding to the downstream center line point of each mountain pipeline center line point according to the coordinate position of the downstream center line point of each mountain pipeline center line point;
constructing a ground surface model according to the digital elevation model data, wherein the ground surface model comprises elevation information corresponding to each coordinate position of the mountain land surface;
acquiring elevation information of the coordinate position in the earth surface model corresponding to the coordinate position according to the coordinate position of the line point in each mountain pipeline, and acquiring reference elevation information corresponding to the line point in each mountain pipeline;
for each mountain pipeline center line point, determining the position state of the mountain pipeline center line point according to the elevation information of the mountain pipeline center line point and the datum elevation information corresponding to the mountain pipeline center line point;
for each mountain pipeline center line point, if the position state of the mountain pipeline center line point is exposed above the ground, determining target elevation information of the mountain pipeline center line point according to elevation information of the mountain pipeline center line point and a preset ground pressing depth, determining target elevation information of an upstream center line point of the mountain pipeline center line point according to a coordinate position of the mountain pipeline center line point, the target elevation information of the mountain pipeline center line point, a coordinate position of an upstream center line point of the mountain pipeline center line point and the elevation information of the upstream center line point of the mountain pipeline center line point, and determining target elevation information of a downstream center line point of the mountain pipeline center line point according to the coordinate position of the mountain pipeline center line point, the target elevation information of the mountain pipeline center line point, the coordinate position of a downstream center line point of the mountain pipeline center line point and the elevation information of the downstream center line point of the mountain pipeline center line point;
and adjusting the positions of the pipeline entities of the mountain pipeline center line point, the upstream section of the mountain pipeline center line point and the downstream section of the mountain pipeline center line point in the line model according to the coordinate position and the target elevation information corresponding to the mountain pipeline center line point, the upstream center line point of the mountain pipeline center line point and the downstream center line point of the mountain pipeline center line point.
5. The method of claim 1, wherein constructing a mountain model from the digital orthophoto map data and the digital elevation model data comprises:
according to the pixel size of the digital orthophoto map data, carrying out image cutting processing on the digital orthophoto map data to obtain map tiles of different levels;
for each map tile, acquiring a target area tile corresponding to the map tile according to the row and column number of the map tile, and performing picture fusion processing on the map tile and the target area tile to obtain a tile file corresponding to the map tile; wherein the row and column number of the map tile comprises a hierarchy of the map tile, a longitude area and a latitude area corresponding to the map tile;
according to the pixel size of the digital elevation model data, carrying out image cutting processing on the digital elevation model data to obtain DEM image maps of different levels;
acquiring a target raster file, and acquiring elevation files corresponding to the DEM image maps of different levels according to the target raster file;
the mountain model includes the tile file and the elevation file.
6. The method of claim 1, wherein constructing a line model from the pipe asset data comprises:
and constructing a line model through line design software according to the pipeline asset data.
7. The method of claim 1, wherein constructing a yard model from the yard asset data comprises:
and constructing a station yard model through three-dimensional design software according to the station yard asset data.
8. A building system of a mountain land pipeline digital twin system is characterized by comprising the following components:
the data acquisition module is used for acquiring digital orthophoto map data, digital elevation model data and pipeline asset data, wherein the pipeline asset data comprises line asset data and station yard asset data;
the first model building module is used for building a mountain land model according to the digital orthophoto map data and the digital elevation model data, and the mountain land model is used for simulating the height fluctuation of mountain land terrain;
the second model building module is used for building a line model according to the pipeline asset data, and the line model is used for simulating the position and the trend of a mountain pipeline;
the third model building module is used for building a station yard model according to the station yard asset data, and the station yard model is used for simulating the position and the form of station yard equipment;
and the system construction module is used for performing three-dimensional rendering on the mountain land model, the line model and the station yard model to obtain a mountain land pipeline digital twin system.
9. An electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for constructing a mountain pipe digital twin as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the method for constructing a mountain pipe digital twin system as claimed in any one of claims 1 to 7.
CN202211209394.2A 2022-09-30 2022-09-30 Method, system, equipment and medium for constructing mountain pipeline digital twin system Pending CN115577478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211209394.2A CN115577478A (en) 2022-09-30 2022-09-30 Method, system, equipment and medium for constructing mountain pipeline digital twin system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211209394.2A CN115577478A (en) 2022-09-30 2022-09-30 Method, system, equipment and medium for constructing mountain pipeline digital twin system

Publications (1)

Publication Number Publication Date
CN115577478A true CN115577478A (en) 2023-01-06

Family

ID=84582397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211209394.2A Pending CN115577478A (en) 2022-09-30 2022-09-30 Method, system, equipment and medium for constructing mountain pipeline digital twin system

Country Status (1)

Country Link
CN (1) CN115577478A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117635856A (en) * 2023-11-07 2024-03-01 广东省地质调查院 Mine exploitation original digital elevation model reconstruction method, system and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117635856A (en) * 2023-11-07 2024-03-01 广东省地质调查院 Mine exploitation original digital elevation model reconstruction method, system and medium
CN117635856B (en) * 2023-11-07 2024-06-11 广东省地质调查院 Mine exploitation original digital elevation model reconstruction method, system and medium

Similar Documents

Publication Publication Date Title
KR101548647B1 (en) Processor for visualization of three dimensional geo-spatial information
US7944547B2 (en) Method and system of generating 3D images with airborne oblique/vertical imagery, GPS/IMU data, and LIDAR elevation data
CN113607135B (en) Unmanned aerial vehicle inclination photogrammetry method for road and bridge construction field
CN111125821B (en) BIM+GIS foundation and foundation subsection engineering analysis and type selection method
US9552669B2 (en) System, apparatus, and method for utilizing geographic information systems
JP2005128838A (en) Simplified system for analyzing flood
CN105627981A (en) Mining subsidence deformation prediction and forecast system
CN115688491B (en) Water conservancy digital twin simulation method based on block chain
CN110362895B (en) Land acquisition removal application management system based on BIM + GIS technology
CN109801371B (en) Network three-dimensional electronic map construction method based on Cesium
CN111667569B (en) Three-dimensional live-action soil visual accurate measurement and calculation method based on Rhino and Grasshopper
CN114882181A (en) Surface mine unmanned three-dimensional map generation method and system
CN110765542A (en) Lightweight method of high-precision digital elevation model
CN115577478A (en) Method, system, equipment and medium for constructing mountain pipeline digital twin system
CN111026891A (en) Map bottom map integration method
KR100732915B1 (en) Method for three-dimensional determining of basic design road route using digital photommetry and satellite image
US11049316B2 (en) Synthetic image generation apparatus, synthetic image generation program, and synthetic image generation method
CN111986320B (en) Smart city application-oriented DEM and oblique photography model space fitting optimization method
CN111311747B (en) Multi-sensor barrier lake region integrated three-dimensional model rapid construction method
CN110706340B (en) Pipeline three-dimensional visualization platform based on real geographic data
CN114359489A (en) Method, device and equipment for making real-scene image in pipeline construction period and storage medium
CN116385693A (en) Offshore wind power visual display method, offshore wind power visual display system and computer-readable storage medium
CN111783192B (en) Complex terrain field flat earthwork calculation method based on oblique photography live-action model
CN114549615A (en) Earthwork work amount generation method and device and electronic equipment
CN110207668B (en) Landscape vertical analysis and quantitative vertical design method based on unmanned aerial vehicle oblique photography

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination