CN114048583A - Application method and system for extending real object ID based on GIM model - Google Patents
Application method and system for extending real object ID based on GIM model Download PDFInfo
- Publication number
- CN114048583A CN114048583A CN202111124010.2A CN202111124010A CN114048583A CN 114048583 A CN114048583 A CN 114048583A CN 202111124010 A CN202111124010 A CN 202111124010A CN 114048583 A CN114048583 A CN 114048583A
- Authority
- CN
- China
- Prior art keywords
- gim
- model
- information
- module
- node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
- G06F16/2246—Trees, e.g. B+trees
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/26—Visual data mining; Browsing structured data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/04—Power grid distribution networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application relates to an application method and system for extending real object ID based on a GIM model, wherein the GIM model and attribute information thereof are obtained by analyzing the GIM model and a storage structure thereof; establishing an association relation between a real object ID and the GIM equipment model according to the GIM model and the attribute information thereof; traversing a GIM system engineering hierarchical relation structure to acquire target node address information; adding physical ID information according to the target node address information; the entity ID information can be expanded in the GIM, an entity ID code is added to the GIM, the three-dimensional design model and the entity ID are correlated, and a data base is laid for using three-dimensional design results in construction and operation and maintenance stages. According to the method and the device, in the power grid construction stage, the material delivery, construction progress and other rapid information management based on the real object ID can be realized, and the construction is simulated; in the operation and maintenance stage, the contents of operation and maintenance emergency drilling, operation and maintenance data visual monitoring and the like can be realized.
Description
Technical Field
The disclosure relates to the field of power grid technology application, and in particular to a method, a system, a control device and a non-volatile computer-readable storage medium for extending entity ID based on a GIM model.
Background
And the GIM is a Grid Information Model. The GIM is a proper noun of the power industry, refers to a technical standard which is set by a national grid company Limited to meet the three-dimensional design requirements of power transmission and transformation projects, and is an extensible national grid GIM standard system which is independently developed and suitable for power transmission and transformation project construction by setting a unified data architecture, a coding system, an interaction mode, a design depth and a result form by national grid research institutes.
In the prior art, although the models such as the electrical equipment in the GIM model system have corresponding attribute information and engineering structure level information, online checking of the model information can be supported; however, only static model setting attribute information can be seen, after the real object is used, the early-stage attribute information of the real object cannot be displayed, and at the moment, constructors need to go to the site to know the attribute information of the real object, so that construction trouble is caused; in addition, if the feedback of the physical information is lacked in the engineering construction, the problems of safety, quality and the like caused by the lack of the physical information can be caused.
And the physical ID is a uniform identity code of physical assets of the power grid and is an identity card issued to power grid equipment. However, in the process of the whole life cycle of the equipment, the real object ID has the problems of difficult application of three-dimensional design results, no three-dimensional visualization and difficult tracking and positioning.
Disclosure of Invention
In view of this, the present disclosure provides an application method, a system and a control device for extending a physical ID based on a GIM model, which implement a docking between a three-dimensional design result and a physical ID by extending physical ID information in the GIM.
According to one aspect of the disclosure, an application method for extending a real object ID based on a GIM model is provided, which includes the following steps:
s1, analyzing the GIM and the storage structure thereof, and acquiring the GIM and the attribute information thereof;
s2, establishing an association relation between the entity ID and the GIM equipment model according to the GIM model and the attribute information thereof;
s3, traversing the engineering hierarchical relationship structure of the GIM system to acquire the address information of the target node;
and S4, adding real object ID information according to the target node address information.
In one possible implementation form of the method,
further comprising:
loading a GIM model file;
decompressing the GIM model file to obtain file header information;
and judging the type of the GIM model file according to the file header information.
In one possible implementation form of the method,
further comprising:
traversing all system and equipment files according to the GIM standard according to the type of the GIM model file;
and acquiring an engineering hierarchical relation structure related to the GIM model file type.
In one possible implementation form of the method,
the obtaining of the address information of the target node comprises
Traversing the engineering hierarchical relationship structure and outputting initial node data based on a multi-way tree traversal method;
outputting the initial node data according to depth based on a hierarchical priority traversal method to obtain first node data;
and acquiring a node with the longest path from the root node to the leaf node on the multi-branch tree as a target node from the first node data based on a depth-first traversal method.
According to another aspect of the present disclosure, an application system for extending a physical ID based on a GIM model is provided, which includes an analysis module, an association relationship establishing module, a traversal module, and an information adding module, wherein:
the analysis module is used for: the method comprises the steps of analyzing a GIM model and a storage structure thereof, and acquiring the GIM model and attribute information thereof;
the incidence relation establishing module: the system comprises a GIM model and a GIM equipment model, wherein the GIM model is used for establishing an association relation between a real object ID and the GIM equipment model according to the GIM model and attribute information thereof;
the system traversal module: the system is used for traversing the GIM system engineering hierarchical relation structure to acquire target node address information;
the information adding module: and the system is used for adding real object ID information according to the target node address information.
In one possible implementation form of the method,
further comprising:
the loading module is used for: for loading the GIM model file;
the decompression module: the GIM model file is decompressed to obtain file header information;
the GIM model file type judgment module: and the GIM model file type is judged according to the file header information.
In one possible implementation form of the method,
further comprising:
the secondary traversal module: the system and equipment files are used for traversing all the system and equipment files according to the GIM standard according to the type of the GIM model file;
the engineering hierarchical relationship structure obtaining module: and the system is used for acquiring the engineering hierarchical relation structure related to the GIM model file type.
In one possible implementation form of the method,
the system traversal module comprises
A first traversal module: traversing the engineering hierarchical relationship structure and outputting initial node data based on a multi-way tree traversal method;
a second traversal module: outputting the initial node data according to depth by using a hierarchical priority traversal method to obtain first node data;
a third traversal module: and acquiring a node with the longest path from the root node to the leaf node on the multi-branch tree from the first node data as a target node by using a depth-first-based traversal method.
According to another aspect of the present disclosure, there is also provided a control apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the method for extending the entity ID based on the GIM model.
According to another aspect of the present disclosure, there is also provided a non-transitory computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method for extending real object IDs based on a GIM model described above.
The method comprises the steps of analyzing a GIM model and a storage structure thereof to obtain the GIM model and attribute information thereof; establishing an association relation between a real object ID and the GIM equipment model according to the GIM model and the attribute information thereof; traversing a GIM system engineering hierarchical relation structure to acquire target node address information; adding physical ID information according to the target node address information; the entity ID information can be expanded in the GIM, an entity ID code is added to the GIM, the three-dimensional design model and the entity ID are correlated, and a data base is laid for using three-dimensional design results in construction and operation and maintenance stages.
According to the method and the device, in the power grid construction stage, the material delivery, construction progress and other rapid information management based on the real object ID can be realized, and the construction is simulated; in the operation and maintenance stage, the contents of operation and maintenance emergency drilling, operation and maintenance data visual monitoring and the like can be realized.
The invention supports the whole-scene application of the traditional engineering construction stages such as the progress, safety, quality, manufacturing cost, technology, materials and the like of a construction site based on the innovation mode of the association of the entity ID and the three-dimensional model, and can also check the engineering equipment model, the entity ID codes and various attributes on line in real time, thereby realizing the information transfer of the equipment attributes containing the entity ID in each construction stage.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram illustrating an implementation flow of an application method for extending a physical ID based on a GIM model according to the present invention;
FIG. 2 is a diagram showing a hierarchical structure of a process according to embodiment 1 of the present invention;
FIG. 3 is a diagram illustrating a multi-way tree structure for traversing an engineering hierarchy in embodiment 1 of the present invention;
FIG. 4 is a schematic view of a visualization display page after physical ID information is added;
FIG. 5 is a schematic diagram illustrating the components of an application system for extending a physical ID based on a GIM model according to the present invention;
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Example 1
According to an aspect of the present disclosure, as shown in fig. 1, there is provided an application method for extending a real object ID based on a GIM model, including the following steps:
s1, analyzing the GIM and the storage structure thereof, and acquiring the GIM and the attribute information thereof;
the method comprises the steps of firstly analyzing a GIM model, and carding a GIM model frame to obtain an electrical equipment model, attribute information and an engineering hierarchical relation structure of a model file;
wherein, the GIM model frame comprises four parts of contents, which are respectively: attribute set FAM, component class PHM, physical model DEV/logic model SCH and engineering model CBM;
in the GIM model system, standard format files are stored according to four directory structures, and data stored by the standard format files comprise: geometric model unit (. mod), composite model (. phm), physical model (. dev), logical model (. sch), engineering model (. cbm), and attribute information (. fam).
Analyzing the electrical equipment model and the attribute information by analyzing the GIM model and the storage structure thereof to obtain an engineering hierarchical relationship structure, and establishing an association relationship between the entity ID and the GIM equipment model in advance for the convenience of searching the model corresponding to the entity ID in later-stage matching.
S2, establishing an association relation between the entity ID and the GIM equipment model according to the GIM model and the attribute information thereof;
the ID information of the real object is set by a user, and attribute information bytes are added at the address position correspondingly; wherein, the information of the real object is edited by a user according to the specific attribute of the equipment; the incidence relation is established in advance according to the corresponding relation between the real object and the GIM model system, so that the model file can be matched at the later stage conveniently;
after the incidence relation between the entity ID and the GIM equipment model is established, after a model file is subsequently loaded, the attribute information of the entity equipment can be visually checked on a GIM system platform, and the full-scene application of the construction site in the traditional engineering construction stage such as progress, safety, quality, manufacturing cost, technology, materials and the like is supported; and the engineering equipment model, the physical ID code and various attributes can be checked in real time on line, and the information transfer of the equipment attribute containing the physical ID at each construction stage is realized.
The entity ID information and the corresponding association relationship between the GIM model and the entity may be selectively set by the user according to the specific usage scenario and the device attribute, which is not limited herein.
And S3, traversing the engineering hierarchical relationship structure of the GIM system to acquire the address information of the target node.
As shown in fig. 2, a schematic diagram of an engineering hierarchy structure of the GIM system is shown, and the embodiment includes four levels of engineering hierarchy, specifically:
a. a first-level project (file suffix name cbm, System level descriptor ENTITYNAME ═ F1System) including a plurality of second-level projects;
b. a second level project (file suffix name cbm, System level descriptor ENTITYNAME ═ F2System) including a plurality of third level projects;
c. a three-level project (file suffix name cbm, System level descriptor ENTITYNAME ═ F3System) including a plurality of four-level equipment systems;
d. four-level device System (file suffix name cbm, System level descriptor ENTITYNAME ═ F4System, System device level).
In this embodiment, taking the example of adding the real ID information to the fourth-level device (facility), address query needs to be performed on the fourth-level device (facility), the engineering hierarchical relationship is traversed first, the engineering hierarchical relationship structure is traversed by the multi-way tree traversal method, depth priority is realized in a recursive manner, and the desired target node address information is finally obtained; specific traversal and address acquisition is described in detail below.
And S4, adding real object ID information according to the target node address information.
And after the address information of the target node is obtained, adding a field at the address position, and adding a real object ID.
After the entity ID information is added into the GIM model system, the entity attribute information can be checked through the system after the model file is loaded at the later stage.
As shown in fig. 2, a model file is loaded from a file entry, so that a four-level engineering hierarchical relationship is experienced, a multi-branch tree traversal method is adopted, so that traversal is performed from a first-level total station to a four-level device (facility), a corresponding model address of ". fam" is finally found through a multi-branch tree traversal and depth optimization traversal mode, and a real object ID is written in a field according to the address. As shown in fig. 4, the entity ID information can be finally seen in the node text of the model file, so that the entity attribute information is referred to on the GIM model platform.
It should be noted that, although the above-mentioned hierarchical traversal and address acquisition are described by taking a four-level device (facility) as an example, those skilled in the art will understand that the present disclosure should not be limited thereto. In fact, the user can set flexibly according to personal preference and/or actual application scene, and only the entity ID information is added in the GIM.
Thus, the GIM model and the attribute information thereof are obtained by analyzing the GIM model and the storage structure thereof; establishing an association relation between a real object ID and the GIM equipment model according to the GIM model and the attribute information thereof; traversing a GIM system engineering hierarchical relation structure to acquire target node address information; adding physical ID information according to the target node address information; the entity ID information can be expanded in the GIM, an entity ID code is added to the GIM, the three-dimensional design model and the entity ID are correlated, and a data base is laid for using three-dimensional design results in construction and operation and maintenance stages.
According to the method and the device, in the power grid construction stage, the material delivery, construction progress and other rapid information management based on the real object ID can be realized, and the construction is simulated; in the operation and maintenance stage, the contents of operation and maintenance emergency drilling, operation and maintenance data visual monitoring and the like can be realized.
The invention supports the whole-scene application of the traditional engineering construction stages such as the progress, safety, quality, manufacturing cost, technology, materials and the like of a construction site based on the innovation mode of the association of the entity ID and the three-dimensional model, and can also check the engineering equipment model, the entity ID codes and various attributes on line in real time, thereby realizing the information transfer of the equipment attributes containing the entity ID in each construction stage.
As a model file attribute loading approach to the present system, in one possible implementation,
further comprising:
loading a GIM model file;
inputting the GIM model file into a system through tool software, and loading the GIM model file into the GIM model system by using a tool;
and decompressing the GIM model file to obtain file header information.
In this embodiment, a 7z three-party tool is used to decompress a file in gim format according to 7z format, and obtain the header information of gim file;
and judging the type of the GIM model file according to the file header information.
According to the file header information, the type of the loaded GIM model file can be known, and the loaded GIM model file is judged to be a power transformation type or a power transmission type, so that the corresponding model can be traversed and matched in the engineering hierarchical relation structure conveniently.
The 7z three-way tool is only one pressing tool of the present embodiment, and the specific implementation is not limited to the 7z three-way tool, and the user may select the tool.
In one possible implementation form of the method,
further comprising:
traversing all system and equipment files according to the GIM standard according to the type of the GIM model file;
and after the type of the loaded GIM model file is obtained, traversing all system and equipment files according to the GIM specification, namely traversing and searching files in the engineering hierarchical relationship structure according to the file type to obtain the engineering hierarchical relationship structure related to the type of the GIM model file.
When the object ID information is written, the technology adopts a multi-branch tree traversal method to traverse the engineering hierarchical relation structure, and depth priority is realized in a recursive mode.
In one possible implementation form of the method,
the obtaining of the address information of the target node comprises
And traversing the engineering hierarchical relation structure and outputting initial node data based on a multi-way tree traversal method.
As shown in FIG. 3, the first element of each row of the multi-way tree specifies a node, wherein the first row specifies the root node of the multi-way tree; the second element indicates that the node has several children followed immediately by several children.
Outputting the initial node data according to depth based on a hierarchical priority traversal method to obtain first node data;
outputting the nodes according to the depth by a hierarchical priority traversal method, and combining fig. 3, for example, outputting the node with the deepest depth first: x e j, then outputs a node with depth 2: d f i, and then outputting a node with the depth of 1: g cC z bbb, and finally the output root node: aA.
The implementation principle of the hierarchy-first traversal is to start from a root node, solve the problem by using a hierarchy-first traversal method, and realize the output of a depth node by using a queue, namely to obtain first node data.
And acquiring a node with the longest path from the root node to the leaf node on the multi-branch tree as a target node from the first node data based on a depth-first traversal method.
In this embodiment, a depth-first traversal method is adopted to obtain address information of a target node, where the determined address information of the target node is located in the first node data, and the target node is searched by using the depth-first traversal method.
In the multi-branch tree shown in fig. 3, the calculation paths between nodes are different in length, and all paths from the root node to the leaf nodes are solved by adopting a depth-first traversal method, so that a path with the longest node name added on all paths, that is, aA bbb is obtained, and thus, the target node is found and is used as the address position for adding the entity ID information.
And after finding, adding the ID attribute information of the real object in the four-level equipment (facility) catalog. As shown in fig. 4, in a node text information presentation schematic, it can be seen that a physical ID has been added after the physical directory node location of the text directory.
As shown in fig. 4, for the visual display page schematic diagram after the physical ID information is added, after the information is input, the engineering equipment model, the physical ID code and various attributes can be viewed online in real time on the system, so that information transfer of the equipment attribute containing the physical ID at each stage of construction is realized.
Example 2
In the application method technology of embodiment 1, this embodiment correspondingly provides an application system to execute and implement the matching method. The functions and information transmission of each module in the system are the same as the implementation method and principle described in embodiment 1, and the details are shown in embodiment 1.
As shown in fig. 5, according to another aspect of the present disclosure, an application system for extending a real object ID based on a GIM model is provided, which includes an analysis module, an association relationship establishing module, a traversal module, and an information adding module, where:
the analysis module is used for: the method comprises the steps of analyzing a GIM model and a storage structure thereof, and acquiring the GIM model and attribute information thereof;
the incidence relation establishing module: the system comprises a GIM model and a GIM equipment model, wherein the GIM model is used for establishing an association relation between a real object ID and the GIM equipment model according to the GIM model and attribute information thereof;
the system traversal module: the system is used for traversing the GIM system engineering hierarchical relation structure to acquire target node address information;
the information adding module: and the system is used for adding real object ID information according to the target node address information.
Analyzing the GIM model and the storage structure thereof by the analysis module, acquiring the GIM model and the attribute information thereof, and then sending the analyzed data to the association relationship establishing module, wherein the association relationship establishing module establishes the association relationship between the entity ID and the GIM equipment model according to the GIM model and the attribute information thereof;
after loading an entity model file through a GIM model system, traversing the engineering hierarchical relationship structure of the GIM system through the system traversal module, acquiring the address information of a target node of the system corresponding to the entity model, matching the loaded entity model with the model of the GIM model system so as to find a corresponding position, and then adding entity ID information through the information adding module.
In one possible implementation form of the method,
further comprising:
the loading module is used for: for loading the GIM model file;
the decompression module: the GIM model file is decompressed to obtain file header information;
the GIM model file type judgment module: and the GIM model file type is judged according to the file header information.
In one possible implementation form of the method,
further comprising:
the secondary traversal module: the system and equipment files are used for traversing all the system and equipment files according to the GIM standard according to the type of the GIM model file;
the engineering hierarchical relationship structure obtaining module: and the system is used for acquiring the engineering hierarchical relation structure related to the GIM model file type.
In one possible implementation form of the method,
the system traversal module comprises
A first traversal module: traversing the engineering hierarchical relationship structure and outputting initial node data based on a multi-way tree traversal method;
a second traversal module: outputting the initial node data according to depth by using a hierarchical priority traversal method to obtain first node data;
a third traversal module: and acquiring a node with the longest path from the root node to the leaf node on the multi-branch tree from the first node data as a target node by using a depth-first-based traversal method.
The function and execution of the system traversing module are specifically implemented in embodiment 1, and are not described in detail here.
Example 3
Still further, according to another aspect of the present disclosure, there is also provided a control apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the method for applying extended entity ID based on the GIM model described in embodiment 1.
The control device of the embodiment of the disclosure comprises a processor and a memory for storing executable instructions of the processor. Wherein the processor is configured to execute the executable instructions to implement any one of the aforementioned methods for applying the entity ID based on the GIM model.
Here, it should be noted that the number of processors may be one or more. Meanwhile, in the control device of the embodiment of the present disclosure, an input device and an output device may be further included. The processor, the memory, the input device, and the output device may be connected by a bus, or may be connected by other means, and are not limited specifically herein.
The memory, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and various modules, such as: the program or the module corresponding to the application method for extending the real object ID based on the GIM model in embodiment 1 of the present disclosure. The processor executes various functional applications of the control device and data processing by executing software programs or modules stored in the memory.
The input device may be used to receive an input number or signal. Wherein the signal may be a key signal generated in connection with user settings and function control of the device/terminal/server. The output means may comprise a display device such as a display screen.
Example 4
Still further, according to another aspect of the present disclosure, there is also provided a non-transitory computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method for extending a real object ID based on a GIM model described above.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Claims (10)
1. An application method for extending a real object ID based on a GIM model is characterized by comprising the following steps:
s1, analyzing the GIM and the storage structure thereof, and acquiring the GIM and the attribute information thereof;
s2, establishing an association relation between the entity ID and the GIM equipment model according to the GIM model and the attribute information thereof;
s3, traversing the engineering hierarchical relationship structure of the GIM system to acquire the address information of the target node;
and S4, adding real object ID information according to the target node address information.
2. The GIM model-based application method of extended entity IDs according to claim 1, further comprising:
loading a GIM model file;
decompressing the GIM model file to obtain file header information;
and judging the type of the GIM model file according to the file header information.
3. The GIM model-based entity ID extension application method according to claim 2, further comprising:
traversing all system and equipment files according to the GIM standard according to the type of the GIM model file;
and acquiring an engineering hierarchical relation structure related to the GIM model file type.
4. The GIM model-based entity ID extension application method as claimed in claim 3, wherein said obtaining destination node address information comprises
Traversing the engineering hierarchical relationship structure and outputting initial node data based on a multi-way tree traversal method;
outputting the initial node data according to depth based on a hierarchical priority traversal method to obtain first node data;
and acquiring a node with the longest path from the root node to the leaf node on the multi-branch tree as a target node from the first node data based on a depth-first traversal method.
5. The application system based on the GIM model for extending the ID of the real object is characterized by comprising an analysis module, an association relation establishing module, a traversal module and an information adding module, wherein:
the analysis module is used for: the method comprises the steps of analyzing a GIM model and a storage structure thereof, and acquiring the GIM model and attribute information thereof;
the incidence relation establishing module: the system comprises a GIM model and a GIM equipment model, wherein the GIM model is used for establishing an association relation between a real object ID and the GIM equipment model according to the GIM model and attribute information thereof;
the system traversal module: the system is used for traversing the GIM system engineering hierarchical relation structure to acquire target node address information;
the information adding module: and the system is used for adding real object ID information according to the target node address information.
6. The GIM model-based entity ID extension application system of claim 5, further comprising:
the loading module is used for: for loading the GIM model file;
the decompression module: the GIM model file is decompressed to obtain file header information;
the GIM model file type judgment module: and the GIM model file type is judged according to the file header information.
7. The GIM model-based entity ID extension application system of claim 6, further comprising:
the secondary traversal module: the system and equipment files are used for traversing all the system and equipment files according to the GIM standard according to the type of the GIM model file;
the engineering hierarchical relationship structure obtaining module: and the system is used for acquiring the engineering hierarchical relation structure related to the GIM model file type.
8. The GIM model-based entity ID extension application system of claim 7, wherein said system traversal module comprises
A first traversal module: traversing the engineering hierarchical relationship structure and outputting initial node data based on a multi-way tree traversal method;
a second traversal module: outputting the initial node data according to depth by using a hierarchical priority traversal method to obtain first node data;
a third traversal module: and acquiring a node with the longest path from the root node to the leaf node on the multi-branch tree from the first node data as a target node by using a depth-first-based traversal method.
9. A control device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the GIM model-based extended real object ID method of any one of claims 1 to 4 when executing the executable instructions.
10. A non-transitory computer readable storage medium having stored thereon computer program instructions, wherein the computer program instructions, when executed by a processor, implement the GIM model-based extended entity ID method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111124010.2A CN114048583A (en) | 2021-09-24 | 2021-09-24 | Application method and system for extending real object ID based on GIM model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111124010.2A CN114048583A (en) | 2021-09-24 | 2021-09-24 | Application method and system for extending real object ID based on GIM model |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114048583A true CN114048583A (en) | 2022-02-15 |
Family
ID=80204745
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111124010.2A Pending CN114048583A (en) | 2021-09-24 | 2021-09-24 | Application method and system for extending real object ID based on GIM model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114048583A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114969901A (en) * | 2022-05-10 | 2022-08-30 | 深圳采骏绿碳供应链有限公司 | Building equipment and building information model matching method and device |
CN118070753A (en) * | 2024-04-17 | 2024-05-24 | 国网江苏省电力有限公司苏州供电分公司 | GIM model and entity ID matching method and system based on deep learning |
-
2021
- 2021-09-24 CN CN202111124010.2A patent/CN114048583A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114969901A (en) * | 2022-05-10 | 2022-08-30 | 深圳采骏绿碳供应链有限公司 | Building equipment and building information model matching method and device |
CN118070753A (en) * | 2024-04-17 | 2024-05-24 | 国网江苏省电力有限公司苏州供电分公司 | GIM model and entity ID matching method and system based on deep learning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI670672B (en) | Automated constructing method of cloud manufacturing service, computer program product, and cloud manufacturing system | |
CN107122368B (en) | Data verification method and device and electronic equipment | |
CN114048583A (en) | Application method and system for extending real object ID based on GIM model | |
EP2378443A1 (en) | Method for converting system model, computer program, and system model conversion device | |
CN107220096A (en) | A kind of json data analysis methods and device | |
CN111209203B (en) | Model verification method based on source code | |
US20140359578A1 (en) | Generating visually encoded dynamic codes for remote launching of applications | |
CN110941614A (en) | Form generation method and device, electronic equipment and computer readable storage medium | |
CN111309734B (en) | Method and system for automatically generating table data | |
CN111125064A (en) | Method and device for generating database mode definition statement | |
CN105320662A (en) | Method and device for webpage generation | |
CN107766519B (en) | Method for visually configuring data structure | |
US11030362B2 (en) | Modeling and cooperative simulation of systems with interdependent discrete and continuous elements | |
CN117632710A (en) | Method, device, equipment and storage medium for generating test code | |
CN115438768A (en) | Model reasoning method, device, computer equipment and storage medium | |
CN112445514B (en) | Code review method and related products | |
CN116974929A (en) | Automatic test tool construction method, automatic test method and related equipment thereof | |
CN115455006A (en) | Data processing method, data processing device, electronic device, and storage medium | |
JP2009252019A (en) | Software reuse support apparatus and software reuse support method | |
CN108334313A (en) | Continuous integrating method, apparatus and code management system for large-scale SOC research and development | |
CN103577170A (en) | Construction method and construction device for web application | |
CN113504904A (en) | User-defined function implementation method and device, computer equipment and storage medium | |
CN116112377B (en) | Interface simulation method, device, equipment and storage medium | |
CN116755684B (en) | OAS Schema generation method, device, equipment and medium | |
CN111090690B (en) | Parameter docking method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |