A visualization implementation method for power virtual reality application

By constructing three-dimensional power scenarios and functional logic components, the problem of separation of power virtual reality product version maintenance and R&D engineering is solved, visual development of power virtual reality applications is realized, and technical level and R&D efficiency are improved.

CN114511656BActive Publication Date: 2024-11-22BEIJING KEDONG ELECTRIC POWER CONTROL SYST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011164084.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-27
Publication Date
2024-11-22
Estimated Expiration
2040-10-27

AI Technical Summary

Technical Problem

The existing three-dimensional graphics development technology has led to difficulties in maintaining the power virtual reality product version and inseparable R&D projects, which affects the improvement of technical level and R&D results.

Method used

A visual implementation method for power virtual reality applications is adopted. By constructing power three-dimensional scenes and functional logic components, using three-dimensional development software to import models and build logic components, forming power virtual reality applications, and realizing the visual development of power virtual reality applications.

Benefits of technology

It realizes visualization of the development process of three-dimensional virtual reality applications, simplifies product version maintenance, allows for separation of R&D projects, and improves the technical level and R&D efficiency of power virtual reality products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114511656B_ABST
    Figure CN114511656B_ABST
Patent Text Reader

Abstract

The present invention discloses a visualization implementation method of an electric power virtual reality application, comprising the steps of: constructing an electric power three-dimensional scene of the electric power virtual reality application; constructing a functional logic component for the electric power virtual reality application, and constructing a three-dimensional electric power functional logic diagram based on the functional logic component; and realizing the electric power virtual reality application based on the constructed electric power three-dimensional scene and the three-dimensional electric power functional logic diagram. The present invention realizes process visualization, simple product version maintenance, and separation of R&D engineering.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of power system simulation training, and in particular to a visualization implementation method for power virtual reality application. Background Art

[0002] OpenSceneGraph is an open source 3D graphics engine that was widely used in the field of power simulation before 2010 in this century. A large number of 3D scenes of substations were built based on the OpenSceneGraph engine. After 2010, the Unity3D 3D graphics engine was widely used in the field of 3D simulation. The Unity3D 3D graphics engine has better graphics display effects than the OpenSceneGraph 3D graphics engine, and has higher development efficiency.

[0003] Although the above-mentioned 3D graphics development engine greatly improves the development effect of 3D applications, in order to develop 3D applications, developers need to spend a lot of time learning the 3D development engine and mastering related development technologies, and the technical threshold is relatively high.

[0004] In recent years, 3D graphics development technology has been widely used in the development of various types of power virtual reality products. For a long time, various 3D products and projects have been developed by different teams based on 3D development languages. Since different teams have different product architectures and programming styles, it leads to difficulties in product version maintenance, the inability to separate R&D projects, and difficulty in sharing basic technical resources. These problems have affected the improvement of the technical level and R&D effect of power virtual reality products. Summary of the invention

[0005] In order to solve the deficiencies in the prior art, the present invention provides a visualization implementation method for electric power virtual reality applications, which solves the problem that electric power virtual reality applications are based on three-dimensional graphics development technology, resulting in difficulty in product version maintenance and inability to separate R&D projects.

[0006] In order to achieve the above objectives, the present invention adopts the following technical solution: a method for realizing visualization of electric power virtual reality application, comprising the steps of:

[0007] Construct three-dimensional power scenes for power virtual reality applications;

[0008] Constructing a functional logic component for electric power virtual reality application, and constructing a three-dimensional electric power functional logic diagram based on the functional logic component;

[0009] Power virtual reality application is realized based on the constructed three-dimensional power scene and three-dimensional power function logic diagram.

[0010] Furthermore, the process of constructing the three-dimensional power scene is as follows:

[0011] The interactive equipment objects in the three-dimensional power scene are 3D modeled using the three-dimensional modeling software, and the modeled equipment objects are exported as three-dimensional model files in the FBX format;

[0012] The three-dimensional model files are sequentially imported into the three-dimensional development software through the three-dimensional development software. After the three-dimensional model files are imported into the three-dimensional development software, a three-dimensional power object is formed. The spatial position and spatial orientation of each three-dimensional power object are edited to form a three-dimensional power scene.

[0013] Furthermore, the elements of the functional logic component include: component body, input parameters, output parameters, logic entry and logic exit;

[0014] The component body is used to perform logical functions according to the input parameters and logic entry after the functional logic component is activated, and reflect the operation results of the component through output parameters and logic exit; each component body includes an entry function for activating the functional logic component and an event interface function for responding to interactive event data;

