Lightweight method and device for three-dimensional model of power transmission and transformation engineering based on power GIM

By analyzing, slicing and rendering the transmission and transformation engineering model, tile data is generated and displayed on the three-dimensional display platform, the problem of low model display efficiency and performance bottleneck is solved, and efficient and cross-platform three-dimensional model display is realized , improves the efficiency of viewing in the browser.

CN113112594BActive Publication Date: 2024-12-27GUANGDONG POWER GRID CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110447119.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-23
Publication Date
2024-12-27
Estimated Expiration
2041-04-23

AI Technical Summary

Technical Problem

In the existing technology, there are performance bottlenecks in the transmission and transformation engineering model display, which leads to browser crashes and low efficiency. The design data in the form of drawings is not intuitive, which makes it difficult to view, low review efficiency, and high operation and maintenance costs.

Method used

Using a three-dimensional model lightweight method based on power GIM, the original model data is re-parsed and assembled into json data, sliced ​​and generated tile data, and used custom LOD rendering rules and rendering scheduling algorithm to be used on the three-dimensional display platform. Lightweight display, load appropriate detailed data based on perspective, and generate multi-resolution hierarchical models.

Benefits of technology

It realizes efficient display of three-dimensional model of power transmission and transformation engineering in the browser, which is convenient to display, fast rendering speed, cross-platform, retains the geometric accuracy and attributes of the original design, and improves viewing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113112594B_ABST
    Figure CN113112594B_ABST
Patent Text Reader

Abstract

The present application discloses a lightweight method and device for a three-dimensional model of a power transmission and transformation project based on electric power GIM, the method comprising: re-parsing and assembling the original model data into json data, and processing part of the data to obtain new model data; slicing the new model data, and assembling the data according to the scheduling algorithm according to the map level to generate tile data; and lightweight displaying the tile data through a three-dimensional display platform. Through the above method, the present application has the characteristics of convenient display, fast rendering speed, cross-platform, and high lightweight, while retaining the geometric accuracy and attributes of the original design, and browsing in a browser with extremely high viewing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of data processing and power system review and operation and maintenance technology, and in particular to a method and device for lightweighting a three-dimensional model of a power transmission and transformation project based on power GIM. Background Art

[0002] In recent years, with the rapid development of the economy, the electricity demand of the whole society has grown very fast. The scale of power transmission and transformation projects to be built and operated is getting larger and larger. The requirements of power grid companies for design, review, construction and operation are getting higher and higher, and the demand for improving input-output ratio is stronger than before. On the other hand, in terms of the design, review, construction and operation of power transmission and transformation projects, the design of power transmission and transformation projects is extremely complex, with many influencing factors. A slight change in the preconditions will lead to changes in the overall design plan, which brings great complexity to the design, review, construction and operation. In the past, design was mainly done through CAD drawing, and the review was also conducted by viewing the drawings and related materials. If the designed power transmission and transformation projects can now be browsed, reviewed and operated through the browser, it will bring great convenience to the relevant personnel and improve work efficiency. In addition, the delivery of design data in the form of drawings still has problems such as unintuitive viewing, large amount of data, relatively troublesome viewing, low review efficiency and high operation and maintenance costs.

[0003] In the past model display, directly converting the model into 3D-tiles and loading it would encounter performance bottlenecks, and in serious cases, it could cause the browser to crash. Summary of the invention

[0004] The present application provides a method and device for lightweighting a three-dimensional model of a power transmission and transformation project based on electric power GIM, so as to solve the problems of many errors and low efficiency in model display in the prior art.

[0005] In order to solve the above technical problems, the present application proposes a lightweight method for three-dimensional models of power transmission and transformation projects based on power GIM, including: re-parsing and assembling the original model data into json data, and processing part of the data to obtain new model data; slicing the new model data, and assembling the data according to the scheduling algorithm according to the map level to generate tile data; and lightweight displaying the tile data through a three-dimensional display platform.

[0006] Optionally, the tile data is lightweight displayed through a three-dimensional display platform, including: using customized LOD rendering rules and rendering scheduling algorithms to complete the lightweight display of the three-dimensional model of the power transmission and transformation project; wherein the rendering scheduling algorithm is based on the 3d-tiles scheduling principle, scheduling tile data into / out of the rendering queue, and rendering / releasing mesh objects based on the LOD rendering rules to achieve lightweight display of the three-dimensional model of the power transmission and transformation project.

