A 3D data acquisition and monitoring control system and scene editing method thereof

By introducing the 3D configuration module and Irrlicht engine into the data acquisition and monitoring control system, the seamless connection of 3D and 2D images is achieved, which solves the problem of insufficient 3D display capabilities in smart terminals and improves the efficiency of data monitoring and editing. and consistency.

CN113362477BActive Publication Date: 2024-08-23SHANGHAI ZHENHUA HEAVY IND
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202110617309.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-03
Publication Date
2024-08-23
Estimated Expiration
2041-06-03

AI Technical Summary

Technical Problem

The existing data collection and monitoring control system lacks strong 3D display capabilities in smart terminals, and 3D applications run independently, making it difficult to seamlessly connect with 2D systems.

Method used

Adopt 3D configuration modules, including 3D scene editor and 3D scene embedder, use Irrlicht engine for 3D scene editing and rendering, and achieve seamless connection between 3D objects and 2D data collection interface, through XML files and separate 3D models, Texture files for binding and rendering.

Benefits of technology

It achieves seamless connection between 3D and 2D images, ensures that the running state and editing state of data files are consistent, simplifies the user editing process, and improves the data monitoring and display capabilities of smart terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113362477B
    Figure CN113362477B
Patent Text Reader

Abstract

The present invention discloses a 3D data acquisition and monitoring control system and a scene editing method thereof, comprising: accessing a 3D configuration module in the data acquisition and monitoring control system, the module comprising a 3D scene editor and a 3D scene embedder; the 3D scene editor imports and displays a 3D editing screen in the main scene screen of the data acquisition and monitoring control system, keeps the running state and editing state of the data file consistent, so that the editing state display of the 3D scene editor is consistent with the running state display of the data acquisition and monitoring control system; the 3D scene embedder reads the output file of the 3D scene editor, embeds the 3D object corresponding to the output file into a 2D data acquisition and monitoring control interface, configures the scene file of the 3D object, and converts it into a 3D screen. The present invention binds the data binding point of SCADA 3D to the 3D object, achieves seamless docking of 3D and 2D screens, and displays them in the original SCADA system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a data acquisition and monitoring system and an editing method thereof, and more specifically, to a 3D data acquisition and monitoring control system and a scene editing method thereof. Background Art

[0002] In the development of automated terminals, data monitoring platforms have become an indispensable part of automated terminal operations. With the urgent increase in the demand for monitoring and office automation in terminals, the functions of Supervisory Control And Data Acquisition (SCADA) systems are becoming more and more powerful, and the quality requirements are becoming more and more precise, especially in the field of smart terminals.

[0003] The 3D rendering technology on the PC side has been mature for a long time, but users' demand for SCADA systems, especially their 3D displays, is becoming increasingly obvious. The most common practice at home and abroad is to use the game engine Unity and develop a set of real-time monitoring 3D applications with the help of Unity's powerful 3D functions. This approach can quickly meet the needs and has no technical barriers, but the disadvantage is that the 3D application must run independently. Summary of the invention

[0004] In view of the above problems existing in the prior art, the object of the present invention is to provide a 3D data acquisition and monitoring control system and a scene editing method thereof.

[0005] To achieve the above object, the present invention adopts the following technical solution:

[0006] A scene editing method for a 3D data acquisition and monitoring control system comprises: connecting a 3D configuration module in the data acquisition and monitoring control system, wherein the 3D configuration module comprises a 3D scene editor and a 3D scene embedder; the 3D scene editor imports the entire 3D editing screen and displays it in the main scene screen of the data acquisition and monitoring control system, keeps the running state and editing state of the data file consistent, so that the editing state display of the 3D scene editor and the running state display of the data acquisition and monitoring control system have the same effect; the 3D scene embedder reads the output file of the 3D scene editor, embeds the 3D object corresponding to the output file into the 2D data acquisition and monitoring control interface, configures the scene file of the 3D object, and converts it into a 3D screen.

[0007] Furthermore, the 3D scene editor uses the Irrlicht game engine, and enables the reading and writing of XML data of the Irrlicht engine, and the matching of the lighting settings of the 3D scene with SCADA.

[0008] Furthermore, the 3D scene editor adopts a tree menu, which includes multiple 3D object types, and each 3D object includes an independent editable configuration file and an output file.

[0009] Furthermore, the configuration file and output file of each 3D object are dynamically bound to the data point of the 3D-SCADA system.

[0010] Furthermore, the output files of the 3D scene editor include an XML file and separately saved 3D models and texture files, and the XML file includes scene information and dynamic binding information.

[0011] Furthermore, the 3D scene embedder scans the 3D controls in the 2D data acquisition and monitoring control screen, and loads the corresponding XML file when a 3D object exists.

[0012] Furthermore, when there are 3D objects, the 3D data acquisition and monitoring control system switches to DirectX rendering of 3D images, shields the original Direct2D rendering method, imports the XML image of the 3D object into the Irrlicht engine, and uses the Irrlicht engine for rendering.

[0013] To achieve the above object, the present invention also adopts the following technical solution:

[0014] A 3D data acquisition and monitoring control system comprises: a 3D configuration module, wherein the 3D configuration module comprises a 3D scene editor and a 3D scene embedder; the 3D data acquisition and monitoring control system executes any one of the methods in claims 1-7.

[0015] Furthermore, the 3D scene editor includes: a main scene window; a node window, which displays the node information of each 3D object in the main scene and provides editing of the node information; and a property window, which displays the properties of each 3D object and provides property editing and dynamic binding of the 3D object.

[0016] Furthermore, the 3D scene embedder includes: a 3D control, and the 3D control includes a 3D scene with camera properties and a scene XML file.

[0017] In the above technical solution, the present invention binds the data binding points of SCADA 3D to the 3D objects, so as to achieve seamless connection between 3D and 2D images, and display them together in the original SCADA system. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is the overall architecture diagram of the 3D-SCADA system;

[0019] Figure 2 yes Figure 1 The architecture diagram of the 3D scene editor in the game;

[0020] Figure 3 yes Figure 1 Architecture diagram of the 3D scene embedder;

[0021] Figure 4 This is the interface diagram of the 3D scene editor;

[0022] Figure 5 It is the main scene diagram of the 3D scene editor;

[0023] Figure 6 This is the interface diagram of the 3D scene embedder. DETAILED DESCRIPTION

[0024] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0025] Reference Figure 1 The present invention firstly discloses a 3D Supervisory Control And Data Acquisition (hereinafter referred to as "SCADA") system, the main improvement of which lies in its 3D configuration module, wherein the 3D configuration module includes two main parts: a 3D scene editor and a 3D scene embedder (the 3D scene is embedded in the original SCADA editor).

[0026] In the present invention, the 3D configuration module is a sub-function of the SCADA system, and the user can choose whether to use it. If used, by simply dragging and configuring the imported scene, the SCADA system will automatically identify the screen containing the 3D control and convert the screen into a 3D screen.

[0027] like Figure 2 As shown in the figure, the 3D scene editor is an independent application that can be started in the SCADA system or through an EXE application. The 3D scene editor contains the main scene window, node window, property window, shortcut bar, folder window, prompt window, etc., allowing users to edit 3D scenes and save them as XML format files. Specifically, the output files of the 3D scene editor include XML files and separately saved 3D models and texture files, where the XML file includes scene information, dynamic binding information, etc.

[0028] As a preferred implementation of the present invention, the following table shows an example of 3D scene data saved in XML format.

[0029]

[0030]

[0031]

[0032] Continue to refer to Figure 2 The main scene window is used to display the main contents of the 3D scene editor, which mainly includes 3D rendering effect display, perspective switching, information display, etc. The node window displays the node information of each 3D object in the main scene, and provides editing of the node information, including scene editing, tree structure editing, model import, etc. The property window displays the properties of each 3D object, and provides property editing and dynamic binding of 3D objects, where the property editing of 3D objects includes scaling, rotation, displacement, etc. In addition, the shortcut bar, folder window and prompt window are used to display shortcuts, folder information and error prompt information, etc.

[0033] As a preferred embodiment of the present invention, the 3D scene editor adopts the design concept of "what you see is what you get", and the editing results of the entire scene can be seen in the main scene window. "What you see is what you get" means that the effect displayed on the entire editing screen is completely consistent with the effect displayed in the SCADA running state.

[0034] In order to achieve the above effects, the present invention uses the Irrlicht engine as a basis, and makes the XML data reading and writing of the Irrlicht engine and the light and shadow settings of the 3D scene match SCADA. The 3D scene editor imports the entire picture and displays it in the main scene picture, ensuring that the running state and the editing state of the data file are consistent, so that the running state and the editing state of the 3D scene are consistent.

[0035] The rendering engine is the heart of 3D applications, which determines the rendering speed and picture effect. The architecture of the engine also affects the architecture and embedding method of the 3D editor. In particular, the present invention has a specific application environment, namely the SCADA system, so it is necessary to pay special attention to the support and portability of the 3D engine for the SCADA system. After studying multiple open source engines, the present invention focuses on comparing three game engines, namely OGRE, Irrlicht, and Godot.

[0036] Through testing, we found that although the OGRE engine is open source, its structure is complex and not conducive to modifying the underlying code. Godot is powerful, but the engine is an independent EXE application, which is not conducive to embedding as a sub-function in the SCADA system. The Irrlicht engine has clear code, simple structure, and perfect support for MFC embedding.

[0037] After many tests and comparisons, the present invention adopts the Irrlicht engine, which has good support for light and shadow, water surface special effects, sky boxes, skeletal animation, etc. The underlying code is also very friendly, and it outstandingly supports MFC and the underlying support for new data formats, and has the best match with the 3D-SCADA system used in the present invention.

[0038] As another preferred embodiment of the present invention, the 3D scene editor adopts a tree menu, which includes multiple 3D object types, and each 3D object includes an independent editable configuration file and an output file.

[0039] In the above-described embodiment, the tree menu of the 3D scene editor edits the entire scene with a tree menu, which is divided into multiple objects such as folders, 3D objects, lights, billboards, etc., which not only supports abundant objects, but also simplifies the management of the entire scene. The tree menu of the 3D scene editor embeds each control as a separate sub-element in the scene for editing, simplifies the management of the scene, including adding, deleting, copying, renaming, moving positions, etc., greatly simplifying the production time of the user. To each node of the scene tree, the present invention can support in the property window, support editing properties such as position, rotation, scaling, whether visible, etc. These above-mentioned properties can dynamically bind the data points of the SCADA system, that is, the configuration file and output file of each 3D object can all be dynamically bound to the data points of the 3D-SCADA system.

[0040] Binding attribute points is an important improvement of the present invention. The existing 2D-SCADA system originally has the function of binding attribute points, but it is only applicable to 2D environments. The present invention adds the function of binding attribute points in the 3D-SCADA system, not only making each 3D object able to bind the attribute points of the 3D-SCADA system, but also being able to embed the 3D object into the original 2D image, making the 3D-SCADA system compatible with the existing system, and embedding the 3D-SCADA system in the original system as an optional way. Therefore, the binding attribute points of the present invention are not only the conversion from 2D to 3D, but more importantly, the attributes such as the association relationship, matching relationship, and conversion relationship of 2D-3D are established.

[0041] Reference Figure 3The 3D scene embedder includes BCG extension, SCADA screen, 3D control, 3D scene file, data driver and 3D animation unit, etc. The 3D control includes a 3D scene with camera attributes and scene XML file. The present invention integrates the 3D scene into SCADA in the form of a single control through SCADA. After the system scans the 3D control in SCADA, it automatically switches the screen to DirectX rendering mode. The camera information is given in the 3D control and is compatible with the original SCADA, meeting the demand of SCADA for rapid development of 3D scenes.

