CN114092648A - Digital twin application framework and method for application scene of station equipment - Google Patents
Digital twin application framework and method for application scene of station equipment Download PDFInfo
- Publication number
- CN114092648A CN114092648A CN202111410338.0A CN202111410338A CN114092648A CN 114092648 A CN114092648 A CN 114092648A CN 202111410338 A CN202111410338 A CN 202111410338A CN 114092648 A CN114092648 A CN 114092648A
- Authority
- CN
- China
- Prior art keywords
- module
- name
- server
- digital twin
- model
- 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
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2210/00—Indexing scheme for image generation or computer graphics
- G06T2210/61—Scene description
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to a digital twin application framework and a method facing a field station equipment application scene.A client reads a three-dimensional model of field station equipment and loads the three-dimensional model in the three-dimensional scene; traversing mesh objects in the three-dimensional model, dividing the mesh objects into a plurality of groups according to categories, and changing the name attribute of each mesh object into a unique identifier; when a user carries out clicking operation, if a clicked object is in the grouped object, a clicking event is formed; acquiring the name of a clicked object, transmitting the name to a server, and receiving corresponding real-time monitoring data and pushed real-time data returned by the server; and searching an object according to the real-time data name, and identifying the object into the three-dimensional scene. The client side can provide the display of the digital twin interface and the interactive operation function of the user and the digital twin, and accurately judges which digital twin is operated by the user when the user operates the digital twin; and accurately displaying the data of the server and mapping the data with the digital twin.
Description
Technical Field
The invention relates to the technical field of computer software, in particular to a digital twin application framework and a method for a field station equipment application scene.
Background
Although the operation and maintenance level of the station equipment in China is very high, in the applications of equipment operation and inspection, personnel safety monitoring, autonomous operation of robots and the like, an accurate position mapping analysis technical means facing a three-dimensional space is lacked, the difficulty in accurate study and judgment of the spatial position leads to equipment safety and field operation risks, and the need of realizing accurate position mapping through materialized representation of a power grid and an environment and realizing three-dimensional spatial analysis of multi-source and multi-type data is urgently needed. The digital twin model is a 'twin brother' of the actual equipment or the physical model, namely a virtual model, and the accurate position mapping of the three-dimensional space of the power grid equipment is completed in the virtual space. If the digital model exists, the problem of accurate study and judgment of the spatial position is solved, and the operation and maintenance level of the station can be qualitatively improved.
In recent years, serious personal casualty accidents happen for many times in the field of power production, and the situation of safe production is severe, wherein the important reasons are as follows: the electrified region of the overhaul site is complex and is easy to enter the electrified interval by mistake; the field monitoring of the live state of the operating personnel and equipment is not strong enough; field workers do not follow standardized work flows, etc. Therefore, the existing conventional monitoring method of the transformer substation is effectively fused with the panoramic sensing technology, a field station digital twin space model is constructed, the defect that the traditional monitoring means lacks space detection sensing capability on the transformer substation field is effectively overcome, and the three-dimensional management and control of safe operation is realized through the functions of division of space dangerous areas, real-time prohibition of entry, prohibition of alarm and the like, so that the method has important practical significance.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a digital twin application framework and a method for a field station equipment application scene, provides a field station three-dimensional space-oriented precise position mapping analysis technical means, can realize multi-source and multi-type data three-dimensional space analysis, design and develop multi-node, multi-dimension and large-space-time digital twin interfaces, support power supply guarantee and virtual-real cooperative application of a data center scene, and realize a full-value chain cooperative digital twin transmission, integration and interaction integrated digital twin system.
In order to achieve the purpose, the invention provides a digital twin application framework facing to a field station device application scene, which comprises a client and a server;
the client comprises a model loading module, a model grouping module, a model operating module, a data mapping module and a model animation module;
the model loading module reads a three-dimensional model of the station equipment and loads the three-dimensional model in a three-dimensional scene;
the model grouping module traverses mesh objects in the three-dimensional model, divides the mesh objects into a plurality of groups according to categories, and changes the name attribute of each mesh object into a unique identifier;
the model operation module initializes a raycaster ray object in a three-dimensional scene, binds a click event to a window, and forms the click event if the clicked object is in a grouped object when a user clicks;
the data mapping module is used for acquiring the name of the clicked object, transmitting the name to the server and receiving the corresponding real-time monitoring data returned by the server; receiving real-time data pushed by a server;
the model animation module searches a corresponding object according to the name corresponding to the real-time data and marks the corresponding object into the three-dimensional scene;
and the server stores real-time data of each device of the station.
Further, forming a click event includes: and emitting rays after clicking, taking the returned first object as a clicked object, judging whether the category of the clicked object accords with a certain group category, if not, discarding the clicking operation, and if so, acquiring the name of the clicked object, and transmitting the name to the server.
Further, the model animation module converts the real-time data information frame into an html element, and converts the html element into a three-dimensional label through CSS2DRender in threejs for display.
Furthermore, the client is further provided with an interface login module, an authority verification module, a safety authentication module and a routing navigation module which are realized based on an vue framework, a routing module is realized based on vue-router, a global state management module is realized based on vuex, and an interaction module of the server and the client is realized based on axios.
In another aspect, a digital twin application method for a station-oriented device application scenario is provided, including:
a client reads a three-dimensional model of the station equipment and loads the three-dimensional model in a three-dimensional scene;
traversing mesh objects in the three-dimensional model, dividing the mesh objects into a plurality of groups according to categories, and changing the name attribute of each mesh object into a unique identifier;
initializing a raycaster ray object in a three-dimensional scene, binding a click event to a window, and forming the click event if the clicked object is in a grouped object when a user clicks;
acquiring the name of the clicked object, transmitting the name to the server, and receiving corresponding real-time monitoring data returned by the server; receiving real-time data pushed by a server;
and searching a corresponding object according to the name corresponding to the real-time data, and identifying the object into the three-dimensional scene.
Further, forming a click event includes: and emitting rays after clicking, taking the returned first object as a clicked object, judging whether the category of the clicked object accords with a certain group category, if not, discarding the clicking operation, and if so, acquiring the name of the clicked object, and transmitting the name to the server.
Further, the real-time data information frame is converted into an html element, and the html element is converted into a three-dimensional label display through CSS2DRender in threejs.
Furthermore, the client-side display, interface login, authority verification, safety authentication and routing navigation are realized based on an vue framework, the routing is realized based on vue-router, the global state management is realized based on vuex, and the interaction between the server-side and the client-side is realized based on axios.
The technical scheme of the invention has the following beneficial technical effects:
(1) the client can provide the display of the digital twin interface and the interactive operation function of the user and the digital twin, and the client realizes the following functions: when a user operates the digital twin body, accurately judging which digital twin body the user operates; and accurately displaying the data of the server and mapping the data with the digital twin.
(2) The server side of the invention realizes the correspondence of the data sent by the communication server and the digital twin, and stores the data in the message into a pre-designed model.
(3) The invention provides a technical means for accurate position mapping analysis of a three-dimensional space of a station, which can realize three-dimensional space analysis of multi-source and multi-type data, design and develop a multi-node, multi-dimensional and large-space-time digital twin interface, support power supply guarantee and virtual-real cooperative application of a data center scene, and realize a full value chain cooperative digital twin transmission, integration and interaction integrated digital twin system.
Drawings
FIG. 1 is a schematic diagram of a digital twin application framework configuration for a site-oriented device application scenario;
FIG. 2 is a flow chart of a digital twinning application method;
fig. 3 is a schematic diagram of a client component.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings in conjunction with the following detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
The invention relates to a digital twin application framework for a data center and a power supply and power protection scene.
The client, in combination with fig. 1 and 3, includes a model loading module, a model grouping module, a model operating module, a data mapping module, and a model animation module.
The model loading module reads a three-dimensional model of the station equipment and loads the three-dimensional model in a three-dimensional scene. The three-dimensional scenes also comprise sky scenes, land scenes and the like, and are obtained by code writing.
The model grouping module traverses mesh objects in the three-dimensional model, divides the mesh objects into a plurality of groups according to categories, and changes the name attribute of each mesh object into a unique identifier.
The model operation module initializes a raycaster ray object in the three-dimensional scene, binds a click event to the window, and forms the click event if the clicked object is in the grouped object when the user clicks.
The data mapping module is used for acquiring the name of the clicked object, transmitting the name to the server and receiving the corresponding real-time monitoring data returned by the server; and receiving real-time data pushed by the server.
And the model animation module searches for a corresponding object according to the name corresponding to the real-time data and marks the object into the three-dimensional scene.
FBXLoader, OBJLoader and GFTLLoader are loaders of models with different formats and are respectively used for loading three-dimensional models with FBX, OBJ and GFTL formats.
In the client provided by the framework, firstly, a three-dimensional model established by a modeling factory for the station equipment is read into a client application program, then, mesh objects (a single model in a model scene) in the three-dimensional model are traversed and grouped, and the mesh objects needing interactive operation in the digital twin system are divided into a plurality of groups, for example, transformer equipment is divided into a group, and interval equipment is divided into a group; and then changing the name attribute of each device into a unique identifier, wherein the identifier can correspond to the model objects stored in the database one by one, then initializing a raycaster ray object, binding a click event to a window, acquiring a mesh object clicked by a user through the ray object when the user performs click operation, acquiring the name of the mesh, and transmitting the name to a server of the frame, thereby acquiring the monitoring data of a single device in a large space-time scene.
And judging whether the category of the clicked object accords with a certain group category or not, acquiring object information, and judging according to the object information. And if the name is not consistent with the name of the clicked object, the name of the clicked object is acquired and transmitted to the server.
After the data returned by the server is acquired, the data needs to be bound to the dom element through an vue frame, and the difference is that the dom element cannot be normally displayed in a three-dimensional scene as in a conventional system, and a CSS2DRender object in threjs needs to be called to convert the html element, so that the html element can be normally fused with a digital twin system. And the model animation module converts the real-time data information frame into an html element, and converts the html element into a three-dimensional label for display through a CSS2DRender in threejs.
Furthermore, the client is further provided with an interface login module, an authority verification module, a safety authentication module and a routing navigation module which are realized based on an vue framework, a routing module is realized based on vue-router, a global state management module is realized based on vuex, and an interaction module of the server and the client is realized based on axios.
In another aspect, a digital twin application method for a site-oriented device application scenario is provided, which, in conjunction with fig. 2, includes the following steps:
(1) a client model loading module reads a three-dimensional model of the station equipment and loads the three-dimensional model in a three-dimensional scene;
(2) and traversing the mesh objects in the three-dimensional model, dividing the mesh objects into a plurality of groups according to the categories, and changing the name attribute of each mesh object into a unique identifier.
(3) Initializing a raycaster ray object in a three-dimensional scene, binding a click event to a window, and forming the click event if the clicked object is in a grouped object when a user clicks.
Forming a click event, including: and emitting rays after clicking, taking the returned first object as a clicked object, judging whether the category of the clicked object accords with a certain group category, if not, discarding the clicking operation, and if so, acquiring the name of the clicked object, and transmitting the name to the server. Fast object finding is achieved by grouping.
(4) Acquiring the name of the clicked object, transmitting the name to the server, and receiving corresponding real-time monitoring data returned by the server; and receiving real-time data pushed by the server.
(5) And searching a corresponding object according to the name corresponding to the real-time data, and identifying the object into the three-dimensional scene.
And converting the real-time data information frame into an html element, and converting the html element into a three-dimensional tag for display through CSS2DRender in threejs.
The client-side display, interface login, authority verification, safety authentication and route navigation are realized on the basis of an vue framework, the route is realized on the basis of vue-router, the global state management is realized on the basis of vuex, and the interaction between the server-side and the client-side is realized on the basis of axios.
In summary, according to the digital twin application framework and method for the application scene of the field station equipment, a client reads a three-dimensional model of the field station equipment and loads the three-dimensional model in the three-dimensional scene; traversing mesh objects in the three-dimensional model, dividing the mesh objects into a plurality of groups according to categories, and changing the name attribute of each mesh object into a unique identifier; when a user carries out clicking operation, if a clicked object is in the grouped object, a clicking event is formed; acquiring the name of a clicked object, transmitting the name to a server, and receiving corresponding real-time monitoring data and pushed real-time data returned by the server; and searching an object according to the real-time data name, and identifying the object into the three-dimensional scene. The client side can provide the display of the digital twin interface and the interactive operation function of the user and the digital twin, and accurately judges which digital twin is operated by the user when the user operates the digital twin; and accurately displaying the data of the server and mapping the data with the digital twin.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explaining the principles of the invention and are not to be construed as limiting the invention. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. Further, it is intended that the appended claims cover all such variations and modifications as fall within the scope and boundaries of the appended claims or the equivalents of such scope and boundaries.
Claims (8)
1. A digital twin application framework facing a field station device application scene is characterized by comprising a client and a server;
the client comprises a model loading module, a model grouping module, a model operating module, a data mapping module and a model animation module;
the model loading module reads a three-dimensional model of the station equipment and loads the three-dimensional model in a three-dimensional scene;
the model grouping module traverses mesh objects in the three-dimensional model, divides the mesh objects into a plurality of groups according to categories, and changes the name attribute of each mesh object into a unique identifier;
the model operation module initializes a raycaster ray object in a three-dimensional scene, binds a click event to a window, and forms the click event if the clicked object is in a grouped object when a user clicks;
the data mapping module is used for acquiring the name of the clicked object, transmitting the name to the server and receiving the corresponding real-time monitoring data returned by the server; receiving real-time data pushed by a server;
the model animation module searches a corresponding object according to the name corresponding to the real-time data and marks the corresponding object into the three-dimensional scene;
and the server stores real-time data of each device of the station.
2. The station equipment application scenario-oriented digital twin application framework of claim 1, wherein forming a click event comprises: and emitting rays after clicking, taking the returned first object as a clicked object, judging whether the category of the clicked object accords with a certain group category, if not, discarding the clicking operation, and if so, acquiring the name of the clicked object, and transmitting the name to the server.
3. The digital twin application framework oriented to field device application scenarios of claim 1 or 2, wherein the model animation module converts the real-time data information box into html elements, and converts into three-dimensional tag display through CSS2DRender in threejs.
4. The digital twin application framework oriented to the application scenario of the station equipment as claimed in claim 1 or 2, wherein the client further sets an interface login module, an authority check module, a security authentication module and a routing navigation module to be implemented based on vue framework, sets a routing module to be implemented based on vue-router, sets a global state management module to be implemented based on vuex, and sets an interaction module of the server and the client to be implemented based on axios.
5. A digital twin application method for application scenes of field station equipment is characterized by comprising the following steps:
a client reads a three-dimensional model of the station equipment and loads the three-dimensional model in a three-dimensional scene;
traversing mesh objects in the three-dimensional model, dividing the mesh objects into a plurality of groups according to categories, and changing the name attribute of each mesh object into a unique identifier;
initializing a raycaster ray object in a three-dimensional scene, binding a click event to a window, and forming the click event if the clicked object is in a grouped object when a user clicks;
acquiring the name of the clicked object, transmitting the name to the server, and receiving corresponding real-time monitoring data returned by the server; receiving real-time data pushed by a server;
and searching a corresponding object according to the name corresponding to the real-time data, and identifying the object into the three-dimensional scene.
6. The station equipment application scenario-oriented digital twin application method of claim 5, wherein forming a click event comprises: and emitting rays after clicking, taking the returned first object as a clicked object, judging whether the category of the clicked object accords with a certain group category, if not, discarding the clicking operation, and if so, acquiring the name of the clicked object, and transmitting the name to the server.
7. The station equipment application scene oriented digital twin application method as claimed in claim 5 or 6, characterized in that the real-time data information frame is converted into html element, and converted into three-dimensional label display through CSS2DRender in threejs.
8. The station equipment application scenario-oriented digital twin application method according to claim 5 or 6, wherein presentation, interface login, permission check, security authentication, and routing navigation of the client are implemented based on an vue framework, routing is implemented based on vue-router, global state management is implemented based on vuex, and interaction between the server and the client is implemented based on axios.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111410338.0A CN114092648A (en) | 2021-11-19 | 2021-11-19 | Digital twin application framework and method for application scene of station equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111410338.0A CN114092648A (en) | 2021-11-19 | 2021-11-19 | Digital twin application framework and method for application scene of station equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114092648A true CN114092648A (en) | 2022-02-25 |
Family
ID=80304869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111410338.0A Pending CN114092648A (en) | 2021-11-19 | 2021-11-19 | Digital twin application framework and method for application scene of station equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114092648A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114973777A (en) * | 2022-05-12 | 2022-08-30 | 华设设计集团北京民航设计研究院有限公司 | Airport environment monitoring method and system based on Internet of things |
CN115878131A (en) * | 2023-02-09 | 2023-03-31 | 天津汉云工业互联网有限公司 | Code generation method and device for digital twin application and electronic equipment |
CN117251964A (en) * | 2023-08-03 | 2023-12-19 | 国网陕西省电力有限公司咸阳供电公司 | Station resource utilization and twin modeling reconstruction method, storage medium and electronic equipment |
-
2021
- 2021-11-19 CN CN202111410338.0A patent/CN114092648A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114973777A (en) * | 2022-05-12 | 2022-08-30 | 华设设计集团北京民航设计研究院有限公司 | Airport environment monitoring method and system based on Internet of things |
CN114973777B (en) * | 2022-05-12 | 2024-04-12 | 华设设计集团北京民航设计研究院有限公司 | Airport environment monitoring method and system based on Internet of things |
CN115878131A (en) * | 2023-02-09 | 2023-03-31 | 天津汉云工业互联网有限公司 | Code generation method and device for digital twin application and electronic equipment |
CN115878131B (en) * | 2023-02-09 | 2023-05-09 | 天津汉云工业互联网有限公司 | Code generation method and device for digital twin application and electronic equipment |
CN117251964A (en) * | 2023-08-03 | 2023-12-19 | 国网陕西省电力有限公司咸阳供电公司 | Station resource utilization and twin modeling reconstruction method, storage medium and electronic equipment |
CN117251964B (en) * | 2023-08-03 | 2024-05-10 | 国网陕西省电力有限公司咸阳供电公司 | Station resource utilization and twin modeling reconstruction method, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114092648A (en) | Digital twin application framework and method for application scene of station equipment | |
CN106681250B (en) | A kind of intelligent automobile control and management system based on cloud | |
CN112115198B (en) | Urban remote sensing intelligent service platform | |
CN112769237B (en) | Digital twin system of transformer substation | |
CN104899384A (en) | Structural health monitoring visualization system based on Revit | |
US20200042657A1 (en) | Multi-dimensional event model generation | |
CN113487251B (en) | Natural disaster early warning and emergency response method and system based on one-key type remote sensing | |
CN114237192B (en) | Digital factory intelligent control method and system based on Internet of things | |
CN108491649A (en) | A kind of design method and processing equipment of wind power plant digital Platform | |
CN111026781A (en) | Search query tool based on object and spatial position | |
CN109741209A (en) | Power distribution network multi-source data fusion method, system and storage medium under typhoon disaster | |
CN116091039A (en) | Power transmission and transformation project acceptance result visualization method and system based on south network intelligent aerial view | |
CN115858651A (en) | Support platform is used in integration of wisdom city | |
CN109615700A (en) | Three-dimension virtual reality tunnel monitoring system and its operating method | |
WO2021103558A1 (en) | Rgb-d data fusion-based robot vision guiding method and apparatus | |
CN116579607A (en) | Multi-source data collaborative regional tailing pond risk monitoring method | |
CN105447120B (en) | Synthetic heat price data analysis system | |
CN111245945A (en) | Marine oil spilling supervisory systems based on buoy and unmanned aerial vehicle control | |
CN113935859A (en) | Intelligent construction site system based on BIM model | |
CN115424212B (en) | Electric power operation site violation identification system and application thereof | |
CN112328666A (en) | Intelligent building supervision operation and maintenance system based on cloud platform technology | |
CN115563341A (en) | Spatial video field for electric power operation violation identification and intelligent data processing system and method thereof | |
CN111125464A (en) | Working condition management system and method | |
CN115984074A (en) | Three-dimensional visual emergency treatment auxiliary decision command system | |
CN113420383B (en) | Method for realizing virtual simulation and IETM mutual search positioning |
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 |