[0007] Optionally, the LOD rendering rules include: dividing the three-dimensional model of the power transmission and transformation project into a number of squares, each square including a GIM model entity; loading the model data of the corresponding squares under the current perspective according to different perspectives; processing the three-dimensional model of the power transmission and transformation project according to the distance of the perspective, only loading the outline data when the distance exceeds the set value, and displaying the detailed data of the three-dimensional model of the power transmission and transformation project when the distance is less than the set value.

[0008] Optionally, the new model data is vector data, and the tile data constitutes a tile model. The tile model is a multi-resolution hierarchical model. From the bottom to the top of the tile pyramid, the resolution becomes lower and lower, but the represented geographical range remains unchanged.

[0009] Optionally, the new model data is sliced ​​and assembled according to the scheduling algorithm according to the map level to generate tile data, including: dividing the vector data into tiles according to the quadtree index, each tile stores the vector data in the area, and adding custom LOD rendering rule data to the tile, and finally generating tile data.

[0010] In order to solve the above technical problems, the present application proposes a lightweight device for a three-dimensional model of a power transmission and transformation project based on electric power GIM, including: a data parsing module, which is used to re-parse and assemble the original model data into json data, and process part of the data to obtain new model data; a slicing processing module, which is used to slice the new model data, and assemble the data according to the scheduling algorithm according to the map level to generate tile data; a lightweight display module, which is used to lightweight display the tile data through a three-dimensional display platform.

[0011] Optionally, the lightweight display module is also used to complete the lightweight display of the three-dimensional model of the power transmission and transformation project using customized LOD rendering rules and rendering scheduling algorithms; wherein the rendering scheduling algorithm is based on the 3d-tiles scheduling principle, schedules tile data in / out of the rendering queue, and renders / releases mesh objects based on LOD rendering rules to achieve lightweight display of the three-dimensional model of the power transmission and transformation project.

[0012] Optionally, the LOD rendering rules include: dividing the three-dimensional model of the power transmission and transformation project into a number of squares, each square including a GIM model entity; loading the model data of the corresponding squares under the current perspective according to different perspectives; processing the three-dimensional model of the power transmission and transformation project according to the distance of the perspective, only loading the outline data when the distance exceeds the set value, and displaying the detailed data of the three-dimensional model of the power transmission and transformation project when the distance is less than the set value.

[0013] Optionally, the new model data is vector data, and the tile data constitutes a tile model. The tile model is a multi-resolution hierarchical model. From the bottom to the top of the tile pyramid, the resolution becomes lower and lower, but the represented geographical range remains unchanged.

[0014] Optionally, the slice processing module is further used to slice the vector data into tiles according to the quadtree index, each tile stores the vector data in the region, and adds custom LOD rendering rule data to the tile, and finally generates tile data.

[0015] This application proposes a lightweight method and device for a three-dimensional model of a power transmission and transformation project based on electric power GIM. The method includes: re-parsing and assembling the original model data into json data, and processing part of the data to obtain new model data; slicing the new model data, and assembling the data according to the scheduling algorithm according to the map level to generate tile data; and lightweight displaying the tile data through a three-dimensional display platform. Through the above method, this application has the characteristics of convenient display, fast rendering speed, cross-platform, and high lightweight, while retaining the geometric accuracy and attributes of the original design, and browsing in the browser with extremely high viewing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the implementation manner will be briefly introduced below. Obviously, the drawings described below are only some implementation manners of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 It is a flow chart of an embodiment of a method for lightweighting a three-dimensional model of a power transmission and transformation project based on power GIM of the present application;

[0018] Figure 2 This is a diagram illustrating the basic rules of LOD rendering rules;

[0019] Figure 3 It is a structural schematic diagram of an embodiment of a lightweight device for a three-dimensional model of a power transmission and transformation project based on electric power GIM in the present application. DETAILED DESCRIPTION

[0020] In order to enable those skilled in the art to better understand the technical solution of the present application, the method and device for lightweighting the three-dimensional model of power transmission and transformation engineering based on power GIM provided by the present application are further described in detail below in combination with the accompanying drawings and specific implementation methods.

[0021] Glossary:

[0022] GIM: (Grid Information Model) is the grid information model. The GIM file is the standard output file of the grid three-dimensional design results.

[0023] json: JavaScript Object Notation, a lightweight data exchange format.

[0024] LOD: Levels of Detail, which means multi-level detail model technology.

[0025] 3d-tiles: is an open specification for streaming large-scale heterogeneous 3D geospatial datasets.

[0026] This application proposes a lightweight method for three-dimensional model of power transmission and transformation engineering based on power GIM. Figure 1 , Figure 1 This is a flow chart of an embodiment of a lightweight method for a three-dimensional model of a power transmission and transformation project based on power GIM of the present application. In this embodiment, the following steps may be specifically included:

[0027] S110: re-parse and assemble the original model data into JSON data, and process part of the data to obtain new model data.

[0028] This step mainly includes two aspects of work. First, re-parse and assemble the original model data into json data, because the original model data cannot be directly used by the front end in a friendly way. Second, expand the tower data of long and short legs. The original data shows the tower information of body one, body two, tower legs, and all parameterized descriptions of each tower leg in the four quadrants according to the current length. Perform calculations in this step and only retain the data of the current quadrant, saving the amount of calculation data in the front end.

[0029] S120: Slice the new model data, and assemble the data according to the map level according to the scheduling algorithm to generate tile data.

[0030] The new model data is vector data. The vector data calculated and converted in step S110 is sliced, and the data is assembled according to the scheduling algorithm according to the map level to generate tile data. Vector data refers to data that uses x and y coordinates to represent the position and shape of map graphics or geographic entities in rectangular coordinates. Vector data generally records coordinates to accurately represent the spatial position of geographic entities as much as possible.

[0031] Tile data composes a tile model, which is a multi-resolution hierarchical model. From the bottom to the top of the tile pyramid, the resolution becomes lower and lower, but the geographical range represented remains unchanged.

[0032] Optionally, the new model data is sliced ​​and assembled according to the scheduling algorithm according to the map level to generate tile data, including: dividing the vector data into tiles according to the quadtree index, each tile stores the vector data in the area, and adding custom LOD rendering rule data to the tile for use in lightweight display in step S130, and finally generating tile data.

[0033] S130: Lightweight display of tile data through a three-dimensional display platform.

[0034] Specifically, after the tile data is generated in step S120, the front desk can use the three-dimensional display platform to complete the lightweight display of the three-dimensional model of the power transmission and transformation project by using the customized LOD rendering rules and rendering scheduling algorithm.

[0035] Among them, the rendering scheduling algorithm is based on the 3d-tiles scheduling principle, which schedules tile data in / out of the rendering queue and renders / releases mesh objects based on LOD rendering rules to achieve lightweight display of the three-dimensional model of the power transmission and transformation project.

[0036] When browsing the model, on the one hand, according to different viewing angles, only the tower data corresponding to the grid under the current viewing angle can be loaded; on the other hand, the tower can be processed according to the distance of the viewing angle. When the distance exceeds the set value, only the outline data will be loaded, and when the distance is less than the set value, the detailed data of the three-dimensional data of the power transmission and transformation project will be displayed.

[0037] It should be noted that the data after the slicing process in step S120 can be directly loaded as a static file through the browser in step S130, and then displayed in the above manner.

[0038] For a better understanding of LOD rendering rules, see Figure 2 , Figure 2 This is a diagram illustrating the basic rules of LOD rendering rules.

[0039] Mesh Type: Mesh type

[0040] Geometry LOD: Multiple levels of detail of geometry

[0041] Model LOD: Multiple levels of detail of the model

[0042] The LOD rendering rules include: dividing the three-dimensional model of the power transmission and transformation project into several squares, each of which includes a GIM model entity; loading the model data of the corresponding square under the current perspective according to different viewing angles; processing the three-dimensional model of the power transmission and transformation project according to the distance of the viewing angle, only loading the outline data when the distance exceeds the set value, and displaying the detailed data of the three-dimensional model of the power transmission and transformation project when the distance is less than the set value.

[0043] Specifically, it is divided into three aspects and examples are as follows:

[0044] 1. For a whole project gim, the scene is very large. For example, if it is a 10,000 square meter space, the space is divided into 1024*1024 small squares. Each square will be filled with a specific gim model entity. However, for each user's perspective, the largest perspective is to see the entire 1024*1024 grid, but when the camera is zoomed in, only part of the grid data in 1024*1024 can be seen. Each time loading, only the data of the grid that the user can see is loaded.

[0045] 2. Display the details of the gim model according to the distance of the viewing angle. If it is too far away, the gim model will be just a line. The detailed data of the gim model will be gradually loaded when the viewing angle is closer.

