A method for protocol interoperability in a heterogeneous simulation environment and a heterogeneous simulation system

By introducing simulation routing middleware and time series prediction in the heterogeneous simulation environment, the problems of data form growth and time series delay are solved, and efficient data interaction and coherent simulation process for heterogeneous simulation systems are realized.

CN119603374BActive Publication Date: 2025-07-18NO 15 INST OF CHINA ELECTRONICS TECH GRP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411611963.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-07-18
Estimated Expiration
2044-11-13

AI Technical Summary

Technical Problem

The prior art has problems in heterogeneous simulation systems that cause slowing operation speed and time series delays in data forms in geometric growth, especially when the number of simulation objects and systems increases, the timing consistency of data interaction cannot be guaranteed.

Method used

The heterogeneous simulation environment protocol interconnection method is adopted, and the simulation routing middleware is initialized, the routing mapping table is loaded, the routing configuration relationship and event distribution rules are configured, the routing policy table is dynamically loaded using the K-means algorithm, and the timing gaps are completed through time series prediction such as the LSTM model, so as to realize the need to configure the simulation data form, ensuring the consistency of the data interaction timing.

Benefits of technology

This reduces the performance problems caused by the increase in simulation models, ensures that the data interaction timing is not affected by the number of simulation objects and systems, and realizes efficient data interaction and coherent simulation processes in heterogeneous simulation environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603374B_ABST
    Figure CN119603374B_ABST
Patent Text Reader

Abstract

The present application discloses a method for protocol interconnection and interoperability in a heterogeneous simulation environment and a heterogeneous simulation system, relating to data simulation technology, including: initializing a simulation routing middleware in the heterogeneous simulation environment and loading a routing mapping table; configuring the routing configuration relationships and event distribution rules of each simulation system; after receiving a protocol connection request from any simulation system, the simulation routing middleware searches for a corresponding protocol adaptation component according to the existing data transmission protocol; establishing a mapping connection between simulation systems according to the found protocol adaptation component; performing time prediction on the running data of the simulation models of the simulation systems to fill in the time sequence gaps of the minimum advancement time of the simulation models; executing the simulation, and distributing the simulation data to the corresponding addresses according to the routing configuration relationships. The present application can reduce the performance problems caused by the increase of simulation models and ensure that the data interaction time sequence is not affected by the number of simulation objects and the number of accesses of simulation systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data simulation, and particularly to a method for interoperability of heterogeneous simulation environment protocols and a heterogeneous simulation system. Background Art

[0002] There are mainly three data communication methods between traditional simulation systems. One is to develop a dedicated protocol gateway, that is, for two specified systems, such as HLA-DIS, HLA-DDS, DDS-DIS, etc., develop dedicated protocol conversion software to complete data conversion for interoperability. The second is to develop a general gateway for data exchange and use a configuration mapping table for intermediate escape. The third is to directly translate data using the characteristics of the protocol itself to simplify the data configuration process and improve data interaction efficiency.

[0003] The common simulation architectures in the field of simulation and simulation mainly include DIS, ALSP, HLA, TENA, DDS, etc. In order to support distributed joint simulation technology, DDS, DIS, HLA, and TENA have different characteristics and advantages, and protocol conversion and mapping are required. Usually, one protocol is used as the basis, and other protocols complete data interoperability through mapping relationships.

[0004] Such as Figure 1 shown, the gateway technology extracts the simulation system information table, the simulation system publishes the data table, and the simulation system subscribes to the data table by receiving configuration information and stores them in the gateway operation process in the form of data according to each access simulation system.

[0005] After the gateway operation process receives the data, as Figure 2 shown, it forms the form data (FOM) for exchange through the published and subscribed data, updates the exchange form data according to the data transmitted in the gateway, and then searches for the simulation system according to the published data and the subscribed data simulation system information table and transmits it according to the transmission protocol specified by the simulation system.

[0006] The problems existing in the gateway method are as follows:

[0007] (1) The system needs to maintain a simulation data form, and with the occurrence of non-linear events and the increase of simulation objects, the data form will increase exponentially, resulting in problems such as slow running speed.

[0008] (2) Although the data gateway method solves the problem of asynchronous simulation data interaction, it cannot guarantee the time series problem generated by multiple simulation sources, and delays are common with the increase of simulation objects and the increase of configuration complexity. Summary of the Invention

[0009] An embodiment of the present application provides a method for protocol interconnection and interoperability in a heterogeneous simulation environment and a heterogeneous simulation system, which can realize the interconnection and interoperability without configuring simulation data forms and reduce the performance problems caused by the increase of simulation models; through time series prediction, it ensures that the data interaction timing is not affected by the number of simulation objects and the number of simulation systems accessed.

[0010] An embodiment of the present application provides a method for protocol interconnection and interoperability in a heterogeneous simulation environment, which is applied to a heterogeneous simulation environment under multiple simulation systems with different simulation protocols, including:

[0011] Initializing a simulation routing middleware in the heterogeneous simulation environment and loading a routing mapping table;

[0012] Configuring the routing configuration relationship and event distribution rules of each simulation system, where the routing configuration relationship includes the system name and data transmission protocol;

[0013] After receiving a protocol connection request from any simulation system, the simulation routing middleware searches for the corresponding protocol adaptation component according to the existing data transmission protocol;

[0014] Establishing a mapping connection between simulation systems according to the found protocol adaptation component;

[0015] Performing time prediction on the operation data of the simulation model of the simulation system to fill the time series gap of the minimum advancement time of the simulation model;

[0016] Executing the simulation, and distributing the simulation data to the corresponding address according to the routing configuration relationship.

[0017] Optionally, in the process of initializing the simulation routing middleware and loading the routing mapping table, the K-means algorithm is used to realize the dynamic loading of the routing policy table.

[0018] Optionally, the configured routing configuration relationship further includes: system IP and exposed port, and loading the configured routing information into the running memory.

[0019] Optionally, in the case where the corresponding protocol adaptation component cannot be found according to the existing data transmission protocol, it further includes:

[0020] Parsing the protocol of the accessed simulation system and generating the entity code of the simulation object, and generating the corresponding interaction object mapping through compilation, so as to encapsulate and distribute the data in the mapping connection of the interaction data based on the interaction object mapping.

[0021] Optionally, only record the normal events in the simulation process, and intervene in the abnormal events.

[0022] Optionally, intervening in the abnormal events includes:

[0023] Perform time prediction on the simulation model operation data of the simulation system, where the time prediction introduces an LSTM model, and the LSTM model is used to predict the time series gaps to complete the minimum propulsion time of the simulation model and fill in the abnormal data.

[0024] Optionally, it further includes: pausing or destroying the route when there is no need to process simulation events, and destroying the route configuration information from the memory when destroying the route.

[0025] An embodiment of the present application also proposes a heterogeneous simulation system, which is applied to a heterogeneous simulation environment under simulation systems with multiple different simulation protocols, including a processor and a memory. A computer program is stored on the memory, and when the computer program is executed by the processor, the steps of the heterogeneous simulation environment protocol interconnection and interoperability method as described above are implemented.

[0026] The method of the embodiment of the present application does not require configuring a simulation data form, reducing the performance problems caused by the increase of simulation models; through time series prediction, it ensures that the data interaction time series is not affected by the number of simulation objects and the number of accesses to the simulation system.

[0027] The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present application more obvious and understandable, the specific embodiments of the present application are given below. Description of the Drawings

[0028] By reading the detailed description of the preferred embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present application. And throughout the drawings, the same reference numerals are used to represent the same components. In the drawings:

[0029] Figure 1 Schematic diagram of the access method of the simulation system in the prior art;

[0030] Figure 2 Schematic diagram of the simulation data interaction in the prior art;

[0031] Figure 3 Schematic diagram of the overall process of the heterogeneous simulation environment protocol interconnection and interoperability method of the embodiment of the present application;

[0032] Figure 4 Schematic diagram of the routing registration configuration binding relationship of the heterogeneous simulation environment protocol interconnection and interoperability method of the embodiment of the present application;

[0033] Figure 5 Schematic diagram of the binding mapping of the heterogeneous simulation environment protocol interconnection and interoperability method of the embodiment of the present application;

[0034] Figure 6 Schematic diagram of the data mapping and conversion relationship for the heterogeneous simulation environment protocol interconnection and intercommunication method of the embodiments of the present application;

[0035] Figure 7 Schematic diagram of the linear temporal event processing for the heterogeneous simulation environment protocol interconnection and intercommunication method of the embodiments of the present application. Detailed implementation manners

