CN116628865A - Rapid construction method of aerospace three-dimensional simulation scene - Google Patents

Rapid construction method of aerospace three-dimensional simulation scene Download PDF

Info

Publication number
CN116628865A
CN116628865A CN202310910036.2A CN202310910036A CN116628865A CN 116628865 A CN116628865 A CN 116628865A CN 202310910036 A CN202310910036 A CN 202310910036A CN 116628865 A CN116628865 A CN 116628865A
Authority
CN
China
Prior art keywords
scene
node
file
track data
ith
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310910036.2A
Other languages
Chinese (zh)
Other versions
CN116628865B (en
Inventor
肖方
靳宏伟
王元
许虎
张效元
王乐
王磊
王晓凯
张斌哲
马凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Xian Satellite Control Center
Original Assignee
China Xian Satellite Control Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Xian Satellite Control Center filed Critical China Xian Satellite Control Center
Priority to CN202310910036.2A priority Critical patent/CN116628865B/en
Publication of CN116628865A publication Critical patent/CN116628865A/en
Application granted granted Critical
Publication of CN116628865B publication Critical patent/CN116628865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/15Vehicle, aircraft or watercraft design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method for quickly constructing a space three-dimensional simulation scene, which comprises the following steps: 1. acquiring an initial operation file and track data, and loading the initial operation file and the track data into a cache; 2. checking the initial operation file to obtain a checked initial operation file; 3. processing the track data according to the scene basic information to obtain processed track data; 4. and generating a space three-dimensional simulation scene and updating version information. The method has simple steps and reasonable design, can construct a three-dimensional simulation scene only by providing the initial operation file and the track data file, reduces the simulation requirement, improves the convenience, accuracy and robustness of the three-dimensional simulation construction, and can realize multi-version playback so as to better meet the use requirement.

Description

Rapid construction method of aerospace three-dimensional simulation scene
Technical Field
The invention belongs to the technical field of aerospace three-dimensional simulation construction, and particularly relates to a quick construction method of an aerospace three-dimensional simulation scene.
Background
With the rapid development of aerospace industry, the number of spacecrafts in near-earth space is increased, static information such as numbers and images is more difficult to describe complex and changeable situations of the universe space, and three-dimensional visual simulation of the universe environment centered on the earth by using ephemeris data and priori knowledge is gradually the main mode of people to study and know the universe. At present, a plurality of three-dimensional simulation frames exist, but when the space scene is constructed, the problems of complex scene construction flow, long development period, low universality and the like exist generally, and the space visualization requirements of increasing complexity and diversification cannot be met.
In order to solve the problems of the traditional three-dimensional simulation frame in the process of visualizing the space scene, the establishment of a set of general three-dimensional simulation construction frame aiming at space traffic is a good idea, namely, a user can construct the space three-dimensional scene by only providing initial data and configuration.
However, some solutions for visual simulation of aerospace exist at home and abroad at present, and STK (Satellite Tool Kit, satellite simulation kit) developed by AGI company is the most representative and most approved construction framework. The framework can carry out full-period simulation of space situation by data driving, provides more realistic three-dimensional interaction and is widely used by a plurality of aerospace practitioners. It still has some drawbacks: when facing complex scenes of more entities, each entity needs to be configured one by one manually through a UI page, and the whole construction process is time-consuming and labor-consuming; moreover, the operation standardization cannot be ensured by setting simulation parameters on the page, and the situation of filling data by mistake and missing data easily occurs, so that scene simulation errors are caused. In addition, the framework can only play back last stored entity information, and multi-version playback is not supported.
Disclosure of Invention
The invention aims to solve the technical problems in the prior art, and provides a quick construction method of a space three-dimensional simulation scene, which has simple steps and reasonable design, can construct the three-dimensional simulation scene by only providing an initial operation file and a track data file, reduces simulation requirements, supports multi-node batch loading and verification of the scene, improves the convenience, accuracy and robustness of three-dimensional simulation construction, can replay in multiple versions, and better meets the use requirements.
In order to solve the technical problems, the invention adopts the following technical scheme: a method for quickly constructing a space three-dimensional simulation scene is characterized by comprising the following steps:
step one, acquiring an initial operation file and track data, and loading the initial operation file and the track data into a cache; the initial job file comprises scene basic information and node attribute information of N nodes, and the track data comprises track data of the N nodes; n is a positive integer greater than or equal to 1;
step two, checking the initial operation file to obtain a checked initial operation file;
step three, processing the track data according to the scene basic information to obtain processed track data:
step 301, reading scene starting time and scene ending time in a cache to obtain a scene time period;
step 302, circularly traversing each node in the cache to process track data of each node; if the track data type is ephemeris data, screening track data in the scene time period; if the track data type is track parameter data, extrapolating track data in the scene time period;
generating a space three-dimensional simulation scene and updating version information:
step 401, judging whether the update count is 0, if so, executing step 402; otherwise, go to step 403 and step 404;
step 402, converting the checked initial operation file and the processed track data into an initial version of graphical language; generating a space three-dimensional simulation scene according to the graphical language of the initial version;
step 403, updating version information of the checked initial job file to form an updated version graphical language, and obtaining an updated count corresponding to the updated version graphical language; the method comprises the steps of updating information of an ith version to form an ith updated version graphical language, wherein the updated count corresponding to the ith updated version graphical language is i, i is a positive integer, and i is more than or equal to 1;
step 404, generating the space three-dimensional simulation scene by using the updated version of the graphical language according to the method described in step 402.
The method for quickly constructing the aerospace three-dimensional simulation scene is characterized by comprising the following steps of: the initial job file verification in the second step specifically comprises the following steps:
step 201, reading scene basic information and node attribute information in an initial job file into a cache; wherein the update count corresponding to the initial job file is 0;
step 202, checking scene basic information necessary filling items in an initial job file;
step 203, creating a scene folder in a mode of 'scene name_creation time_UUID', and placing an initial job file and track data into the scene folder;
and 204, circularly checking the attribute information of each node until the initial job file checking is finished.
The method for quickly constructing the aerospace three-dimensional simulation scene is characterized by comprising the following steps of: in step 202, the essential scene information in the initial job file is verified, and the specific process is as follows:
step 2021, judging whether the scene name in the initial job file is empty, if so, taking the current timestamp as the unique scene name; if not, step 2022 is performed;
step 2022, judging whether the scene start time or the scene end time is empty, if at least one item is empty, judging whether the track data has an ephemeris data file, if yes, executing step 2023; if there is no ephemeris data, then step 2024 is performed; if neither the scene start time nor the scene end time is empty, then step 203 is performed;
step 2023, taking the earliest time in all the ephemeris data files as the scene start time or taking the latest time in all the ephemeris data files as the scene end time;
step 2024: and after the verification of the initial job file is finished, the scene creation fails.
The method for quickly constructing the aerospace three-dimensional simulation scene is characterized by comprising the following steps of: in step 204, the process of circularly checking the attribute information of each node is the same, wherein the specific process of checking the attribute information of any node is as follows:
step 2041, reading the node from the cache, and judging whether the node name is empty; if the node is empty, generating a name which is not repeated with other nodes in the cache; if not, execute step 2042;
step 2042, judging whether the current node name is repeated with other node names in the cache, if so, modifying the node name on the premise of not changing the meaning of the original name; if not, executing step 2043;
step 2043, if the track data type is ephemeris data, searching whether a corresponding ephemeris data file exists in the scene folder, and if not, executing step 2045; if so, step 2044 is performed;
if the track data type is track parameter data, judging whether the length of the track parameter data meets the verification requirement, and if not, executing step 2045; if yes, go to step 2044;
step 2044, checking other configuration items of the attribute of the node, and if the configuration items are empty or do not meet the requirements, setting the configuration items to default values until the requirements are met;
step 2045, setting the node implicit attribute to false.
The method for quickly constructing the aerospace three-dimensional simulation scene is characterized by comprising the following steps of: step 302, circularly traversing each node in the cache, wherein the track data processing process of each node is the same; the track data processing is carried out on any node, and the specific process is as follows:
step 3021, judging the track data type of the current node, and if the track data type is ephemeris data, executing step 3022; if the track data type is a track parameter, executing step 3023 and step 3024;
step 3022, judging whether the time span of the ephemeris data and the scene time period have intersecting time, if so, intercepting intersecting track data according to the scene time period to obtain new track data, and executing step 3024; if the node is not intersected, setting the implicit attribute of the node as false, and carrying out the processing of the next node;
step 3023, processing the track parameter data by using a track extrapolation model, and extrapolating track data of the node in a scene time period to obtain new track data;
and 3024, updating the path of the corresponding new track data into the track data configuration item of the initial job file, and performing processing of the next node.
The method for quickly constructing the aerospace three-dimensional simulation scene is characterized by comprising the following steps of: in step 402, converting the verified initial job file and the processed track data into an initial version of graphical language; and generating a space three-dimensional simulation scene according to the graphical language of the initial version, wherein the specific process is as follows:
step 4020, performing sub-packaging processing on the graphical language of the initial version to obtain a graphical language data packet;
step 4021, distributing a visual container in an HTML DOM element for a scene in a created stage of the scene life cycle;
step 4022, initiating a WebSocket bidirectional channel link establishment request, and receiving the graphic language data packet in step 4020 in a streaming loading mode;
step 4023: analyzing the graphic language data packet while receiving the graphic language data packet to obtain scene basic information in the graphic language data packet, and executing step 4024 and step 4025;
analyzing and obtaining node attribute information in the graphic language data packet, creating nodes according to the packet sequence of the graphic language data packet, and adding each node into a shared memory for management;
step 4024, creating a scene clock according to the scene basic information obtained by analysis, unifying the whole scene time zone to be GMT+8, and building a monitor related to time;
4025, drawing a three-dimensional sphere by using a rendering component, creating a GeoServer service, and covering a tile layer image in the GeoServer service on the surface of the three-dimensional sphere to form geographic information data; splicing the six sky maps into a sky box by taking the average spring point axis of the equator and the camera position as reference centers, and forming a three-dimensional universe background by texture mapping of the six sky maps;
step 4026: and circularly rendering each node in the shared memory into the three-dimensional simulation scene by utilizing the rendering component to form the node in the scene and draw the motion trail of the node, so as to generate the aerospace three-dimensional simulation scene.
The method for quickly constructing the aerospace three-dimensional simulation scene is characterized by comprising the following steps of: in step 403, version information updating is performed on the checked initial job file to form an updated version graphical language, and an updated count corresponding to the updated version graphical language is obtained, which specifically includes the following steps:
step 4031, performing difference comparison on the attribute information of each node in the initial job file and the attribute information of each node after the ith modification to form an ith node attribute difference configuration file; the ith node attribute difference configuration file name comprises an updated count value;
step 4032, serializing the scene configuration information modified at the ith time into a character string, and persisting the character string to a scene configuration information file to obtain the scene configuration information file at the ith time; the ith scene configuration information file name comprises an updated count value;
step 4033, changing the checked initial job file according to the ith node attribute difference configuration file to form an ith updated node attribute information file;
step 4034, converting the ith updated node attribute information file, the ith scene configuration information file and the processed track data into an ith updated version graphical language according to the method in step 402; wherein, the updated count corresponding to the ith updated version of the graphical language is i.
The method for quickly constructing the aerospace three-dimensional simulation scene is characterized by comprising the following steps of: in step 4031, the difference between the attribute information of each node in the initial job file and the attribute information of each node after the ith modification is compared, and the specific process is as follows:
step 403A, judging whether each attribute information of the current node is identical to each attribute information of the node after the ith modification, if so, performing difference comparison of the next node; if not, go to step 403B;
step 403B, judging whether the implicit attribute of the current node and the implicit attribute of the node after the ith modification are false, if both are false, performing difference comparison of the next node; if the non-uniformity is false, go to step 403C;
step 403C, traversing each attribute information of the node and each attribute information of the node after the ith modification in turn, and serializing different attribute information into json key values; wherein, the key in the json key value corresponds to the attribute information, and the value is the i-th modified attribute information;
and step 403D, persisting each json key value into the node difference configuration file in a character stream mode until all the node differences are compared, and forming an ith node attribute difference configuration file.
Compared with the prior art, the invention has the following advantages:
1. when the method is used, only the initial operation file and the track data file are provided, the corresponding three-dimensional simulation scene can be generated, the user is separated from the scene construction process, and the simulation requirement is reduced.
2. The method of the invention is packaged into a module or deployed as a service, can be accessed at will, and avoids repeated installation.
3. The initial operation file comprises scene basic information and node attribute information of N nodes, so that complex scene multi-node batch loading is supported, and the initial operation file is checked, so that convenience, accuracy and robustness of three-dimensional simulation construction are improved.
4. The invention updates version information of the checked initial operation file to form updated version graphical languages, acquires updated counts corresponding to the updated version graphical languages, and generates space three-dimensional simulation scenes by updating the updated version graphical languages, thereby realizing playback of a plurality of versions and better meeting the use requirements.
5. According to the method, the attribute information of each node in the initial job file and the attribute information of each node after the ith modification are subjected to difference comparison to form an ith node attribute difference configuration file, and the ith scene configuration information is stored to form an ith scene configuration information file, so that a playback scene is closer to the final operation of a user through the ith node attribute difference configuration file and the ith scene configuration information file, and not only can each updated version be completely played back in a difference configuration mode, but also magnetic discs and calculation resources can be occupied as little as possible.
6. The method is suitable for multi-node batch loading and simulation construction of any complex space scenes such as satellites, space fragments, space experiment simulators and the like.
7. The invention can be played back as the scene contains any number of nodes, each version is composed of node differential configuration stored in an increment and scene configuration information of full backup, the corresponding version describes the dominant characteristic values of the nodes and the scene in a final state, and each version is distinguished by changing the count value.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
FIG. 1 is a block flow diagram of the method of the present invention.
FIG. 2 is a block diagram illustrating a process for verifying an initial job file according to the present invention.
Detailed Description
As shown in fig. 1 and 2, the method for quickly constructing the space three-dimensional simulation scene comprises the following steps:
step one, acquiring an initial operation file and track data, and loading the initial operation file and the track data into a cache; the initial job file comprises scene basic information and node attribute information of N nodes, and the track data comprises track data of the N nodes; n is a positive integer greater than or equal to 1;
step two, checking the initial operation file to obtain a checked initial operation file;
step three, processing the track data according to the scene basic information to obtain processed track data:
step 301, reading scene starting time and scene ending time in a cache to obtain a scene time period;
step 302, circularly traversing each node in the cache to process track data of each node; if the track data type is ephemeris data, screening track data in the scene time period; if the track data type is track parameter data, extrapolating track data in the scene time period;
generating a space three-dimensional simulation scene and updating version information:
step 401, judging whether the update count is 0, if so, executing step 402; otherwise, go to step 403 and step 404;
step 402, converting the checked initial operation file and the processed track data into an initial version of graphical language; generating a space three-dimensional simulation scene according to the graphical language of the initial version;
step 403, updating version information of the checked initial job file to form an updated version graphical language, and obtaining an updated count corresponding to the updated version graphical language; the method comprises the steps of updating information of an ith version to form an ith updated version graphical language, wherein the updated count corresponding to the ith updated version graphical language is i, i is a positive integer, and i is more than or equal to 1;
step 404, generating the space three-dimensional simulation scene by using the updated version of the graphical language according to the method described in step 402.
In this embodiment, the initial job file verification in the second step specifically includes the following steps:
step 201, reading scene basic information and node attribute information in an initial job file into a cache; wherein the update count corresponding to the initial job file is 0;
step 202, checking scene basic information necessary filling items in an initial job file;
step 203, creating a scene folder in a mode of 'scene name_creation time_UUID', and placing an initial job file and track data into the scene folder;
and 204, circularly checking the attribute information of each node until the initial job file checking is finished.
In this embodiment, in step 202, the procedure for checking the scene basic information necessary entry in the initial job file is as follows:
step 2021, judging whether the scene name in the initial job file is empty, if so, taking the current timestamp as the unique scene name; if not, step 2022 is performed;
step 2022, judging whether the scene start time or the scene end time is empty, if at least one item is empty, judging whether the track data has an ephemeris data file, if yes, executing step 2023; if there is no ephemeris data, then step 2024 is performed; if neither the scene start time nor the scene end time is empty, then step 203 is performed;
step 2023, taking the earliest time in all the ephemeris data files as the scene start time or taking the latest time in all the ephemeris data files as the scene end time;
step 2024: and after the verification of the initial job file is finished, the scene creation fails.
In this embodiment, the process of circularly verifying the attribute information of each node in step 204 is the same, wherein the specific process of verifying the attribute information of any node is as follows:
step 2041, reading the node from the cache, and judging whether the node name is empty; if the node is empty, generating a name which is not repeated with other nodes in the cache; if not, execute step 2042;
step 2042, judging whether the current node name is repeated with other node names in the cache, if so, modifying the node name on the premise of not changing the meaning of the original name; if not, executing step 2043;
step 2043, if the track data type is ephemeris data, searching whether a corresponding ephemeris data file exists in the scene folder, and if not, executing step 2045; if so, step 2044 is performed;
if the track data type is track parameter data, judging whether the length of the track parameter data meets the verification requirement, and if not, executing step 2045; if yes, go to step 2044;
step 2044, checking other configuration items of the attribute of the node, and if the configuration items are empty or do not meet the requirements, setting the configuration items to default values until the requirements are met;
step 2045, setting the node implicit attribute to false.
In this embodiment, the process of circularly traversing each node in the cache to perform trace data processing on each node in step 302 is the same; the track data processing is carried out on any node, and the specific process is as follows:
step 3021, judging the track data type of the current node, and if the track data type is ephemeris data, executing step 3022; if the track data type is a track parameter, executing step 3023 and step 3024;
step 3022, judging whether the time span of the ephemeris data and the scene time period have intersecting time, if so, intercepting intersecting track data according to the scene time period to obtain new track data, and executing step 3024; if the node is not intersected, setting the implicit attribute of the node as false, and carrying out the processing of the next node;
step 3023, processing the track parameter data by using a track extrapolation model, and extrapolating track data of the node in a scene time period to obtain new track data;
and 3024, updating the path of the corresponding new track data into the track data configuration item of the initial job file, and performing processing of the next node.
In this embodiment, in step 402, the verified initial job file and the processed track data are converted into an initial version of the graphical language; and generating a space three-dimensional simulation scene according to the graphical language of the initial version, wherein the specific process is as follows:
step 4020, performing sub-packaging processing on the graphical language of the initial version to obtain a graphical language data packet;
step 4021, distributing a visual container in an HTML DOM element for a scene in a created stage of the scene life cycle;
step 4022, initiating a WebSocket bidirectional channel link establishment request, and receiving the graphic language data packet in step 4020 in a streaming loading mode;
step 4023: analyzing the graphic language data packet while receiving the graphic language data packet to obtain scene basic information in the graphic language data packet, and executing step 4024 and step 4025;
analyzing and obtaining node attribute information in the graphic language data packet, creating nodes according to the packet sequence of the graphic language data packet, and adding each node into a shared memory for management;
step 4024, creating a scene clock according to the scene basic information obtained by analysis, unifying the whole scene time zone to be GMT+8, and building a monitor related to time;
4025, drawing a three-dimensional sphere by using a rendering component, creating a GeoServer service, and covering a tile layer image in the GeoServer service on the surface of the three-dimensional sphere to form geographic information data; splicing the six sky maps into a sky box by taking the average spring point axis of the equator and the camera position as reference centers, and forming a three-dimensional universe background by texture mapping of the six sky maps;
step 4026: and circularly rendering each node in the shared memory into the three-dimensional simulation scene by utilizing the rendering component to form the node in the scene and draw the motion trail of the node, so as to generate the aerospace three-dimensional simulation scene.
In this embodiment, in step 403, version information update is performed on the verified initial job file to form an updated version graphical language, and an update count corresponding to the updated version graphical language is obtained, which specifically includes the following steps:
step 4031, performing difference comparison on the attribute information of each node in the initial job file and the attribute information of each node after the ith modification to form an ith node attribute difference configuration file; the ith node attribute difference configuration file name comprises an updated count value;
step 4032, serializing the scene configuration information modified at the ith time into a character string, and persisting the character string to a scene configuration information file to obtain the scene configuration information file at the ith time; the ith scene configuration information file name comprises an updated count value;
step 4033, changing the checked initial job file according to the ith node attribute difference configuration file to form an ith updated node attribute information file;
step 4034, converting the ith updated node attribute information file, the ith scene configuration information file and the processed track data into an ith updated version graphical language according to the method in step 402; wherein, the updated count corresponding to the ith updated version of the graphical language is i.
In this embodiment, in step 4031, the difference between the attribute information of each node in the initial job file and the attribute information of each node after the ith modification is compared, and the specific process is as follows:
step 403A, judging whether each attribute information of the current node is identical to each attribute information of the node after the ith modification, if so, performing difference comparison of the next node; if not, go to step 403B;
step 403B, judging whether the implicit attribute of the current node and the implicit attribute of the node after the ith modification are false, if both are false, performing difference comparison of the next node; if the non-uniformity is false, go to step 403C;
step 403C, traversing each attribute information of the node and each attribute information of the node after the ith modification in turn, and serializing different attribute information into json key values; wherein, the key in the json key value corresponds to the attribute information, and the value is the i-th modified attribute information;
and step 403D, persisting each json key value into the node difference configuration file in a character stream mode until all the node differences are compared, and forming an ith node attribute difference configuration file.
In this embodiment, the initial job file may be a common file such as txt, xml, json, or may be a data entry in a relational database.
In this embodiment, the track data of each node may be a normal file such as txt, excel, etc.
In this embodiment, the nodes are single high-level objects that aggregate multiple forms of visualizations into a whole in the scene, and the single high-level objects are independent of each other, pluggable, and each node has a unique id identifier.
In this embodiment, when specifically used, one node corresponds to one satellite, and may also be a spacecraft, a station or a space debris, etc.
In this embodiment, the scene basic information includes a scene name sceneName, a scene start time sceneStartTime, a scene end time scenendtime, a scene presentation multiple speed multiplier, a scene current time curentTime, and a coordinate system type corodinate of a presentation track;
the node attribute information of each node comprises a node name, a node display color1, a font size fontSize, whether the node displays show, a belonged country belong, a node model file path url, a node model size, a track data type, track data, a track color2, a track thickness width, a track material, a non-walking track length leadTime and a walking track length trailiTime;
in this embodiment, the track material includes a dashed line dashed and a solid line solid.
In this embodiment, the trajectory data of each node is ephemeris data or orbit parameter data, where the ephemeris data is position velocity data under a geocentric fixed coordinate system (fixed), a J2000.0 geocentric inertial coordinate system (inertial) or a longitude and latitude high coordinate system, and the orbit parameter data is the description parameters of six orbit numbers, TLE, CTLE and the like under the action of newton's universal gravitation law, which can determine the orbit shape of the spacecraft and the specific position in the orbit.
In this embodiment, it should be noted that each node needs to guarantee a unique attribute of < name >, and the read-write of the node is distinguished and managed in the cache through the attribute, and the < data > specifies the value or the file name of the track data of the corresponding node. That is, when the requirement of batch construction of complex scenes is met, the simulation scenes of a large number of nodes can be quickly constructed only by circularly copying the node configuration and ensuring that the < name > and the < data > of each node are different. The personalized setting of the nodes can be modified by modifying the initial job file attributes such as node attribute information, or by utilizing an operation panel after the simulation scene is constructed.
In this embodiment, the scene basic information and the node attribute information can flexibly increase or decrease the number of configuration items according to actual needs, change the configuration structure, and even can be replaced by any data structure capable of describing the scene state and the information.
In this embodiment, a collection method such as HashSet, linkedHashSet, hashMap is used to check whether the node names are repeated.
In this embodiment, the orbit extrapolation model is the TwoBody, J2 Perturbation, HPOP or SGP4 model.
In this embodiment, it should be noted that: the track data processing is performed after the verification of the operation file is completed, so that the serial mode has two main advantages: (1) the track data processing can directly take node set information cached in the verification of the job file, so that secondary analysis of the job file is avoided, and the consumption of read-write and data analysis resources of a disk is reduced; (2) the operation file verification has performed regularity verification or assignment operation on the scene time, so that errors of flow execution failure caused by failure of scene time value in track data processing can be avoided. In addition, the track data processing can be realized as a process in the form of a service or a module, and a spacecraft track data acquisition method is provided.
In this embodiment, the graphics language is in czml format and includes a plurality of graphics language data packets;
in this embodiment, in order to prevent the problem of the three-dimensional simulation scene being stuck or even crashed due to the excessive data volume, the graphical language data is packetized according to the data volume or according to a preset time period. For example, 1 hour, the data is divided into 6 packets according to 10 minutes, and then the data is progressively transmitted in packet order. The packetized data packets should have definite packet sequence, and are inserted into a transmission queue strictly according to the packet sequence, so as to complete the ordered transmission and loading of the data. The transmission signal of the data packet is sent in response to the next request of the simulation scene or is sent at equal intervals by setting a timer.
In this embodiment, the scene configuration information is Key-Value data capable of describing personalized operations performed on the simulation scene by the user, including camera position, illumination condition, cloud layer thickness, and earth configuration;
in this embodiment, the graphical language refers to a 3D engine library script that accords with OpenGL ES 2.0 standard and can be accessed by using HTML5 Canvas elements as DOM interfaces, and may be a configuration that can be recognized by js libraries such as WebGL, thread. Js, cesium, etc. of rendering components, and may describe a time-varying condition of an attribute, or may be a Key-Value cache database under the same conditions.
In this embodiment, it should be noted that, only once analysis is performed when the first graphical language data packet is received, so as to obtain the scene basic information and the scene configuration information stored by the i-th version information update. And when receiving the subsequent graphical language data packet, only analyzing the node attribute information, and updating the node attribute information into the shared cache to finish the dynamic change of the node in the simulation scene.
In this embodiment, in step 404, when generating the space three-dimensional simulation scene with the updated version of the graphical language according to the method described in step 402, in step 4023, node data is updated according to the packet sequence of the graphical language data packet, and each updated node is added to the shared memory for management;
in step 4023, the ith scene configuration information file stored by the ith version information update is obtained through analysis, the current scene is set in sequence according to the ith scene configuration information file, and the set scene configuration information is added into the shared cache.
In this embodiment, in actual use, the ith updated node attribute information file and the ith scene configuration information file are both placed in the scene folder.
The foregoing description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and any simple modification, variation and equivalent structural changes made to the above embodiment according to the technical substance of the present invention still fall within the scope of the technical solution of the present invention.

Claims (8)

1. A method for quickly constructing a space three-dimensional simulation scene is characterized by comprising the following steps:
step one, acquiring an initial operation file and track data, and loading the initial operation file and the track data into a cache; the initial job file comprises scene basic information and node attribute information of N nodes, and the track data comprises track data of the N nodes; n is a positive integer greater than or equal to 1;
step two, checking the initial operation file to obtain a checked initial operation file;
step three, processing the track data according to the scene basic information to obtain processed track data:
step 301, reading scene starting time and scene ending time in a cache to obtain a scene time period;
step 302, circularly traversing each node in the cache to process track data of each node; if the track data type is ephemeris data, screening track data in the scene time period; if the track data type is track parameter data, extrapolating track data in the scene time period;
generating a space three-dimensional simulation scene and updating version information:
step 401, judging whether the update count is 0, if so, executing step 402; otherwise, go to step 403 and step 404;
step 402, converting the checked initial operation file and the processed track data into an initial version of graphical language; generating a space three-dimensional simulation scene according to the graphical language of the initial version;
step 403, updating version information of the checked initial job file to form an updated version graphical language, and obtaining an updated count corresponding to the updated version graphical language; the method comprises the steps of updating information of an ith version to form an ith updated version graphical language, wherein the updated count corresponding to the ith updated version graphical language is i, i is a positive integer, and i is more than or equal to 1;
step 404, generating the space three-dimensional simulation scene by using the updated version of the graphical language according to the method described in step 402.
2. The method for quickly constructing the space three-dimensional simulation scene according to claim 1, wherein the method comprises the following steps of: the initial job file verification in the second step specifically comprises the following steps:
step 201, reading scene basic information and node attribute information in an initial job file into a cache; wherein the update count corresponding to the initial job file is 0;
step 202, checking scene basic information necessary filling items in an initial job file;
step 203, creating a scene folder in a mode of 'scene name_creation time_UUID', and placing an initial job file and track data into the scene folder;
and 204, circularly checking the attribute information of each node until the initial job file checking is finished.
3. The method for quickly constructing the space three-dimensional simulation scene according to claim 2, wherein the method comprises the following steps of: in step 202, the essential scene information in the initial job file is verified, and the specific process is as follows:
step 2021, judging whether the scene name in the initial job file is empty, if so, taking the current timestamp as the unique scene name; if not, step 2022 is performed;
step 2022, judging whether the scene start time or the scene end time is empty, if at least one item is empty, judging whether the track data has an ephemeris data file, if yes, executing step 2023; if there is no ephemeris data, then step 2024 is performed; if neither the scene start time nor the scene end time is empty, then step 203 is performed;
step 2023, taking the earliest time in all the ephemeris data files as the scene start time or taking the latest time in all the ephemeris data files as the scene end time;
step 2024: and after the verification of the initial job file is finished, the scene creation fails.
4. The method for quickly constructing the space three-dimensional simulation scene according to claim 2, wherein the method comprises the following steps of: in step 204, the process of circularly checking the attribute information of each node is the same, wherein the specific process of checking the attribute information of any node is as follows:
step 2041, reading the node from the cache, and judging whether the node name is empty; if the node is empty, generating a name which is not repeated with other nodes in the cache; if not, execute step 2042;
step 2042, judging whether the current node name is repeated with other node names in the cache, if so, modifying the node name on the premise of not changing the meaning of the original name; if not, executing step 2043;
step 2043, if the track data type is ephemeris data, searching whether a corresponding ephemeris data file exists in the scene folder, and if not, executing step 2045; if so, step 2044 is performed;
if the track data type is track parameter data, judging whether the length of the track parameter data meets the verification requirement, and if not, executing step 2045; if yes, go to step 2044;
step 2044, checking other configuration items of the attribute of the node, and if the configuration items are empty or do not meet the requirements, setting the configuration items to default values until the requirements are met;
step 2045, setting the node implicit attribute to false.
5. The method for quickly constructing the space three-dimensional simulation scene according to claim 1, wherein the method comprises the following steps of: step 302, circularly traversing each node in the cache, wherein the track data processing process of each node is the same; the track data processing is carried out on any node, and the specific process is as follows:
step 3021, judging the track data type of the current node, and if the track data type is ephemeris data, executing step 3022; if the track data type is a track parameter, executing step 3023 and step 3024;
step 3022, judging whether the time span of the ephemeris data and the scene time period have intersecting time, if so, intercepting intersecting track data according to the scene time period to obtain new track data, and executing step 3024; if the node is not intersected, setting the implicit attribute of the node as false, and carrying out the processing of the next node;
step 3023, processing the track parameter data by using a track extrapolation model, and extrapolating track data of the node in a scene time period to obtain new track data;
and 3024, updating the path of the corresponding new track data into the track data configuration item of the initial job file, and performing processing of the next node.
6. The method for quickly constructing the space three-dimensional simulation scene according to claim 1, wherein the method comprises the following steps of: in step 402, converting the verified initial job file and the processed track data into an initial version of graphical language; and generating a space three-dimensional simulation scene according to the graphical language of the initial version, wherein the specific process is as follows:
step 4020, performing sub-packaging processing on the graphical language of the initial version to obtain a graphical language data packet;
step 4021, distributing a visual container in an HTML DOM element for a scene in a created stage of the scene life cycle;
step 4022, initiating a WebSocket bidirectional channel link establishment request, and receiving the graphic language data packet in step 4020 in a streaming loading mode;
step 4023: analyzing the graphic language data packet while receiving the graphic language data packet to obtain scene basic information in the graphic language data packet, and executing step 4024 and step 4025;
analyzing and obtaining node attribute information in the graphic language data packet, creating nodes according to the packet sequence of the graphic language data packet, and adding each node into a shared memory for management;
step 4024, creating a scene clock according to the scene basic information obtained by analysis, unifying the whole scene time zone to be GMT+8, and building a monitor related to time;
4025, drawing a three-dimensional sphere by using a rendering component, creating a GeoServer service, and covering a tile layer image in the GeoServer service on the surface of the three-dimensional sphere to form geographic information data; splicing the six sky maps into a sky box by taking the average spring point axis of the equator and the camera position as reference centers, and forming a three-dimensional universe background by texture mapping of the six sky maps;
step 4026: and circularly rendering each node in the shared memory into the three-dimensional simulation scene by utilizing the rendering component to form the node in the scene and draw the motion trail of the node, so as to generate the aerospace three-dimensional simulation scene.
7. The method for quickly constructing the space three-dimensional simulation scene according to claim 1, wherein the method comprises the following steps of: in step 403, version information updating is performed on the checked initial job file to form an updated version graphical language, and an updated count corresponding to the updated version graphical language is obtained, which specifically includes the following steps:
step 4031, performing difference comparison on the attribute information of each node in the initial job file and the attribute information of each node after the ith modification to form an ith node attribute difference configuration file; the ith node attribute difference configuration file name comprises an updated count value;
step 4032, serializing the scene configuration information modified at the ith time into a character string, and persisting the character string to a scene configuration information file to obtain the scene configuration information file at the ith time; the ith scene configuration information file name comprises an updated count value;
step 4033, changing the checked initial job file according to the ith node attribute difference configuration file to form an ith updated node attribute information file;
step 4034, converting the ith updated node attribute information file, the ith scene configuration information file and the processed track data into an ith updated version graphical language according to the method in step 402; wherein, the updated count corresponding to the ith updated version of the graphical language is i.
8. The method for quickly constructing the space three-dimensional simulation scene according to claim 7, wherein the method comprises the following steps: in step 4031, the difference between the attribute information of each node in the initial job file and the attribute information of each node after the ith modification is compared, and the specific process is as follows:
step 403A, judging whether each attribute information of the current node is identical to each attribute information of the node after the ith modification, if so, performing difference comparison of the next node; if not, go to step 403B;
step 403B, judging whether the implicit attribute of the current node and the implicit attribute of the node after the ith modification are false, if both are false, performing difference comparison of the next node; if the non-uniformity is false, go to step 403C;
step 403C, traversing each attribute information of the node and each attribute information of the node after the ith modification in turn, and serializing different attribute information into json key values; wherein, the key in the json key value corresponds to the attribute information, and the value is the i-th modified attribute information;
and step 403D, persisting each json key value into the node difference configuration file in a character stream mode until all the node differences are compared, and forming an ith node attribute difference configuration file.
CN202310910036.2A 2023-07-24 2023-07-24 Rapid construction method of aerospace three-dimensional simulation scene Active CN116628865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310910036.2A CN116628865B (en) 2023-07-24 2023-07-24 Rapid construction method of aerospace three-dimensional simulation scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310910036.2A CN116628865B (en) 2023-07-24 2023-07-24 Rapid construction method of aerospace three-dimensional simulation scene

Publications (2)

Publication Number Publication Date
CN116628865A true CN116628865A (en) 2023-08-22
CN116628865B CN116628865B (en) 2023-10-13

Family

ID=87638611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310910036.2A Active CN116628865B (en) 2023-07-24 2023-07-24 Rapid construction method of aerospace three-dimensional simulation scene

Country Status (1)

Country Link
CN (1) CN116628865B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116861161A (en) * 2023-09-05 2023-10-10 中国西安卫星测控中心 Real-time space measurement data statistics method based on multi-tree structure

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567586A (en) * 2012-01-04 2012-07-11 中国电子科技集团公司第二十八研究所 Simulation system and simulation method for three-dimensional comprehensive situations of space mission
CN106296818A (en) * 2016-08-23 2017-01-04 河南智绘星图信息技术有限公司 A kind of terrestrial space scene simulation method and system based on mobile platform
CN111459811A (en) * 2020-03-26 2020-07-28 广州虎牙科技有限公司 Buried point data checking method and device
CN112365597A (en) * 2020-10-20 2021-02-12 苏州同元软控信息技术有限公司 Modelica-based three-dimensional model creation and visual simulation method and device
US20220063842A1 (en) * 2020-09-03 2022-03-03 Mitsubishi Electric Research Laboratories, Inc. Drift-Based Rendezvous Control
CN114281885A (en) * 2021-12-27 2022-04-05 中国科学院计算技术研究所 Method and system for constructing moving track of maneuvering object supporting scene simulation
CN115186454A (en) * 2022-06-23 2022-10-14 北京控制工程研究所 Large-batch simulation management method for spacecraft control system
CN115356947A (en) * 2022-08-24 2022-11-18 深空探测实验室 Interactive spacecraft fast mission planning simulation system and method
CN115361051A (en) * 2022-07-12 2022-11-18 中国科学院国家空间科学中心 Frequency sharing analysis system for large-scale space internet constellation
CN116436671A (en) * 2023-04-14 2023-07-14 北京志凌海纳科技有限公司 Method, system, device and medium for Kubernetes cluster access in private network

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567586A (en) * 2012-01-04 2012-07-11 中国电子科技集团公司第二十八研究所 Simulation system and simulation method for three-dimensional comprehensive situations of space mission
CN106296818A (en) * 2016-08-23 2017-01-04 河南智绘星图信息技术有限公司 A kind of terrestrial space scene simulation method and system based on mobile platform
CN111459811A (en) * 2020-03-26 2020-07-28 广州虎牙科技有限公司 Buried point data checking method and device
US20220063842A1 (en) * 2020-09-03 2022-03-03 Mitsubishi Electric Research Laboratories, Inc. Drift-Based Rendezvous Control
CN112365597A (en) * 2020-10-20 2021-02-12 苏州同元软控信息技术有限公司 Modelica-based three-dimensional model creation and visual simulation method and device
CN114281885A (en) * 2021-12-27 2022-04-05 中国科学院计算技术研究所 Method and system for constructing moving track of maneuvering object supporting scene simulation
CN115186454A (en) * 2022-06-23 2022-10-14 北京控制工程研究所 Large-batch simulation management method for spacecraft control system
CN115361051A (en) * 2022-07-12 2022-11-18 中国科学院国家空间科学中心 Frequency sharing analysis system for large-scale space internet constellation
CN115356947A (en) * 2022-08-24 2022-11-18 深空探测实验室 Interactive spacecraft fast mission planning simulation system and method
CN116436671A (en) * 2023-04-14 2023-07-14 北京志凌海纳科技有限公司 Method, system, device and medium for Kubernetes cluster access in private network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ABD-ELMAGID M.A ET AL: "Deep Reinforcement Learning for Minimizing Age-of-Information in UAV-Assisted Networks", 《2019 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM)》 *
郭传敏: "小推力轨迹分段平滑与同伦优化方法", 《中国优秀硕士学位论文全文数据库电子期刊 工程科技II辑》, vol. 2020, no. 2 *
陈健飞: "多层卫星网络路由策略研究", 《中国优秀硕士学位论文全文数据库电子期刊 信息科技辑》, vol. 2016, no. 2 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116861161A (en) * 2023-09-05 2023-10-10 中国西安卫星测控中心 Real-time space measurement data statistics method based on multi-tree structure
CN116861161B (en) * 2023-09-05 2023-11-17 中国西安卫星测控中心 Real-time space measurement data statistics method based on multi-tree structure

Also Published As

Publication number Publication date
CN116628865B (en) 2023-10-13

Similar Documents

Publication Publication Date Title
CN116628865B (en) Rapid construction method of aerospace three-dimensional simulation scene
US8199156B2 (en) Collaborative environments in a graphical information system
EP3273411A1 (en) Synthetic geotagging for computer-generated images
US20170039765A1 (en) System and method for real-time overlay of map features onto a video feed
Krämer et al. A case study on 3D geospatial applications in the web using state-of-the-art WebGL frameworks
EP1764744A2 (en) Streaming geometry data using a quasi-pyramidal structure
CN112333491B (en) Video processing method, display device and storage medium
CN110969691B (en) WebGL-based photographic data scheduling method and system
CN110765620A (en) Aircraft visual simulation method, system, server and storage medium
TW200929066A (en) Geospatial data system for selectively retrieving and displaying geospatial texture data in successive additive layers of resolution and related methods
CN113448562B (en) Automatic logic code generation method and device and electronic equipment
CN111104103A (en) Visualization method and system for software editing microservice
CN111552010A (en) Satellite remote sensing quick response and visualization service platform for global meteorological disasters
CN112181393A (en) Front-end and back-end code generation method and device, computer equipment and storage medium
US11156475B2 (en) Method and system for packing an electronic flight bag
CN116208623B (en) Information synchronization method, device, engine server and storage medium
CN112905262A (en) Configuration method and device of aerospace measurement and control system
Coll et al. Positioning with stationary emitters in a two-dimensional space-time
CN109684751B (en) Method, device, equipment and system for calling large sample graph of fabricated building
CN109405807B (en) Partitioning method for three-dimensional reconstruction of large-scene oblique image
CN115865279A (en) Airborne recorded data decoding method and device for airplane, electronic equipment and storage medium
CN114359498A (en) Map display method, device, equipment and computer program product
CN113888684A (en) Method and apparatus for graphics rendering and computer storage medium
KR101967587B1 (en) Method and apparadus for generating surveying data using task screen providing overlapped layers of construction map data, map data from external map service, and public map data
KR101959290B1 (en) Method and server for converting construction map data to data of converted format readable by web browser-based application running on mobile terminal used as surveying controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant