Construction method, system, device and medium of mountain pipeline digital twin system

By constructing a mountain model and combining it with a geological disaster early warning and GPS pipeline inspection system, the problems of long cycle and high cost of traditional modeling software in the digital twin system of long-distance pipelines in mountainous areas have been solved. This has enabled rapid model adjustment and high-precision simulation, adapting to changes in the external environment.

CN115577478BActive Publication Date: 2026-02-27PIPECHINA SOUTH CHINA CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211209394.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2026-02-27
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

Traditional modeling software is time-consuming and costly when building digital twin systems for long-distance pipelines in mountainous areas. Furthermore, the generated model files cannot be modified, making it difficult to reflect the real mountainous terrain and adapt to changes in the external environment.

Method used

By acquiring digital orthophoto imagery and digital elevation model data, a mountain model is constructed. Combined with pipeline asset data, the model is rendered in three dimensions, supporting local adjustments and replacements. Real-time monitoring and management are then carried out using a geological disaster early warning system and a GPS pipeline inspection system.

Benefits of technology

It shortens model building time, reduces costs, improves model fidelity and accuracy, supports rapid response to changes in the external environment and pipeline adjustments, and realizes the simulation of real mountain morphology and disaster early warning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115577478B_ABST
    Figure CN115577478B_ABST
Patent Text Reader

Abstract

The application discloses a kind of mountain pipeline digital twin system construction method, system, equipment and medium, it is related to pipeline engineering construction technical field, the method includes: obtaining digital orthophoto map data, digital elevation model data and pipeline asset data, the pipeline asset data includes line asset data and station yard asset data;According to the digital orthophoto map data and the digital elevation model data, mountain model is constructed;According to the pipeline asset data, line model is constructed;According to the station yard asset data, station yard model is constructed;The mountain model, the line model and the station yard model are rendered in three dimensions, and mountain pipeline digital twin system is obtained.The mountain model and line model constructed by the application are easy to modify and replace, and the mountain pipeline digital twin system rendered has high precision, can simulate and simulate the position, direction and surrounding mountain information of mountain pipeline in all directions, has short construction period and low investment cost.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of pipeline engineering construction, in particular to a construction method, system, device and medium of a mountain pipeline digital twin system. BACKGROUND

[0002] In the past 20 years, China's natural gas pipeline has developed rapidly. By the end of 2019, China has built about 80,000 kilometers of natural gas pipelines, and the trunk pipeline network covering the whole country has been initially formed. The demand for digital, intelligent and integrated management of pipeline assets is increasing, and the construction of a pipeline digital twin platform is imminent.

[0003] At present, the construction of a digital twin system is usually directly processed using modeling software, such as a series of modeling software under Auto Desk Company, Bentley Company and CATIA Company. Among them, the 3D StudioMax software under Auto Desk Company can shape and define the details of the environment, objects and characters, can model personnel, positions or things, and can model the terrain, which can better reflect the mountain detail information; the Context Capture (CC) software under Bentley Company can quickly generate a three-dimensional real scene model (oblique photography) reflecting the real environment for various types of infrastructure projects. The software is widely used in the fields of architecture, civil engineering, transportation, processing plants, government departments and public utilities.

[0004] Although the use of traditional modeling software can better represent the mountain terrain features and can construct and process the pipeline entity, there are disadvantages of long model construction period and high input cost when using traditional modeling software to design a mountain pipeline digital twin system for long-distance pipelines in mountainous areas. Moreover, the model file content generated by the traditional modeling software cannot be modified. For mountain pipelines with complex and variable terrain, it is difficult to restore the terrain conditions by 100% when collecting data by a drone, and often the original model data needs to be modified to simulate the real mountain trend. However, the traditional modeling software does not have such modification or replacement function. If the pipeline is relocated or the terrain changes, it is necessary to re-model, which will spend a lot of time and cost and also affect the work progress. SUMMARY

[0005] The technical problem to be solved by the present application is that when a traditional modeling software is used to design a mountainous long-distance pipeline digital twin system, the model construction period is long, the input cost is high, the real state of the mountainous pipeline cannot be reflected, and the generated model file content cannot be modified, which is not conducive to timely adjustment due to external environmental conditions and internal factors in the later period. To solve the technical problem, the present application provides a mountainous pipeline digital twin system construction method, system, device and medium, which shortens the model construction time, the constructed model is easy to modify and replace, and can restore the real mountain trend, and show the most real state of the mountainous pipeline.

[0006] The technical solution of the present application to solve the above technical problem is as follows:

[0007] A mountainous pipeline digital twin system construction method comprises:

[0008] Obtain 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;

[0009] According to the digital orthophoto map data and the digital elevation model data, a mountain model is constructed, and the mountain model is used to simulate the ups and downs of the mountain terrain;

[0010] According to the pipeline asset data, a line model is constructed, and the line model is used to simulate the position and trend of the mountainous pipeline;

[0011] According to the station yard asset data, a station yard model is constructed, and the station yard model is used to simulate the position and shape of the station yard equipment;

[0012] The mountain model, the line model and the station yard model are three-dimensionally rendered to obtain a mountainous pipeline digital twin system.

[0013] The beneficial effects of the present application are: a mountain model is constructed according to obtained digital orthophoto map data and digital elevation model data, when the terrain changes, the original digital orthophoto map data or / and digital elevation model data of the terrain is replaced by new digital orthophoto map data or / and digital elevation model data corresponding to the changed terrain, and the mountain model is locally adjusted by using the new digital orthophoto map data or / and digital elevation model data, so that the mountain model is easy to modify and replace; a line model is constructed according to obtained pipeline asset data, when it is necessary to adjust the position of the line model in space, the position of the mountain pipeline in space is adjusted by dragging the mountain pipeline and the like, new pipeline asset data corresponding to the mountain pipeline is obtained, and the line model is constructed by using the new pipeline asset data, so that the line model is easy to modify and replace; the position, direction and surrounding mountain information of the mountain pipeline are simulated in all directions by three-dimensional rendering of the mountain model, the line model and the station model, the mountain model can restore the real mountain trend, and the line model can show the real state of the mountain pipeline; the mountain model is constructed based on the digital orthophoto map data, so that the clarity of the model is ensured, the mountain terrain undulating state is shaped based on the digital elevation model data, so that the mountain model constructed has high restoration degree, and the mountain pipeline digital twin system obtained by rendering has high precision; the digital orthophoto map data and the digital elevation model data used for constructing the mountain model can be obtained and processed at the same time, so that the cycle of the model is greatly reduced, and the investment cost is low.

[0014] Based on the above technical scheme, the present application can be further improved as follows.

[0015] Further, the above method further comprises:

[0016] A geological disaster early warning system is constructed, and the geological disaster early warning system is used for early warning of 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, and the monitoring module, the display module and the alarm module are connected with the data analysis module through the communication module;

[0017] The geological disaster early warning system comprises:

[0018] The monitoring module is pre-installed to monitor and obtain geological environment data in real time;

[0019] The geological environment data is sent to the data analysis module, the geological environment data is analyzed by the data analysis module to generate an analysis result, the analysis result is sent to the display module, and the analysis result is displayed by the display module;

[0020] 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 alarms according to the alarm instruction;

[0021] The mountain pipeline digital twin system is obtained by performing three-dimensional rendering on the mountain model, the line model and the station model.

[0022] The mountain pipeline digital twin system is obtained by performing three-dimensional rendering on the mountain model, the line model, the station model and the geological disaster early warning system.

[0023] The beneficial effects of the above further scheme are: by performing integrated rendering on the mountain model, the line model and the station model, a real physical simulation scene can be obtained, and by combining the geological disaster early warning system, quick positioning of disaster points, disaster simulation, rescue simulation and other effects can be realized.

[0024] Further, the above method further comprises:

[0025] A GPS line inspection system is constructed, and the GPS line inspection system is used to acquire position information of line inspection personnel; the GPS line inspection system comprises a handheld terminal and a control terminal, the handheld terminal and the control terminal are connected through a communication module, and the handheld terminal is internally provided with a GPS positioning module.

[0026] The GPS line inspection system is constructed, and the GPS line inspection system is constructed, and the GPS line inspection system is constructed.

[0027] According to the arrangement of the pipeline, the control terminal is set to set a line inspection path for the line inspection personnel.

[0028] The line inspection path is sent to the handheld terminal through the communication module.

[0029] The position information of the line inspection personnel wearing the handheld terminal is sent to the control terminal in real time through the handheld terminal, and the line inspection management is performed through the control terminal.

[0030] The mountain pipeline digital twin system is obtained by performing three-dimensional rendering on the mountain model, the line model and the station model.

[0031] The mountain pipeline digital twin system is obtained by performing three-dimensional rendering on the mountain model, the line model, the station model and the GPS line inspection system.

[0032] The beneficial effect of the further scheme is that in a real three-dimensional physical model scene, the position information of the line inspection personnel is obtained by the GPS line inspection system, and the line inspection activity track of the line inspection personnel is formed; when the line inspection personnel encounters a problem point, the position of the problem point can be quickly and accurately obtained according to the position information of the line inspection personnel, and the problem-prone place is summarized to form effective prevention and solution measures.

[0033] Further, the method further comprises:

[0034] According to the digital elevation model data and the line model, the line model is corrected to bury the line model into the ground;

[0035] The line model comprises coordinate positions of a plurality of mountainous pipeline centerline points, coordinate positions of upstream centerline points of the plurality of mountainous pipeline centerline points, and coordinate positions of downstream centerline points of the plurality of mountainous pipeline centerline points, and the correction of the line model according to the digital elevation model data and the line model to bury the line model into the ground specifically comprises:

[0036] According to the coordinate position of each mountainous pipeline centerline point, the respective elevation information of each mountainous pipeline centerline point is determined;

[0037] According to the coordinate position of the upstream centerline point of each mountainous pipeline centerline point, the respective elevation information of the upstream centerline point of each mountainous pipeline centerline point is determined;

[0038] According to the coordinate position of the downstream centerline point of each mountainous pipeline centerline point, the respective elevation information of the downstream centerline point of each mountainous pipeline centerline point is determined;

[0039] According to the digital elevation model data, a ground surface model is constructed, and the ground surface model comprises elevation information corresponding to each coordinate position of a mountainous ground surface;

[0040] According to the coordinate position of each mountainous pipeline centerline point, the elevation information of the corresponding coordinate position in the ground surface model is obtained, and the respective reference elevation information of each mountainous pipeline centerline point is obtained;

[0041] For each mountainous pipeline centerline point, according to the elevation information of the mountainous pipeline centerline point and the reference elevation information corresponding to the mountainous pipeline centerline point, the position state of the mountainous pipeline centerline point is determined;

[0042] For each of the mountain pipeline centerline points, if the position state of the mountain pipeline centerline point is exposed above the ground, target elevation information of the mountain pipeline centerline point is determined according to the elevation information of the mountain pipeline centerline point and a preset depth of pressing into the ground, target elevation information of an upstream centerline point of the mountain pipeline centerline point is determined according to the coordinate position of the mountain pipeline centerline point, the target elevation information of the mountain pipeline centerline point, the coordinate position of the upstream centerline point of the mountain pipeline centerline point and the elevation information of the upstream centerline point of the mountain pipeline centerline point, and target elevation information of a downstream centerline point of the mountain pipeline centerline point is determined according to the coordinate position of the mountain pipeline centerline point, the target elevation information of the mountain pipeline centerline point, the coordinate position of the downstream centerline point of the mountain pipeline centerline point and the elevation information of the downstream centerline point of the mountain pipeline centerline point;

[0043] According to the coordinate positions and the target elevation information corresponding to the mountain pipeline centerline point, the upstream centerline point of the mountain pipeline centerline point and the downstream centerline point of the mountain pipeline centerline point, the positions of the pipeline entity of the mountain pipeline centerline point, the upstream section of the mountain pipeline centerline point and the downstream section of the mountain pipeline centerline point in the line model are adjusted.

[0044] The beneficial effect of the further scheme is that the line model is buried into the ground by correction, and the accuracy of the position of the pipeline entity in the line model is improved.

[0045] Further, the construction of the mountain model according to the digital orthographic image data and the digital elevation model data comprises:

[0046] The digital orthographic image data is cut and processed according to the pixel size of the digital orthographic image data, and different level map tiles are obtained;

[0047] For each of the map tiles, a target area tile corresponding to the map tile is obtained according to the row and column number of the map tile, the map tile and the target area tile are subjected to picture fusion processing, and a tile file corresponding to the map tile is obtained; wherein the row and column number of the map tile comprises the level of the map tile, the longitude area and the latitude area corresponding to the map tile;

[0048] The digital elevation model data is cut and processed according to the pixel size of the digital elevation model data, and different level DEM image maps are obtained;

[0049] A target raster file is obtained, and according to the target raster file, elevation files corresponding to the DEM image maps of different levels are obtained;

[0050] The mountain model comprises the tile file and the elevation file.

[0051] The beneficial effect of the further scheme is that the map tiles and corresponding tile files of different levels are obtained by processing the digital orthographic image data, the DEM image and corresponding elevation files of different levels are obtained by processing the digital elevation model data, and the mountain model is constructed according to the tile files and the elevation files, thereby preparing for obtaining the mountain pipeline digital twin system.

[0052] Further, the constructing the line model according to the pipeline asset data comprises:

[0053] The line model is constructed by a line design software according to the pipeline asset data.

[0054] The beneficial effect of the further scheme is that the three-dimensional line model is constructed by the line design software according to the pipeline asset data, and the design speed is fast and convenient.

[0055] Further, the constructing the station model according to the station asset data comprises:

[0056] The station model is constructed by a three-dimensional design software according to the station asset data.

[0057] The beneficial effect of the further scheme is that the three-dimensional station model is constructed by the three-dimensional design software (such as SP3D, PDMS and Revit) according to the station asset data, and the design speed is fast and the precision is high.

[0058] To solve the above technical problems, the application further provides a construction system of a mountain pipeline digital twin system, which comprises:

[0059] A data acquisition module is configured to acquire digital orthographic image data, digital elevation model data and pipeline asset data, wherein the pipeline asset data comprises line asset data and station asset data.

[0060] A first model construction module is configured to construct a mountain model according to the digital orthographic image data and the digital elevation model data, wherein the mountain model is used to simulate the ups and downs of the mountain terrain.

[0061] A second model construction module is configured to construct a line model according to the pipeline asset data, wherein the line model is used to simulate the position and direction of the mountain pipeline.

[0062] A third model construction module is configured to construct a station model according to the station asset data, wherein the station model is used to simulate the position and shape of the station equipment.

[0063] A system construction module is configured to perform three-dimensional rendering on the mountain model, the line model and the station model to obtain the mountain pipeline digital twin system.

[0064] To solve the above technical problems, the present application further provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the construction method of the mountain pipeline digital twin system when executing the computer program.

[0065] To solve the above technical problems, the present application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executable on a processor to implement the construction method of the mountain pipeline digital twin system. BRIEF DESCRIPTION OF DRAWINGS

[0066] Figure 1 A flowchart of the construction method of the mountain pipeline digital twin system in the present application;

[0067] Figure 2 A schematic diagram of the scale resolution in the present application;

[0068] Figure 3 A flowchart of the processing of the DOM data in the present application;

[0069] Figure 4 A flowchart of the processing of the DEM data in the present application;

[0070] Figure 5 A flowchart of the processing of the pipeline asset data in the present application;

[0071] Figure 6 A structural schematic diagram of the construction system of the mountain pipeline digital twin system in the present application. DETAILED DESCRIPTION

[0072] The principles and features of the present application are described below, and the examples are only used to explain the present application and not to limit the scope of the present application.

[0073] Embodiment One

[0074] To solve the technical problems in the prior art, the present embodiment provides a construction method of a mountain pipeline digital twin system, as shown in Figure 1 The method comprises the following steps:

[0075] In step S1, digital orthophoto map data, digital elevation model data and pipeline asset data are obtained, wherein the pipeline asset data comprises line asset data and station asset data;

[0076] In step S2, a mountain model is constructed according to the digital orthophoto map data and the digital elevation model data, and the mountain model is used to simulate the ups and downs of the mountain terrain.

[0077] In step S3, a line model is constructed according to the pipeline asset data, and the line model is used to simulate the position and direction of the mountain pipeline.

[0078] In step S4, a station model is constructed according to the station asset data, and the station model is used to simulate the position and shape of the station equipment, including process equipment, pipelines and buildings in the station.

[0079] In step S5, the mountain model, the line model and the station model are rendered in three dimensions to obtain a mountain pipeline digital twin system.

[0080] The construction of the mountain model needs to rely on a digital orthophoto map (DOM) and a digital elevation model (DEM), and the mountain model is constructed according to the digital orthophoto map data and the digital elevation model data, including:

[0081] The DOM data and the DEM data around the mountain pipeline are obtained, the DOM data is used to provide images for the construction of the mountain model, and the DEM data is used to provide elevation information (i.e. ups and downs) for the construction of the mountain model; since high-precision DOM data and DEM data are expensive to obtain by using a drone, only the DOM data and the DEM data within a range of 500 meters around the mountain pipeline are obtained in this embodiment.

[0082] For the DOM data, the DOM data is cut and processed by a cutting algorithm according to the pixel size of the DOM data to obtain map tiles of different levels.

[0083] For each map tile, a target area tile corresponding to the map tile is obtained according to the row and column number of the map tile, and the map tile and the target area tile are subjected to picture fusion processing to obtain a tile file corresponding to the map tile; wherein the row and column number of the map tile includes the level of the map tile, the longitude area and the latitude area corresponding to the map tile; the map tile and the target area tile are subjected to picture fusion processing to fill in the DOM data outside the range of 500 meters around the pipeline.

[0084] For the DEM data, the DEM data is cut and processed by a resampling algorithm according to the pixel size of the DEM data to obtain DEM image maps of different levels.

[0085] obtaining a target raster file, and obtaining an elevation file corresponding to the DEM image of different levels according to the target raster file;

[0086] The mountain model comprises the tile file and the elevation file.

[0087] Wherein, the pixel is an important sign reflecting the image feature, and different pixel sizes represent different precision ranges. According to the precision of the obtained image data (i.e. the DOM data and the DEM data), a person skilled in the art can determine the level range in which the obtained image data needs to be cut, for example, DOM data with a precision of 1.6 meters can be cut to 17 levels, DOM data with a precision of 0.8 meters can be cut to 18 levels, DOM data with a precision of 0.4-0.5 meters can be cut to 18 levels, and DOM data with a precision of 0.2 meters can be cut to 20 levels.

[0088] Wherein, the obtained DOM data is multi-band raster data. For the cutting processing of the DOM data, in the embodiment, an EPSG: 900913 cutting algorithm is used to determine the cutting range based on the coordinate range in the Mercator projection coordinate system, and after the cutting range is determined, the determined cutting range is filled with the elevation file generated according to the DEM data. Wherein, EPSG: 900913 is EPSG: 3857, and EPSG: 3857 projection is a projection coordinate system based on Mercator, which is widely used by map manufacturers such as Google Maps, Bing Maps and ArcGIS Online. The map of EPSG: 900913 is a square, and the map range is [-20037508.342789244, -20037508.342789244, 20037508.342789244, 20037508.342789244], with a unit of meters.

[0089] When the DOM data is cut, the map resolution of the i-th (i is an integer and greater than or equal to 0) level map tile is:

[0090]

[0091] Wherein, L represents the length of the map corresponding to the cutting algorithm (in the embodiment, i.e. the map of EPSG: 900913), W represents the width of the map corresponding to the cutting algorithm, N1 represents the length of the slice, and N2 represents the width of the slice. In the embodiment, the size of the slice is set according to industry specifications, and the resolution size can be 256x256. The map resolution of the 0th level map tile is:

[0092]

[0093] 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. Therefore, the number of map tiles at level i is 2. i ×2 i Zhang. The resolution of map tiles at each level, such as... Figure 2 As shown, Figure 2 In this context, level represents the map tile level, Pixel Size represents the map tile resolution, Scale represents the layer scale, and Tiles represents the number of map tiles at the current level.

[0094] Before processing the DOM data using the tiling algorithm, a satellite map is first determined to obtain the target area tiles corresponding to the DOM data. Based on the maximum tileable level of the satellite map, the initial level for tiling the DOM data is determined, where the maximum level is greater than or equal to the initial level. The initial level for tiling the DOM data is determined based on the map resolution of the map tiles at each level of the satellite map. The standard for determination is: assuming that the DOM data does not suffer from distortion at the map resolution, the level corresponding to the lowest map resolution is used as the initial level.

[0095] The map tile data formats obtained using the aforementioned tiling algorithm EPSG:900913 include WebP, PNG, and JPEG. Considering the need to minimize disk space usage, and because WebP format tiles occupy less disk space than PNG format tiles at the same image resolution, this invention stores map tiles and target area tiles at levels 14 and below (including level 14) in PNG format, and map tiles and target area tiles at levels 14 and above in WebP format.

[0096] The specific process of image fusion between high-precision drone aerial images and low-precision Google Maps, where map tiles are matched with their corresponding target area tiles, is as follows: Figure 3 As shown, the original DOM data obtained has a precision of 0.2 meters. Figure 3 Taking the aerial DOM shown as an example, those skilled in the art will know that the original DOM data needs to be sliced ​​to 20 layers. A slicing algorithm is used to process the original DOM data with a precision of 0.2 meters to obtain the tile file corresponding to the original DOM data. Specific methods include:

[0097] The original DOM data with a precision of 0.2 meters is cut to obtain PNG format map tiles of the 14th level and map tiles of the 16th level, wherein the image resolution of the map tiles of the 14th level is 1024x1024, and the 14th level is the initial level of the cut of the original DOM data; the image resolution of the map tiles of the 16th level is 4096x4096, and the map tiles of the 16th level with the image resolution of 4096x4096 are taken as first map tiles;

[0098] According to the tile information of the map tiles of the 14th level, the map tiles of the 14th level are image fused with target area tiles of Google Maps under the tile information to obtain tile files corresponding to the map tiles of the 14th level; Figure 3

[0099] The tile files corresponding to the map tiles of the 14th level are split to obtain map tiles of the 15th level and map tiles of the 16th level with the image resolution of 256x256 and the data format of WebP, and the map tiles of the 16th level with the image resolution of 256x256 are taken as second map tiles;

[0100] The first map tiles and the second map tiles are image fused to obtain third map tiles, and the third map tiles represent the map tiles of the 16th level; Figure 3 According to the tile information of the third map tiles, the third map tiles are image fused with target area tiles of Google Maps under the tile information to obtain tile files corresponding to the map tiles of the 16th level;

[0101] The tile files corresponding to the map tiles of the 14th level are split to obtain map tiles of the 17th level, map tiles of the 18th level, map tiles of the 19th level and map tiles of the 20th level with the image resolution of 256x256 and the data format of WebP;

[0102] According to the tile information of the map tiles of the 17th level, the map tiles of the 17th level are image fused with target area tiles of Google Maps under the tile information to obtain tile files corresponding to the map tiles of the 17th level;

[0103] According to the tile information of the map tiles of the 18th level, the map tiles of the 18th level are image fused with target area tiles of Google Maps under the tile information to obtain tile files corresponding to the map tiles of the 18th level;

[0104]

[0105] ​​According to the tile information of the 19th level map tile, the 19th level map tile is image fused with a target area tile of the Google map under the tile information, so as to obtain a tile file corresponding to the 19th level map tile;

[0106] According to the tile information of the 20th level map tile, the 20th level map tile is image fused with a target area tile of the Google map under the tile information, so as to obtain a tile file corresponding to the 20th level map tile.