[0036] Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be fully conveyed to those skilled in the art.

[0037] The embodiments of the present application provide a heterogeneous simulation environment protocol interconnection and intercommunication method, which is applied to a heterogeneous simulation environment under simulation systems with multiple different simulation protocols. The present application aims to solve the data interconnection and intercommunication under the heterogeneous simulation environments of different simulation protocols. The method of the present application effectively connects the simulation environments of different protocols by using the adaptive simulation protocol middleware technology, corrects the data in combination with the time series prediction method, and effectively supervises and controls the interaction process.

[0038] Specifically, as Figure 3 shown, the method of the embodiments of the present application includes the following steps:

[0039] In step S101, initialize the simulation routing middleware in the heterogeneous simulation environment and load the routing mapping table. For example Figure 3 simulation systems 1 - N included in. In some embodiments, initialize the simulation routing middleware, and use the K-means algorithm to achieve the dynamic loading of the routing policy table during the process of loading the routing mapping table. The K-means algorithm can reduce the complexity of multiple routing protocols.

[0040] In step S102, configure the routing configuration relationship and event distribution rules of each simulation system. The routing configuration relationship includes the system name and data transmission protocol. In some embodiments, the configured routing configuration relationship further includes: system IP and port. In a specific example, as Figure 4 shown, one-to-one routing or one-to-many routing configuration can be performed, and the configured routing information is loaded into the runtime memory.

[0041] In step S103, after receiving a protocol connection request from any simulation system, the simulation routing middleware searches for the corresponding protocol adaptation component according to the existing data transmission protocol.

[0042] In step S104, as Figure 5 shown, a mapping connection between simulation systems is established according to the found protocol adaptation component. In some examples, after determining the protocol adaptation component, as Figure 6 shown, binding mapping is performed. Combining the routing configuration relationship, an attempt is made to perform data parsing on the dll in the protocol adaptation component for different simulation system protocols. When the simulation protocol is successfully parsed, the object data transmitted in the protocol is subjected to data mapping to further complete data format conversion, and an independent mapping connection is established. Through binding mapping, it is possible to targetedly solve the supply and demand requirements of business data at the finest granularity, which can be as fine-grained as the conversion requirements of the attributes and data types of the required simulation objects, as well as the preconditions such as under what events it can be triggered.

[0043] In step S105, time prediction is performed on the simulation model operation data of the simulation system to fill in the time sequence gap of the minimum advancement time of the simulation model. Through prediction and filling, it can be ensured that the simulation process is coherent and there will be no delay or lag.

[0044] In step S106, simulation is executed, and the simulation data is distributed to the corresponding addresses according to the routing configuration relationship. That is, the simulation event is executed. After the event is processed in an orderly manner, the simulation data is effectively protocol encapsulated and distributed to the specified IP address and port according to the binding mapping relationship.

[0045] The method of the embodiment of the present application can guide the development and implementation of DDS, DIS, HLA, TENA, and custom protocols in LVC joint tests, making the logical structures of each simulation object symmetric, the data mapping clear, and the data reasonable. The method of the embodiment of the present application does not require configuring simulation data forms, reducing the performance problems caused by the increase of simulation models; through time series prediction, it is ensured that the data interaction time sequence is not affected by the number of simulation objects and the number of simulation systems accessed.

[0046] In some embodiments, in the case where the corresponding protocol adaptation component cannot be found according to the existing data transmission protocol, it further includes: parsing the accessed simulation system protocol and generating the entity code of the simulation object, and generating the corresponding interaction object mapping through compilation. For example, the interaction object mapping can be a dll, so as to perform the encapsulation and distribution of data in the mapping connection of interaction data based on the interaction object mapping.

[0047] In some embodiments, for normal events in the simulation process, only records are made, and for abnormal events, intervention is required. Intervention in abnormal events requires time prediction of the simulation model operation data of the simulation system. When predicting, a mature LSTM model is introduced, and the time sequence gap is predicted through the model, so as to fill in the minimum advancement time of the simulation model, fill in the abnormal data, and advance the next request event. As Figure 7As shown, the prominent problem in the heterogeneous simulation environment is linear timing processing. In the heterogeneous simulation environment, it is the task of the adaptive simulation protocol middleware to quickly process from the chaotic data interaction according to different protocols and time events. In the embodiments of the present application, the simulation protocol middleware uses time prediction, such as the LSTM model, to predict and improve the operation data of the simulation model. For example Figure 7 in Figure 7 , T3 and T6 are the filled-in data for vacancies. After filling in, the orderly linear timing management can be realized, so that the entire simulation process is coherent and there will be no delay or lag.

