Interactive system and method for distributed simulation data

By adopting the combination technology of GBB and reflective memory card in distributed simulation, real-time interaction and synchronization of simulated data is achieved, the problem of difficulty in real-time data interaction in the existing technology is solved, and the efficiency and real-time nature of the simulation system are improved.

CN114647946BActive Publication Date: 2025-05-13CHINESE PEOPLES LIBERATION ARMY AVIATION COLLEGE +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210339827.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-01
Publication Date
2025-05-13
Estimated Expiration
2042-04-01

AI Technical Summary

Technical Problem

In distributed simulation, there are difficulties in real-time data interaction between simulation systems, especially when the data volume is large and the real-time requirements are high, the prior art is difficult to meet the efficient sharing and real-time synchronization of simulation data.

Method used

Using technology based on general GBB and reflective memory card, the GBB data management system writes the changed simulation data to the reflective memory card at each simulation cycle, and uses the reflective memory card to realize data interaction between simulation nodes, real-time sharing and synchronization of simulation data.

Benefits of technology

It effectively solves the problems of shared storage, real-time access and data synchronization of simulation data, improves the reading and writing efficiency of simulation data, meets the needs of high real-time transmission, and reduces data synchronization delay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114647946B_ABST
    Figure CN114647946B_ABST
Patent Text Reader

Abstract

The present invention provides a distributed simulation data interaction system and method, the system comprising: a simulation system is used to write simulation data into a GBB data management system; according to data requirements, the simulation data is read from the GBB data management system; the GBB data management system is used to write the changed simulation data into a reflective memory card in each simulation cycle; after writing is completed, an interrupt message is sent to the reflective memory card; after receiving a notification message, the changed simulation data is read from the reflective memory card; the reflective memory card is used to send the interrupt message and the changed simulation data to the reflective memory cards of other simulation nodes after receiving the interrupt message from the GBB data management system; after receiving the interrupt message sent by other simulation nodes, a notification message is sent to the GBB data management system. The present invention can realize the real-time interaction of simulation data between simulation systems in distributed simulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer simulation technology, and in particular to an interactive system and method for distributed simulation data. Background Art

[0002] At present, with the extensive and in-depth application of simulation technology in various fields, simulation application scenarios are becoming more and more complex, especially in fields with high requirements for simulation real-time performance, such as military training or weapon equipment testing. It is necessary to interconnect multiple simulation application systems and simulator systems with different granularity and different focuses to jointly implement training or testing. This requires the real-time interaction of simulation data between simulation systems. However, as the scale of simulation expands, the amount of simulation data that needs to be interacted with also increases exponentially, and the real-time interaction of simulation data has become a factor restricting the scale of simulation. In order to meet the high real-time requirements of simulation systems for simulation data, a distributed simulation data interaction method is currently needed. Summary of the invention

[0003] The embodiment of the present invention provides a distributed simulation data interaction system for realizing real-time interaction of simulation data between simulation systems in distributed simulation. The system includes:

[0004] A plurality of simulation nodes, each of which is deployed with a reflective memory network environment, a simulation system and a GBB data management system, wherein the reflective memory network environment includes a reflective memory network card;

[0005] The simulation system is used to: after performing simulation and obtaining simulation data, write the simulation data into the GBB data management system; and read the simulation data from the GBB data management system according to data requirements;

[0006] The GBB data management system is used to: write the changed simulation data into the reflective memory card in each simulation cycle; after the writing is completed, send an interrupt message to the reflective memory card; after receiving the notification message, read the changed simulation data from the reflective memory card and store it in the GBB data management system;

[0007] The reflective memory card is used to: after receiving an interrupt message from the GBB data management system, send the interrupt message and the changed simulation data to the reflective memory cards of other simulation nodes; after receiving an interrupt message sent by other simulation nodes, send a notification message to the GBB data management system of the simulation node where the reflective memory card is located.

[0008] The embodiment of the present invention provides a distributed simulation data interaction method, which is used to realize the real-time interaction of simulation data between simulation systems in distributed simulation, and is applied to the simulation system, comprising:

[0009] After simulation is performed and simulation data is obtained, the simulation data is written into the GBB data management system; the GBB data management system writes the changed simulation data into the reflective memory card in each simulation cycle, and after writing is completed, sends an interrupt message to the reflective memory card; after receiving the interrupt message from the GBB data management system, the reflective memory card sends the interrupt message and the changed simulation data to the reflective memory cards of other simulation nodes; after receiving the interrupt message sent by other simulation nodes, a notification message is sent to the GBB data management system of the simulation node where the reflective memory card is located; after receiving the notification message, the GBB data management system reads the changed simulation data from the reflective memory card and stores it in the GBB data management system;

[0010] According to data requirements, simulation data is read from the GBB data management system.

[0011] The embodiment of the present invention provides a distributed simulation data interaction method, which is used to realize the real-time interaction of simulation data between simulation systems in distributed simulation, and is applied to a GBB data management system, comprising:

[0012] In each simulation cycle, the changed simulation data is written into the reflective memory card; the simulation data is written into the reflective memory card after the simulation system performs simulation and obtains the simulation data;

[0013] After writing is completed, an interrupt message is sent to the reflective memory card; after receiving the interrupt message from the GBB data management system, the reflective memory card sends the interrupt message and the changed simulation data to the reflective memory cards of other simulation nodes; after receiving the interrupt message sent by other simulation nodes, a notification message is sent to the GBB data management system of the simulation node where the reflective memory card is located;

[0014] After receiving the notification message, the changed simulation data is read from the reflective memory card and stored in the GBB data management system.

[0015] The embodiment of the present invention provides a distributed simulation data interaction method for realizing real-time interaction of simulation data between simulation systems in distributed simulation, which is applied to a reflective memory card, and includes:

[0016] After receiving the interrupt message from the GBB data management system, the interrupt message and the changed simulation data are sent to the reflective memory card of other simulation nodes; the interrupt message is sent by the GBB data management system after writing the changed simulation data into the reflective memory card in each simulation cycle; the simulation data is written into the GBB data management system by the simulation system after the simulation is performed and the simulation data is obtained;

[0017] After receiving the interrupt message sent by other simulation nodes, a notification message is sent to the GBB data management system of the simulation node where the reflective memory card is located; after receiving the notification message, the GBB data management system reads the changed simulation data from the reflective memory card and stores it into the GBB data management system; the simulation system reads the simulation data from the GBB data management system according to data requirements.

[0018] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned distributed simulation data interaction method when executing the computer program.

[0019] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the distributed simulation data interaction method is implemented.

[0020] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the distributed simulation data interaction method is implemented.

[0021] In an embodiment of the present invention, the simulation system is used to: write the simulation data into the GBB data management system after simulating and obtaining the simulation data; read the simulation data from the GBB data management system according to data requirements; the GBB data management system is used to: write the changed simulation data into the reflective memory card in each simulation cycle; send an interrupt message to the reflective memory card after writing is completed; read the changed simulation data from the reflective memory card and store it in the GBB data management system after receiving the notification message; the reflective memory card is used to: send the interrupt message and the changed simulation data to the reflective memory card of other simulation nodes after receiving the interrupt message from the GBB data management system; send a notification message to the GBB data management system of the simulation node where the reflective memory card is located after receiving the interrupt message sent by other simulation nodes. In the above process, in view of the problems of difficult data sharing, high requirements for data real-time performance, and large network transmission delay in the current distributed simulation, a technology based on the combination of universal GBB and reflective memory card is proposed, which gives full play to the characteristics and advantages of GBB and reflective memory card, and solves the problems of shared storage, real-time access and data synchronization of simulation data in the simulation process. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0023] Figure 1 A schematic diagram of an interactive system for distributed simulation data according to an embodiment of the present invention;

[0024] Figure 2 is a schematic diagram of a reflective memory network environment in an embodiment of the present invention;

[0025] Figure 3 A schematic diagram of simulation data sharing of a GBB data management system in an embodiment of the present invention;

[0026] Figure 4 It is a schematic diagram of the reflective memory card area division in an embodiment of the present invention;

[0027] Figure 5 This is a schematic diagram of simulation data interaction based on a reflective memory card in an embodiment of the present invention;

[0028] Figure 6 A flowchart of a distributed simulation data interaction method according to an embodiment of the present invention;

[0029] Figure 7 A flowchart of another distributed simulation data interaction method according to an embodiment of the present invention;

