Method for Automatically Generating and Reusing Visualization Scene Configuration Information
By designing an artificial interactive interface and a hierarchical file library storage structure, the aerospace visual scene configuration information is automatically generated and reused, and the problems of low configuration file editing efficiency and difficult to guarantee data accuracy in the existing technology are solved, and efficient and accurate aerospace visual scene configuration and reuse are achieved.
Patent Information
- Application Number
- CN202111669688.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2041-12-30
AI Technical Summary
The existing aerospace visualization software has low preparation and maintenance efficiency, low manual configuration files are edited, and data accuracy is difficult to guarantee. The software needs to be restarted for switching to different scenarios, which cannot adapt to the complex space launch mission requirements.
By designing a set of manual interactive interfaces to configure the information of aerospace three-dimensional scenes and various roles, a hierarchical file library storage structure is adopted, which supports automatic generation of configuration storage files with one click, and designs a method of analyzing hierarchical scene information storage files to realize the reuse of aerospace visual scene configuration.
It realizes efficient configuration and restart of aerospace visual scenarios, improves information accuracy and maintainability, supports rapid configuration and reuse of multi-objective and multi-segment scenarios, and is suitable for complex aerospace launch missions.
Smart Images

Figure CN114968230B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of aerospace visualization, and particularly relates to a method for automatically generating and reusing visualization scene configuration information. Background Art
[0002] In recent years, space launch missions have become increasingly complex, mostly with visualization requirements for multiple targets and multiple sub-scenes. How to improve the preparation and maintenance efficiency of aerospace mission visualization software and quickly display different scenes has become an urgent problem to be solved. Existing visualization software usually adopts the preparation method of manually editing and configuring task data files, facing problems such as low efficiency of manual maintenance of configuration files, inability to guarantee data accuracy, and the need to restart the software for switching between different scenes. The traditional visualization scene design method can no longer meet the requirements of the visualization scene of the new space launch mission.
[0003] After investigation, the patents related to the automatic storage and reuse of three-dimensional scene configurations are as follows:
[0004] "Configurable Visual Scenario Display Method for Spacecraft Space Manipulation". This document discusses a method for constructing a space visual scenario display by configuring spacecraft and measurement and control station site information and using a three-dimensional scene template. What the document provides is only the most basic method for establishing a spacecraft space display scene, without mentioning the configuration method, let alone the automatic generation, storage structure, and reuse of various configuration information of the scene. The present invention explores the problem of automatic generation and reuse of aerospace three-dimensional scene configurations. Although both involve configuring and constructing a spacecraft three-dimensional scene, they do not belong to the same problem and scope. Moreover, the present invention also considers the reuse of commonly used measurement station equipment and link information for configuring multiple scenes at one time, as well as the rapid configuration of multi-target scenes and satellite constellation scenes.
[0005] "Three-Dimensional Scene Simulation Method Based on Unity Dynamic Technology". This document belongs to the field of electronic system communication scene simulation, in which it is mentioned that a new C# program is created in Unity to read a custom configuration file and automatically generate a three-dimensional scene simulation module, that is, only the parsing method of the electronic system scene simulation configuration file is provided. The technical means explored by the present invention is that first, by operating a group of pre-designed artificial interaction interfaces to configure the information of aerospace three-dimensional scenes and various roles, a hierarchical file library storage structure is designed, which can support one-key automatic generation of configuration storage files; a method for parsing hierarchical scene information storage files is designed, so as to realize the reuse of aerospace visualization scene configurations. Summary of the Invention
[0006] The purpose of the present invention is to provide a method for automatically generating and reusing visualization scene configuration information, and the constructed visualization scene has the characteristics of high configuration and restart efficiency, high information accuracy rate, strong maintainability, and flexible reusability.
[0007] The technical solution adopted by the present invention is a method for automatically generating and reusing visual scene configuration information, which is specifically implemented according to the following steps:
[0008] Step 1: Create a new scene. If the user selects to create a new scene, execute Step 2; if the user selects to load and reuse a scene, execute Step 3;
[0009] Step 2: Use the interface configuration to create the information of the new scene, create each object, and configure the object information. Based on the above interface configuration and the basic configuration of the scene, establish the visual data models of the scene and each object in the scene;
[0010] Step 3: The user sets and modifies the configuration information of the scene or scene objects in the configuration interface, and the data models of the scene and each object in the scene are updated synchronously; the user saves the scene configuration, and saves the visual data models of the scene and each object as a file library with a hierarchical storage structure;
[0011] Step 4: Read the scene storage file library, parse the configuration information of the scene and each object in the scene, generate the data models of the scene and each object, and update the data in the scene configuration interface; Step 3 can be continued;
[0012] Step 5: Exit the scene.
[0013] The characteristics of the present invention also lie in that,
[0014] Step 2 is specifically implemented according to the following steps:
[0015] In the newly created scene, create satellites, planets, measurement stations, links, and trajectories as the objects of the scene. According to the interface configuration information of the newly created scene and each scene object: the start and end time of the scene, satellite orbits, satellite attitudes, the configuration information of measurement station equipment and measurement and control links, and the data information of the theoretical trajectory, calculate the two-dimensional and three-dimensional visual data models of each newly created scene and object, and combine the basic configuration information of the scene, that is, the configuration information of the sun, starry sky, and earth in the scene, to construct a two-dimensional and three-dimensional visual scene.
[0016] Step 3 is specifically implemented according to the following steps:
[0017] Step 3.1: The user modifies the configuration information of the scene or an object in the scene in the interface. The visual data model of the scene or the object in the scene will receive a request for interface update, and the corresponding scene visual data model is synchronously updated by the latest interface configuration data;
[0018] Step 3.2: After the user saves the scene configuration, according to the visualization data models of the scene and each object in the scene, generate a scene configuration file and a configuration file for each object. The basic configurations of the scene and each object are stored in the scene configuration storage file, which consists of the scene configuration information "sceneData" and the object list "objectList" configuration information in the scene. Use the method of the scene global management class to obtain the basic configuration information of the scene, generate the "sceneData" node of the scene storage file, and obtain all the scene objects by traversing the global "role ID - object pointer" object mapping table. Generate the "objectList" node part of the scene storage file. Each element "object" in the object list is a scene object. Each scene object also generates an independent configuration file, and the configuration file name is composed of the object name plus the object suffix type. By traversing the visualization data model of each object, obtain the key-value pairs of each attribute element in the data model of the object as the tag name and tag value of each attribute label, and write them into the independent configuration storage file of the object in sequence. The above attributes are attribute subsets, and the attribute subsets contain a series of attributes, forming a hierarchical scene configuration storage file library of "scene - object - attribute subset - attribute".
[0019] Step 4 is specifically implemented according to the following steps:
[0020] Step 4.1: Read the scene configuration file library generated in Step 3 above, parse the configuration file information of the scene and each object respectively, output the parsing result of the scene configuration data of the scene configuration file to the singleton object of the scene global management class, and store the parsing result of the basic configuration information of each object in the scene configuration file in the global object list. Each object in the object list is stored using the data structure of a mapping table, that is, it contains multiple tag key-value pairs of "sub-tag name - sub-tag attribute".
[0021] Step 4.2: Temporarily store the parsing results of the independent configuration files of each object in the data structure of the object attribute list.
[0022] Step 4.3: Instantiate the scene and each scene object according to the above scene global management class and global object list, use the object attribute list data information parsed from the independent configuration file of each object to generate the visualization data models of the scene and each object in the scene, and update the configuration data of the scene and each object in the interface.
[0023] The beneficial effects of the present invention are as follows. The method for automatically generating and reusing visual scene configuration information configures the information of the scene and various roles in the scene by operating a set of pre-designed artificial interaction interfaces, designs an automatic storage hierarchical file library structure, and supports one-key storage and loading for reuse. Moreover, the present invention also considers the reuse of scenarios with the configuration of common station equipment and link information once. The configuration storage structure designed by this method can flexibly adapt to changes in the number of various roles in the scene; it can be used both when initially constructing the scene and when the scene changes; it supports the configuration and design of aerospace multi-target scenarios and multiple sub-scenarios. Currently, the method of the present invention has been applied to the visual scenes of Chang'e-5, Mars exploration, and satellite constellations. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a model relationship diagram of the scene and various roles;
[0025] Figure 2 It is a flowchart of creating a new scene, saving a scene, and loading a scene. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0026] The present invention will be described in detail below with reference to the drawings and specific embodiments.
[0027] The method for automatically generating and reusing visual scene configuration information of the present invention, in combination with Figure 1 , Figure 2 , is specifically implemented according to the following steps:
[0028] Step 1: Create a new scene. If the user selects to create a new scene, execute Step 2; if the user selects to load and reuse a scene, execute Step 3;
[0029] Step 2: Use the interface to configure the information of the newly created scene, create each object, and configure the object information. According to the configuration of the above interface and the basic configuration of the scene, establish the visual data model of the scene and each object in the scene;
[0030] Step 2 is specifically implemented according to the following steps:
[0031] In the newly created scene, create satellites, planets, stations, links, and trajectories as the objects of the scene. According to the interface configuration information of the newly created scene and each scene object: the start and end time of the scene, satellite orbit, satellite attitude, configuration information of station equipment and measurement and control links, and data information of the theoretical trajectory, calculate the two-dimensional and three-dimensional visual data models of each newly created scene and object. Combine the basic configuration information of the scene, that is, the configuration information of the sun, starry sky, and earth in the scene, to construct two-dimensional and three-dimensional visual scenes.
[0032] Step 3: The user sets or modifies the configuration information of the scenario or scenario objects in the configuration interface, and the data models of the scenario and each object in the scenario are updated synchronously. The user saves the scenario configuration and saves the visual data models of the scenario and each object as a file library with a hierarchical storage structure.
[0033] Step 3 is specifically implemented according to the following steps:
[0034] Step 3.1: When the user modifies the configuration information of the scenario or an object in the scenario in the interface, the visual data model of the scenario or the object in the scenario will receive a request for interface update, and the corresponding scenario visual data model will be updated synchronously with the latest interface configuration data.
[0035] Step 3.2: After the user saves the scenario configuration, according to the visual data models of the scenario and each object in the scenario, scenario configuration files and configuration files for each object are generated. The basic configurations of the scenario and each object are stored in the scenario configuration storage file, which consists of the scenario configuration information sceneData and the object list objectList configuration information in the scenario. Use the method of the scenario global management class to obtain the basic configuration information of the scenario, generate the scene data sceneData node of the scenario storage file, and obtain all scenario objects by traversing the global "role ID - object pointer" object mapping table, and generate the object list objectList node part of the scenario storage file. Each element object in the object list is a scenario object. Each scenario object also generates an independent configuration file. The configuration file name is composed of the object name plus the object suffix type. For example, the configuration file name of the satellite is "**.sa", the configuration file name of the station device is "**.fa", the configuration file name of the link configuration is "**.lk", etc. By traversing the visual data model of each object, the key-value pairs of each attribute element in the data model of the object are obtained as the tag name and tag value of each attribute label, and are written into the independent configuration storage file of the object in sequence. The above attributes are attribute subsets, and the attribute subsets contain a series of attributes, forming a hierarchical scenario configuration storage file library of "scenario - object - attribute subset - attribute".
[0036] Step 4: Read the scenario storage file library, parse the configuration information of the scenario and each object in the scenario, generate the data models of the scenario and each object, and update the data in the scenario configuration interface; Step 3 can be continued.
[0037] Step 4 is specifically implemented according to the following steps:
[0038] Step 4.1: Read the scenario storage file library generated in the above Step 3, parse the configuration file information of the scenario and each object respectively, output the parsing result of the scenario configuration data in the scenario configuration file to the singleton object of the global management class of the scenario, and store the parsing results of the basic configuration information of each object in the scenario configuration file in the global object list. Each object in the object list is stored using the data structure of a mapping table, that is, it contains multiple tag key-value pairs of "sub-tag name - sub-tag attribute".
[0039] Step 4.2: Temporarily store the parsing results of the independent configuration files of each object in the data structure of the object attribute list.
[0040] Step 4.3: Instantiate the scenario and each scenario object according to the above scenario global management class and global object list, use the object attribute list data information parsed from the independent configuration file of each object to generate the visual data model of the scenario and each object in the scenario, and update the configuration data of the scenario and each object in the interface.
[0041] Step 5: Exit the scenario.
[0042] The present invention adopts a method for automatically storing and reusing aerospace three-dimensional visualization scenarios and various role configuration information in a hierarchical file manner. It is implemented using the MVC (Model-View-Controller) hierarchical model and has the following advantages:
[0043] (1) This method is divided into three modules: creating a scenario and establishing a data model of the object, generating a scenario configuration hierarchical storage file library, and parsing the scenario configuration storage file library. It realizes the hierarchical decoupling of the visualization scenario data and display, with clear module functions and concise interfaces.
[0044] (2) A hierarchical file storage structure is designed, which supports automatically generating a scenario configuration storage file library with one key and can automatically parse and reuse the scenario. The present invention manages the aerospace visualization scenario configuration information more intuitively and efficiently. The scenario data is configured once and reused multiple times; it supports configuration design and automatically saves multiple scenarios, so as to realize the rapid parallel creation and display of multiple aerospace visualization targets and sub-scenarios.
[0045] (3) The present invention has been applied to the visualization software of Chang'e-5 and the first Mars exploration mission, and has good application value especially in aerospace visualization scenarios such as multiple targets and satellite constellations.
Claims
1. Method for automatically generating and reusing visual scene configuration information, characterized in that, it is specifically implemented according to the following steps: Step 1: Create a new scene. If the user selects to create a new scene, execute Step 2; if the user selects to load and reuse a scene, execute Step 3; Step 2: Use the interface configuration to create the information of the new scene, create each object and configure the object information, and establish the visual data model of the scene and each object in the scene according to the above interface configuration and the basic configuration of the scene; Step 3: The user sets and modifies the basic configuration information of the scene or the scene object in the configuration interface, and the data models of the scene and each object in the scene are updated synchronously; the user saves the basic configuration information of the scene or the scene object, and saves the visual data models of the scene and each object as a file library with a hierarchical storage structure; The specific implementation of Step 3 is as follows: Step 3.1: The user modifies the basic configuration information of the scene or the object in the scene in the interface, and the visual data model of the scene or the object in the scene will receive a request for interface update, and the corresponding scene visual data model is updated synchronously by the latest interface configuration data; Step 3.2: After the user saves the scene configuration, according to the visual data models of the scene and each object in the scene, generate a scene configuration file and an independent configuration file for each object. The basic configurations of the scene and each object are stored in the scene configuration file, which consists of the scene configuration information sceneData and the object list objectList configuration information in the scene; use the method of the scene global management class to obtain the basic configuration information of the scene, generate the scene configuration information sceneData node of the scene configuration file, and obtain all scene objects by traversing the global "role ID - object pointer" object mapping table, and generate the object list objectList node part of the scene configuration file. Each element object in the object list is a scene object; each scene object also generates an independent configuration file, and the configuration file name consists of the object name plus the object suffix type; by traversing the visual data model of each object, obtain the key-value pairs of each attribute element in the data model of the object as the label name and label value of each attribute label, and write them into the independent configuration file of the object in turn. The above attributes are attribute subsets, and the attribute subsets contain a series of attributes, forming a file library with a hierarchical storage structure of "scene - object - attribute subset - attribute"; Step 4: Read the file library with a hierarchical storage structure, parse the configuration information of the scene and each object in the scene, generate the data models of the scene and each object, and update the data in the scene configuration interface; Step 3 can be continued; Step 5: Exit the scene.
2. The method for automatically generating and reusing visual scene configuration information according to claim 1, characterized in that, the specific implementation of Step 2 is as follows: In a newly created scenario, create objects such as satellites, planets, measurement stations, links, and trajectories as the objects of the scenario. According to the interface configuration information of the newly created scenario and each scenario object: the start and end time of the scenario, satellite orbit, satellite attitude, configuration information of measurement station equipment and measurement and control links, and data information of the theoretical trajectory, establish 2D and 3D visualization data models for each newly created scenario and object. Combine the basic configuration information of the scenario, that is, the configuration information of the sun, starry sky, and earth in the scenario, to construct 2D and 3D visualization scenarios.
3. The method for automatically generating and reusing visualization scenario configuration information according to claim 2, wherein, the specific implementation of step 4 is as follows: Step 4.1: Read the file library with a hierarchical storage structure generated in step 3 above, respectively parse the configuration file information of the scenario and each object, output the parsing result of the scenario configuration data in the scenario configuration file to the singleton object of the global management class of the scenario, and store the parsing results of the basic configuration information of each object in the scenario configuration file in the global object list. Each object in the object list is stored using the data structure of a mapping table: that is, multiple tag key-value pairs containing "sub-tag name - sub-tag attribute"; Step 4.2: Temporarily store the parsing results of the independent configuration files of each object in the data structure of the object attribute list; Step 4.3: Instantiate the scenario and each scenario object according to the above scenario global management class and global object list, use the object attribute list data information parsed from the independent configuration file of each object to generate the visualization data model of the scenario and each object in the scenario, and update the configuration data of the scenario and each object in the interface.
Citation Information
Patent Citations
Space astronomical observation task computational analysis system and method, medium and equipment
CN110108281A
Three-dimensional scene management and file storage method for robot production system simulation
CN112509103A