[0107] It should be noted that the "splitting" in the present application means image cropping processing; the maximum level of the currently available Google map is 14 levels, so when the original DOM data is cut, the original DOM data is cut to 14 levels; when the original DOM data is cut, the original DOM data is cut to 14 levels and 16 levels, so as to reduce the image fusion time; the 16th level map tile obtained by cutting the original DOM data has a missing area, so the 14th level map tile with an image resolution of 1024x1024 is first fused with the corresponding target area tile, the fused tile file can be cut to 16 levels, and the image resolution of the obtained 16th level map tile is 256x256; the 16th level map tile with an image resolution of 256x256 and 4096x4096 is fused, and subsequent processing is performed according to the fused map tile, so that the maximum level map tile can be cut without wasting the accuracy of the original DOM data, and the map tile will not be blank or missing; for the image resolution of the highest level map tile that needs to be cut from the DOM data, the image resolution of the map tile that is best displayed in the browser is used as the criterion, and after cutting, the tile files corresponding to the map tiles of each level are uploaded to the server for storage.

[0108] The target area tile corresponding to the map tile is obtained according to the row and column number of the map tile, and specifically includes:

[0109] determining a satellite map;

[0110] obtaining a target area tile of the satellite map under the row and column number.

[0111] In the present embodiment, the satellite map is a Google map, and the projection used by the Google map is 3857, which is consistent with the projection of the map tile processed by the cutting algorithm, and the two can be image fused (i.e. image superimposed). In the present application, the image fusion of the map tile and the target area tile can ensure that the blank area in the target area tile is completely filled.

[0112] The acquired DEM data is single-band raster data, that is, a gray image, each DEM data has its own pixel size, and one pixel size corresponds to one precision range. When the pixel size of the DEM data does not meet the requirements or other situations occur, it needs to be resampled. For example, the pixel size of a DEM data is 2m, which is cut into 14 levels of sampling points (sampling point size is 64*64), according to the cutting algorithm, it can be deduced that the corresponding actual geographic range is 2.4km, and each pixel size is 2400 / 64=37.5m, while the original DEM data has a pixel size of 2m, so the pixel size needs to be enlarged from 2m to 37.5m, which is the resampling process. Each DEM data has its own corresponding resolution, for DEM data with a resolution of M*N, the DEM data is divided into a grid with M rows and N columns, each grid corresponds to a pixel, and the sampling point size of the DEM data is M*N; for DEM data with a resolution of M*N, if the sampling point size is 64*64, it means that the DEM data is divided into a grid with 64 rows and 64 columns, each grid corresponds to an image block, and each image block corresponds to a local area with a resolution of (M / 64)*(N / 64) in the DEM data.

[0113] If the DEM data is processed by general resampling algorithm, when the maximum precision of the DEM data is exceeded (in this embodiment, the maximum precision of the DEM data is 30m, and 30m precision is the highest precision of the terrain data that can be obtained in China at present), cutting higher level elevation files will result in multiple elevation points with the same value, the higher the level, the more the same value points, and the intuitive form is that the terrain data will become a ladder state. In order to avoid this situation, the method uses the nearest neighbor method to process the DEM data, and the data format of the elevation file produced by cutting the DEM data by the nearest neighbor method is TXT file, and the data organization mode is 64*64 matrix form. Compared with the elevation file generated in cesium 3dTiles (its data composition mode is 65*65 matrix form, and the values of the adjacent edges of the matrix, that is, the 65th column and the 1st column of the next matrix, are consistent to prevent the occurrence of faults), the method performs interpolation processing on the adjacent two matrices (that is, the adjacent two TXT files, including the left and right adjacent two TXT files and the upper and lower adjacent two TXT files), that is, the last column data of the previous matrix and the first column data of the next matrix are interpolated, and the last column data of the upper matrix and the first column data of the lower matrix are interpolated, so as to feather the matrix junction, prevent the occurrence of faults, ensure the continuity of the data, and reduce the size of the elevation file.

[0114] The skilled in the art can determine the level range of the DEM data which needs to be cut according to the precision of the acquired DEM data, for example, the DEM data with the precision of 30 meters needs to be cut to 14 levels, the DEM data with the precision of 12.5-15 meters needs to be cut to 15 levels, the DEM data with the precision of 7 meters needs to be cut to 16 levels, the DEM data with the precision of 4-5 meters needs to be cut to 17 levels, and the DOM data with the precision of 2 meters needs to be cut to 18 levels.

[0115] For the DEM data, the number of the generated elevation files is related to the geographical range represented by the DEM data, when the DEM data is cut to 14 levels, one elevation file is generated, and when the DEM data is cut to each level, the number of the generated elevation files is 2 k ×2 k k, wherein k represents the number of levels increased on the basis of 14 levels, for example, the geographical range represented by a DEM data is about 2.4 square kilometers, according to the above cutting algorithm, if the DEM data is cut to 14 levels of elevation files, one elevation file is generated, and if the DEM data is cut to 15 levels, four elevation files are generated. In the present application, the reason why the 14th level is taken as the cutting reference in the cutting process of the DEM data is that the highest precision of the free DEM data that can be obtained in China is 30 meters, which corresponds to the cutting tool to generate 14 levels of elevation files with a sampling point size of 64*64.

[0116] The specific process of the picture fusion based on the low-precision DEM data and the high-precision DEM data is shown in Figure 4 , for example, the original DEM data with the precision of 0.2 meters (the aerial DEM shown in Figure 4 ) is taken as an example, the skilled in the art can cut the original DEM data to 18 levels, and the original DEM data with the precision of 0.2 meters is processed by the cutting algorithm to obtain elevation files of different levels, and the specific method comprises:

[0117] The original DEM data is cut to the 14th, 15th, 16th, 17th and 18th levels respectively to obtain DEM image maps of different levels;

[0118] cut the free elevation data with the precision of 30 meters to the 14th level to obtain a raster file storing raster data, the raster file being the target raster file; wherein the storage format of the raster file includes TIFF, img, rst, ENVI hdr, the raster data is a data form that divides space into regular grids, each grid is called a unit (i.e. pixel), and each unit is assigned a corresponding attribute value to represent an entity, and the position of each unit is defined by its row and column number, which includes the level of the raster file where the unit is located, the longitude area and the latitude area corresponding to the unit;

[0119] attaching the value of the corresponding position in the raster file to the position of nodata (i.e. no data) in the DEM image of the 14th level (i.e. fusion, corresponding to Figure 4 the 14-level elevation data merging shown in

[0120] cutting the elevation file of the 14th level to the 15th, 16th, 17th and 18th levels (splitting to the 18th level shown in Figure 4

[0121] for the DEM image of the 15th, 16th, 17th and 18th level, respectively, attaching the value of the corresponding position in the raster file of the corresponding level to the position of nodata (i.e. no data) contained in the DEM image (i.e. respectively fusing the 15th, 16th, 17th and 18th level data shown in Figure 4

[0122] After cutting, the elevation file corresponding to the DEM image of each level is uploaded to the server for storage. This method uses linear interpolation to fuse the raster file corresponding to the low-precision DEM data with the DEM image corresponding to the high-precision DEM data, which can display high-precision terrain data while taking into account the display of low-precision terrain data.

[0123] The mountain model is generated by the tile file produced by the DOM data and the elevation file produced by the DEM data, and the produced tile file and elevation file are stored in the server. When building the mountain model, the client requests the tile file and the elevation file with the same row and column number from the server, and distributes a regional range to 64*64 grids, and the elevation value represented by each grid is provided by the elevation file, and the tile file builds the surface of the mountain model to achieve the effect of dynamic generation. The mountain model produced by this method can restore the precision of the original data (i.e. the DOM data and the DEM data obtained), and the higher the precision of the original data, the higher the precision of the mountain model.

[0124] ​​It should be noted that the DOM data and the DEM data are respectively cut and fused because the visual effect and economic cost are considered, and the method is used to fill in the area with a geographical range of more than 500 meters by using 14-level Google maps and DEM data with a precision of 30 meters. For the DEM data, the precision of 30 meters is the highest precision of the terrain data that can be obtained in China at present; for the target area tile corresponding to the 14-level Google map, it is calculated that one target area tile corresponds to a geographical range of about 2444 meters, and it is known that one sampling point represents a geographical range of about 38 meters by designing a 64*64 matrix, which is greater than and relatively close to the precision of 30 meters of the DEM data, so the 14-level Google map is used for influence filling.

[0125] The display of the mountain model and the line model needs to be realized by cooperation of the front end and the back end, the construction of the mountain model needs the front end (i.e. the client) to request the back end (i.e. the server) to obtain a tile file generated according to the DOM data and an elevation file generated according to the DEM data in the form of row and column numbers, one tile file corresponds to one elevation file, the front end renders the mountain model by using real-time rendering technology, the tile file provides images for the mountain model, and the elevation file provides the changing ups and downs of the mountain for the mountain model. In this embodiment, the front end dynamically renders the mountain model by using WebGL technology.

[0126] The construction of the line model needs to request the vector data of the pipeline entity in the pipeline asset data, and the request mode of the vector data of the pipeline entity has two kinds, one is that the front end inputs the requested range, and the back end performs range query according to the requested range by using the ability of the geospatial database engine, and returns the vector data of all pipeline entities in the range. The other is that the front end inputs the camera position and height, the back end calculates the query range according to the input camera position and height, and then queries according to the calculated query range, and returns the vector data of the pipeline entity required by the front end. After the front end obtains the vector data of the pipeline entity, the line model is dynamically rendered by using real-time rendering technology.

[0127] The construction of the line model according to the pipeline asset data comprises:

[0128] The line model is constructed by using a line design software according to the pipeline asset data.

[0129] Among them, for the obtained pipeline asset data, the method first takes the obtained pipeline asset data as original pipeline asset data, and obtains pipeline asset data for constructing the line model and the station model after data recovery processing on the original pipeline asset data. The data recovery processing on the original pipeline asset data obtains the pipeline asset data, which specifically comprises:

[0130] data cleaning is performed on the original pipeline asset data to obtain intermediate pipeline asset data;

[0131] data governance is performed on the intermediate pipeline asset data to obtain pipeline asset data used for constructing the line model and the station yard name.

[0132] The data cleaning on the original pipeline asset data specifically includes:

[0133] redundant data in the original pipeline asset data is filtered and removed, and obviously erroneous data is corrected or deleted.

[0134] The data governance on the intermediate pipeline asset data specifically includes:

[0135] missing data in the intermediate pipeline asset data is supplemented.

[0136] For the pipeline asset data obtained after data governance, the line model performs warehousing operation on the pipeline resource data, the pipeline asset data is associated with the line model through data mounting, the pipeline asset data is mounted into the line model, dynamic rendering loading is performed by using three-dimensional display technology, and visual operation can be performed through the front end, such as click to view.

[0137] For the line asset data obtained after data processing, after the coordinate information of the entity is obtained through line point detection and weld detection in the pipeline, warehousing operation is directly performed. If three-pile one-plate, crossing, water protection, elbow pipe and other data are detected, the nearest pile number and the relative distance of the nearest pile number are measured. In this method, when processing the data into the warehouse, the horizontal continuous mileage is calculated based on the relative distance of the pile number, and the line model point coordinate information and elevation information are calculated through linear interpolation method according to the horizontal continuous mileage and the horizontal continuous mileage of the weld data.

[0138] For station yard asset data, the station yard asset data is obtained by workers in the station yard during daily maintenance and repair of equipment, including process, instrument, pump, line and other types of data. Through data cleaning on the original station yard asset data, unnecessary system default attribute information in the three-dimensional modeling software is filtered out.

[0139] For the station asset data obtained after data governance, pipeline engineering design, procurement, construction, operation and other stage data are collected by information system, and data correlation, storage and sharing are performed through database to achieve the purpose of complete and accurate digital description of pipeline entity. Among them, the design period data is obtained according to the records in the pipeline preliminary design and detailed design process, the procurement period data is obtained according to the procurement of pipe materials, the construction period data is obtained according to the statistical records of pipeline trenching, landfill and other processes by pipeline construction party in pipeline construction stage, and the operation period data is obtained by instrument acquisition after pipeline construction is completed.

[0140] As shown in Figure 5 The pipeline asset data is mounted into the line model, including welding port data storage and other pipeline entity pipeline data storage. When storing, welding port data needs to be parsed first, and the welding port data is stored, wherein the welding port data includes latitude and longitude data and elevation data of the welding port, and the welding port data is obtained by detecting the pipeline center line point and the welding port. Secondly, three stakes, crossing, water protection, elbow and pipe data need to be parsed. These entity data (hereinafter referred to as intermediate insertion point) lack necessary latitude and longitude data. When parsing and storing, the nearest upstream welding port point and downstream welding port point of the entity are found according to the horizontal continuous mileage, and the coordinate position and elevation position of the current entity are calculated according to the linear interpolation method. The upstream welding port point and the downstream welding port point have coordinate position, elevation information and horizontal continuous mileage. The intermediate insertion point will be between the upstream welding port point and the downstream welding port point. Through linear interpolation, the coordinate position, elevation information and horizontal continuous mileage of the intermediate insertion point can be calculated.

[0141] The station model is rendered and loaded by three-dimensional modeling software and three-dimensional display technology. The station model is constructed according to the station asset data, including:

[0142] The station model is constructed by three-dimensional design software according to the station asset data.

[0143] The three-dimensional design software includes SP3D, PDMS and Revit.

[0144] The mountain model, the line model and the station model are three-dimensionally rendered to obtain a mountain pipeline digital twin system, specifically including:

[0145] The mountain model, the line model and the station model are three-dimensionally displayed in a panoramic view, and the physical entity is mirrored and mapped in a virtual information space to show the whole life cycle condition of the pipeline. In this embodiment, the three-dimensional panoramic display is mainly rendered by WebGL technology to obtain a three-dimensional scene, and the data displayed is provided and supported by a back-end server.

[0146] The mountain model has a modification function, and the modification mode includes replacing a tile file and operating an elevation file. For the elevation file, the front end can perform a height increasing operation or a height decreasing operation on the terrain data. The height increasing operation on the terrain data refers to heightening the terrain elevation, and the height decreasing operation on the terrain data refers to lowering the terrain elevation. For each terrain data that needs to be modified, the mountain model determines point position information in a 64*64 matrix in an elevation file corresponding to the terrain data, increases the value of one or more sampling points when a height increasing operation is needed, and decreases the value of one or more sampling points when a height decreasing operation is needed. The updated elevation file is synchronized to a back-end server through an interface. When the elevation file is operated, the front end provides a visual interface, and all sampling points can be clearly seen. By operating a single sampling point or multiple sampling points, the elevation file can be dynamically modified, and the three-dimensional terrain can be reshaped. For the tile file, when the DOM data needed to build the mountain model needs to be modified, the DOM data needs to be reprocessed to obtain a new tile file, and the mountain model can be built according to the new tile file.

[0147] 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, corresponding to the spatial position in the X-axis, Y-axis and Z-axis directions in space. When the line model is updated, the pipe entity can be dragged, and when the pipe entity is dragged, the back end can calculate the real-time position of other entities attached to the pipe to ensure that all pipe-related entities change positions accordingly.

[0148] Optionally, the above method further comprises:

[0149] A geological disaster early warning system is constructed, and the geological disaster early warning system is used for early warning of natural disasters, and the natural disasters include landslides, debris flows, floods and fires. The geological disaster early warning system includes a monitoring module, a data analysis module, a communication module, a display module and an alarm module, and the monitoring module, the display module and the alarm module are connected with the data analysis module through the communication module.

[0150] The geological disaster early warning system is constructed, and includes:

[0151] The geological environment data is monitored and acquired in real time through a pre-installed monitoring module, and the monitoring module is arranged according to the mountain geology.

[0152] The geological environment data is sent to the data analysis module, the geological environment data is analyzed by the data analysis module and an analysis result is generated, the analysis result is sent to the display module, and the analysis result is displayed by the display module;

[0153] If the analysis result is abnormal, the data analysis module generates an alarm instruction according to the analysis result, sends the alarm instruction to the alarm module, and the alarm module alarms according to the alarm instruction;

[0154] The geological disaster warning system is used for warning natural disasters, and the natural disasters include landslides, mudslides, floods, and fires;

[0155] The mountain model, the line model and the station model are three-dimensionally rendered to obtain a mountain pipeline digital twin system, which comprises:

[0156] The mountain model, the line model, the station model and the geological disaster warning system are three-dimensionally rendered to obtain the mountain pipeline digital twin system.

[0157] The monitoring module is installed in the area including rivers, riverbeds, lands, and pipeline walls, and the monitoring content includes rainfall, water level, flow, flow rate, pipeline strain, displacement, water content, and temperature. The geological environment data collected in real time is stored in a database for analysis by the data analysis module, combined with a map module (i.e., the display module) in a geographic information system, so as to display the geological conditions of each monitoring area. The geographic information system is an information system mainly aimed at the acquisition, transmission, conversion, storage and analysis and utilization of map information. The transmission function of map information runs through the whole process of information transmission from map compilation to map use and from map compiler to map user. The geographic information system comprises a map module, a data module, and an analysis module (i.e., the data analysis module), wherein the map module comprises a map drawing function.

[0158] By integrating geological disaster prevention information resources, perfecting the information-based design of hardware and software and network environment, and establishing a natural gas long-distance pipeline geological disaster warning system integrating distributed storage, intelligent management and efficient information release, the geological disaster warning system can effectively detect ground subsidence, ground sliding, ground collapse, ground stress monitoring information, soil moisture content and other information along the pipeline. If there is a problem (such as excessive pressure on the pipe wall caused by land displacement), the alarm module and the display module in the geological disaster warning system can respectively alarm and display. Combined with the high-consequence area (i.e., the area where the pipeline leakage may cause greater adverse effects on the public and the environment) in the line asset data, disaster warning processing can be effectively made.

[0159] Optionally, the method further comprises:

[0160] The GPS patrol system is constructed for acquiring position information of the patrol personnel;

[0161] The mountain model, the line model and the station model are three-dimensionally rendered to obtain a mountain pipeline digital twin system, which comprises:

[0162] The mountain model, the line model, the station model and the GPS patrol system are three-dimensionally rendered to obtain the mountain pipeline digital twin system.

[0163] The GPS patrol system comprises a handheld terminal and a control terminal, the handheld terminal and the control terminal are connected through a communication module, and the handheld terminal is internally provided with a GPS positioning module;

[0164] The GPS patrol system is constructed, which comprises:

[0165] According to the arrangement of the pipeline, the control terminal is used to set a patrol path for the patrol personnel;

[0166] The communication module is used to send the patrol path to the handheld terminal;

[0167] The handheld terminal is used to send position information of the patrol personnel wearing the handheld terminal to the control terminal in real time, and the control terminal is used to manage the patrol.

[0168] The control terminal is used to set a patrol path for the patrol personnel, the communication module is used to send the patrol path to the handheld terminal, and the patrol personnel performs inspection according to the patrol path. In addition, the control terminal can also set an inspection time and necessary inspection positions for the patrol personnel, and the patrol personnel can also send information (in the form of images, voices, texts, videos, etc.) of hidden dangers, accidents and other unsafe events occurring in the inspection 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 the patrol path, reduce the hidden dangers and accidents, realize early control of the unsafe events and improve the safety quality of the inspection.

[0169] The GPS patrol system can be used to remotely and dynamically supervise and manage the patrol personnel, so as to ensure that the patrol personnel accurately perform the inspection according to the set patrol path, inspection time and necessary inspection positions.

[0170] Optionally, the method further comprises:

[0171] The line model is corrected according to the digital elevation model data and the line model to bury the line model into the ground.

[0172] The line model comprises coordinate positions of the plurality of mountain pipeline center line points, coordinate positions of upstream center line points of the plurality of mountain pipeline center line points, and coordinate positions of downstream center line points of the plurality of mountain pipeline center line points, and the correction of the line model according to the digital elevation model data and the line model to bury the line model into the ground specifically comprises:

[0173] According to the coordinate position of each of the plurality of mountain pipeline center line points, the respective elevation information of each of the plurality of mountain pipeline center line points is determined;

[0174] According to the coordinate position of the upstream center line point of each of the plurality of mountain pipeline center line points, the respective elevation information of the upstream center line point of each of the plurality of mountain pipeline center line points is determined;

[0175] According to the coordinate position of the downstream center line point of each of the plurality of mountain pipeline center line points, the respective elevation information of the downstream center line point of each of the plurality of mountain pipeline center line points is determined;

[0176] According to the digital elevation model data, a ground surface model is constructed, the ground surface model comprising elevation information corresponding to each coordinate position of a mountain ground surface;

[0177] According to the coordinate position of each of the plurality of mountain pipeline center line points, the elevation information of the corresponding coordinate position in the ground surface model is obtained through a pre-constructed pipeline elevation automatic calibration model, to obtain the respective reference elevation information of each of the plurality of mountain pipeline center line points;

[0178] For each of the plurality of mountain pipeline center line points, the pipeline elevation automatic calibration model determines the position state of the mountain pipeline center line point according to the elevation information of the mountain pipeline center line point and the reference elevation information corresponding to the mountain pipeline center line point;

[0179] For each of the plurality of mountain pipeline center line points, if the position state of the mountain pipeline center line point is exposed above the ground surface, the pipeline elevation automatic calibration model determines the target elevation information of the mountain pipeline center line point according to the elevation information of the mountain pipeline center line point and a pre-set depth of pressing into the ground surface, determines the target elevation information of the upstream 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 the 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 determines the target elevation information of the 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 the 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;

[0180] According to the coordinate positions and target elevation information corresponding to the mountain pipeline centerline point, the upstream centerline point of the mountain pipeline centerline point, and the downstream centerline point of the mountain pipeline centerline point, the positions of the pipeline entities of the mountain pipeline centerline point, the upstream section of the mountain pipeline centerline point, and the downstream section of the mountain pipeline centerline point in the route model are adjusted.

[0181] The pipeline elevation automatic calibration model realizes real-time cooperation of the front end and the back end, calculates the position state between the route model and the ground surface model generated according to the elevation file, so as to press the pipeline entity exposed above the ground surface into the ground. The pipeline elevation automatic calibration model automatically updates the pipeline elevation information according to the ground surface elevation information, buries the route model underground, and reflects the true state of the mountain pipeline. When the pipeline elevation automatic calibration model starts to work, it automatically patrols along the pipeline, checks the coordinate position of each pipeline centerline point in the ground surface model, and if the position value of the pipeline centerline point is higher than the position value of the corresponding coordinate in the ground surface model, the elevation value of the pipeline centerline point is obtained according to the ground surface model, the elevation value is subtracted by the press-in ground depth input in the pipeline elevation automatic calibration model to obtain a new position value, the new position value is transmitted to the back end, the back end obtains the coordinate positions and elevation information of the upstream centerline point and the downstream centerline point of the pipeline centerline point, and adjusts the positions of all entities of the upstream section and the downstream section of the pipeline centerline point in the route model according to the new position value by using the linear interpolation method. After the update is completed, a message is returned to the front end, the front end camera view is moved to the next pipeline centerline point for continuous calculation, and finally the elevation update of the entire pipeline centerline is completed. Among them, the pipeline centerline point can be confirmed after the elevation file is imported. The pipeline centerline point contains a coordinate position, and the coordinate position can find a unique coordinate point in the elevation file to confirm the spatial position. According to the confirmed spatial position, the elevation value recorded in the elevation file is obtained, that is, the elevation value of the pipeline centerline point.

[0182] Embodiment Two

[0183] Based on the same principle as the construction method of the mountain pipeline digital twin system in the above embodiment one, this embodiment provides a construction system of a mountain pipeline digital twin system, as shown in Figure 6 , which comprises:

[0184] A data acquisition module is configured to acquire digital orthophoto map data, digital elevation model data, and pipeline asset data, wherein the pipeline asset data comprises route asset data and station asset data.

[0185] A first model construction module is configured to construct a mountain model according to the digital orthophoto map data and the digital elevation model data, wherein the mountain model is used to simulate the ups and downs of the mountain terrain.

[0186] a second model construction module, configured to construct a line model according to the pipeline asset data, the line model being used to simulate a position and a direction of the mountain pipeline;

[0187] a third model construction module, configured to construct a station model according to the station asset data, the station model being used to simulate a position and a shape of the station equipment;

[0188] a system construction module, configured to perform three-dimensional rendering on the mountain model, the line model and the station model to obtain a mountain pipeline digital twin system.

[0189] The first model construction module is specifically configured to:

[0190] perform cutting processing on the digital orthophoto map data according to a pixel size of the digital orthophoto map data to obtain map tiles at different levels;

[0191] For each map tile, a target area tile corresponding to the map tile is obtained according to a row and column number of the map tile, and the map tile and the target area tile are subjected to picture fusion processing to obtain a tile file corresponding to the map tile, wherein the row and column number of the map tile includes a level of the map tile, a longitude area and a latitude area corresponding to the map tile;

[0192] perform cutting processing on the digital elevation model data according to a pixel size of the digital elevation model data to obtain DEM image maps at different levels;

[0193] obtain a target grid file, and obtain elevation files corresponding to the DEM image maps at different levels according to the target grid file;

[0194] The mountain model includes the tile file and the elevation file.

[0195] The second model construction module is specifically configured to:

[0196] construct a line model by using a line design software according to the pipeline asset data.

[0197] The third model construction module is specifically configured to:

[0198] construct a station model by using a three-dimensional design software according to the station asset data.

[0199] Optionally, the system further includes:

[0200] A fourth model construction module is configured to construct a geological disaster early warning system for early warning of 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, and the monitoring module, the display module and the alarm module are connected with the data analysis module through the communication module;

[0201] The fourth model construction module is specifically configured to:

[0202] The monitoring module is configured to monitor and acquire geological environment data in real time;

[0203] The data analysis module is configured to analyze the geological environment data and generate an analysis result, and the display module is configured to display the analysis result.

[0204] 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 alarms according to the alarm instruction.

[0205] The system construction module is specifically configured to:

[0206] The mountain model, the line model, the station model and the geological disaster early warning system are three-dimensionally rendered to obtain the mountain pipeline digital twin system.

[0207] Optionally, the system further comprises:

[0208] A fifth model construction module is configured to construct a GPS line inspection system for acquiring position information of line inspection personnel; the GPS line inspection system comprises a handheld terminal and a control terminal, the handheld terminal and the control terminal are connected through a communication module, and the handheld terminal is internally provided with a GPS positioning module.

[0209] The fifth model construction module is specifically configured to:

[0210] According to the arrangement of the pipeline, the control terminal sets a line inspection path for the line inspection personnel;

[0211] The communication module is configured to send the line inspection path to the handheld terminal;

[0212] The handheld terminal is configured to send position information of the line inspection personnel wearing the handheld terminal to the control terminal in real time, and the control terminal is configured to manage line inspection.

[0213] The system construction module is specifically configured to perform three-dimensional rendering on the mountain model, the line model, the station model and the GPS line inspection system to obtain the mountain pipeline digital twin system.

[0214] Optionally, the system further comprises:

[0215] A model correction module configured to correct the line model according to the digital elevation model data and the line model to bury the line model in the ground.

[0216] The line model comprises coordinate positions of a plurality of mountain pipeline centerline points, coordinate positions of upstream centerline points of the plurality of mountain pipeline centerline points and coordinate positions of downstream centerline points of the plurality of mountain pipeline centerline points, and the model correction module is specifically configured to:

[0217] Determine the respective elevation information of each mountain pipeline centerline point according to the coordinate position of each mountain pipeline centerline point;

[0218] Determine the respective elevation information of the upstream centerline point of each mountain pipeline centerline point according to the coordinate position of the upstream centerline point of each mountain pipeline centerline point;

[0219] Determine the respective elevation information of the downstream centerline point of each mountain pipeline centerline point according to the coordinate position of the downstream centerline point of each mountain pipeline centerline point;

[0220] Construct a ground surface model according to the digital elevation model data, the ground surface model comprising elevation information corresponding to each coordinate position of a mountain ground surface;

[0221] Obtain the elevation information of the coordinate position in the ground surface model corresponding to the coordinate position of each mountain pipeline centerline point to obtain the respective reference elevation information of each mountain pipeline centerline point according to the coordinate position of each mountain pipeline centerline point;

[0222] For each mountain pipeline centerline point, determine 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;

[0223] For each of the mountain pipeline centerline points, if the position state of the mountain pipeline centerline point is exposed above the ground, according to the elevation information of the mountain pipeline centerline point and the preset depth of pressing into the ground, the target elevation information of the mountain pipeline centerline point is determined, according to the coordinate position of the mountain pipeline centerline point, the target elevation information of the mountain pipeline centerline point, the coordinate position of the upstream centerline point of the mountain pipeline centerline point and the elevation information of the upstream centerline point of the mountain pipeline centerline point, the target elevation information of the upstream centerline point of the mountain pipeline centerline point is determined, according to the coordinate position of the mountain pipeline centerline point, the target elevation information of the mountain pipeline centerline point, the coordinate position of the downstream centerline point of the mountain pipeline centerline point and the elevation information of the downstream centerline point of the mountain pipeline centerline point, the target elevation information of the downstream centerline point of the mountain pipeline centerline point is determined;

[0224] According to the coordinate position and the target elevation information corresponding to each of the mountain pipeline centerline point, the upstream centerline point of the mountain pipeline centerline point and the downstream centerline point of the mountain pipeline centerline point, the position of the pipeline entity of the mountain pipeline centerline point, the upstream section of the mountain pipeline centerline point and the downstream section of the mountain pipeline centerline point in the route model is adjusted.

[0225] Embodiment three

[0226] Based on the same principle as the construction method of the mountain pipeline digital twin system in the above embodiment one, this embodiment provides an electronic device, which includes a memory, a processor and a computer program stored on the memory and executable on the processor, and the processor implements the construction method of the mountain pipeline digital twin system as described in embodiment one when executing the computer program.

[0227] Embodiment four

[0228] Based on the same principle as the construction method of the mountain pipeline digital twin system in the above embodiment one, this embodiment provides a computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the construction method of the mountain pipeline digital twin system as described in embodiment one.

[0229] Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above embodiments within the scope of the present application.

Claims

1. A method for constructing a digital twin system for mountain pipelines, characterized in that, include: Acquire digital orthophoto imagery data, digital elevation model data, and pipeline asset data, wherein the pipeline asset data includes route asset data and station asset data; Based on the digital orthophoto image data and the digital elevation model data, a mountain model is constructed, which is used to simulate the undulations of mountain terrain; Based on the pipeline asset data, a route model is constructed, which is used to simulate the location and direction of the mountain pipeline; Based on the station asset data, a station model is constructed, which is used to simulate the location and shape of station equipment; The mountain model, the route model, and the station model are rendered in three dimensions to obtain a digital twin system for the mountain pipeline. Also includes: Based on the digital elevation model data and the route model, the route model is corrected so that it can be buried in the ground; The route model includes the coordinate positions of multiple centerline points of the mountain pipeline, the coordinate positions of upstream centerline points of multiple centerline points of the mountain pipeline, and the coordinate positions of downstream centerline points of multiple centerline points of the mountain pipeline. The step of correcting the route model based on the digital elevation model data and the route model, in order to bury the route model in the ground, specifically includes: Based on the coordinates of each centerline point of the mountain pipeline, determine the elevation information corresponding to each centerline point of the mountain pipeline. Based on the coordinates of the upstream centerline point of each mountain pipeline centerline point, determine the elevation information corresponding to the upstream centerline point of each mountain pipeline centerline point; Based on the coordinates of the downstream centerline point of each mountain pipeline centerline point, determine the elevation information corresponding to each downstream centerline point of each mountain pipeline centerline point; Based on the digital elevation model data, a surface model is constructed, which includes elevation information corresponding to various coordinate locations on the mountain surface. Based on the coordinate position of each centerline point of the mountain pipeline, the elevation information of the corresponding coordinate position in the surface model is obtained, and the reference elevation information corresponding to each centerline point of the mountain pipeline is obtained. For each of the mountain pipeline centerline points, the position status of the mountain pipeline centerline point is determined based on the elevation information of the mountain pipeline centerline point and the benchmark elevation information corresponding to the mountain pipeline centerline point; For each of the mountain pipeline centerline points, if the position of the mountain pipeline centerline point is exposed above the ground, the target elevation information of the mountain pipeline centerline point is determined based on the elevation information of the mountain pipeline centerline point and the preset ground penetration depth. The target elevation information of the upstream centerline point of the mountain pipeline centerline point is determined based on the coordinate position of the mountain pipeline centerline point, the target elevation information of the mountain pipeline centerline point, the coordinate position of the upstream centerline point of the mountain pipeline centerline point, and the elevation information of the upstream centerline point of the mountain pipeline centerline point. The target elevation information of the downstream centerline point of the mountain pipeline centerline point is determined based on the coordinate position of the mountain pipeline centerline point, the target elevation information of the mountain pipeline centerline point, the coordinate position of the downstream centerline point of the mountain pipeline centerline point, and the elevation information of the downstream centerline point of the mountain pipeline centerline point. Based on the coordinate positions and target elevation information of the mountain pipeline centerline point, the upstream centerline point of the mountain pipeline centerline point, and the downstream centerline point of the mountain pipeline centerline point, the positions of the pipeline entities of the mountain pipeline centerline point, the upstream section of the mountain pipeline centerline point, and the downstream section of the mountain pipeline centerline point in the route model are adjusted.

2. The method according to claim 1, characterized in that, Also includes: A geological disaster early warning system is constructed, which is used to issue early warnings of natural disasters; The geological disaster early warning system includes a monitoring module, a data analysis module, a communication module, a display module, and an alarm module. The monitoring module, the display module, and the alarm module are connected to the data analysis module through the communication module. The construction of the geological disaster early warning system includes: Geological environment data is monitored and acquired in real time through pre-installed monitoring modules; The geological environment data is sent to the data analysis module, which analyzes the data and generates analysis results. The analysis results are then sent to the display module, which displays the results. If the analysis results are abnormal, the data analysis module generates an alarm command based on the analysis results and sends the alarm command to the alarm module, which then issues an alarm based on the alarm command. The process of performing 3D rendering on the mountain model, the pipeline model, and the station model to obtain a digital twin system for mountain pipelines includes: The mountain model, the pipeline model, the station model, and the geological disaster early warning system are rendered in three dimensions to obtain the digital twin system of the mountain pipeline.

3. The method according to claim 1, characterized in that, Also includes: A GPS line patrol system is constructed, which is used to obtain the location information of patrol personnel; the GPS line patrol system includes a handheld terminal and a control terminal, which are connected through a communication module, and the handheld terminal has a built-in GPS positioning module. The construction of the GPS line inspection system includes: Based on the pipeline layout, the patrol route for patrol personnel is set through the control terminal; The patrol path is sent to the handheld terminal via the communication module; The location information of the patrol personnel wearing the handheld terminal is sent to the control terminal in real time through the handheld terminal, and the patrol management is carried out through the control terminal. The process of performing 3D rendering on the mountain model, the pipeline model, and the station model to obtain a digital twin system for mountain pipelines includes: The mountain model, the route model, the station model, and the GPS line inspection system are rendered in three dimensions to obtain the digital twin system of the mountain pipeline.

4. The method according to claim 1, characterized in that, The step of constructing a mountain model based on the digital orthophoto image data and the digital elevation model data includes: Based on the pixel size of the digital orthophoto image data, the digital orthophoto image data is sliced ​​to obtain map tiles of different levels; For each map tile, the target area tile corresponding to the map tile is obtained according to the row and column number of the map tile. The map tile and the target area tile are then image fusion processed to obtain the tile file corresponding to the map tile. The row and column number of the map tile includes the layer of the map tile, the longitude region and the latitude region corresponding to the map tile. Based on the pixel size of the digital elevation model data, the digital elevation model data is sliced ​​to obtain DEM image maps of different levels. Obtain the target raster file, and based on the target raster file, obtain the elevation files corresponding to the DEM image at different levels; The mountain model includes the tile file and the elevation file.

5. The method according to claim 1, characterized in that, The step of constructing a route model based on the pipeline asset data includes: Based on the pipeline asset data, a pipeline model is constructed using pipeline design software.

6. The method according to claim 1, characterized in that, The step of constructing a station model based on the station asset data includes: Based on the station asset data, a station model is constructed using 3D design software.

7. A system for constructing a digital twin system for mountain pipelines, characterized in that, include: The data acquisition module is used to acquire digital orthophoto image data, digital elevation model data, and pipeline asset data, wherein the pipeline asset data includes route asset data and station asset data. The first model construction module is used to construct a mountain model based on the digital orthophoto image data and the digital elevation model data. The mountain model is used to simulate the undulations of mountain terrain. The second model building module is used to build a route model based on the pipeline asset data. The route model is used to simulate the location and direction of the mountain pipeline. The third model construction module is used to construct a station model based on the station asset data. The station model is used to simulate the location and shape of station equipment. The system construction module is used to perform three-dimensional rendering of the mountain model, the route model and the station model to obtain a digital twin system of mountain pipelines. Also includes: Based on the digital elevation model data and the route model, the route model is corrected so that it can be buried in the ground; The route model includes the coordinate positions of multiple centerline points of the mountain pipeline, the coordinate positions of upstream centerline points of multiple centerline points of the mountain pipeline, and the coordinate positions of downstream centerline points of multiple centerline points of the mountain pipeline. The step of correcting the route model based on the digital elevation model data and the route model, in order to bury the route model in the ground, specifically includes: Based on the coordinates of each centerline point of the mountain pipeline, determine the elevation information corresponding to each centerline point of the mountain pipeline. Based on the coordinates of the upstream centerline point of each mountain pipeline centerline point, determine the elevation information corresponding to the upstream centerline point of each mountain pipeline centerline point; Based on the coordinates of the downstream centerline point of each mountain pipeline centerline point, determine the elevation information corresponding to each downstream centerline point of each mountain pipeline centerline point; Based on the digital elevation model data, a surface model is constructed, which includes elevation information corresponding to various coordinate locations on the mountain surface. Based on the coordinate position of each centerline point of the mountain pipeline, the elevation information of the corresponding coordinate position in the surface model is obtained, and the reference elevation information corresponding to each centerline point of the mountain pipeline is obtained. For each of the mountain pipeline centerline points, the position status of the mountain pipeline centerline point is determined based on the elevation information of the mountain pipeline centerline point and the benchmark elevation information corresponding to the mountain pipeline centerline point; For each of the mountain pipeline centerline points, if the position of the mountain pipeline centerline point is exposed above the ground, the target elevation information of the mountain pipeline centerline point is determined based on the elevation information of the mountain pipeline centerline point and the preset ground penetration depth. The target elevation information of the upstream centerline point of the mountain pipeline centerline point is determined based on the coordinate position of the mountain pipeline centerline point, the target elevation information of the mountain pipeline centerline point, the coordinate position of the upstream centerline point of the mountain pipeline centerline point, and the elevation information of the upstream centerline point of the mountain pipeline centerline point. The target elevation information of the downstream centerline point of the mountain pipeline centerline point is determined based on the coordinate position of the mountain pipeline centerline point, the target elevation information of the mountain pipeline centerline point, the coordinate position of the downstream centerline point of the mountain pipeline centerline point, and the elevation information of the downstream centerline point of the mountain pipeline centerline point. Based on the coordinate positions and target elevation information of the mountain pipeline centerline point, the upstream centerline point of the mountain pipeline centerline point, and the downstream centerline point of the mountain pipeline centerline point, the positions of the pipeline entities of the mountain pipeline centerline point, the upstream section of the mountain pipeline centerline point, and the downstream section of the mountain pipeline centerline point in the route model are adjusted.

8. An electronic device, characterized in that, The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements a method for constructing a digital twin system for mountain pipelines according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements a method for constructing a digital twin system for mountain pipelines according to any one of claims 1 to 6.