[0015] The logic entry is the calling entry of the functional logic component, and the logic exit is the exit of the functional logic component.

[0016] Furthermore, the functional logic components include the following types of components:

[0017] Interface components, used for interface interaction between various power virtual reality applications and users;

[0018] Functional components, used to implement the background execution functions of the power virtual reality application;

[0019] Event component, used to monitor interactive events of power VR applications.

[0020] Furthermore, the execution process of a single functional logic component includes:

[0021] A certain logic entry of the functional logic component is marked as an activated state, and an entry function of the functional logic component is executed. In the entry function, the functional logic component initializes the internal function data of the functional logic component according to the data of the input parameter element and the name of the activated logic entry element;

[0022] When the functional logic component receives an event data packet generated by an external interactive operation event, the functional logic component calls the event interface function of the functional logic component, and the event data packet is passed in as a parameter of the event interface function. The functional logic component performs event processing in the event interface function according to the event data packet and the functional logic of the component. The functional logic component determines whether the three-dimensional object corresponding to the three-dimensional object ID in the passed-in event data packet is a related three-dimensional object of the functional logic component object. If it is not related, no processing is performed, otherwise event processing is performed;

[0023] The processing results of the event interface function of the functional logic component include the following situations:

[0024] 1) If the event processing generates data that needs to be output, the output data is assigned to the output data element with the corresponding name;

[0025] 2) The event processing causes the function of the functional logic component to be completed, and the functional logic component ends the function from one of the logical exits, then the state of the logical exit element is set to the activated state;

[0026] 3) Event handling does not produce the above two results.

[0027] Furthermore, the method for constructing the three-dimensional power function logic diagram is:

[0028] Draw the functional logic components one by one;

[0029] Connect the logic exits and logic entry of different functional logic components through logic connection lines as needed;

[0030] Connect the output parameters and input parameters of different functional logic components through logical connection lines as needed.

[0031] Furthermore, the logic connection lines connect the functional logic components in the following manner:

[0032] The logical connection line connects the following two situations:

[0033] Connecting a logic exit of a functional logic component and a logic entry of another functional logic component to represent the execution path of multiple logic functional components of the power virtual reality application;

[0034] Connect the output parameter of one functional logic component to the input parameter of another functional logic component to transfer data between different functional logic components;

[0035] The properties of the logical connection line include:

[0036] The connection starting point element is: the functional logic component element object connected by the connection line starting point;

[0037] The connection end point element is: the functional logic component element object connected to the end point of the connection line.

[0038] Furthermore, the power virtual reality application includes a three-dimensional power logic executor and an interactive event manager. The three-dimensional power logic executor executes logic according to the process defined in the power function logic diagram, and the interactive event manager is used to record interactive event data and send event data to the functional logic component.

[0039] Furthermore, the execution process of the three-dimensional electric logic actuator includes:

[0040] Traverse all functional logic component objects in the three-dimensional power functional logic diagram, find the functional logic component object whose logic component name is logic start, and add it to the currently active logic component object queue as the first seed logic component object in the logic component queue;

[0041] Establish a timer T, and process each logic component object in the currently active logic component object queue in a timed loop. The processing process for each logic component object A is as follows:

[0042] Get all logic exit elements of the logic component object A, and determine whether any logic exit is activated;

[0043] If a logical exit M is activated, the following steps are performed:

[0044] Remove the logic component object A from the active logic component object queue;

[0045] Stop the internal logic execution of logic component object A;

[0046] Get all output parameter elements of the logic component object A, and for each output parameter element S, traverse the set of logic connection lines in the three-dimensional power function logic diagram, find the logic connection line L whose connection starting point element is S, and then pass the data in the output parameter S to the connection end point element of the logic connection line L;

[0047] For the activated logic exit M, traverse the set of logic connection lines in the system logic diagram and find the logic connection line Y whose starting point element is the logic exit M;

[0048] The end point object of the logic connection line Y is a logic entry R of a subsequent connection of the logic exit M; for each subsequent logic entry R, ​​the functional logic component F to which the logic entry R belongs is activated, the entry function of the functional logic component F is executed, and the functional logic component F is added to the active logic component object queue;

[0049] The above logic component object timer T is processed in a loop until the functional logic component at the end of logic is processed, and the logic operation is completed.