[0030] Figure 8 A flowchart of another distributed simulation data interaction method according to an embodiment of the present invention;

[0031] Fig. 9 Schematic diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0032] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0033] In the description of this specification, the terms "include", "including", "have", "contain", etc. are all open terms, which mean including but not limited to. The descriptions with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of steps is not limited and can be appropriately adjusted as needed.

[0034] First, the terms involved in the embodiments of the present invention are explained.

[0035] Reflective memory network: It is composed of reflective memory cards, optical fibers, and reflective memory network switches. The simulation nodes in the reflective memory network need to be inserted with reflective memory cards, and data interaction is achieved by connecting the reflective memory cards to optical fibers.

[0036] GBB: General Blackboard Technology is an in-memory database mainly used in simulation. It can store all data in the simulation process in memory to improve data access efficiency.

[0037] Distributed simulation: Multiple simulation nodes are interconnected through a network, and joint simulation is participated by one or more simulation platforms.

[0038] The inventor found that during the operation of the simulation system in the distributed simulation, a large amount of simulation data will be generated. These simulation data have the characteristics of large data volume, complex data structure, and high data real-time requirements, and need to meet the simulation system's demand for rapid reading and writing of simulation data. Generally, in order to ensure the consistency of the simulation data, a data reading and writing mutually exclusive mode is adopted, that is, at the same time, only the reading or writing of simulation data is allowed, and this mode will cause the reading and writing efficiency of data to be reduced. Therefore, the embodiment of the present invention proposes to adopt a general blackboard technology, by double buffering the data in the memory, when the simulation is running, one copy of the data is only used for reading, and the other copy of the data is only used for writing, and the next simulation cycle, the uses of the two copies of the data are interchanged, and the mode of exchanging this memory space for time is adopted to improve the reading and writing efficiency of data.

[0039] In addition, in a distributed simulation environment, simulation data between simulation nodes needs to be shared to ensure consistency, and a large amount of simulation data needs to be exchanged between simulation nodes. Existing distributed simulation communication methods mainly include HLA, DDS, RPC, MQ and other methods, all of which use TCP / IP as the communication protocol. When the number of simulation nodes is large and the amount of data is large, it is impossible to meet the high real-time transmission requirements of simulation data. The embodiment of the present invention proposes to use a method based on a reflective memory network to realize the interaction between simulation nodes. Compared with the traditional method of using Ethernet interconnection, it has the advantages of small interaction delay, large data transmission throughput, and data transmission does not occupy CPU resources, and can achieve ns-level data transmission delay.

[0040] Figure 1 FIG. 1 is a schematic diagram of an interactive system for distributed simulation data in an embodiment of the present invention. Figure 1 As shown, the system includes: a plurality of simulation nodes 10, and each simulation node deploys a reflective memory network environment 101, a simulation system 102 and a GBB data management system 103, and the reflective memory network environment includes a reflective memory network card;

[0041] The simulation system 102 is used to: after performing simulation and obtaining simulation data, write the simulation data into the GBB data management system; and read the simulation data from the GBB data management system according to data requirements;

[0042] The GBB data management system 103 is used to: write the changed simulation data into the reflective memory card in each simulation cycle; after writing is completed, send an interrupt message to the reflective memory card; after receiving the notification message, read the changed simulation data from the reflective memory card and store it in the GBB data management system;

[0043] The reflective memory card 101 is used to: after receiving an interrupt message from the GBB data management system, send the interrupt message and the changed simulation data to the reflective memory cards of other simulation nodes; after receiving an interrupt message sent by other simulation nodes, send a notification message to the GBB data management system of the simulation node where the reflective memory card is located.

[0044] In one embodiment, the system further comprises a reflective memory network switch;

[0045] The reflective memory card is connected to the simulation node through the PCI serial port and the driver is installed;

[0046] The simulation nodes and the reflective memory network switches are interconnected by optical fibers.

[0047] Figure 21 is a schematic diagram of a reflective memory network environment in an embodiment of the present invention. A reflective memory network environment is deployed on each simulation node 1. The models of the reflective memory card and the reflective memory network switch 2 are not limited here.

[0048] In one embodiment, the GBB data management system uses a structure of a main entity table, an entity table, a message table, and a description table to store simulation data;

[0049] The main entity table is used to store basic data of simulation entities in the simulation data, and the basic data of simulation entities includes the number of simulation entities and entity types; for example, the main entity table corresponding to the simulation system 1 includes simulation entity 1, simulation entity 2, and simulation entity 3;

[0050] The entity table is used to store the entity identification, state data and reference relationship of the main entity table of the simulation entity in the simulation data; for example, the entity table 1 of the simulation system 1 stores the detailed data of the simulation entity 1;

[0051] The message table is used to store the interaction messages between simulation systems in the simulation data;

[0052] The description table is used to store detailed data of each data structure of each simulation entity in the simulation data, wherein one data structure corresponds to one description table. For example, simulation entity 1 includes maneuvering data, which includes information such as speed, heading, and position, and the maneuvering data is stored in the description table.

[0053] In one embodiment, the GBB data management system encapsulates a simulation data read access interface and a simulation data write access interface;

[0054] The simulation system writes the simulation data into the GBB data management system through the simulation data write access interface;

[0055] The simulation system reads simulation data from the GBB data management system through a simulation data read access interface.

[0056] Through interface encapsulation, the underlying implementation details of the GBB data management system, such as the relationship between the main entity table and entity table, are shielded, so that developers can access business data without having to learn and master the GBB data management system, reducing learning and development costs and improving development efficiency. The simulation data read access interface and the simulation data write access interface are public interfaces for simulation data. The simulation system, etc., can realize real-time reading and writing of simulation data by calling the above simulation data read access interface and simulation data write access interface, so as to achieve the purpose of sharing simulation data between different processes and systems deployed on the simulation node. Figure 3The following is a schematic diagram of the simulation data sharing principle of the GBB data management system in the embodiment of the present invention. In addition to the simulation system, other systems such as the acquisition and playback system and the data display system can access the above simulation data public interface. The GBB data management system integrates data access, data storage, data management, memory management and data monitoring functions, and also has memory.

[0057] In one embodiment, the GBB data management system is specifically used for:

[0058] In each simulation cycle, the simulation data of the simulation system of the simulation node where the GBB data management system is located is written into the corresponding data area of ​​the simulation node in the reflective memory card;

[0059] After writing is completed, an interrupt message is sent to the reflective memory card;

[0060] After receiving the notification message, according to the simulation node identifier in the notification message, the simulation data is read from the corresponding data area of ​​the simulation node corresponding to the simulation node identifier in the reflective memory card and written into the GBB data management system.

[0061] Figure 4 The schematic diagram of the reflective memory card area division in the embodiment of the present invention. In a distributed simulation environment, the simulation systems running on different simulation nodes may be different, or the simulation entities running are different. For example, the red party entity model is executed on simulation node A, and the blue party entity model is executed on simulation node B. In order to ensure the synchronization and consistency of simulation data between different nodes, it is required that the simulation data can be exchanged between simulation nodes, and the real-time performance of data interaction needs to meet the simulation requirements. Therefore, the present invention adopts data communication technology based on reflective memory network to solve the data interaction between simulation nodes.

[0062] First, the data area of ​​the reflective memory card is divided according to the number of simulation nodes in the reflective memory network environment. For example, if the size of the reflective memory card is 256MB and there are N nodes in total, it is divided into N sub-areas, and the size of each sub-area is 256 / N (MB); then the mapping relationship between the simulation node identifier and the sub-area is established, and each simulation node writes the simulation data that needs to be interacted to the corresponding sub-area, see Figure 4 .

[0063] Figure 5The schematic diagram of simulation data interaction based on the reflective memory card in the embodiment of the present invention. After the GBB data management system of the simulation node finishes writing the simulation data, the reflective memory card sends an interrupt message and the changed simulation data to other simulation nodes, and the interrupt message carries the simulation node identifier; after receiving the interrupt message, the reflective memory card of the other simulation node sends a notification message to the GBB data management system of the simulation node where the reflective memory card is located, and the notification message carries the simulation node identifier. After receiving the notification message, the GBB data management system reads the simulation data from the reflective memory card according to the simulation node identifier.