[0042] like Figure 4 , Figure 5 and Figure 6 As shown in the figure, the output file of the 3D scene editor contains an XML file, which contains all the scene information, including the binding point information, while the 3D model and texture files are saved separately. After reading the above files, the 3D scene embedder allows users to directly drag 3D objects into the 2D SCADA screen and complete the configuration of the scene file of the 3D object. After that, the 3D scene embedder can automatically recognize the screen, load the XML file, and convert it into a 3D screen.

[0043] In addition to the above system, the present invention further discloses a scene editing method applied to the above 3D Supervisory Control and Data Acquisition (SCADA) system.

[0044] The quay crane / tyre crane / rail crane is essentially an encapsulated graphic combination component in the SCADA system. Therefore, the present invention adds parameter configuration, especially 3D related parameters, on the basis of the original graphic combination component. Thus, the scene editing method of the present invention can modify the size, position, animation and other conventional information of the sub-graphics through code according to the parameter configuration, and finally realize the insertion of the 3D picture into the 2D picture, or the switching and conversion of the 2D-3D picture.

[0045] like Figure 1 , Figure 2 and Figure 3 As shown, the scene editing method of the present invention firstly accesses a 3D configuration module in a Supervisory Control and Data Acquisition (SCADA) system, wherein the 3D configuration module includes a 3D scene editor and a 3D scene embedder.

[0046] The steps executed by the 3D scene editor mainly include importing the entire 3D editing screen and displaying it in the main scene screen of the SCADA system, keeping the running state and editing state of the data file consistent, so that the editing status display of the 3D scene editor and the running status display of the SCADA system are consistent.

[0047] Making the editing status display of the 3D scene editor consistent with the running status display of the SCADA system is an important improvement of the scene editing method of the present invention. In the prior art, when users need to edit the quay crane / tyre crane / rail crane, the general users cannot master too many programming and coding skills, so they need to edit in an intuitive way in the SCADA system, that is, "what you see is what you get".

[0048] Adopting the design concept of what you see is what you get, it is necessary to make the editing results of the entire scene visible in the main scene window of the SCADA system. What you see is what you get means to ensure that the display effect of the entire editing screen of the SCADA system is completely consistent with the effect displayed in the SCADA running state.

[0049] Therefore, the present invention adopts the Irrlicht engine as a basis, imports and displays the entire screen in the main scene screen, and makes the XML data reading and writing of the Irrlicht engine and the 3D scene light and shadow setting match SCADA. In this way, the scene editing method of the present invention can ensure that the data file in the SCADA system is consistent in the running state and the editing state, so that the running state and the editing state of the SCADA system are consistent.

[0050] According to the SCADA system of the present invention, when the 3D scene editor is applied in the scene editing method of the present invention, it adopts a tree menu, which includes multiple 3D object types, each 3D object includes an independent editable configuration file and output file, and each 3D object's configuration file and output file are dynamically bound to the data point of the 3D-SCADA system.

[0051] The scene editing method of the present invention embeds each 3D control into the scene as a separate sub-element for editing, which simplifies the management, addition, deletion, copying, renaming, and relocation of the scene, and greatly reduces the production time of the user.

[0052] For each node of the scene tree, the scene editing method of the present invention can be supported in the property window, supporting editing of properties such as position, rotation, scaling, and visibility. In addition, these properties can be dynamically bound to the data points of SCADA. The scene editing method of the present invention has been applied to 3D in the SCADA system, ensuring that the functions of the existing SCADA system are available in the 3D system of SCADA.

[0053] According to the SCADA system of the present invention, when the 3D scene editor is applied in the scene editing method of the present invention, its output file includes an XML file and separately saved 3D models and texture files, and the XML file includes scene information and dynamic binding information.

