GIM model lightweight processing method and system

By lightening the GIM model, including format conversion, grid simplification and slice caching, the problems of inefficiency and low application integration of traditional GIM models when processing large-scale data are solved, and efficient three-dimensional model display and Interactive operation, suitable for full-cycle applications of power grid engineering.

CN119129029APending Publication Date: 2024-12-13STATE GRID JIANGSU ELECTRIC POWER CO LTD SUZHOU BRANCH
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411115231.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Traditional GIM models face the problems of low storage and processing efficiency and slow rendering speed when processing large-scale power grid data, and the three-dimensional model application integration is low, which cannot meet the needs of full-cycle application.

Method used

The GIM model lightweight processing method includes obtaining multi-source models and converting them into a unified format, performing grid simplification and slice cache processing, generating LOD models at multiple levels of detail, and realizing the model's model through spatial chunking and index optimization. Efficient rendering.

Benefits of technology

It improves the loading efficiency and rendering speed of GIM models, realizes smooth display and interactive operation of three-dimensional design results, is suitable for different application needs and scenarios, saves model loading time and improves rendering efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119129029A_ABST
    Figure CN119129029A_ABST
Patent Text Reader

Abstract

The invention discloses a GIM model lightweight processing method and system. The method comprises the following steps: acquiring a multi-source GIM model, and converting the multi-source GIM model into a preset unified format to obtain a formatted model; performing gridding processing on the formatted model to obtain a three-dimensional grid model, and performing gridding simplification on the three-dimensional grid model to obtain a first simplified model; lightweight processing of slice caching is carried out on the first simplified model, and a second simplified model is obtained; and rendering the second simplified model into a three-dimensional scene loading model. According to the scheme of the invention, the conversion of the GIM model from the three-dimensional design model to the three-dimensional service model is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of three-dimensional model processing, and in particular relates to a GIM model lightweight processing method and system. Background Art

[0002] Grid Information Model (GIM) is a technical standard developed by State Grid Corporation of China to meet the needs of three-dimensional design of power transmission and transformation projects. It is based on parametric information of various disciplines of power grid projects, further absorbs geographic information data (GIS), and combines the characteristics of power transmission and transformation projects. Through information modeling technology and digital collaborative design, it realizes three-dimensional visualization and information sharing of power transmission and transformation projects.

[0003] The GIM model plays a key role in the field of power systems. It is used to manage and integrate various information in the power system, including topology, equipment parameters, load data, power generation information, etc. However, with the increase in the amount of data in the power system and the improvement of real-time requirements, the traditional GIM model may face some challenges, such as the problem of storing and processing large-scale data, and the limitation of real-time performance requirements.

[0004] To address these challenges, the grid information model needs to be lightweight, that is, the size and computational complexity of the model need to be reduced through optimization and simplification while maintaining its performance.

[0005] The grid information model (GIM) technology realizes the efficient sharing of information across systems and platforms within the power grid, avoiding the problem of reduced data accuracy caused by repeated information entry. However, at the technical level, 3D modeling based on the GIM model currently faces problems such as non-universal model exchange format, loss of model classification, model redundancy, and non-standardized attribute storage. The GIM model still faces many challenges at the application level. First, the sources and formats of 3D models obtained by different business departments are not unified; second, the GIM model converted from 3D design is only used as basic data for review and handover, and the 3D design results are insufficiently utilized; third, the existing 3D application platform is generalized, and the application integration is not high, and it cannot be applied throughout the entire cycle of investment, construction, operation, and adjustment.

[0006] In particular, GIM models often contain a large amount of data, including the topology of the power network, equipment parameters, load data, etc. When large-scale power grid data needs to be loaded and rendered, it may lead to problems such as slow data loading speed and high memory usage. In addition, complex calculations are required when rendering GIM models, such as topology analysis and state estimation. These calculations may consume a lot of computing resources, resulting in slow rendering speed, especially when real-time updates are required. Summary of the invention

[0007] In order to solve the deficiencies in the prior art, the present invention provides a GIM model lightweight processing method and system to improve the loading efficiency and fluency of the GIM model.

[0008] In order to solve the above technical problems, the present invention adopts the following technical solutions.

[0009] The present invention first discloses a GIM model lightweight processing method, which includes the following steps:

[0010] Acquire a multi-source GIM model, convert the multi-source GIM model into a preset unified format, and obtain a formatted model;

