Compatible modeling method based on GIM system

By finding the adaptive processing software to render and feature extraction of the target model file, the model file compatibility problem in the GIM system is solved, and rapid modeling and improved user experience are achieved.

CN118964509AInactive Publication Date: 2024-11-15天津市住房和城乡建设综合行政执法总队
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411259247.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

GIM systems often encounter compatibility problems when using model files of different formats, and need to re-modeling, resulting in poor user experience.

Method used

By finding the adaptive processing software, rendering the target model file, extracting attribute features, and establishing corresponding models in the GIM system based on these features, solving the compatibility problem and achieving rapid modeling.

Benefits of technology

It effectively solves the compatibility problem of model files in other formats of GIM system, and improves work efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964509A_ABST
    Figure CN118964509A_ABST
Patent Text Reader

Abstract

The invention provides a compatible modeling method based on a GIM system. The compatible modeling method comprises the steps that at least one piece of adaptive processing software is searched for based on a target model file; using the processing software to render the target model file to obtain original rendering data of the target model file; extracting attribute features from the original rendering data based on a data extraction specification of the GIM system; and enabling the GIM system to render and display the target model file according to the extracted attribute characteristics so as to establish a GIM model corresponding to the target model file. According to the compatible modeling method based on the GIM system, the compatibility problem of model files of other formats of the GIM system can be solved, rapid modeling is achieved, the working efficiency is effectively improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of engineering modeling, and in particular to a compatible modeling method based on a GIM system. Background Art

[0002] The concept of Grid Information Model (GIM system) was first proposed in China in 2013. It is a digital information model that relies on geographic information system, digitizes the elements of the power grid, uses information model as a carrier, and integrates the information of each element throughout its life cycle, ensuring efficient, accurate and comprehensive application of information. It is also a digital interactive standard format introduced to meet the needs of data transmission and sharing of three-dimensional design results of power transmission and transformation projects in planning, design, construction, operation and maintenance.

[0003] In the process of conceiving and forming the research of this application, the applicant has found at least the following problems: along with the historical development of engineering modeling technology, there are various modeling tools in different periods and different fields, which generate model files in different formats. When the GIM system needs to use these existing models, it often encounters compatibility problems and needs to re-do the new GIM system modeling process, which is not a good user experience. Summary of the invention

[0004] In order to alleviate the above problems, the present application provides a compatible modeling method based on the GIM system, which is applied to the use of the GIM system. The method includes: In response to an operation of opening a target model file, searching for at least one processing software adapted based on the target model file; Rendering the target model file using the processing software to obtain original rendering data of the target model file; Extracting attribute features from the original rendering data based on a data extraction specification of the GIM system; According to the extracted attribute features, the GIM system renders and displays the target model file to establish a GIM model corresponding to the target model file.

[0005] Optionally, in response to opening the target model file, searching for at least one processing software adapted based on the target model file includes: Reading an extension field in the file name of the target model file, and determining a first application set of processing software applicable to the target model file according to the extension field; Retrieving a file signature of the target model file, and determining a second application set of processing software applicable to the target model file according to the file signature; Calling a text editor to interpret the character encoding and structure of the target model file to determine the file type of the target model file, and determining a third application set of processing software applicable to the target model file according to the file type; Accessing a registration database of the operating system to read a fourth application set of processing software that has been historically applied to the target model file; Based on a preset selection strategy, at least one processing software is selected from the first application set, the second application set, the third application set and the fourth application set to determine the processing software adapted for the target model file.

[0006] Optionally, the target model file includes a physical structure model file and / or an electrical logic model file; the original rendering data includes geometric rendering data and / or electrical rendering data; the attribute features include geometric attribute features and / or electrical association features; The process of searching for at least one processing software adapted based on the target model file in response to opening the target model file and thereafter includes: Searching for at least one adapted structural processing software according to the first file type of the physical structure model file, and searching for at least one adapted electrical processing software according to the second file type of the electrical logic model file; Calling the structure processing software to render the physical structure model file to obtain geometric rendering data corresponding to the physical structure model file, and calling the electrical processing software to render the electrical logic model file to obtain electrical rendering data corresponding to the electrical logic model file; Based on the physical model extraction requirements of the GIM system, extract the geometric attribute features of the target model file from the geometric rendering data, and obtain the electrical association features of the target model file from the electrical rendering data; An image file of the target model file is established, and the geometric attribute features and the electrical association features are returned to the image file, so that the GIM system renders the geometric attribute features and the electrical association features accordingly to establish a GIM model corresponding to the target model file.