[0048] In some embodiments, it further includes: pausing or destroying the route when there is no need to process simulation events, and destroying the route configuration information in the memory when destroying the route, such as cutting off the route configuration of the event, and the configuration information is destroyed from the memory.

[0049] The present application provides an adaptive middleware for simulation protocol interconnection and interoperability, which not only realizes the data connection of DIS, HLA, TENA, DDS and custom simulation protocols, but also does not require code modification for the accessed simulation environment. The middleware in the embodiments of the present application can automatically analyze the simulation protocol, generate the framework code corresponding to the protocol, and encapsulate the data required by the simulation system into the corresponding protocol and push it to the target system. The method in the embodiments of the present application designs a time series prediction mechanism to correct situations such as null values and jump values within a unit time step, ensuring the integrity of the simulation environment data.

[0050] The embodiments of the present application also propose a heterogeneous simulation system, which is applied to a heterogeneous simulation environment under simulation systems with multiple different simulation protocols, including a processor and a memory. A computer program is stored on the memory, and when the computer program is executed by the processor, the steps of the heterogeneous simulation environment protocol interconnection and interoperability method as described above are realized.

[0051] It should be noted that in the embodiments of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or device including the element.

[0052] The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0053] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described example methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases, the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present application.

[0054] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims. All of these are within the protection scope of the present application.

Claims

1. A method for protocol interconnection and interoperability in a heterogeneous simulation environment, characterized in that A heterogeneous simulation environment under a simulation system applied to multiple different simulation protocols, including: Initialize a simulation routing middleware in the heterogeneous simulation environment and load a routing mapping table; Configure the routing configuration relationship and event distribution rules of each simulation system, where the routing configuration relationship includes system name and data transmission protocol; After receiving a protocol connection request from any simulation system, the simulation routing middleware searches for the corresponding protocol adaptation component according to the existing data transmission protocol; Establish a mapping connection between simulation systems based on the found protocol adaptation component; Perform time prediction on the simulation model running data of the simulation system to fill in the time series gap of the minimum advancement time of the simulation model; Execute the simulation and distribute the simulation data to the corresponding address according to the routing configuration relationship; Only record normal events in the simulation process and intervene in abnormal events; It also includes: Intervening in abnormal events includes: Perform time prediction on the simulation model running data of the simulation system, where the time prediction introduces an LSTM model, and the time series gap is predicted through the LSTM model to fill in the minimum advancement time of the simulation model and complete abnormal data.

2. The heterogeneous simulation environment protocol interconnection method according to claim 1, characterized in that Use the K-means algorithm to implement the dynamic loading of the routing policy table during the process of initializing the simulation routing middleware and loading the routing mapping table.

3. The heterogeneous simulation environment protocol interconnection method according to claim 1, wherein The configured routing configuration relationship also includes: system IP and port, and load the configured routing information into the running memory.

4. The method for protocol interconnection and intercommunication in a heterogeneous simulation environment according to claim 3, characterized in that, In the case where the corresponding protocol adaptation component cannot be found according to the existing data transmission protocol, it also includes: Parse the accessed simulation system protocol and generate the entity code of the simulation object, and generate the corresponding interaction object mapping through compilation to encapsulate and distribute the data in the mapping connection of the interaction data based on the interaction object mapping.

5. The method for protocol interoperability in a heterogeneous simulation environment according to claim 1, wherein It also includes: Pause or destroy the routing when there is no need to process simulation events, and when destroying the routing, destroy the routing configuration information from the memory.

6. A heterogeneous simulation system, characterized in that, A heterogeneous simulation environment under a simulation system applied to multiple different simulation protocols, including a processor and a memory, where a computer program is stored on the memory, and when the computer program is executed by the processor, it implements the steps of the heterogeneous simulation environment protocol interconnection method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Inter-model heterogeneous interconnection system and method of low-orbit constellation system simulation system

    CN115766896A

  • Simulation task scheduling method, device, equipment and system

    CN118916128A

  • Method and apparatus for live-virtual-constructive interoperation

    US20160173654A1