[0046] 3. For the pole tower in the gim model, the tower is not displayed when the distance is far. As the distance gradually gets closer, it is displayed in sequence as follows: a straight line, the outline of the pole tower, the specific material of the pole tower, the details of the insulator string of the pole tower, the specific details of the tower base, etc. For the performance-consuming component such as the insulator string, the data volume is downgraded and will not be loaded into the browser all at once.

[0047] The lightweight method of the three-dimensional model of the power transmission and transformation project based on the power GIM of this embodiment has the characteristics of easy display, fast rendering speed, cross-platform, and high lightweight. At the same time, it retains the geometric accuracy and properties of the original design, and can be browsed in the browser with extremely high viewing efficiency.

[0048] Based on the above-mentioned method for lightweighting the three-dimensional model of power transmission and transformation engineering based on power GIM, this application proposes a lightweight device for the three-dimensional model of power transmission and transformation engineering based on power GIM, please refer to Figure 3 , Figure 3 3. The schematic diagram of the structure of an embodiment of a lightweight device for a three-dimensional model of a power transmission and transformation project based on the power GIM of the present application. In this embodiment, the lightweight device 300 for a three-dimensional model of a power transmission and transformation project based on the power GIM may include a data parsing module 310, a slicing processing module 320 and a lightweight display module 330.

[0049] The data analysis module 310 is used to re-analyze the original model data to assemble it into JSON data, and process part of the data to obtain new model data;

[0050] The slicing processing module 320 is used to slice the new model data and assemble the data according to the scheduling algorithm according to the map level to generate tile data;

[0051] The lightweight display module 330 is used to display the tile data in a lightweight manner through a three-dimensional display platform.

[0052] Optionally, the lightweight display module 330 is also used to complete the lightweight display of the three-dimensional model of the power transmission and transformation project using customized LOD rendering rules and rendering scheduling algorithms; wherein the rendering scheduling algorithm is based on the 3d-tiles scheduling principle, schedules tile data in / out of the rendering queue, and renders / releases mesh objects based on LOD rendering rules to achieve lightweight display of the three-dimensional model of the power transmission and transformation project.

[0053] Optionally, the LOD rendering rules include: dividing the three-dimensional model of the power transmission and transformation project into a number of squares, each square including a GIM model entity; loading the model data of the corresponding squares under the current perspective according to different perspectives; processing the three-dimensional model of the power transmission and transformation project according to the distance of the perspective, only loading the outline data when the distance exceeds the set value, and displaying the detailed data of the three-dimensional model of the power transmission and transformation project when the distance is less than the set value.

[0054] Optionally, the new model data is vector data, and the tile data constitutes a tile model. The tile model is a multi-resolution hierarchical model. From the bottom to the top of the tile pyramid, the resolution becomes lower and lower, but the represented geographical range remains unchanged.

[0055] Optionally, the slice processing module 320 is further used to slice the vector data into tiles according to the quadtree index, each tile stores the vector data in the region, and adds custom LOD rendering rule data to the tile, and finally generates tile data.

[0056] This application proposes a lightweight method and device for a three-dimensional model of a power transmission and transformation project based on electric power GIM. The method includes: re-parsing and assembling the original model data into json data, and processing part of the data to obtain new model data; slicing the new model data, and assembling the data according to the scheduling algorithm according to the map level to generate tile data; and lightweight displaying the tile data through a three-dimensional display platform. Through the above method, this application has the characteristics of convenient display, fast rendering speed, cross-platform, and high lightweight, while retaining the geometric accuracy and attributes of the original design, and browsing in the browser with extremely high viewing efficiency.