[0007] Optionally, the step of calling the structure processing software to render the physical structure model file to obtain geometric rendering data corresponding to the physical structure model file includes: Loading the physical structure model file into the structure processing software, and setting the rendering scene so that the physical structure model is rendered in a correct environment; Processing holes and topological structures in the physical structure model to determine lighting and shadow parameters of the physical structure model, extracting material properties of the physical structure model, and obtaining physical rendering parameters of the physical structure model, wherein the material properties include color distribution, glossiness, and transparency parameters, and the physical rendering parameters include rendering resolution, anti-aliasing data, rendering mode, and sampling rate; According to the physical rendering parameters and the material properties, based on the rendering process of the physical structure model by the structure processing software, component data of the physical structure model is extracted, and the component data includes size, component shape and surface continuity.

[0008] Optionally, the step of extracting geometric attribute features of the target model file from the geometric rendering data based on the physical model extraction requirement of the GIM system includes: Identify power grid components in the geometric rendering data, and mark the type of each power grid component in the power grid components; According to the type of the power grid component, extract basic size information of the power grid component and analyze the appearance characteristics of the power grid component; Based on the appearance features, determining the position coordinates of the power grid component in the three-dimensional space of the geometric rendering data, and identifying the orientation and angle of the power grid component; Determining the connection relationship and structural hierarchy between the power grid components based on the position coordinates, orientations and angles; The basic size information, position coordinates, connection relationship and structural hierarchy are parameterized and converted into the GIM system, and are associated and verified with the electrical association characteristics to correspond to the corresponding power grid components in the GIM system.

[0009] Optionally, the step of calling the electrical processing software to render the electrical logic model file to obtain electrical rendering data corresponding to the electrical logic model file includes: Importing the electrical logic model file into the electrical processing software, placing the electrical components of the electrical logic model at appropriate locations and setting the size and direction of the electrical components using the layout tool of the electrical processing software; Identify attribute feature data of the electrical component, wherein the attribute feature data includes type, function, model and manufacturer information of the electrical component.

[0010] Optionally, the step of acquiring electrical related features of the target model file from the electrical rendering data comprises: Setting electrical parameters for the electrical components and drawing wires and connection points to define the physical connection relationship between the electrical components; Configuring electrical rendering parameters and electrical system parameters of the electrical logic model, wherein the electrical rendering parameters include line type, line width and annotation style, and the electrical system parameters include voltage level and protection device settings; Extracting the voltage, current, and impedance information of the electrical components, and combining the physical connection relationship, electrical rendering parameters, and electrical system parameters to analyze the logical relationship of the electrical system, wherein the logical relationship includes control logic and protection logic; The attribute characteristic data, physical connection relationship, control logic and protection logic of the electrical components are parameterized and converted into the GIM system, and are associated and verified with the geometric attribute characteristics to correspond to the corresponding power grid components in the GIM system.

[0011] Optionally, the steps of performing parameter conversion of the attribute characteristic data, physical connection relationship, control logic and protection logic of the electrical element in the GIM system, and performing association verification with the geometric attribute characteristics so as to correspond to the corresponding power grid component elements in the GIM system include: Verify the correctness of electrical characteristics, including continuity and logical consistency of electrical connections; Integrating the electrical association features with the geometric property features to ensure that the electrical characteristics correspond to the physical locations; Establish the mapping relationship between geometric attribute features and electrical related features to ensure that the two are related to each other in the GIM system.

[0012] Optionally, the step of establishing an image file of the target model file, returning the geometric attribute features and the electrical association features to the image file, and causing the GIM system to render the geometric attribute features and the electrical association features accordingly to establish a GIM model corresponding to the target model file includes: Creating the image file in the GIM system as a copy of the target model file; Based on the mapping relationship between the geometric attribute features and the electrical association features, the extracted geometric attribute features and the electrical association features are converted into a format recognizable by the GIM system and written into the image file; Configure rendering parameters in the GIM system, and use the GIM system to render the geometric attribute features and electrical related features in the image file respectively; The rendering result is integrated into the GIM system to generate a GIM model corresponding to the target model file.

[0013] Optionally, in response to receiving a modification operation on the GIM model file, geometric target features and electrical target features corresponding to the modification operation are extracted, and the geometric target features and the electrical target features are written into the image file to modify the GIM model.

[0014] The compatible modeling method based on the GIM system provided by the present application is to search for at least one processing software adapted based on the target model file; use the processing software to render the target model file to obtain the original rendering data of the target model file; extract attribute features from the original rendering data based on the data extraction specification of the GIM system; and enable the GIM system to render and display the target model file according to the extracted attribute features to establish a GIM model corresponding to the target model file. The compatibility problem of model files of other formats of the GIM system can be solved, rapid modeling can be achieved, work efficiency can be effectively improved, and user experience can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0016] Figure 1 This is a flow chart of a compatible modeling method based on a GIM system according to an embodiment of the present application.

[0017] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0018] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0019] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0020] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate that there are the described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following" etc. used in this application can be interpreted as inclusive, or mean any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”, and for another example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. An exception to this definition will only occur when a combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.

[0021] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0022] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0023] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. Example

[0024] This application provides a compatible modeling method based on the GIM system, which is applied to the use of the GIM system. Figure 1 This is a flow chart of a compatible modeling method based on a GIM system according to an embodiment of the present application.

[0025] The full name of GM is Grid Information Model. The GM system is a three-dimensional standard compiled to meet the needs of three-dimensional design of power transmission and transformation projects, unify the model architecture and data exchange format, and realize data sharing throughout the life cycle of the project.

[0026] like Figure 1 As shown, in one embodiment, the compatible modeling method based on the GIM system includes: S10: In response to the operation of opening the target model file, searching for at least one processing software adapted based on the target model file.

[0027] The target model file includes the modeling data of the target model. For example, when the GIM system encounters a compatibility problem, the target model file is often not in a model format that the GIM system can directly read. At this time, the target model file can be matched with a processing software that can smoothly read the target model data.

[0028] S20: Rendering the target model file using the processing software to obtain original rendering data of the target model file.

[0029] The original rendering data is the data set when the target model in the target model file is established. Exemplarily, by performing data rendering on the target model file through matching processing software, the original rendering data of the target model file can be extracted for the GIM system.

[0030] S30: Extracting attribute features from the original rendering data based on the data extraction specification of the GIM system.

[0031] For example, different modeling systems have different requirements for data specifications of rendering data in the modeling process. Based on the data extraction specification of the GIM system, the model attribute features required for modeling of the GIM system can be captured from the extracted original rendering data.

[0032] S40: enabling the GIM system to render and display the target model file according to the extracted attribute features, so as to establish a GIM model corresponding to the target model file.

[0033] Exemplarily, once the model attribute features in the target model file are captured, a new GIM model corresponding to the target model of the target model file can be re-established using the model attribute features.

[0034] This embodiment searches for at least one processing software that is adapted based on the target model file; uses the processing software to render the target model file to obtain the original rendering data of the target model file; extracts attribute features from the original rendering data based on the data extraction specification of the GIM system; and enables the GIM system to render and display the target model file according to the extracted attribute features to establish a GIM model corresponding to the target model file. The compatibility problem of model files in other formats of the GIM system can be solved, rapid modeling can be achieved, work efficiency can be effectively improved, and user experience can be improved.

[0035] Optionally, in response to opening the target model file, searching for at least one processing software adapted based on the target model file includes: Reading an extension field in the file name of the target model file, and determining a first application set of processing software applicable to the target model file according to the extension field; Retrieving a file signature of the target model file, and determining a second application set of processing software applicable to the target model file according to the file signature; Calling a text editor to interpret the character encoding and structure of the target model file to determine the file type of the target model file, and determining a third application set of processing software applicable to the target model file according to the file type; Accessing a registration database of the operating system to read a fourth application set of processing software that has been historically applied to the target model file; Based on a preset selection strategy, at least one processing software is selected from the first application set, the second application set, the third application set and the fourth application set to determine the processing software adapted for the target model file.

[0036] Exemplarily, the extension can be directly extracted from the file name of the target model file. For example, if the file name is "power_grid_model.GIM", the extension is "GIM". A mapping table between extensions and processing software can be maintained in the system. This mapping table predefines the recommended processing software corresponding to various file extensions. The extracted extension is then used to query the mapping table to find a list of processing software associated with it. The system can be further checked to see if the processing software listed in the mapping table has been installed. If multiple software supports the same extension, one or more preferred software can be determined according to preset rules. This can be based on factors such as the software's functionality, user preferences, and licensing status.

[0037] Exemplarily, the target model file is opened in binary mode, and depending on the provisions of the file format, several bytes at the beginning of the file, such as the first 4 to 16 bytes, can be read. A mapping table between file signatures and processing software can be maintained, and the mapping table contains recommended processing software corresponding to different file format signatures. After matching the read file signature with the signature in the mapping table, if multiple software supports the same file format, one or more software are determined.

[0038] Exemplarily, a text editor or a specialized text reading library can be used to open the target model file in text mode, and the first few lines or specific paragraphs of the file can be read, which usually contain the file type or format information. The character encoding of the file (such as UTF-8, ASCII, UTF-16, etc.) is detected to ensure that the text content can be correctly interpreted, and the file structure is further analyzed based on the read content. This may include searching for specific keywords, tags, or patterns, etc. Then, based on the results of the file content and structure analysis, the file type (such as XML, JSON, CSV, etc.) is determined. Based on the mapping table between the file type and the processing software maintained in advance, if multiple software supports the same file type, one or more preferred software is determined.

[0039] Exemplarily, the preset selection strategy when selecting one or more application software from multiple application sets may be to select the processing software that appears the most times, or to select the processing software that appears in each application set at the same time. Exemplarily, if the target model file has a specific association with the software in a certain software set (such as a preset default association), the software in the software set is preferred. The characteristics and requirements of the target model file can be analyzed to select the software in the software set that can provide the required functions. If the target model file is a working file of a specific user, the software set can be selected according to the preferences of the user. It is also possible to perform compatibility tests and performance tests on multiple software sets based on the hardware configuration and performance limitations of the system, and select a software set that is well compatible with the target model file and the system environment. Optionally, each software set can be scored, and the software set with the highest score can be selected by comprehensively considering factors such as function, performance, and compatibility.

[0040] Optionally, the target model file includes a physical structure model file and / or an electrical logic model file; the original rendering data includes geometric rendering data and / or electrical rendering data; and the attribute features include geometric attribute features and / or electrical association features.

[0041] Optionally, in response to opening the target model file, the process of searching for at least one processing software adapted based on the target model file and thereafter includes: Searching for at least one adapted structural processing software according to the first file type of the physical structure model file, and searching for at least one adapted electrical processing software according to the second file type of the electrical logic model file; Calling the structure processing software to render the physical structure model file to obtain geometric rendering data corresponding to the physical structure model file, and calling the electrical processing software to render the electrical logic model file to obtain electrical rendering data corresponding to the electrical logic model file; Based on the physical model extraction requirements of the GIM system, extract the geometric attribute features of the target model file from the geometric rendering data, and obtain the electrical association features of the target model file from the electrical rendering data; An image file of the target model file is established, and the geometric attribute features and the electrical association features are returned to the image file, so that the GIM system renders the geometric attribute features and the electrical association features accordingly to establish a GIM model corresponding to the target model file.

[0042] For example, the three-dimensional GIM modeling of power transmission and transformation mainly includes topology modeling and equipment modeling. Topology modeling is to model the components and connection relationships of the power system. By defining the topological relationship of power equipment, the topological state and operation status of the power system can be simulated and analyzed. Equipment modeling provides comprehensive equipment information and attributes, accurately describes the key information such as the type, specification, technical indicators, and status of the equipment, and supports equipment status monitoring and fault diagnosis.

[0043] During the modeling process, some specific representation methods will be used. For example, all valve layers from the top shield to the bottom shield can be represented by a rectangular parallelepiped, the arrester on the valve tower is represented by a cylinder, the equalizing ring on the valve tower is represented by a short ring, a hemisphere and a rectangular parallelepiped, and the valve cooling pipe is modeled by a solid ring + cylinder. At the same time, the modeling of key parts is also very important, such as the length of the valve tower (including insulators and supporting equipment), the length and width of the shield, the positioning of the support points, the size and positioning of the equalizing ring on the valve tower, etc.

[0044] In addition, modeling needs to follow some regulations. For example, the equipment model should be modeled in proportion (1:1) and preferably in *.GIM format. On the premise of meeting the precision requirements of key parts, the equipment model should be constructed with a solid model that is as simple as possible. At the same time, the coordinate system used in modeling also needs to be uniformly specified.

[0045] It can be seen that GIM system modeling has its specific model data requirements, especially comprehensively involving two parts: topology modeling and device modeling. This may be different from the model file data established by other model systems. Therefore, when dealing with the compatibility issues of the target model file, this embodiment enriches the data requirements of the device modeling part in GIM system modeling through the geometric rendering data extracted from the physical structure model file, and enriches the data requirements of the topology modeling part in GIM system modeling through the electrical rendering data extracted from the electrical logic model file.

[0046] Optionally, the step of calling the structure processing software to render the physical structure model file to obtain geometric rendering data corresponding to the physical structure model file includes: Loading the physical structure model file into the structure processing software, and setting the rendering scene so that the physical structure model is rendered in a correct environment; Processing holes and topological structures in the physical structure model to determine lighting and shadow parameters of the physical structure model, extracting material properties of the physical structure model, and obtaining physical rendering parameters of the physical structure model, wherein the material properties include color distribution, glossiness, and transparency parameters, and the physical rendering parameters include rendering resolution, anti-aliasing data, rendering mode, and sampling rate; According to the physical rendering parameters and the material properties, based on the rendering process of the physical structure model by the structure processing software, component data of the physical structure model is extracted, and the component data includes size, component shape and surface continuity.

[0047] For example, the physical structure model file can be loaded into the structure processing software according to the read file format, such as STEP, IGES, STL or Parasolid, etc. For example, when using SolidWorks to open a mechanical part model file in IGES format, in SolidWorks, according to the path, select the "Open" option under the "File" menu, then navigate to the directory where the IGES file is saved, select the corresponding file and open it.