[0050] The beneficial effects achieved by the present invention are as follows: by developing three-dimensional virtual reality applications through the present method, a three-dimensional functional logic component library can be constructed. On the basis of the constructed three-dimensional functional component library, a three-dimensional power system logic diagram can be drawn through a visual system logic drawing method. After the system logic diagram is drawn, the system logic can be played through a logic executor to realize the three-dimensional virtual reality, realize process visualization, simplify product version maintenance, and separate R&D projects. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 It is a flow chart of the implementation method of the present invention;

[0052] Figure 2 is a schematic diagram of a three-dimensional object tree structure in an embodiment of the present invention;

[0053] Figure 3 is an example diagram of a functional logic component in an embodiment of the present invention;

[0054] Figure 4 It is a schematic diagram of the power function logic diagram in an embodiment of the present invention. DETAILED DESCRIPTION

[0055] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0056] The electric power virtual reality application consists of a three-dimensional electric power scene and the functional logic of the electric power virtual reality application.

[0057] The three-dimensional power scene is composed of multiple three-dimensional power objects and is used to realize the three-dimensional picture display of power virtual reality applications. Users can interact with the three-dimensional objects in the three-dimensional power scene.

[0058] The functional logic of the electric power virtual reality application defines how the application performs system responses based on the user's interactive input. In the present invention, the functional logic of the application is defined by drawing a system logic diagram. The system logic diagram is composed of multiple functional logic components, each of which implements a specific function. The system logic diagram implements the function of the electric power virtual reality application by defining the connection relationship between multiple functional logic components.

[0059] A visualization implementation method for electric power virtual reality application, the specific steps are as follows:

[0060] like Figure 1 As shown, the steps include:

[0061] Step 1: Construct a three-dimensional power scene for power virtual reality applications;

[0062] (1) First, the interactive equipment objects in the three-dimensional power scene are modeled using three-dimensional modeling software, and the modeled equipment objects are exported as three-dimensional model files in FBX format. Equipment object types include primary equipment, secondary equipment, and operating tools.

[0063] Primary equipment includes: transformers, circuit breakers, disconnectors, lightning arresters, reactors, capacitors and operating boxes, etc.

[0064] Secondary equipment includes: protection screen cabinet, reset button, operating handle, pressure plate and LCD screen, etc.

[0065] Operating tools include: tester, insulating gloves, five-protection key and multimeter, etc.

[0066] (2) Then, the 3D model files are imported into the 3D development software in sequence using the 3D development software. After the 3D model files are imported into the 3D development software, a 3D power object is formed. The spatial position and spatial orientation of each 3D power object are edited to form a 3D power scene.

[0067] The 3D objects in the power 3D scene are managed using a tree structure. Figure 2 shown.

[0068] Step 2: Identify the three-dimensional objects in the three-dimensional power scene;

[0069] Each 3D object in the electric power 3D scene is identified by a unique global string, and the 3D object name is also called the ID of the 3D object;

[0070] The naming format of the identification ID of each 3D object is: object type_device model_application name_object code; this ensures the uniqueness of the 3D object naming.

[0071] Among them, the object type is: the usage type of the three-dimensional object, such as role, equipment, positioning point, interface, etc.

[0072] The equipment model is the specific specification of the three-dimensional object. For example, if the object type is equipment, the equipment model can be a circuit breaker, disconnector, current transformer, reactor, etc.

[0073] The application name is: the name of the power virtual reality application, such as Hunan VR converter station training system.

[0074] The object code is: current editing date#digital number of the current device (starting from 1 and increasing), such as 20201008#12;

[0075] An example of the completed 3D object naming is as follows: Equipment_Circuit Breaker_Hunan VR Converter Station Simulation System_20201008#12.

[0076] Step 3, constructing functional logic components for power virtual reality applications;

[0077] The functional logic component defines a specific function, such as movement function, positioning function or specific interaction function, etc. Multiple functional logic components can form an operation logic diagram of a power virtual reality application.

[0078] Each functional logic component is composed of logic component elements such as component body, input parameters, output parameters, logic entry, and logic exit.

[0079] (1) The component body is the functional body of the component. It defines the functional logic of the component and executes the logical function according to the input parameters and logical entry after the component is activated. After the functional logic component is executed, the running result of the component is reflected through the output parameters and logical exit.

[0080] Each component body includes two functional interface functions. Developers add customized codes to these functional interface functions according to the functional requirements of the three-dimensional virtual reality application to implement the functions of the functional logic component.

[0081] Table 1, Functional interface function table

[0082]