[0011] Meshing the formatted model to obtain a three-dimensional mesh model, and meshing and simplifying the three-dimensional mesh model into a first simplified model;

[0012] Performing a slice cache lightweight process on the first simplified model to obtain a second simplified model;

[0013] The second simplified model is rendered as a three-dimensional scene loading model.

[0014] The present invention further includes the following preferred embodiments:

[0015] Converting multi-source GIM models to a preset unified format includes:

[0016] Convert multi-source GIM models to UGX file format or UGTile tile data file format.

[0017] The mesh unit of the three-dimensional mesh model is a triangular mesh, and the meshing and simplifying of the three-dimensional mesh model into a first simplified model comprises:

[0018] Delete any vertex of a triangle mesh, triangulate the space formed by adjacent triangle meshes, and / or

[0019] Compress any edge of the triangle mesh into a vertex, so that the triangle mesh adjacent to the compressed edge degenerates.

[0020] and / or

[0021] The patches composed of multiple triangle meshes are shrunk into vertices, so that three vertices of a triangle mesh are shrunk into one new vertex.

[0022] Before performing a lightweight processing of slice cache on the first simplified model, the method further includes:

[0023] The data word length is compressed for the first simplified model.

[0024] The step of performing a lightweight processing of slicing cache on the first simplified model to obtain a second simplified model further includes:

[0025] Performing texture compression and merging on the first simplified model;

[0026] Performing LOD control on the first simplified model after texture compression and merging to generate multiple LOD models with different detail levels;

[0027] The multiple LOD models are spatially divided into blocks and a spatial index is established to obtain a second simplified model.

[0028] The present invention also discloses a GIM model lightweight processing system using the aforementioned GIM model lightweight processing method, comprising:

[0029] A format conversion module is used to obtain a multi-source GIM model, convert the multi-source GIM model into a preset unified format, and obtain a formatted model;

[0030] A mesh simplification module, used for meshing the formatted model to obtain a three-dimensional mesh model, and meshing and simplifying the three-dimensional mesh model into a first simplified model;

[0031] A slice processing module, used for performing a lightweight slice cache process on the first simplified model to obtain a second simplified model;

[0032] A model rendering module is used to render the second simplified model into a three-dimensional scene loading model.

[0033] Accordingly, the present application also discloses a terminal, including a processor and a storage medium;

[0034] The storage medium is used to store instructions;

[0035] The processor is used to operate according to the instructions to execute the steps of the aforementioned GIM model lightweight processing method.

[0036] Correspondingly, the present application also discloses a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the aforementioned GIM model lightweight processing method are implemented.

[0037] The beneficial effect of the present invention is that, compared with the prior art, the present invention provides a GIM model lightweight processing method and system, which converts the GIM model into a preset format, and then realizes the transformation of the GIM model from a three-dimensional design model to a three-dimensional business model through lightweight processing processes such as mesh simplification and slice caching. Through lightweight processing, the three-dimensional design results designed on the GIM model can be smoothly and efficiently displayed and interactively operated on the construction platform, which can be applicable to different application requirements and scenarios, does not require repeated modeling, saves model loading time and improves rendering efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A flowchart of a method for implementing a lightweight processing of a GIM model provided by an embodiment of the present invention;

[0039] Figure 2 A schematic diagram of the data logic structure of a UGX file provided in an embodiment of the present invention;

[0040] Figure 3 A schematic diagram of the GIM model standard file structure provided by an embodiment of the present invention;

[0041] Figure 4 A schematic diagram of the effect of model mesh simplification provided by an embodiment of the present invention;

[0042] Figure 5 A schematic diagram of the structure of a GIM model lightweight processing device provided by an embodiment of the present invention; DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present invention more clear, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0044] The embodiments described in this application are only some embodiments of the present invention, not all embodiments. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the protection scope of the present invention.

[0045] In view of the shortcomings of the prior art, the present invention proposes a GIM model lightweight processing method and system, which converts multi-source GIM models into a preset unified format, and then realizes the transformation of the GIM model from a three-dimensional design model to a three-dimensional business model through lightweight processing processes such as mesh simplification and slice caching. Through lightweight processing, the three-dimensional design results designed on the GIM model can be smoothly and efficiently displayed and interactively operated on the construction platform, which can be applicable to different application requirements and scenarios, does not require repeated modeling, saves model loading time and improves rendering efficiency.

[0046] See also Figure 1As shown, the GIM model lightweight processing method disclosed in the present invention includes the following steps:

[0047] Step S110: Acquire a multi-source GIM model, convert the multi-source GIM model into a preset unified format, and obtain a formatted model.

[0048] Establishing unified and efficient data organization standards is the premise for lightweighting various types of 3D data with complex sources and forms. In practical applications, there are professional models of various 3D design software, exquisite models built by 3DMAX, massive spatial point data of laser point clouds, aerial oblique photography models, massive vector stretching white models, etc. Through consistent data processing, a unified data format is formed to complete the basic work for further data processing and display. Model lightweight technology converts the results of various design platforms into efficient 3D model file formats (UGX) and massive 3D model tile data file formats (UGTile).

[0049] The UGX file consists of the following parts:

[0050] UGX file (.ugx): JSON file that describes the entire array organization structure, scene nodes, primitive sets, binary files, and relative paths of image files;

[0051] Binary files (.bin): actual data files for geometry, animation, and textures;

[0052] Image folder: Texture image files.

[0053] The data logic structure of UGX is as follows Figure 2 As shown, it mainly includes the following parts:

[0054] (1) Scene: The entry point of the data. A scene is composed of a collection of nodes (called Entity in UGX SDK). A UGX file has only one scene by default.

[0055] (2) node: defines a node, including LOD information, translation, rotation, scaling and matrix information, and can also contain child Node or Mesh index. The entity business unit information in ugx is stored in the nodes collection under the first scene of scenes. An entity represents the smallest selectable unit in the scene. The entity node must have a guid value stored in the name field. This name field value is finally used for engineering object mapping. The engineering properties of the entity object can be associated with the name value. Unlike gltf, the entity node has its own LOD extended attribute field. When there is no LOD, the node extended ids array size is 1.

[0056] (3) Mesh: defines the geometric information of the Node corresponding to the entity object, including multiple drawable primitive sets.

[0057] (4) Primitive: A set of drawable primitives, including vertices, normals, texture coordinates, drawing indexes, colors, drawing modes, and other information.

[0058] (5) Material: defines the appearance parameters, including PBR material model parameters, KHR material model parameters, normal texture, double-sided rendering, etc.

[0059] (6) Texture: defines the index of texture image objects and texture sampler objects.

[0060] (7)Image: defines the texture image path and format information.

[0061] (8) Sampler: defines the wrapping and filtering methods of texture images.

[0062] In some embodiments, a file identifier may be added to the file header of the model file to distinguish whether the model file belongs to different electrical operation scenarios, such as a substation operation or a transmission operation.

[0063] like Figure 3 As shown in the figure, the GIM model standard file structure consists of a file header and a storage domain. The file header content contains information such as file identification, file name, creation time, and version number. The file identification is used to distinguish the operation scenarios of the model file. The storage domain consists of four directory folders: MOD, PHM, DEV, and CBM, which store geometric model units (*.mod), combined models (*.phm), physical models (*.dev), engineering models (*.cbm), and attribute information (*.fam). The entire model file is finally integrated and compressed using the 7Z algorithm with a suffix of (*.gim).

[0064] Among them, the geometric model unit (*.mod) is a three-dimensional model that describes the geometric information of the physical object, such as the shape, structure, and size. It corresponds to the individual equipment part in the overall model and is composed of multiple basic primitive parameter definitions and space transformation matrices. It is the smallest constituent unit of the overall model. The basic primitive is the smallest geometric unit used in three-dimensional modeling and is described by a set of control parameters.

[0065] The combined model (*.phm) is composed of multiple (*.mod) files. The combined model includes the references to the above files and the corresponding space transformation matrix, that is, the geometric model is a device component composed of basic graphics elements, and the combined model is a device composed of multiple components.

[0066] The physical model (*.dev) describes the three-dimensional model of physical objects such as engineering equipment, materials, buildings (structures) and other facilities. It consists of a geometric combination model (*.phm) and physical model attributes (*.fam). The physical model contains references to the above files and the corresponding space transformation matrix. The physical model attributes (*.fam) include parameters such as name and code.

[0067] The project model (*.cbm) consists of the physical model (*.dev), the logical model (*.sch) and the project attributes (*.fam). The project attributes (*.fam) include parameters such as name and voltage level.