[0048] Further illustratively, the rendering scene can be set in the software, including the viewing angle, background, light source, etc., to ensure that the model can be rendered in the correct environment. For example, an indoor scene is set in 3ds Max, including lighting and camera perspective. In the process of setting up the indoor scene, a new scene can be created in 3ds Max, a camera can be placed to determine the viewing angle, and ambient light and spotlights can be added to simulate real lighting conditions. The model can be preprocessed as necessary, such as repairing holes in the model, optimizing the model topology, simplifying the model complexity, etc., to improve rendering efficiency and effect. For example, in the process of using the "Mesh" tool in Maya to repair holes in a CAD model, after importing the model in Maya, if holes are found on the surface of the model, the "Fill Holes" command under the "Mesh" menu will be used to repair these holes.

[0049] Further exemplary, material properties such as color, glossiness, transparency, etc. are assigned to the model, and textures are mapped to reflect the surface details of the model in the rendering. For example, in the process of assigning a metal material and a map to a car model in Blender, a new material can be created in Blender's material editor, metal properties such as reflectivity, roughness, etc. can be set, and then the texture image can be mapped to the model surface.

[0050] Further exemplary, lighting conditions can be set for the model, including directional light, point light, surface light, etc., and the lighting effects and shadows on the model surface can be calculated. For example, in the process of adjusting ambient light and directional light in the Unity game engine to create realistic shadows, in the Unity editor, different types of light sources can be added and their intensity, color, and direction can be adjusted to produce realistic lighting and shadow effects in the scene.

[0051] Further exemplary, rendering parameters such as resolution, anti-aliasing settings, rendering mode (such as real-time rendering or ray tracing), sampling rate, etc. can be configured for the model. For example, rendering parameters such as resolution and sampling rate are set in V-Ray. In the rendering settings panel of V-Ray, the resolution of the output image can be set (such as 1920x1080 pixels), and the sampling levels of anti-aliasing and ray tracing can be adjusted to improve image quality.

[0052] Further illustratively, before or during rendering, geometric attribute features of the model can be extracted, such as size, shape, surface continuity, etc. For example, in the process of measuring the key dimensions of a model in AutoCAD, use the "Measure" tool in AutoCAD, select the key edge or feature of the model, and the software will display the length, angle, and other geometric attributes of the selected element.

[0053] Further exemplary, the extracted geometric attribute features can be associated with the corresponding rendering data for use in subsequent analysis, design review or document production. For example, the dimension data extracted from AutoCAD can be placed side by side with the image rendered by KeyShot so that the audience can intuitively see the correspondence between each dimension and the appearance of the model.

[0054] Optionally, the step of extracting geometric attribute features of the target model file from the geometric rendering data based on the physical model extraction requirement of the GIM system includes: Identify power grid components in the geometric rendering data, and mark the type of each power grid component in the power grid components; According to the type of the power grid component, extract basic size information of the power grid component and analyze the appearance characteristics of the power grid component; Based on the appearance features, determining the position coordinates of the power grid component in the three-dimensional space of the geometric rendering data, and identifying the orientation and angle of the power grid component; Determining the connection relationship and structural hierarchy between the power grid components based on the position coordinates, orientations and angles; The basic size information, position coordinates, connection relationship and structural hierarchy are parameterized and converted into the GIM system, and are associated and verified with the electrical association characteristics to correspond to the corresponding power grid components in the GIM system.

[0055] Exemplarily, the geometric rendering data can be checked first to ensure that the geometric rendering data is accessible and compatible with the GIM system. The rendering data is imported or converted into a format that the GIM system can process. Identify the grid components in the rendering data, such as lines, towers, substations, etc., and distinguish different types of grid components. Further exemplarily, the dimensions of the grid components can be measured to extract basic dimensional information such as the length, width, and height of the components. The shape analysis of the grid components can be performed: analyze the appearance characteristics of the components, such as circles, squares, polygons, etc. The grid components can be located to determine the specific position coordinates of the components in three-dimensional space. The setting direction of the grid components can be determined to identify the orientation and angle of the components. The topological relationship of the grid components can be analyzed to determine the connection relationship and structural hierarchy between the components.

[0056] Further exemplary, the extracted geometric attributes are converted into a parametric form, so as to compare the extracted attributes with the original model or design specification to ensure the accuracy of the extracted geometric attribute features. The extracted geometric attribute features are integrated with the full life cycle information of the corresponding power grid component elements in the GIM system. The relevance of the geometric attribute features with other information (such as electrical attributes, operation and maintenance data, etc.) is ensured.

[0057] Further exemplary, the extracted and verified geometric attribute features are stored in the database of the GIM system, and the data storage format conforms to the data structure and standard of the GIM system. Query, analysis and visualization tools can be provided in the GIM system, so that these geometric attribute features can be efficiently utilized, thereby supporting data transmission and sharing in the design, construction, operation and maintenance of power transmission and transformation projects, and providing decision support for planning, design, construction and operation and maintenance.

[0058] Optionally, the step of calling the electrical processing software to render the electrical logic model file to obtain electrical rendering data corresponding to the electrical logic model file includes: Importing the electrical logic model file into the electrical processing software, placing the electrical components of the electrical logic model at appropriate locations and setting the size and direction of the electrical components using the layout tool of the electrical processing software; Identify attribute feature data of the electrical component, wherein the attribute feature data includes type, function, model and manufacturer information of the electrical component.