[0083] (2) Logical entry: It is the calling entry of the component. Each logical entry corresponds to an entry logic. When a logical entry is activated or called, the component executes the entry logic. Each component has one or more logical entry.

[0084] (3) Logical exit: It is the exit of a component. When the internal logic of a component is executed, the component executes an exit logic. Each component has one or more logical exits.

[0085] (4) Input parameters are external input data when the component starts running. They are transmitted by other logic components and used for component logic execution. Each component has one or more input parameters.

[0086] (5) Output parameters: The calculation results and operation results generated by the component's operation logic are output to the input parameters of other logical components. Each component has one or more output parameters.

[0087] Each logical component element above has a globally unique string as the ID of the logical component element.

[0088] like Figure 3 The example shown: Take a user login function logic component as an example. The function of this function logic component is to display a user login interface. After the user enters the correct user name and user password, the user can continue with the subsequent functions; the user can also exit the user login interface. The element table of the user login function logic component is shown in Table 2;

[0089] Table 2, user login function logic component element table

[0090]

[0091] Functional logic components mainly include the following three types of components:

[0092] Interface components: used for interface interaction between various three-dimensional power applications and users.

[0093] Functional component: realizes the background execution function of three-dimensional power application.

[0094] Event component: monitors the interactive events of 3D power applications.

[0095] Each functional logic component has a functional logic component name. The present invention constructs the following functional logic components, as shown in Table 3:

[0096] Table 3, Functional logic component table

[0097]

[0098]

[0099] Step 4, constructing a three-dimensional power function logic diagram according to the functional logic components constructed above;

[0100] In order to realize a complete power virtual reality application, it is necessary to connect the functional logic components into a complete power function logic diagram. Figure 4 As shown, the functional logic components are connected by logical connection lines.

[0101] The power function logic diagram includes the following types of objects:

[0102] 1) Functional logic components, used to execute the system functions of the logic diagram;

[0103] 2) Logical connection lines, used to connect functional logic components;

[0104] The logic connection lines connect the functional logic components in the following way:

[0105] 1) Connect the logic exit of functional logic component A and the logic entry of functional logic component B to represent the execution path of multiple logic function components of the power virtual reality application; at this time, the connection start element must be a logic exit element, and the connection end element must be a logic entry element;

[0106] 2) Connect the output parameters of functional logic component A and the input parameters of functional logic component B to transfer data between different functional logic components. At this time, the connection starting point element must be an output parameter element, and the connection end point element must be an input parameter element.

[0107] The properties of logical links include:

[0108] 1) Connection starting point element, which is: the functional logic component element object connected by the connection line starting point;

[0109] 2) Connection endpoint element: the functional logic component element object connected to the endpoint of the connection line.

[0110] The drawing process of the power function logic diagram is as follows:

[0111] 1. Draw the functional logic components one by one;

[0112] 2. Connect the logic exits and logic entrances of different functional logic components through logic connection lines as needed;

[0113] 3. Connect the output parameters and input parameters of different functional logic components through logical connection lines as needed.

[0114] Step 5: Establish an electric virtual reality application based on the constructed three-dimensional electric function logic diagram and execute the three-dimensional electric logic.

[0115] Based on the drawn power function logic diagram, a power virtual reality application is established, which includes two modules: a three-dimensional power logic actuator and an interactive event manager.

[0116] The three-dimensional electric power logic executor reads the three-dimensional scene object generated in step 1 and the electric power function logic diagram generated in step 4, and executes according to the process defined in the electric power function logic diagram.

[0117] The execution process of the three-dimensional electric logic actuator is as follows:

[0118] 1. Traverse all functional logic component objects in the three-dimensional power function logic diagram, find the functional logic component object whose logic component name is logic start, and add it to the currently active logic component object queue as the first seed logic component object in the logic component queue;

[0119] 2. Establish a timer T to periodically process each logical component object in the currently active logical component object queue. The processing process for each logical component object A is as follows:

[0120] 2.1 Obtain all logical exit elements of the logical component object A and determine whether a logical exit is activated;

[0121] 2.2 If a logical exit M is activated, execute the following steps:

[0122] 2.2.1 Remove the logic component object A from the active logic component object queue;

[0123] 2.2.2 Stop the internal logic execution of logic component object A;

[0124] 2.2.3 Obtain all output parameter elements of the logic component object A. For each output parameter element S, traverse the set of logical connection lines in the three-dimensional power function logic diagram, find the logical connection line L with the connection starting point element S, and then pass the data in the output parameter S to the connection end point element of the logical connection line L. The connection end point element must be the input parameter object type.

[0125] 2.2.4 For the activated logical exit M, traverse the set of logical connection lines in the system logic diagram and find the logical connection line Y (there can be multiple) whose connection starting point element is the logical exit M.

[0126] 2.2.5 The end point object of the logical connection line Y is a subsequent connected logical entry R of the logical exit M. For each subsequent logical entry R, ​​the functional logic component F to which the logical entry R belongs is activated, the entry function of the functional logic component F is executed, and the functional logic component F is added to the active logic component object queue.

[0127] 3. Loop the logic component object timer processing in step 2 above until the functional logic component at the end of the logic is processed and the logic operation ends.

[0128] The internal logic execution process of each functional logic component is as follows:

[0129] The functional logic execution of the entire power virtual reality application is carried out in an event-driven manner. The internal logic execution of the current active functional logic component is driven by the interactive input of the application user. The internal execution process of the functional logic component is as follows:

[0130] 1) Corresponding to the execution process 2.2.5 of the three-dimensional power logic executor, the functional logic component F to which the logic entry R belongs is activated, and the entry function of the functional logic component F is executed. In the entry function, the functional logic component initializes the internal functional data of the functional logic component according to the data of the input parameter element and the name of the activated logic entry element; and adds the functional logic component F to the active logic component object queue.

[0131] 2) When the application user performs an interactive operation, such as clicking a 3D object with the left mouse button, the interactive event manager generates an event data packet to record the data of the event. The data of the event data packet includes: event type and the ID of the 3D object where the event occurs.

[0132] When the functional logic component receives an event data packet generated by an external interactive operation event, the functional logic component calls the event interface function of the functional logic component, and the event data packet is passed in as a parameter of the event interface function. The functional logic component performs event processing in the event interface function according to the event data packet and the functional logic of the component. The functional logic component determines whether the three-dimensional object corresponding to the three-dimensional object ID in the passed-in event data packet is a related three-dimensional object of the functional logic component object. If it is not related, no processing is performed, otherwise event processing is performed;

[0133] Specifically, the interactive event manager sends the event data packet to each functional logic component F in the active functional logic component object queue, and calls the event interface function of the logic component object F. In the event interface function of the logic component object F, it is determined whether the three-dimensional object K corresponding to the three-dimensional object ID in the incoming event data packet is a related three-dimensional object of the functional logic component object F. If not, it is not processed; if the three-dimensional object K is a related three-dimensional object of the functional logic component F, the event is processed. There are mainly three situations for event processing:

[0134] 1) If data needs to be output, find the output parameter element and pass the data to be output to the output parameter element.

[0135] 2) If you want to exit the functional logic component through the logic exit, find the corresponding logic exit element and mark the logic exit element as activated. The subsequent operations are the same as the execution process 2.2 of the three-dimensional power logic actuator.

[0136] 3) Event handling does not produce the above two results.

[0137] By developing three-dimensional virtual reality applications through this method, a three-dimensional functional logic component library can be constructed. On the basis of the constructed three-dimensional functional component library, a three-dimensional power system logic diagram can be drawn through a visual system logic drawing method. After the system logic diagram is drawn, the system logic can be played through a logic executor to realize the three-dimensional virtual reality, realize process visualization, simplify product version maintenance, and separate R&D projects.

[0138] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0139] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0140] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0142] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A visualization implementation method for electric power virtual reality application, characterized in that: Includes steps: Construct three-dimensional power scenes for power virtual reality applications; Constructing a functional logic component for electric power virtual reality application, and constructing a three-dimensional electric power functional logic diagram based on the functional logic component; Realize power virtual reality application based on constructed power 3D scene and 3D power function logic diagram; The electric power virtual reality application includes a three-dimensional electric power logic executor and an interactive event manager. The three-dimensional electric power logic executor executes logic according to the process defined in the electric power function logic diagram, and the interactive event manager is used to record interactive event data and send event data to the functional logic component. The execution process of the three-dimensional electric logic actuator includes: Traverse all functional logic component objects in the three-dimensional power functional logic diagram, find the functional logic component object whose logic component name is logic start, and add it to the currently active logic component object queue as the first seed logic component object in the logic component queue; Establish a timer T, and process each logic component object in the currently active logic component object queue in a timed loop. The processing process for each logic component object A is as follows: Get all logic exit elements of the logic component object A, and determine whether a certain logic exit is activated; If a logical exit M is activated, the following steps are performed: Remove the logic component object A from the active logic component object queue; Stop the internal logic execution of logic component object A; Get all output parameter elements of the logic component object A, and for each output parameter element S, traverse the set of logic connection lines in the three-dimensional power function logic diagram, find the logic connection line L whose connection starting point element is S, and then pass the data in the output parameter S to the connection end point element of the logic connection line L; For the activated logic exit M, traverse the set of logic connection lines in the system logic diagram and find the logic connection line Y whose starting point element is the logic exit M; The end point object of the logic connection line Y is a logic entry R of a subsequent connection of the logic exit M; for each subsequent logic entry R, ​​the functional logic component F to which the logic entry R belongs is activated, the entry function of the functional logic component F is executed, and the functional logic component F is added to the active logic component object queue; The above logic component object timer T is processed in a loop until the functional logic component at the end of the logic is processed, and the logic operation is completed.

2. The method for realizing visualization of electric power virtual reality application according to claim 1, characterized in that: The process of constructing the three-dimensional power scene is as follows: The interactive equipment objects in the three-dimensional power scene are 3D modeled using the three-dimensional modeling software, and the modeled equipment objects are exported as three-dimensional model files in the FBX format; The three-dimensional model files are sequentially imported into the three-dimensional development software through the three-dimensional development software. After the three-dimensional model files are imported into the three-dimensional development software, a three-dimensional power object is formed. The spatial position and spatial orientation of each three-dimensional power object are edited to form a three-dimensional power scene.

3. The method for realizing visualization of electric power virtual reality application according to claim 1, characterized in that: The elements of the functional logic component include: component body, input parameters, output parameters, logic entry and logic exit; The component body is used to perform logical functions according to the input parameters and logic entry after the functional logic component is activated, and reflect the operation results of the component through output parameters and logic exit; each component body includes an entry function for activating the functional logic component and an event interface function for responding to interactive event data; The logic entry is the calling entry of the functional logic component, and the logic exit is the exit of the functional logic component.

4. The method for realizing visualization of electric power virtual reality application according to claim 3 is characterized by: The functional logic components include the following types of components: Interface components, used for interface interaction between various power virtual reality applications and users; Functional components, used to implement the background execution functions of the power virtual reality application; Event component, used to monitor interactive events of power VR applications.

5. The method for realizing visualization of electric power virtual reality application according to claim 3 is characterized by: The execution process of a single functional logic component includes: A certain logic entry of the functional logic component is marked as an activated state, and an entry function of the functional logic component is executed. In the entry function, the functional logic component initializes the internal function data of the functional logic component according to the data of the input parameter element and the name of the activated logic entry element; When the functional logic component receives an event data packet generated by an external interactive operation event, the functional logic component calls the event interface function of the functional logic component, and the event data packet is passed in as a parameter of the event interface function. The functional logic component performs event processing in the event interface function according to the event data packet and the functional logic of the component. The functional logic component determines whether the three-dimensional object corresponding to the three-dimensional object ID in the passed-in event data packet is a related three-dimensional object of the functional logic component object. If it is not related, no processing is performed, otherwise event processing is performed; The processing results of the event interface function of the functional logic component include the following situations: 1) If event processing generates data that needs to be output, the output data is assigned to the output data element with the corresponding name; 2) Event processing causes the function of the functional logic component to be completed. If the functional logic component ends its function from one of the logical exits, the state of the logical exit element is set to the activated state; 3) Event handling does not produce the above two results.

6. The method for realizing visualization of electric power virtual reality application according to claim 3 is characterized by: The method for constructing the three-dimensional power function logic diagram is as follows: Draw the functional logic components one by one; Connect the logic exits and logic entry of different functional logic components through logic connection lines as required; Connect the output parameters and input parameters of different functional logic components through logical connection lines as needed.

7. The method for realizing visualization of electric power virtual reality application according to claim 6 is characterized by: The logic connection lines connect the functional logic components in the following manner: The logical connection line connects the following two situations: Connecting a logic exit of a functional logic component and a logic entry of another functional logic component to represent the execution path of multiple logic functional components of the power virtual reality application; Connect the output parameter of one functional logic component to the input parameter of another functional logic component to transfer data between different functional logic components; The properties of the logical connection line include: The connection starting point element is: the functional logic component element object connected by the connection line starting point; The connection end point element is: the functional logic component element object connected to the end point of the connection line.