[0054] Continue to refer to Figure 1, Figure 2 and Figure 3 ,The steps performed by the 3D scene embedder mainly include reading the output file of the 3D scene editor, embedding the 3D objects corresponding to the output file into the 2D SCADA system interface, configuring the scene file of the 3D object, and finally converting it to a 3D picture.

[0055] According to the SCADA system of the present invention, when the 3D scene embedder is applied in the scene editing method of the present invention, it scans the 3D controls in the 2D data acquisition and monitoring control screen, and loads the corresponding XML file when a 3D object exists.

[0056] As a preferred embodiment of the scene editing method of the present invention, the present invention makes a 3D scene in a 3D control, that is, configures the camera attributes and the scene XML file in the 3D screen. In the 2D SCADA system screen, the user can directly drag in the 3D object. After configuring the scene file of the 3D object, the SCADA system automatically recognizes the screen and scans the controls of the screen to see if there is a 3D object. If there is a 3D object, it can be considered as a 3D screen. At this time, the SCADA system loads the XML file and converts it into a 3D screen.

[0057] When the SCADA system of the present invention switches to DirectX rendering of 3D pictures when there are 3D objects, the original Direct2D rendering method is shielded, the XML picture of the 3D object is imported into the Irrlicht engine, and the Irrlicht engine is used for rendering.

[0058] As a preferred implementation of the scene editing method of the present invention, when the SCADA system recognizes that there is a 3D picture, the SCADA system automatically switches the picture to a DirectX rendered 3D picture, including the following steps:

[0059] 1. Disable the original Direct2D rendering method

[0060] 2. Import SCADA 3D XML screens into Irrlicht Engine

[0061] 3. Use the Irrlicht engine's MFC rendering to take over the Window Handle and render.

[0062] In the present invention, the 2D picture adopts the original picture of the SCADA system. Since the 3D and 2D pictures are different sub-windows, the 2D and 3D pictures can coexist in the SCADA system.

[0063] As a preferred implementation of the scene editing method of the present invention, a user can open a configuration software platform and open a SCADA 3D scene editor to perform scene editing, including the following steps:

[0064] 1. Create a new scene and import the prepared 3D model file (.x format) into the editor.

[0065] 2. Edit the position, rotation, and scale attributes for the node, bind the data node, and save the scene file.

[0066] 3. Open a new screen in the SCADA system, drag the SCADA 3D component, mark the current screen as a 3D screen, set the camera position and direction, and configure the scene file in the previous step.

[0067] 4. Set the 3D scene as the startup screen and run it in SCADA View.

[0068] If an error occurs during the editing of the above scenarios, the SCADA system can also view and export the error information.

[0069] As can be seen from the above SCADA system and its scene editing method, the present invention accesses the 3D scene as a part of the SCADA system, and the 3D scene is a SCADA screen taken over by the Irrlicht engine. For SCADA, there is no difference between 2D and 3D, both of which manage an MFC window, except that SCADA 3D will use DirectX to render the screen when rendering at the bottom layer, and 2D will use Direct2D to render.

[0070] Therefore, the present invention enables the 2D and 3D pictures of the SCADA system to share a set of data, share a complete set of data formats, adopt the shared data, dynamically bind the data to each data point during SCADA 3D editing, provide each node with attributes such as position, rotation, scaling, visibility, etc., and each attribute can be bound to a data point separately. The present invention enables the 2D and 3D pictures to share a complete set of XML data formats, which is an Irrlicht scene data file, and the present invention modifies the bottom layer of the 3D control and adds data point binding.

[0071] In summary, the present invention designs a compact way to bind the data binding points of SCADA 3D to 3D objects, so as to achieve seamless connection between 3D and 2D images, and display them together in the original SCADA system.

[0072] Specifically, the SCADA system and scene editing method thereof of the present invention have at least the following beneficial effects:

[0073] 1. A complete SCADA 3D scene editor was developed as a third-party program, which does not affect the use of the original program, and new functions can be added at will without considering the compatibility with the original SCADA.

[0074] 2. Use XML format to define files, which makes it convenient for developers and users to directly open XML files and check whether the file definition is correct.

[0075] 3. Automatically identify 3D controls and scan the controls on the screen to see if there are 3D objects. If there are 3D objects, it can be considered a 3D screen and automatically switch, eliminating the need for users to consider the complex settings for switching between 3D and 2D scenes.

[0076] 4. Perfectly integrate into the existing SCADA system, and integrate SCADA 3D as a subsystem of the original SCADA, a plug-in into SCADA. Users can choose whether to use the SCADA 3D function without affecting the use of the original function.

[0077] 5. This system uses a mature 3D engine, the Irrlicht engine, which saves a lot of development time and integrates common functions such as light and shadow, skybox, and skeletal animation.

[0078] 6. Modularization is adopted, abandoning the original working mode of art assistance and developer cooperation for each quay crane / tyre crane / rail crane model, allowing developers to build modules by themselves, which can facilitate engineers to quickly develop components without the participation of artists, simplifying the originally complicated workflow and releasing workload.

[0079] Those skilled in the art should recognize that the above embodiments are only used to illustrate the present invention, and are not intended to limit the present invention. As long as they are within the spirit of the present invention, any changes or modifications to the above embodiments will fall within the scope of the claims of the present invention.

Claims

1. A scene editing method for a 3D data acquisition and monitoring control system, characterized in that: include: A 3D configuration module is connected to the data acquisition and monitoring control system, wherein the 3D configuration module includes a 3D scene editor and a 3D scene embedder; The 3D scene editor imports the entire 3D editing screen and displays it in the main scene screen of the data acquisition and monitoring control system, keeping the running state and editing state of the data file consistent, so that the editing state display of the 3D scene editor and the running state display of the data acquisition and monitoring control system have the same effect; The 3D scene embedder reads the output file of the 3D scene editor, embeds the 3D object corresponding to the output file into the 2D data acquisition and monitoring control interface, configures the scene file of the 3D object, and converts it into a 3D picture. The 3D scene editor uses the Irrlicht game engine, and enables the XML data reading and writing of the Irrlicht engine, and the lighting settings of the 3D scene to match SCADA. The 3D scene embedder scans the 3D controls in the 2D data acquisition and monitoring control screen, and loads the corresponding XML file when a 3D object exists. The 3D scene editor uses a tree menu, which includes multiple 3D object types, and each 3D object includes an independent editable configuration file and an output file. The configuration file and output file of each 3D object are dynamically bound to the data point of the 3D-SCADA system. The output file of the 3D scene editor includes an XML file and a separately saved 3D model and texture file. The XML file includes scene information and dynamic binding information. The 3D scene editor includes: Main scene window; A node window, wherein the node window displays the node information of each 3D object in the main scene and provides editing of the node information; The property window displays the properties of each 3D object and provides property editing and dynamic binding for 3D objects. The scene editing method supports editing the properties of position, rotation, scaling, and visibility in a property window, and the properties are dynamically bound to SCADA data points.

2. The scene editing method of the 3D data acquisition and monitoring control system according to claim 1, characterized in that: The 3D data acquisition and monitoring control system switches to DirectX to render the 3D picture when there is a 3D object, shields the original Direct2D rendering method, imports the XML picture of the 3D object into the Irrlicht engine, and uses the Irrlicht engine for rendering.

3. A 3D data acquisition and monitoring control system, characterized in that: include: 3D configuration module, wherein the 3D configuration module includes a 3D scene editor and a 3D scene embedder; The 3D data acquisition and monitoring control system executes the scene editing method described in any one of claims 1-2.

4. The 3D data acquisition and monitoring control system according to claim 3, characterized in that: The 3D scene embedder comprises: A 3D control includes a 3D scene with camera properties and a scene XML file.

Citation Information

Cited By

  • WebXR-based 3D immersive SCADA monitoring method

    CN121527362A