[0059] For example, the electrical logic model file can be loaded into electrical processing software, such as EPLAN, AutoCAD Electrical, or Siemens NX Electrical. Each electrical component, such as resistors, capacitors, and inductors, can be laid out, and their positions on the drawings can be determined, and the property characteristics of the electrical components, such as function, model, manufacturer information, etc., can be determined.

[0060] Optionally, the step of acquiring electrical related features of the target model file from the electrical rendering data comprises: Setting electrical parameters for the electrical components and drawing wires and connection points to define the physical connection relationship between the electrical components; Configuring electrical rendering parameters and electrical system parameters of the electrical logic model, wherein the electrical rendering parameters include line type, line width and annotation style, and the electrical system parameters include voltage level and protection device settings; Extracting the voltage, current, and impedance information of the electrical components, and combining the physical connection relationship, electrical rendering parameters, and electrical system parameters to analyze the logical relationship of the electrical system, wherein the logical relationship includes control logic and protection logic; The attribute characteristic data, physical connection relationship, control logic and protection logic of the electrical components are parameterized and converted into the GIM system, and are associated and verified with the geometric attribute characteristics to correspond to the corresponding power grid components in the GIM system.

[0061] For example, the parameters of the electrical rendering may be further configured, such as color codes, line types, line widths, annotation styles, etc., which may involve the association between the arrangement and connection of components. In the electrical system configuration stage, the parameters of the electrical system may be configured in the software, including voltage levels, protection device settings, control logic, etc.

[0062] Further exemplary, electrical parameters can be set for electrical components, such as resistors, capacitors, inductors, etc., and electrical symbols for each component can be drawn to make the electrical logic diagram conform to standards and specifications. Electrical rendering parameters can be further configured, such as color codes, line types, line widths, annotation styles, etc., and attribute features of electrical components, such as functions, models, manufacturer information, etc. can be extracted.

[0063] Further exemplarily, the extracted electrical property features are associated with the rendering data to verify the correctness of the electrical logic, including circuit continuity, short circuit and overload protection, etc., and are associated and verified with the geometric property features to correspond to the corresponding power grid components in the GIM system.

[0064] Exemplarily, in the electrical feature extraction stage, the type and function of electrical components can be identified first, the parameters of electrical components, such as voltage, current, impedance, etc., can be extracted, and the logical relationship of the electrical system, such as control logic, protection logic, etc., can be analyzed. Define the connection relationship between electrical components, including the connection of cables, wires, busbars, etc. Define the physical connection between electrical components by drawing wires or setting connection points. Electrical symbols and lines can be drawn to ensure that electrical diagrams comply with standards and specifications. In configuring the parameters of electrical rendering, such as color codes, line types, line widths, annotation styles, etc., can be fully considered to accurately parse electrical rendering data and identify electrical components and connection relationships.

[0065] Optionally, the steps of performing parameter conversion of the attribute characteristic data, physical connection relationship, control logic and protection logic of the electrical element in the GIM system, and performing association verification with the geometric attribute characteristics so as to correspond to the corresponding power grid component elements in the GIM system include: Verify the correctness of electrical characteristics, including continuity and logical consistency of electrical connections; Integrating the electrical association features with the geometric property features to ensure that the electrical characteristics correspond to the physical locations; Establish the mapping relationship between geometric attribute features and electrical related features to ensure that the two are related to each other in the GIM system.

[0066] For example, in the electrical feature verification phase, the correctness of the electrical features can be verified, including the continuity and logical consistency of the electrical connections, and the electrical related features can be integrated with the geometric attribute features to ensure that the electrical characteristics correspond to the physical locations. There is often a strong correspondence between the geometric attribute features and the electrical related features, and they can be fully mapped during the modeling process to ensure that the two exist in the same entity or associated entities in the GIM system.

[0067] Optionally, the step of establishing an image file of the target model file, returning the geometric attribute features and the electrical association features to the image file, and causing the GIM system to render the geometric attribute features and the electrical association features accordingly to establish a GIM model corresponding to the target model file includes: Creating the image file in the GIM system as a copy of the target model file; Based on the mapping relationship between the geometric attribute features and the electrical association features, the extracted geometric attribute features and the electrical association features are converted into a format recognizable by the GIM system and written into the image file; Configure rendering parameters in the GIM system, and use the GIM system to render the geometric attribute features and electrical related features in the image file respectively; The rendering result is integrated into the GIM system to generate a GIM model corresponding to the target model file.

[0068] For example, in the initialization image file stage, a new image file can be created in the GIM system, which will serve as a new model copy of the target model file in the GIM system. The structure of the image file can be determined so that it can accommodate geometric attribute features and electrical association features.

[0069] Further exemplary, geometric attribute features are extracted from the geometric rendering data, and the extracted geometric attribute features are converted into a format recognizable by the GIM system to be imported into the image file. Similarly, electrical related features extracted from electrical rendering data can be converted into a format recognizable by the GIM system to be imported into the image file.

[0070] Further illustratively, a mapping relationship between geometric attribute features and electrical associated features is established in the image file, and whether the geometric attribute features and electrical associated features in the image file are complete and accurate can be checked. Rendering parameters can be further configured in the GIM system so that the system can correctly render according to the features in the image file. Using the rendering function of the GIM system, the new GIM model can be rendered and integrated according to the geometric attribute features and electrical associated features in the image file to generate a GIM model corresponding to the target model file.

[0071] Optionally, in response to receiving a modification operation on the GIM model file, geometric target features and electrical target features corresponding to the modification operation are extracted, and the geometric target features and the electrical target features are written into the image file to modify the GIM model.

[0072] Exemplarily, after the GIM model is established according to the features extracted from the target model file, the established GIM model can be saved in the database of the GIM system for subsequent access and use. During the access and use process, the GIM model can be optimized and modified as needed to improve its performance.

[0073] The compatible modeling method based on the GIM system provided by the present application is to search for at least one processing software adapted based on the target model file; use the processing software to render the target model file to obtain the original rendering data of the target model file; extract attribute features from the original rendering data based on the data extraction specification of the GIM system; and enable the GIM system to render and display the target model file according to the extracted attribute features to establish a GIM model corresponding to the target model file. The compatibility problem of model files of other formats of the GIM system can be solved, rapid modeling can be achieved, work efficiency can be effectively improved, and user experience can be improved.

[0074] It should be noted that in the present application, step codes such as S10, S20, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S20 first and then S10, etc., but these should all be within the scope of protection of the present application.

[0075] In the system embodiment provided in the present application, all technical features of any of the above-mentioned method embodiments may be included, and the expanded and explained contents of the specification are basically the same as those of the above-mentioned method embodiments, and will not be repeated here.

[0076] The embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above various possible implementation modes.

[0077] An embodiment of the present application also provides a chip, including a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip executes the methods in various possible implementation modes as described above.

[0078] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0079] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0080] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0081] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0082] In the present application, the same or similar terminology concepts, technical solutions and / or application scenario descriptions are generally described in detail only the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of the present application, for the same or similar terminology concepts, technical solutions and / or application scenario descriptions that are not described in detail later, reference can be made to the previous related detailed descriptions.

[0083] In the present application, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0084] The various technical features of the technical solution of the present application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present application.

[0085] The above are only preferred embodiments of the present application, and are not intended to 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 applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A compatible modeling method based on GIM system, It is characterized in that Applied to using the GIM system, the method comprises: In response to an operation of opening a target model file, searching for at least one processing software adapted based on the target model file; Rendering the target model file using the processing software to obtain original rendering data of the target model file; Extracting attribute features from the original rendering data based on a data extraction specification of the GIM system; According to the extracted attribute features, the GIM system renders and displays the target model file to establish a GIM model corresponding to the target model file.

2. A compatible modeling method based on a GIM system according to claim 1, It is characterized in that In response to opening the target model file, the process of searching for at least one processing software adapted based on the target model file includes: Reading an extension field in the file name of the target model file, and determining a first application set of processing software applicable to the target model file according to the extension field; Retrieving a file signature of the target model file, and determining a second application set of processing software applicable to the target model file according to the file signature; Calling a text editor to interpret the character encoding and structure of the target model file to determine the file type of the target model file, and determining a third application set of processing software applicable to the target model file according to the file type; Accessing a registration database of the operating system to read a fourth application set of processing software that has been historically applied to the target model file; Based on a preset selection strategy, at least one processing software is selected from the first application set, the second application set, the third application set and the fourth application set to determine the processing software adapted for the target model file.

3. A compatible modeling method based on a GIM system according to claim 2, It is characterized in that The target model file includes a physical structure model file and / or an electrical logic model file; the original rendering data includes geometric rendering data and / or electrical rendering data; the attribute features include geometric attribute features and / or electrical association features; The process of searching for at least one processing software adapted based on the target model file in response to opening the target model file and thereafter includes: Searching for at least one adapted structural processing software according to the first file type of the physical structure model file, and searching for at least one adapted electrical processing software according to the second file type of the electrical logic model file; Calling the structure processing software to render the physical structure model file to obtain geometric rendering data corresponding to the physical structure model file, and calling the electrical processing software to render the electrical logic model file to obtain electrical rendering data corresponding to the electrical logic model file; Based on the physical model extraction requirements of the GIM system, extract the geometric attribute features of the target model file from the geometric rendering data, and obtain the electrical association features of the target model file from the electrical rendering data; An image file of the target model file is established, and the geometric attribute features and the electrical association features are returned to the image file, so that the GIM system renders the geometric attribute features and the electrical association features accordingly to establish a GIM model corresponding to the target model file.

4. A compatible modeling method based on a GIM system according to claim 3, It is characterized in that The step of calling the structure processing software to render the physical structure model file to obtain geometric rendering data corresponding to the physical structure model file comprises: Loading the physical structure model file into the structure processing software, and setting the rendering scene so that the physical structure model is rendered in a correct environment; Processing holes and topological structures in the physical structure model to determine lighting and shadow parameters of the physical structure model, extracting material properties of the physical structure model, and obtaining physical rendering parameters of the physical structure model, wherein the material properties include color distribution, glossiness, and transparency parameters, and the physical rendering parameters include rendering resolution, anti-aliasing data, rendering mode, and sampling rate; According to the physical rendering parameters and the material properties, based on the rendering process of the physical structure model by the structure processing software, component data of the physical structure model is extracted, and the component data includes size, component shape and surface continuity.

5. A compatible modeling method based on a GIM system according to claim 4, It is characterized in that The step of extracting the geometric attribute features of the target model file from the geometric rendering data based on the physical model extraction requirements of the GIM system includes: Identify power grid components in the geometric rendering data, and mark the type of each power grid component in the power grid components; According to the type of the power grid component, extract basic size information of the power grid component and analyze the appearance characteristics of the power grid component; Based on the appearance features, determining the position coordinates of the power grid component in the three-dimensional space of the geometric rendering data, and identifying the orientation and angle of the power grid component; Determining the connection relationship and structural hierarchy between the power grid components based on the position coordinates, orientations and angles; The basic size information, position coordinates, connection relationship and structural hierarchy are parameterized and converted into the GIM system, and are associated and verified with the electrical association characteristics to correspond to the corresponding power grid components in the GIM system.

6. A compatible modeling method based on a GIM system according to claim 5, It is characterized in that The step of calling the electrical processing software to render the electrical logic model file to obtain electrical rendering data corresponding to the electrical logic model file includes: Importing the electrical logic model file into the electrical processing software, placing the electrical components of the electrical logic model at appropriate locations and setting the size and direction of the electrical components using the layout tool of the electrical processing software; Identify attribute feature data of the electrical component, wherein the attribute feature data includes type, function, model and manufacturer information of the electrical component.

7. A compatible modeling method based on a GIM system according to claim 6, It is characterized in that The step of acquiring the electrical related features of the target model file from the electrical rendering data comprises: Setting electrical parameters for the electrical components and drawing wires and connection points to define the physical connection relationship between the electrical components; Configuring electrical rendering parameters and electrical system parameters of the electrical logic model, wherein the electrical rendering parameters include line type, line width and annotation style, and the electrical system parameters include voltage level and protection device settings; Extracting the voltage, current, and impedance information of the electrical components, and combining the physical connection relationship, electrical rendering parameters, and electrical system parameters to analyze the logical relationship of the electrical system, wherein the logical relationship includes control logic and protection logic; The attribute characteristic data, physical connection relationship, control logic and protection logic of the electrical components are parameterized and converted into the GIM system, and are associated and verified with the geometric attribute characteristics to correspond to the corresponding power grid components in the GIM system.

8. A compatible modeling method based on a GIM system according to claim 7, It is characterized in that The steps of performing parameter conversion of the attribute characteristic data, physical connection relationship, control logic and protection logic of the electrical element into the GIM system, and performing correlation verification with the geometric attribute characteristics so as to correspond to the corresponding power grid component elements in the GIM system include: Verify the correctness of electrical characteristics, including continuity and logical consistency of electrical connections; Integrating the electrical association features with the geometric property features to ensure that the electrical characteristics correspond to the physical locations; Establish the mapping relationship between geometric attribute features and electrical related features to ensure that the two are related to each other in the GIM system.

9. A compatible modeling method based on a GIM system according to claim 8, It is characterized in that The steps of establishing an image file of the target model file, returning the geometric attribute features and the electrical association features to the image file, and causing the GIM system to render the geometric attribute features and the electrical association features accordingly to establish a GIM model corresponding to the target model file include: Creating the image file in the GIM system as a copy of the target model file; Based on the mapping relationship between the geometric attribute features and the electrical association features, the extracted geometric attribute features and the electrical association features are converted into a format recognizable by the GIM system and written into the image file; Configure rendering parameters in the GIM system, and use the GIM system to render the geometric attribute features and electrical related features in the image file respectively; The rendering result is integrated into the GIM system to generate a GIM model corresponding to the target model file.

10. A compatible modeling method based on a GIM system according to claim 9, It is characterized in that In response to receiving a modification operation on the GIM model file, extracting geometric target features and electrical target features corresponding to the modification operation, and writing the geometric target features and the electrical target features into the image file to modify the GIM model.