[0064] In order to realize the transmission of data objects, the data that needs to be interacted during the simulation operation is structured and defined. In one embodiment, the simulation data is read and written using a predefined data structure. For example, entity attributes are defined as EntityInfo, entity location information is defined as GeoPosStruct, etc., and the defined data structure is used as the simulation data interaction standard, requiring the simulation system to read and write according to the defined data structure. At the same time, in order to meet the expansion needs of the simulation system, data expansion is supported.

[0065] In one embodiment, the GBB data management system is specifically used for:

[0066] When the changed simulation data is written into the corresponding data area of ​​the simulation node in the reflective memory card, the address of the corresponding data area is queried according to the simulation node identifier of the simulation node;

[0067] Calculate the writing position of the simulation data in the address according to the data type in the interrupt message;

[0068] The dummy data is written at the write location.

[0069] The following will combine the specific simulation system to explain in more detail the process of distributed simulation data interaction based on GBB and reflective memory network environment, so as to provide support for distributed simulation. The distributed simulation process based on GBB and reflective memory network environment is as follows:

[0070] 1. Build a reflective memory network environment. Here, it is assumed that the reflective memory card has been installed, the optical fiber has been connected, and the driver has been installed. Use the reflective memory card management tool to query the nodeid of the reflective memory card as the simulation node identifier, recorded as ID (equivalent to the IP address configured by the network card). Here, it is assumed that there are two simulation nodes participating in the simulation. The ID of simulation node A is 0x1, and the ID of simulation node B is 0x2.

[0071] 2. Based on the provided development kit, including the defined data structure and interface, a simulation system is developed. The SSG simulation system is deployed on simulation node A to run the first entity model; and the VBS simulation system is deployed on simulation node B to run the second entity model;

[0072] 3. SSG simulation system on simulation node A and VBS simulation system on simulation node B;

[0073] 4. During the simulation operation, the SSG simulation system and the VBS simulation system respectively call the simulation data write access interface to write the simulation data to the GBB data management system, and at the same time need to read the simulation data of the other party from the GBB data management system. For the GBB data management system, the status data of all entities in the two simulation systems are stored at the same time;

[0074] 5. In each simulation cycle, the GBB data management system will write the changed simulation data into the reflective memory card, specifically the data area corresponding to the simulation node. Here, it is assumed that the simulation system on the simulation node A needs to write the status data of two simulation entities to the reflective memory card in one simulation cycle. Then, the address of the reflective memory card is queried according to the ID (0x1) of the simulation node A. Assuming that the address is 0x00000000 to 0x00000FFF, the size of the entity status data is 32 bytes, and the write address of the entity status data is calculated according to the data type (here it is assumed to be 0x0000001F). Starting from the address 0x0000001F, first write an integer 2 (4 bytes) to indicate that there are 2 entity status data behind, and then write the specific status data of 2×32=64 bytes in total;

[0075] 6. After completing the simulation data writing work of a simulation cycle, the reflective memory card sends an interrupt message, in which the simulation node ID and data type are sent as parameters to other simulation nodes;

[0076] 7. When the reflective memory card of the simulation node B receives the interrupt message, it parses the ID (0x1) and data type of the simulation node in the interrupt message, calculates the sub-area of ​​the simulation node according to the ID as 0x00000000, and calculates the starting position of the simulation data writing according to the data type as 0x0000001F, and then reads 4 bytes as an integer (2) according to the convention, and then reads 2 32-byte data, and converts the data into StatusInfo format;

[0077] 8. Write the simulation data in the reflective memory card into the GBB data management system. When the VBS simulation system reads data from GBB again, it will read the updated data.

[0078] 9. After the above steps, the interaction of simulation data between the simulation systems in the two simulation nodes is completed.

[0079] The embodiment of the present invention further proposes a distributed simulation data interaction method, which is applied to a simulation system. The principle of the method is similar to that of the distributed simulation data interaction system, and will not be described in detail here.

[0080] Figure 6 The flowchart of a distributed simulation data interaction method according to an embodiment of the present invention includes:

[0081] Step 601, after simulation is performed and simulation data is obtained, the simulation data is written into the GBB data management system; the GBB data management system writes the changed simulation data into the reflective memory card in each simulation cycle, and after writing is completed, sends an interrupt message to the reflective memory card; after receiving the interrupt message from the GBB data management system, the reflective memory card sends the interrupt message and the changed simulation data to the reflective memory cards of other simulation nodes; after receiving the interrupt message sent by other simulation nodes, the reflective memory card sends a notification message to the GBB data management system of the simulation node where the reflective memory card is located; after receiving the notification message, the GBB data management system reads the changed simulation data from the reflective memory card and stores it into the GBB data management system;

[0082] Step 602: Read simulation data from the GBB data management system according to data requirements.

[0083] The embodiment of the present invention further proposes another distributed simulation data interaction method, which is applied to the GBB data management system. The principle of the method is similar to that of the distributed simulation data interaction system, which will not be described in detail here.

[0084] Figure 7 The flowchart of another distributed simulation data interaction method in an embodiment of the present invention includes:

[0085] Step 701, in each simulation cycle, writing the changed simulation data into the reflective memory card; the simulation data is written by the simulation system after the simulation is performed and the simulation data is obtained;

[0086] Step 702, after writing is completed, sending an interrupt message to the reflective memory card; after receiving the interrupt message from the GBB data management system, the reflective memory card sends the interrupt message and the changed simulation data to the reflective memory cards of other simulation nodes; after receiving the interrupt message sent by other simulation nodes, sending a notification message to the GBB data management system of the simulation node where the reflective memory card is located;

[0087] Step 703: after receiving the notification message, read the changed simulation data from the reflective memory card and store it in the GBB data management system.

[0088] The embodiment of the present invention further proposes another distributed simulation data interaction method, which is applied to a reflective memory card. The principle of the method is similar to that of the distributed simulation data interaction system, and will not be described in detail here.

[0089] Figure 8 The flowchart of another distributed simulation data interaction method in an embodiment of the present invention includes:

[0090] Step 801, after receiving an interrupt message from the GBB data management system, sending the interrupt message and the changed simulation data to the reflective memory card of other simulation nodes; the interrupt message is sent by the GBB data management system after writing the changed simulation data into the reflective memory card in each simulation cycle; the simulation data is written into the GBB data management system by the simulation system after simulating and obtaining the simulation data;

[0091] Step 802, after receiving the interrupt message sent by other simulation nodes, sending a notification message to the GBB data management system of the simulation node where the reflective memory card is located; after receiving the notification message, the GBB data management system reads the changed simulation data from the reflective memory card and stores it into the GBB data management system; the simulation system reads the simulation data from the GBB data management system according to data requirements.

[0092] In summary, the distributed simulation data interaction system and method proposed in the embodiments of the present invention have the following beneficial effects:

[0093] 1. It can meet the needs of sharing simulation data between different simulation systems, and real-time storage and efficient access of simulation data;

[0094] 2. The interaction of simulation data between simulation nodes is realized through the reflective memory card, which supports the real-time synchronization of simulation data and greatly reduces the synchronization delay of situation data;

[0095] 3. Reduce the development cost of the simulation system and facilitate application by defining data structure, simulation data read access interface and simulation data write access interface;

[0096] 4. In view of the diversity of simulation data, support the expansion of simulation data.

[0097] An embodiment of the present invention further provides a computer device, Fig. 9It is a schematic diagram of a computer device in an embodiment of the present invention. The computer device 900 includes a memory 910, a processor 920, and a computer program 930 stored in the memory 910 and executable on the processor 920. When the processor 920 executes the computer program 930, the above-mentioned distributed simulation data interaction method is implemented.

[0098] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the distributed simulation data interaction method is implemented.

[0099] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the distributed simulation data interaction method is implemented.

[0100] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program business systems. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program business system implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

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

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

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

[0104] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. An interactive system for distributed simulation data, characterized in that: include: A plurality of simulation nodes, each of which is deployed with a reflective memory network environment, a simulation system and a GBB data management system, wherein the reflective memory network environment includes a reflective memory network card; The simulation system is used to: after performing simulation and obtaining simulation data, write the simulation data into the GBB data management system; and read the simulation data from the GBB data management system according to data requirements; The GBB data management system is used to: write the changed simulation data into the reflective memory card in each simulation cycle; after the writing is completed, send an interrupt message to the reflective memory card; after receiving the notification message, read the changed simulation data from the reflective memory card and store it in the GBB data management system; The reflective memory card is used to: after receiving an interrupt message from the GBB data management system, send the interrupt message and the changed simulation data to the reflective memory cards of other simulation nodes; after receiving an interrupt message sent by other simulation nodes, send a notification message to the GBB data management system of the simulation node where the reflective memory card is located.

2. The system according to claim 1, characterized in that The GBB data management system is specifically used for: In each simulation cycle, the simulation data of the simulation system of the simulation node where the GBB data management system is located is written into the corresponding data area of ​​the simulation node in the reflective memory card; After the writing is completed, an interrupt message is sent to the reflective memory card, wherein the interrupt message includes a simulation node identifier of the simulation node where the GBB data management system is located; After receiving the notification message, according to the simulation node identifier in the notification message, the simulation data is read from the corresponding data area of ​​the simulation node corresponding to the simulation node identifier in the reflective memory card and written into the GBB data management system.

3. The system according to claim 2, characterized in that The GBB data management system is specifically used for: When the changed simulation data is written into the corresponding data area of ​​the simulation node in the reflective memory card, the address of the corresponding data area is queried according to the simulation node identifier of the simulation node; Calculate the writing position of the simulation data in the address according to the data type in the interrupt message; The dummy data is written at the write location.

4. The system according to claim 1, characterized in that The GBB data management system adopts the architecture of main entity table, entity table, message table and description table to store simulation data; The main entity table is used to store basic data of simulation entities in the simulation data, wherein the basic data of simulation entities includes the number of simulation entities and entity types; The entity table is used to store the entity identification, state data and reference relationship of the main entity table of the simulation entity in the simulation data; The message table is used to store the interaction messages between simulation systems in the simulation data; The description table is used to store detailed data of each data structure of each simulation entity in the simulation data, wherein one data structure corresponds to one description table.

5. A distributed simulation data interaction method, characterized in that: Applied to simulation systems, including: After simulation is performed and simulation data is obtained, the simulation data is written into the GBB data management system; the GBB data management system writes the changed simulation data into the reflective memory card in each simulation cycle, and after writing is completed, sends an interrupt message to the reflective memory card; after receiving the interrupt message from the GBB data management system, the reflective memory card sends the interrupt message and the changed simulation data to the reflective memory cards of other simulation nodes; after receiving the interrupt message sent by other simulation nodes, a notification message is sent to the GBB data management system of the simulation node where the reflective memory card is located; after receiving the notification message, the GBB data management system reads the changed simulation data from the reflective memory card and stores it in the GBB data management system; According to data requirements, simulation data is read from the GBB data management system.

6. A distributed simulation data interaction method, characterized in that: Applied to GBB data management system, including: In each simulation cycle, the changed simulation data is written into the reflective memory card; the simulation data is written into the reflective memory card after the simulation system performs simulation and obtains the simulation data; After writing is completed, an interrupt message is sent to the reflective memory card; after receiving the interrupt message from the GBB data management system, the reflective memory card sends the interrupt message and the changed simulation data to the reflective memory cards of other simulation nodes; after receiving the interrupt message sent by other simulation nodes, a notification message is sent to the GBB data management system of the simulation node where the reflective memory card is located; After receiving the notification message, the changed simulation data is read from the reflective memory card and stored in the GBB data management system.

7. A distributed simulation data interaction method, characterized in that: Applicable to reflective memory cards, including: After receiving the interrupt message from the GBB data management system, the interrupt message and the changed simulation data are sent to the reflective memory card of other simulation nodes; the interrupt message is sent by the GBB data management system after writing the changed simulation data into the reflective memory card in each simulation cycle; the simulation data is written into the GBB data management system by the simulation system after the simulation is performed and the simulation data is obtained; After receiving the interrupt message sent by other simulation nodes, a notification message is sent to the GBB data management system of the simulation node where the reflective memory card is located; after receiving the notification message, the GBB data management system reads the changed simulation data from the reflective memory card and stores it into the GBB data management system; the simulation system reads the simulation data from the GBB data management system according to data requirements.

8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 5 to 7 is implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 5 to 7 is implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 5 to 7 is implemented.

Citation Information

Patent Citations

  • High flux distributed type simulation support platform, system and simulation method based on high level architecture (HLA)

    CN102664953A

  • Air piloting simulation training system

    CN113870650A