[0068] The attribute file (*.fam) consists of an identifier, attribute name and attribute value. The attributes can be expanded according to actual application requirements.

[0069] Among the 3D model devices, some devices are exactly the same. In order to achieve lightweight display of the model, (*.dev) model reuse and (*.mod) graphic element reuse are used for lightweight display of the model.

[0070] (*.dev) Model reuse: For geometric objects of the same shape, create a model and reference this basic model. Perform matrix transformations such as scaling, translation, rotation, and mirroring on objects with different sizes, positions, and directions.

[0071] (*.dev) Primitive reuse: Create a primitive, and all primitives with the same appearance are references to this basic primitive. For primitives with different sizes, positions, and directions, perform matrix transformations such as scaling, translation, rotation, and mirroring.

[0072] Step S120: meshing the formatted model to obtain a three-dimensional mesh model, and meshing and simplifying the three-dimensional mesh model into a first simplified model.

[0073] Specifically, by pre-processing the model to be lightweight, the real-time rendering performance and effect of each display terminal are guaranteed. By providing triangle mesh simplification technology to reduce the mesh data of three-dimensional components, the number of triangles is reduced while maintaining the shape of the component without significant changes, and a simplified three-dimensional model is achieved. Before the data enters the rendering display, the model is pre-processed to be lightweight to ensure the real-time rendering performance and effect of each display terminal. The number of model vertices and triangular faces is reduced, the model hierarchy and reference relationship are analyzed from the source data, and the model vertex primitives are reused.

[0074] In a further embodiment, the mesh unit of the three-dimensional mesh model is a triangular mesh, and meshing and simplifying the three-dimensional mesh model into a first simplified model comprises:

[0075] Delete any vertex of a triangle mesh, triangulate the space formed by adjacent triangle meshes, and / or

[0076] Compress any edge of the triangle mesh into a vertex, so that the triangle mesh adjacent to the compressed edge degenerates.

[0077] and / or

[0078] The patches composed of multiple triangle meshes are shrunk into vertices, so that three vertices of a triangle mesh are shrunk into one new vertex.

[0079] Figure 4 It shows the simplified effect of a model after meshing simplification.

[0080] In a further embodiment, data word length compression may also be performed on the first simplified model.

[0081] Step S130: performing a lightweight processing of slice cache on the first simplified model to obtain a second simplified model.

[0082] In a specific embodiment, step S130 may include the following steps:

[0083] Step S131: compressing and merging the texture of the first simplified model.

[0084] Specifically, texture compression is an image compression technology specifically used for storing textures in 3D computer graphics rendering systems. The most significant difference from ordinary image compression algorithms is that texture image compression algorithms are optimized for random access to texels.

[0085] Step S132: performing LOD control on the first simplified model after texture compression and merging to generate multiple LOD models with different detail levels.

[0086] In this step, for massive 3D data, by establishing an LOD hierarchical structure, multiple models with different levels of detail are generated, and the GIM model is parsed to obtain different display accuracy and display levels. When the viewpoint is far away from the entity, the coarse-level model data is used, and when the viewpoint is close to the entity, the fine-level model data is used. When loading, only part of the block data is loaded according to the LOD coefficient to reduce the number of models loaded and drawn at the same time. LOD settings are 0, 100, and 500. The fine model is displayed when the distance from the center of the model is 100 meters, the intermediate-level data is displayed when the distance from the center of the model is greater than 100 and less than 500, and the coarse-level data is displayed when the distance from the center of the model is more than 500 meters.

[0087] In the 3D visualization display, the WebGL scene component pre-establishes a spatial block data structure before display. According to the spatial distribution of the engineering data, the data is spatially blocked using an octree or quadtree to achieve dynamic loading scheduling. The octree is a typical spatial partitioning structure that can achieve rapid screening or elimination of 3D model data. The octree is constructed by taking the space where the 3D model is located as the object and performing an octal stereoscopic division on it. When achieving rapid point positioning, starting from the root node, the deep leaf node data can be eliminated each time, so that large-scale elimination of data blocks can be achieved with the help of this structure. In addition, by combining the data cache format, the LOD information is stored in the intermediate node, and the 3D model data is placed in the leaf node. Based on this method, the 3D model data can be effectively managed and organized.

[0088] Step S133: spatially divide the multiple LOD models into blocks and create a spatial index to obtain a second simplified model.

[0089] In this step, a file is quickly indexed to the corresponding block, which speeds up the reading of data from the hard disk / network to the memory and improves the loading efficiency. Aiming at the three-dimensional scene data organization structure, in order to efficiently manage and schedule these data, the present invention adopts the data organization strategy of layer-region-block-spatial object, and establishes an efficient indexing mechanism for each layer. According to this strategy, each layer is divided into multiple regions, and each region is further divided into different blocks, and the blocks store spatial object data (points, lines, surfaces and models). For the established spatial index, each spatial object has a unique Feature ID (unique identification of the element) and Feature Layer ID (unique identification of the layer where the element is located). Each layer has a unique Feature LayerID and contains a group of elements with similar characteristics. The feature class has a unique Feature Class ID, which is used to identify and distinguish different feature classes. In the spatial database, the feature class corresponds to the data table, and the data table is used to store the attribute data of the feature class. Each record row in the data table corresponds to a spatial object (Geometry), indicating the spatial position and shape of the feature class.

[0090] Step S140: Rendering the second simplified model into a three-dimensional scene loading model.

[0091] In this step, for geometric models with the same shape, abstract examples are stored in memory to reduce memory space occupation, and the rendering and drawing of repeated components are realized by matrix transformation of instances in the GPU. That is, the GPU first batches each instance by specifying the drawing function in batches, and passes the feature data content of the relevant instantiated objects to the GPU. By translation, scaling, rotation, etc., components with the same geometric image as the instance but different positions, sizes, and angles are obtained, avoiding the simultaneous loading of millions of components, reducing the pressure on hardware devices such as the GPU, and saving the communication time from the CPU to the GPU when rendering an object. When scheduling rendering, batch merging technology is used to speed up rendering efficiency. Multiple Mesh or geometric bodies in a component object are merged into a rendering batch, thereby reducing the number of batches and ultimately reducing CPU time. Finally, the implementation of the three-dimensional digital base rendering solution is used to verify the rationality of the logical organization structure of the three-dimensional model data, and further optimization and adjustment are performed to finally realize the massive three-dimensional real scene data logical organization structure and three-dimensional rendering technology required for the digital base, so that its model is suitable for the application requirements of the intelligent interactive platform.

[0092] The beneficial effect of the present invention is that, compared with the prior art, the present invention provides a GIM model lightweight processing method and system, which converts the GIM model into a preset format, and then realizes the transformation of the GIM model from a three-dimensional design model to a three-dimensional business model through lightweight processing processes such as mesh simplification and slice caching. Through lightweight processing, the three-dimensional design results designed on the GIM model can be smoothly and efficiently displayed and interactively operated on the construction platform, which can be applicable to different application requirements and scenarios, does not require repeated modeling, saves model loading time and improves rendering efficiency.

[0093] The present invention may be a system, a method and / or a computer program product. The present invention also discloses a GIM model lightweight processing system based on the aforementioned GIM model lightweight processing method, comprising:

[0094] A format conversion module 510 is used to obtain a multi-source GIM model, convert the multi-source GIM model into a preset unified format, and obtain a formatted model;

[0095] A mesh simplification module 520 is used to mesh the formatted model to obtain a three-dimensional mesh model, and mesh and simplify the three-dimensional mesh model into a first simplified model;

[0096] A slice processing module 530 is used to perform a slice cache lightweight processing on the first simplified model to obtain a second simplified model;

[0097] The model rendering module 540 is used to render the second simplified model into a three-dimensional scene loading model.

[0098] Based on the spirit of the present invention, those skilled in the art can easily think that a computer program product can be obtained based on the aforementioned GIM model lightweight processing method. The computer program product may include a computer-readable storage medium, which carries computer-readable program instructions for enabling a processor to implement various aspects of the present disclosure. That is, the present application also includes a terminal, including a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to perform the steps according to the aforementioned GIM model lightweight processing method.

[0099] Computer readable storage medium can be a tangible device that can keep and store the instructions used by the instruction execution device. Computer readable storage medium can be, for example, - but not limited to - electrical storage device, magnetic storage device, optical storage device, electromagnetic storage device, semiconductor storage device or any suitable combination of the above. More specific examples (non-exhaustive list) of computer readable storage medium include: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, for example, punch card or groove protrusion structure with instructions stored thereon and any suitable combination of the above. Computer readable storage medium used here is not interpreted as instantaneous signal itself, such as radio wave or other free propagating electromagnetic wave, electromagnetic wave propagated by waveguide or other transmission medium (for example, light pulse by optical fiber cable) or electrical signal transmitted by wire.