[0057] It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. In addition, for ease of description, only some structures related to the present application are shown in the accompanying drawings, rather than all structures. The step numbers used in the text are also only for the convenience of description and are not used as a limitation on the order in which the steps are executed. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0058] The terms "first", "second", etc. in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0059] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0060] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A lightweight method for three-dimensional model of power transmission and transformation engineering based on power GIM, characterized in that: include: Reparse and assemble the original model data into JSON data, and process some of the data to obtain new model data; The new model data is vector data; Slice the new model data, and assemble the data according to the map level according to the scheduling algorithm to generate tile data; The slicing process of the new model data and assembling the data according to the scheduling algorithm according to the map level to generate tile data includes: slicing the vector data into tiles according to the quadtree index, each tile stores the vector data in the region, and adding the custom LOD rendering rule data to the tile, and finally generating the tile data; The customized LOD rendering rule data includes: according to different viewing angles, only the tower data corresponding to the grid under the current viewing angle is loaded; according to the distance of the viewing angle, the tower is processed, and when the distance exceeds the set value, only the outline data is loaded, and when the distance is less than the set value, the detailed data of the three-dimensional data of the power transmission and transformation project is displayed; Displaying the tile data in a lightweight manner through a three-dimensional display platform; The lightweight display of the tile data through the three-dimensional display platform includes: using a customized LOD rendering rule and a rendering scheduling algorithm to complete the lightweight display of the three-dimensional model of the power transmission and transformation project; Among them, the rendering scheduling algorithm is based on the 3d-tiles scheduling principle, schedules the tile data in / out of the rendering queue, and renders / releases the mesh object based on the LOD rendering rule to achieve lightweight display of the three-dimensional model of the power transmission and transformation project.

2. The lightweight method for three-dimensional model of power transmission and transformation engineering based on power GIM according to claim 1 is characterized in that: The LOD rendering rules include: Dividing the three-dimensional model of the power transmission and transformation project into a plurality of grids, each grid including a GIM model entity; According to different viewing angles, the model data corresponding to the square at the current viewing angle is loaded; The three-dimensional model of the power transmission and transformation project is processed according to the distance of the viewing angle. When the distance exceeds the set value, only the outline data is loaded. When the distance is less than the set value, the detailed data of the three-dimensional model of the power transmission and transformation project is displayed.

3. The lightweight method for three-dimensional model of power transmission and transformation engineering based on power GIM according to claim 1 is characterized in that: The tile data constitute a tile model, and the tile model is a multi-resolution hierarchical model. From the bottom layer to the top layer of the tile pyramid, the resolution becomes lower and lower, but the represented geographical range remains unchanged.

4. A lightweight device for three-dimensional model of power transmission and transformation engineering based on power GIM, characterized in that: include: The data parsing module is used to reparse the original model data and assemble it into JSON data, and process part of the data to obtain new model data; The new model data is vector data; A slicing processing module, used to slice the new model data, and assemble the data according to the scheduling algorithm according to the map level to generate tile data; The working process of the slicing processing module includes: dividing the vector data into tiles according to the quadtree index, each tile stores the vector data in the local area, and adding the custom LOD rendering rule data to the tile, and finally generating the tile data; The customized LOD rendering rule data includes: according to different viewing angles, only the tower data corresponding to the grid under the current viewing angle is loaded; according to the distance of the viewing angle, the tower is processed, and when the distance exceeds the set value, only the outline data is loaded, and when the distance is less than the set value, the detailed data of the three-dimensional data of the power transmission and transformation project is displayed; A lightweight display module, used for lightweight display of the tile data through a three-dimensional display platform; The lightweight display module is also used to complete the lightweight display of the three-dimensional model of the power transmission and transformation project by using the customized LOD rendering rules and rendering scheduling algorithm; Among them, the rendering scheduling algorithm is based on the 3d-tiles scheduling principle, schedules the tile data in / out of the rendering queue, and renders / releases the mesh object based on the LOD rendering rule to achieve lightweight display of the three-dimensional model of the power transmission and transformation project.

5. The lightweight device for three-dimensional model of power transmission and transformation engineering based on electric power GIM according to claim 4 is characterized in that: The LOD rendering rules include: Dividing the three-dimensional model of the power transmission and transformation project into a plurality of grids, each grid including a GIM model entity; According to different viewing angles, the model data corresponding to the square at the current viewing angle is loaded; The three-dimensional model of the power transmission and transformation project is processed according to the distance of the viewing angle. When the distance exceeds the set value, only the outline data is loaded. When the distance is less than the set value, the detailed data of the three-dimensional model of the power transmission and transformation project is displayed.

6. The lightweight device for three-dimensional model of power transmission and transformation engineering based on power GIM according to claim 4 is characterized in that: The tile data constitute a tile model, and the tile model is a multi-resolution hierarchical model. From the bottom layer to the top layer of the tile pyramid, the resolution becomes lower and lower, but the represented geographical range remains unchanged.

Citation Information

Patent Citations

  • Attribute separation-based spatial big data three-dimensional visualization method and platform

    CN108133044A

  • Organization scheduling method, device and equipment for city information model

    CN112287138A