Efficient gateway adapter setting method and system suitable for heterogeneous simulation system interconnection
By integrating functional modules and middleware through a plug-in approach and utilizing the DDS middleware to configure transmission strategies and manage data domains, the scalability and reliability issues of gateway adapters in the interconnection of heterogeneous simulation systems are resolved, achieving efficient data transmission and low latency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-21
- Publication Date
- 2026-04-07
AI Technical Summary
Existing gateway adapters suffer from poor scalability, low reliability, and high latency in heterogeneous simulation system interconnection, failing to meet the requirements for efficient data transmission.
The system adopts a plug-in approach to integrate functional modules and middleware, utilizes DDS middleware to configure transmission strategies, divides data interaction domains, and employs historical QoS strategies and reliable transmission strategies to optimize the data transmission process.
It improves the system's scalability and data transmission reliability, reduces network latency, and enables efficient interconnection of heterogeneous simulation systems.
Smart Images

Figure CN121814568A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of simulation system interconnection technology, specifically, it relates to a method and system for setting up an efficient gateway adapter applicable to the interconnection of heterogeneous simulation systems.
[0002] The high-efficiency gateway adapter features strong interconnect scalability, high data transmission reliability, and low network latency. Specifically, in a simulation scenario with 1000 entities, the reliability of data transmission between remote networks exceeds 99.8%, and the maximum network latency does not exceed 20ms. Background Technology
[0003] Gateway adapters, also known as bridging software, are tools for connecting systems. Traditional gateway adapters mainly consist of six functional parts: data transmission, object model parsing, protocol conversion, connection configuration, data and status logging, and data filtering. They suffer from poor scalability, poor reliability, and high latency.
[0004] Patent document CN115220715A discloses a heterogeneous simulation system that achieves interconnection through the construction of data bridging software. This solution includes a data configuration module for collecting user-inputted subscription data and data pairing relationships, and generating a gateway interaction data description table; a code generation module for parsing the gateway interaction data description table and generating gateway code and related configuration files; a portal management module: serving as a visual window for connection management, heterogeneous interconnection conversion objects, and information management; a proxy bridging management module: pre-built proxy gateway components, providing tools for heterogeneous system interconnection, enabling direct use of the gateway when interconnecting multiple heterogeneous interconnected systems; and a custom API module: allowing users to create various communication protocol conversion proxies adapted to the gateway, supporting user extension of proxies provided by the gateway; and allowing proxies to send messages to the portal and receive updates from the portal. This solution does not improve the system's scalability.
[0005] This problem urgently needs to be solved. Summary of the Invention
[0006] To address the shortcomings of existing technologies, the purpose of this invention is to provide a method and system for setting up an efficient gateway adapter suitable for interconnecting heterogeneous simulation systems.
[0007] According to the present invention, a method for setting up an efficient gateway adapter for interconnecting heterogeneous simulation systems includes: step S1: connecting the simulation system and the business subsystem through a gateway adapter, thereby constructing an interconnected network architecture, wherein the remote networks communicate with each other through a communication middleware; Step S2: Based on the gateway adapter, the functional modules and middleware are connected in a plug-in mode; the middleware includes DDS middleware; Step S3: Based on the DDS middleware, instruct the gateway adapter to configure the transmission policy according to the topic data type, and configure the policy for initializing topic data.
[0008] Preferably, the method further includes step S4: dividing the data interaction domain between heterogeneous simulation systems through a gateway adapter; the data interaction domain includes: an engine domain, a training domain, and a common domain; The training domain is used to transmit hypothetical mission data, force initialization data, and command and control instructions. The engine domain consists of the interaction data between digital models running in the engine and the interaction data between the digital models and the physical objects and simulators mapped into the engine. The public domain is interactive data under a unified protocol that is independent of the engine, simulator, and implementation.
[0009] Preferably, in step S1, a 1+N interconnection network architecture is formed within the local area network of the business subsystem using the UDP communication protocol. Communication between geographically dispersed networks is achieved through the DDS middleware.
[0010] Preferably, in step S2, the middleware further includes JLink middleware and UDP middleware; In step S3, the gateway adapter is instructed to configure a transmission policy based on the topic data type, including: Step A1: Configure QoS management topic data, determine whether the data topic type is periodic data, the transmission quantity is positively correlated with the number of entities, and the data transmission period is less than or equal to 1 second. If the result is yes, then perform best-effort transmission, send the topic data, and end; if the result is no, then perform reliable transmission and proceed to step A2. Step A2: Send heartbeat data for the topic to the subscriber to determine if there is packet loss. If yes, repeat step A2 until the task is completed; if no, proceed to step A3. Step A3: Send an acknowledgment data packet and determine whether the publishing end has received the acknowledgment data packet. If the result is no, repeat step A2 until the task is completed. If the result is yes, the task ends. The topic data refers to the transmitted data content in DDS communication.
[0011] Preferably, in step S3, the strategy for initializing topic data is a historical QoS strategy; the historical QoS strategy allows subscribers to actively subscribe to all past data of the publisher.
[0012] According to the present invention, a high-efficiency gateway adapter setup system for interconnecting heterogeneous simulation systems includes: Module M1: Connects the simulation system and the business subsystem through a gateway adapter to build an interconnected network architecture, in which remote networks communicate with each other through a communication middleware; Module M2: Based on the gateway adapter, it uses a plug-in mode to access functional modules and middleware; the middleware includes DDS middleware; Module M3: Based on the DDS middleware, the gateway adapter configures the transmission policy according to the topic data type and configures the policy for initializing topic data.
[0013] Preferably, it also includes module M4: dividing the data interaction domain between heterogeneous simulation systems through a gateway adapter; the data interaction domain includes: engine domain, training domain and common domain; The training domain is used to transmit hypothetical mission data, force initialization data, and command and control instructions. The engine domain consists of the interaction data between digital models running in the engine and the interaction data between the digital models and the physical objects and simulators mapped into the engine. The public domain is interactive data under a unified protocol that is independent of the engine, simulator, and implementation.
[0014] Preferably, in block M1, a 1+N interconnection network architecture is formed within the local area network of the service subsystem using the UDP communication protocol. Communication between geographically dispersed networks is achieved through the DDS middleware.
[0015] Preferably, in module M2, the middleware further includes JLink middleware and UDP middleware; In module M3, the gateway adapter is instructed to configure a transmission policy based on the topic data type, including: Module A1: Sets QoS management configuration topic data, determines whether the data topic type is periodic data, the transmission quantity is positively correlated with the number of entities, and the data transmission period is less than or equal to 1 second. If the result is yes, it performs best-effort transmission, sends the topic data, and ends; if the result is no, it performs reliable transmission and triggers module A2 to work. Module A2: Sends heartbeat packets of topic data, prompting the subscriber to determine if packets have been lost. If yes, Module A2 is retried until the task is completed; if no, Module A3 is triggered. Module A3: Sends an acknowledgment data packet and checks whether the publishing end has received the acknowledgment data packet. If the result is no, it re-triggers Module A2 until the task ends. If the result is yes, it ends. The topic data refers to the transmitted data content in DDS communication.
[0016] Preferably, in module M3, the strategy for initializing topic data is a historical QoS strategy; the historical QoS strategy allows subscribers to actively subscribe to all past data of the publisher.
[0017] Compared with the prior art, the present invention has the following beneficial effects: 1. The functional modules and middleware provided by this invention are connected in a plug-in mode, which improves the scalability of the system.
[0018] 2. This invention customizes the DDS topic data configuration to a reliable transmission strategy or a best-effort transmission strategy, and utilizes the historical QoS strategy of DDS to improve the reliability of system data transmission and system reliability.
[0019] 3. This invention is based on the domain management mechanism of DDS, which divides domains according to the characteristics of business data, thereby reducing network pressure and lowering network latency. Attached Figure Description
[0020] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 This is a schematic diagram of the network interconnection architecture provided by the present invention; Figure 2 The multi-task development flowchart based on functional modules and middleware plug-in access provided by this invention; Figure 3 A schematic diagram of the customized reliable transmission and best-effort transmission process provided by the present invention; Figure 4 A schematic diagram illustrating the reconnection process of the gateway adapter and simulator provided by this invention; Figure 5 This is a schematic diagram of data domain isolation provided by the present invention; Figure 6 This is a schematic diagram comparing the number of data packets received by a remote system under different batch target scenarios provided by the present invention. Figure 7 This is a schematic diagram comparing network bandwidth usage between remote systems and different batch target scenarios provided by the present invention. Figure 8 This is a schematic diagram illustrating the network bandwidth usage of 1000 batches of different and identical scene domains provided by the present invention. Detailed Implementation
[0021] The present invention will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present invention, but do not limit the invention in any way. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all fall within the protection scope of the present invention.
[0022] A method for setting up an efficient gateway adapter suitable for interconnecting heterogeneous simulation systems, provided by the present invention, includes: Step S1: Use DDS communication middleware to communicate between remote networks. Within the local area network of the business subsystem, use the communication protocol agreed upon by both parties to communicate, forming a 1+N interconnected network architecture. Step S2: Each functional module and middleware is connected using a plug-in approach; Step S3: The gateway adapter customizes the DDS subject data according to the data characteristics, configuring either a reliable transmission strategy or a best-effort transmission strategy. Step S4: The simulation system and gateway adapter configure the initialization topic data in DDS to the historical QoS policy so that the gateway adapter can work normally after disconnection and restart; after the simulator disconnects and restarts, it can request initialization data from the gateway adapter to enable the simulator to reconnect; thus improving the reliability of the system. Step S5: Based on the domain management mechanism of DDS, the gateway adapter sets the data interaction domain between heterogeneous simulation systems into three domains: engine domain, training domain, and common domain, according to the characteristics of business data between heterogeneous simulation systems.
[0023] The training domain is used to transmit hypothetical mission data, force initialization data, and command and control instructions. The engine domain consists of the interaction data between digital models running in the engine and the interaction data between the digital models and the physical objects and simulators mapped into the engine. The public domain is interactive data under a unified protocol that is independent of the engine, simulator, and implementation.
[0024] Specifically, in step S1, a dedicated adapter, i.e., a gateway adapter, is used to connect the central simulation system and each business system. Communication between geographically dispersed networks is achieved using DDS communication middleware, i.e., DDS middleware. Within the local area network of each business subsystem, communication is conducted using UDP or other agreed-upon communication protocols, forming a 1+N interconnected network architecture, i.e., one central gateway adapter and N business gateway adapters, such as... Figure 1 As shown.
[0025] Specifically, in step S2, when selecting a reference point, the dedicated gateway adapter uses two methods: functional module plug-in access and middleware plug-in access. The former is based on the same basic data structure and module architecture, defining specific structures for functional development according to business needs. It only requires registering the functional module's identifier and activation status in the configuration file to enable or disable the functional module without affecting the functionality and operation of other functional modules. The latter allows commonly used communication middleware such as DDS, JLink, and UDP to be connected as plug-ins. It reads relevant configuration file communication parameters and associates relevant functional modules according to business logic, similarly without affecting the operation of other middleware. This improves the system's horizontal scalability and supports collaborative development and maintenance by multiple users. Figure 2 As shown; Specifically, in step S3, the system customizes the reliable transmission and best-effort transmission of DDS between different network transmission locations based on the frequency and amount of data transmitted in the service.
[0026] Specifically, when the data topic is periodic, and the number of data packets is positively correlated with the number of simulated entities, and the data transmission period (T) is less than or equal to 1 second, the data topic is set to best-effort transmission; otherwise, the data topic is set to reliable transmission, thus addressing both critical data packet loss and network congestion issues during periods of high data throughput. For example... Figure 3 As shown Specifically, in step S4, based on the DDS historical data retransmission strategy mechanism, when the dedicated gateway adapter disconnects and restarts, DDS resends the initialization and start data of the customized retransmission strategy to the adapter, recreates the data interaction domain, and resumes data transmission and reception. On the other hand, the dedicated adapter stores the simulator's initialization and start data. When the simulator restarts, it requests initialization and startup information from the adapter to achieve simulator reconnection and improve system reliability. Figure 4 As shown.
[0027] Specifically, in step S5, based on the characteristics of the business data and the DDS domain management mechanism, the data domain is divided into an engine domain, a training domain, and a common domain, such as... Figure 5 As shown, to reduce network pressure and lower network latency, the specific domain partitioning rules are as follows; The local engine's data interactions within and between models are diverse, complex in structure, and frequent, unlike interactions with external simulators / implementations or their systems, where the number of data structures is limited, the structures are simple, and the interaction frequency is low. Therefore, data between the engine's internal and external interactions should be separated into engine domains and public domains using CGF proxies; the specific division rules are as follows; The database is mainly used to collect data during the training process. This data is also different from the data in the engine domain. The data structures in the training domain are limited in number, simple in structure, and collected at a low frequency. Therefore, isolating them can improve the efficiency of data collection. Because the data exchanged with remote locations consists of periodically transmitted data, which mainly includes information on interference radiation sources, radar radiation sources, battlefield entity TSPI updates, target detection information, combat time, and radar parameter update information, and the data exchanged with remote simulators, live equipment, and other training systems all contain this common data, the structures required by different services can be transformed by the service agent. Therefore, the domains between networks do not need to be further segmented.
[0028] To demonstrate the high reliability of the dedicated adapter, with a bandwidth of 100M in both locations A and B, target scenarios of 100 batches, 200 batches, 500 batches, and 1000 batches were set up. The number of data packets received and the network bandwidth usage of the dedicated adapters distributed in the two locations were tested under the conditions of reliable transmission and best-effort transmission, respectively, in order to compare and demonstrate the advantages of personalized and customized reliable transmission and best-effort transmission.
[0029] The target situation data topics were set to reliable transmission and best-effort transmission, respectively. A comparison was made based on target scenarios of 100, 200, 500, and 1000 batches. The number of data packets received by the remote system under different batch numbers is as follows: Figure 6 As shown, the vertical axis represents the number of data packets received per second with an interaction period of 100ms.
[0030] The data in the table shows that reliable transmission experienced packet loss after reaching 200 batches, and a large amount of packet loss occurred when the target number reached 500. The average data reception rate was 2.064%, meaning that 103.2 data packets were successfully received out of 5000 data packets sent. In contrast, the number of data packets remained stable after 500 batches of best-effort transmission, with only slight fluctuations at 1000 batches. The average data reception rate was 99.838%, meaning that 9983.8 data packets were successfully received out of 10000 data packets sent.
[0031] To further observe network usage, statistics were compiled on network bandwidth usage between the target batch scenario and the remote system, as follows: Figure 7 As shown in the diagram. Observations reveal that reliable transmission generally consumes twice the network bandwidth of best-effort transmission for the same number of targets, with a maximum limit of 22 Mbps, while best-effort transmission only consumes 22 Mbps for 1000 batches. Since the scenario assumes the software can create a maximum of 1000 batches of targets, it can be inferred that best-effort transmission can support a much larger number of target settings.
[0032] Meanwhile, to demonstrate the low latency of the dedicated adapter, 1000 target scenarios were set up with 100M bandwidth in both locations A and B. The network bandwidth usage, network latency, and packet loss were tested under different and the same conditions in the engine domain, training domain, and public domain. This was to compare the effect of data isolation on reducing network latency.
[0033] By setting the engine domain, training domain, and public domain of the dedicated adapter to different and the same values, the measured network bandwidth usage was compared to, for example... Figure 8 As shown, the former forwards 10090 packets per second, while the latter forwards 20209 packets per second. Clearly, having the same domain increases bandwidth usage between networks, making it easier to reach network limits and causing network congestion.
[0034] Simultaneously, latency tests were conducted between networks at 4kb, with the latency characteristics of different and the same domains shown in Table 1. It was found that significant packet loss occurred when the domains were the same, and network latency also increased accordingly. This was because the network conditions between locations A and B were relatively good, and the scenario was simple, with no other data types; otherwise, the packet loss and latency would have been even more severe when the domains were the same.
[0035] Table 1: Network latency under different and identical domain conditions
[0036] The present invention also provides a high-efficiency gateway adapter setting system suitable for heterogeneous simulation system interconnection. The high-efficiency gateway adapter setting system suitable for heterogeneous simulation system interconnection can be implemented by executing the process steps of the high-efficiency gateway adapter setting method suitable for heterogeneous simulation system interconnection. That is, those skilled in the art can understand the high-efficiency gateway adapter setting method suitable for heterogeneous simulation system interconnection as a preferred embodiment of the high-efficiency gateway adapter setting system suitable for heterogeneous simulation system interconnection.
[0037] According to the present invention, a high-efficiency gateway adapter setup system for interconnecting heterogeneous simulation systems includes: Module M1: Connects the simulation system and the business subsystem through a gateway adapter to build an interconnected network architecture, in which remote networks communicate with each other through a communication middleware; Module M2: Based on the gateway adapter, it uses a plug-in mode to access functional modules and middleware; the middleware includes DDS middleware; Module M3: Based on the DDS middleware, the gateway adapter configures the transmission policy according to the topic data type and configures the policy for initializing topic data.
[0038] The DDS middleware is the DDS communication middleware.
[0039] The business subsystems include Type A simulator, Type B simulator, Type C simulator, 2D / 3D display system, command system, and adjudication system.
[0040] Those skilled in the art will understand that, besides implementing the system and its various devices, modules, and units provided by this invention in the form of purely computer-readable program code, the same functions can be achieved entirely through logical programming of the method steps, making the system and its various devices, modules, and units of this invention function in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, the system and its various devices, modules, and units provided by this invention can be considered as a hardware component, and the devices, modules, and units included therein for implementing various functions can also be considered as structures within the hardware component; alternatively, the devices, modules, and units for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0041] Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention. Unless otherwise specified, the embodiments and features described in this application can be arbitrarily combined with each other.
Claims
1. A method for setting up an efficient gateway adapter suitable for interconnecting heterogeneous simulation systems, characterized in that, include: Step S1: Connect the simulation system and the business subsystem through a gateway adapter to build an interconnected network architecture, wherein the remote networks communicate with each other through a communication middleware; Step S2: Based on the gateway adapter, the functional modules and middleware are connected in a plug-in mode; the middleware includes DDS middleware; Step S3: Based on the DDS middleware, instruct the gateway adapter to configure the transmission policy according to the topic data type, and configure the policy for initializing topic data.
2. The method for setting up a high-efficiency gateway adapter for interconnecting heterogeneous simulation systems according to claim 1, characterized in that, It also includes step S4: dividing the data interaction domain between heterogeneous simulation systems through a gateway adapter; the data interaction domain includes: engine domain, training domain and common domain; The training domain is used to transmit hypothetical mission data, force initialization data, and command and control instructions. The engine domain consists of the interaction data between digital models running in the engine and the interaction data between the digital models and the physical objects and simulators mapped into the engine. The public domain is interactive data under a unified protocol that is independent of the engine, simulator, and implementation.
3. The method for setting up a high-efficiency gateway adapter for interconnecting heterogeneous simulation systems according to claim 1, characterized in that, In step S1, a 1+N interconnected network architecture is formed within the local area network of the service subsystem using the UDP communication protocol. Communication between geographically dispersed networks is achieved through the DDS middleware.
4. The method for setting up a high-efficiency gateway adapter for interconnecting heterogeneous simulation systems according to claim 1, characterized in that, In step S2, the middleware further includes JLink middleware and UDP middleware; In step S3, the gateway adapter is instructed to configure a transmission policy based on the topic data type, including: Step A1: Configure QoS management topic data, determine whether the data topic type is periodic data, the transmission quantity is positively correlated with the number of entities, and the data transmission period is less than or equal to 1 second. If the result is yes, then perform best-effort transmission, send the topic data, and end; if the result is no, then perform reliable transmission and proceed to step A2. Step A2: Send heartbeat data for the topic to the subscriber to determine if there is packet loss. If yes, repeat step A2 until the task is completed; if no, proceed to step A3. Step A3: Send an acknowledgment data packet and determine whether the publishing end has received the acknowledgment data packet. If the result is no, repeat step A2 until the task is completed. If the result is yes, the task ends. The topic data refers to the transmitted data content in DDS communication.
5. The method for setting up a high-efficiency gateway adapter for interconnecting heterogeneous simulation systems according to claim 1, characterized in that, In step S3, the strategy for initializing topic data is a historical QoS strategy; the historical QoS strategy allows subscribers to actively subscribe to all past data of the publisher.
6. A high-efficiency gateway adapter setup system suitable for interconnecting heterogeneous simulation systems, characterized in that, include: Module M1: Connects the simulation system and the business subsystem through a gateway adapter to build an interconnected network architecture, in which remote networks communicate with each other through a communication middleware; Module M2: Based on the gateway adapter, it uses a plug-in mode to access functional modules and middleware; the middleware includes DDS middleware; Module M3: Based on the DDS middleware, the gateway adapter configures the transmission policy according to the topic data type and configures the policy for initializing topic data.
7. The high-efficiency gateway adapter setting system for interconnecting heterogeneous simulation systems according to claim 6, characterized in that, It also includes module M4: which divides the data interaction domain between heterogeneous simulation systems through a gateway adapter; the data interaction domain includes: engine domain, training domain and common domain; The training domain is used to transmit hypothetical mission data, force initialization data, and command and control instructions. The engine domain consists of the interaction data between digital models running in the engine and the interaction data between the digital models and the physical objects and simulators mapped into the engine. The public domain is interactive data under a unified protocol that is independent of the engine, simulator, and implementation.
8. The high-efficiency gateway adapter setting system for interconnecting heterogeneous simulation systems according to claim 6, characterized in that, In block M1, within the local area network of the service subsystem, a 1+N interconnected network architecture is formed using the UDP communication protocol. Communication between geographically dispersed networks is achieved through the DDS middleware.
9. The high-efficiency gateway adapter setting system for interconnecting heterogeneous simulation systems according to claim 6, characterized in that, In module M2, the middleware also includes JLink middleware and UDP middleware; In module M3, the gateway adapter is instructed to configure a transmission policy based on the topic data type, including: Module A1: Sets QoS management configuration topic data, determines whether the data topic type is periodic data, the transmission quantity is positively correlated with the number of entities, and the data transmission period is less than or equal to 1 second. If the result is yes, it performs best-effort transmission, sends the topic data, and ends; if the result is no, it performs reliable transmission and triggers module A2 to work. Module A2: Sends heartbeat packets of topic data, prompting the subscriber to determine if packets have been lost. If yes, Module A2 is retried until the task is completed; if no, Module A3 is triggered. Module A3: Sends an acknowledgment data packet and checks whether the publishing end has received the acknowledgment data packet. If the result is no, it re-triggers Module A2 until the task ends. If the result is yes, it ends. The topic data refers to the transmitted data content in DDS communication.
10. The high-efficiency gateway adapter setting system for interconnecting heterogeneous simulation systems according to claim 6, characterized in that, In module M3, the strategy for initializing topic data is a historical QoS strategy; the historical QoS strategy allows subscribers to actively subscribe to all past data of the publisher.
Citation Information
Patent Citations
Heterogeneous simulation system for realizing interconnection by constructing data bridging software
CN115220715A