[0100] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0101] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages-such as Smalltalk, C++, etc., and conventional procedural programming languages-such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network-including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may be personalized by utilizing the state information of a computer-readable program instruction, and the electronic circuit may execute a computer-readable program instruction, thereby realizing various aspects of the present disclosure.

[0102] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A GIM model lightweight processing method, characterized in that: The following steps are involved: Acquire a multi-source GIM model, convert the multi-source GIM model into a preset unified format, and obtain a formatted model; Meshing the formatted model to obtain a three-dimensional mesh model, and meshing and simplifying the three-dimensional mesh model into a first simplified model; Performing a slice cache lightweight process on the first simplified model to obtain a second simplified model; The second simplified model is rendered as a three-dimensional scene loading model.

2. The method according to claim 1, characterized in that The converting of the multi-source GIM model into a preset unified format further includes: Convert multi-source GIM models to UGX file format or UGTile tile data file format.

3. The method according to claim 1, characterized in that The mesh unit of the three-dimensional mesh model is a triangular mesh, and the meshing and simplifying of the three-dimensional mesh model into a first simplified model further comprises: Delete any vertex of the triangle mesh and triangulate the space formed by the adjacent triangle mesh. and / or Compress any edge of the triangle mesh into a vertex, so that the triangle mesh adjacent to the compressed edge degenerates. and / or The patches composed of multiple triangle meshes are shrunk into vertices, so that three vertices of a triangle mesh are shrunk into one new vertex.

4. The method according to claim 1, characterized in that: Before performing a lightweight processing of slice cache on the first simplified model, the method further includes: The data word length is compressed on the first simplified model.

5. The method according to claim 1 or 4, characterized in that: The step of performing a lightweight processing of slicing cache on the first simplified model to obtain a second simplified model comprises: Performing texture compression and merging on the first simplified model; Performing LOD control on the first simplified model after texture compression and merging to generate multiple LOD models with different detail levels; The multiple LOD models are spatially divided into blocks and a spatial index is established to obtain a second simplified model.

6. A GIM model lightweight processing device, characterized in that: include: A format conversion module is used to obtain a multi-source GIM model, convert the multi-source GIM model into a preset unified format, and obtain a formatted model; A mesh simplification module, used for meshing the formatted model to obtain a three-dimensional mesh model, and meshing and simplifying the three-dimensional mesh model into a first simplified model; A slice processing module, used for performing a lightweight slice cache process on the first simplified model to obtain a second simplified model; A model rendering module is used to render the second simplified model into a three-dimensional scene loading model.

7. The device according to claim 6, characterized in that The mesh unit of the three-dimensional mesh model is a triangular mesh, and the mesh simplification module is further used to: Delete any vertex of the triangle mesh and triangulate the space formed by the adjacent triangle mesh. and / or Compress any edge of the triangle mesh into a vertex, so that the triangle mesh adjacent to the compressed edge degenerates. and / or The patches composed of multiple triangle meshes are shrunk into vertices, so that three vertices of a triangle mesh are shrunk into one new vertex.

8. The device according to claim 6, characterized in that The slice processing module is further used for: Performing texture compression and merging on the first simplified model; Performing LOD control on the first simplified model after texture compression and merging to generate multiple LOD models with different detail levels; The multiple LOD models are spatially divided into blocks and a spatial index is established to obtain a second simplified model.

9. An electronic device, characterized in that: The device comprises a memory storing computer executable instructions and a processor. When the computer executable instructions are executed by the processor, the device executes the GIM model lightweight processing method as described in any one of claims 1 to 5.

10. A readable storage medium, characterized in that: A computer executable program is stored, and when the program is executed, the GIM model lightweight processing method as described in any one of claims 1 to 5 can be implemented.

Citation Information

Cited By

  • Method and device for constructing intelligent simulation model of transformer substation

    CN120563765A

  • A substation intelligent simulation model construction method and device

    CN120563765B

  • Visual loading tuning method and device based on state grid GIM model

    CN121094253A