CN109547498A - For the communication interconnection means and method in Heterogeneous simulation system - Google Patents

For the communication interconnection means and method in Heterogeneous simulation system Download PDF

Info

Publication number
CN109547498A
CN109547498A CN201910046466.8A CN201910046466A CN109547498A CN 109547498 A CN109547498 A CN 109547498A CN 201910046466 A CN201910046466 A CN 201910046466A CN 109547498 A CN109547498 A CN 109547498A
Authority
CN
China
Prior art keywords
data
module
buffer area
simulation system
management module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910046466.8A
Other languages
Chinese (zh)
Other versions
CN109547498B (en
Inventor
王勃
邓可
张国
孙卫东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dalian Naval Vessels College Navy P L A
Original Assignee
Dalian Naval Vessels College Navy P L A
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dalian Naval Vessels College Navy P L A filed Critical Dalian Naval Vessels College Navy P L A
Publication of CN109547498A publication Critical patent/CN109547498A/en
Application granted granted Critical
Publication of CN109547498B publication Critical patent/CN109547498B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of communication interconnection means in Heterogeneous simulation system, including bridging traffic processing module, proxy management module, communication protocol management module, wherein, the bridging traffic processing module will be routed in the transmission buffer area of the affiliated instance of agent in mapping objects end for realizing the bridge joint mapping relations configuration between the communication data of each Heterogeneous simulation system according to the bridge joint mapping relations between communication data after the data conversion of the reception buffer area of the instance of agent of the various protocols in proxy management module;The agency of the proxy management module management various protocols, a kind of agency of agreement can handle multiple isomeries realization of the agreement;The communication protocol management module is used to manage the application interface (API) of all Heterogeneous simulation agreements, and the order for executing proxy management module receives data and sends data to corresponding buffer area.

Description

For the communication interconnection means and method in Heterogeneous simulation system
Technical field
The present invention relates to computer simulation technique fields, especially with regard to a kind of mutual for the communication in Heterogeneous simulation system Even device and method.
Background technique
Emulation technology is initially mainly used in military field.20th century 50, the sixties, emulation technology start to be applied to intercontinental The development of guided missile, Apollo Moon-landing Project, nuclear power station operation etc..Since the eighties, emulation technology is by computer skill The development of art has initially entered the brand-new epoch of Computer Simulation, and computer simulation technique starts to be applied to instrument instrument on a large scale The various aspects of the people such as table, Visual Manufacturing, design of electronic products, simulation training production, life.
Since the beginning of the 1990s, it is based on computer simulation technique, the country has built half reality that a collection of level is higher, larger Object analogue system, such as radio frequency seeker semi-matter simulating system, infrared guidance guided missile semi-matter simulating system, fighter plane engineering Flight simulator, fighter plane semi-matter simulating system, destroyer semi-matter simulating system etc., these semi-matter simulating systems are in force Significant role has been played in device Project R&D.
For the total size in global computer emulation market in 2008 up to 88,300,000,000 dollars or more, Chinese computer emulates market Total size up to more than 29,800,000,000 people's coin, future computer emulation industry development has a high potential.
Currently, computer simulation technique also collects Object-Oriented Simulation, qualitative by the emulation of past pure digi-tal till now A variety of simulation means such as emulation, Distributed Interactive Simulation, intelligent simulation, visual simulating, multimedia simulation, virtual reality emulation The demand of the synthesis complication system being integrated, analogue system develops to the multisystem combined imitative of today from the emulation of past single system Very.
Each analogue system because application scenarios difference, the emulation platform used is also and difference.Lead between analogue system Letter agreement experienced SOCKET data packet, HLA13, HLA1516, TENA and DDS, therefore existing distributing emulation system uses Communication protocol to also contemplated SOCKET, HLA13, HLA1516, TENA, DDS etc. a variety of.With going deep into for simulation study, past The emulation of monotechnics cannot provide service well for research, and the emulation of demand comprehensively, comprehensive, this requires generals Existing multiple analogue systems are integrated into a comprehensive complicated analogue system, and first technical problems to be solved are exactly multiple at this time Different analogue systems, i.e. interconnection communication issue between Heterogeneous simulation system.
The information disclosed in the background technology section is intended only to increase the understanding to general background of the invention, without answering When being considered as recognizing or imply that the information constitutes the prior art already known to those of ordinary skill in the art in any form.
Summary of the invention
In order to solve the above-mentioned technical problem, the purpose of the present invention is to provide a kind of communications in Heterogeneous simulation system Interconnection means, including bridging traffic processing module, proxy management module, communication protocol management module, wherein the bridging traffic Processing module configures for realizing the bridge joint mapping relations between the communication data of each Heterogeneous simulation system, and according to communication number Bridge joint mapping relations between turn the data of the reception buffer area of the instance of agent of the various protocols in proxy management module It is routed to after changing in the transmission buffer area of the affiliated instance of agent in mapping objects end;The proxy management module management various protocols Agency, a kind of agency of agreement can handle multiple isomeries realization of the agreement;The communication protocol management module is for managing The application interface (API) of all Heterogeneous simulation agreements receives data and transmission data for executing proxy management module command To corresponding buffer area.
In described device, bridging traffic processing module further comprises: time series device, bridging rule management module, bridge Connect execution module, event manager module, object management module, log management module, data recordin module, data buffer area management Module, time synchronization service module, data collection module, data transmission blocks, wherein the time series device is for providing system One Time Service, the time are clock on wall;The bridging rule management module is for creating or editing expansibility Bridge joint mapping relations between data protocol export bridge configuration file;The bridge joint execution module is for reading bridge configuration Bridge joint mapping relations in file, and will be transferred to and send in buffer area after the data processing for receiving buffer area by mapping relations; The event manager module is used to act on behalf of the coupling between buffer area, and manages an event queue and event handler;Institute Object management module is stated for managing reflective object and native object, when agency receives data, updates reflective object, and generate Simultaneously reception buffer area is added in event;The log management module is used for record log, and is saved in the storage device;It is described Data recordin module is used to generate a record to the object's property value snapshot in object management module according to certain frequency Frame, and the frame sequenceization is arrived into record file;The time synchronization service module is used to provide time server based on TCP, respectively A Heterogeneous simulation system and the module are established ready to receive to the unified time after connection, and time precision is millisecond;The data The data that collection module is used as each agency reach interface;The data transmission blocks are for delaying the transmission in instance of agent The data for rushing area are converted to the agency and correspond to the format of agreement, and proxy interface is called to send.
In described device, the proxy management module includes: SOCKET proxy module, HLA13 proxy module, HLA1516 Proxy module, TENA proxy module, DDS proxy module, wherein the SOCKET proxy module, for encapsulating to SOCKET The calling of module, and announce initialization, send the interface functions such as data and data arrival notice;The HLA13 proxy module is used In encapsulation to the calling of HLA13 submodule, and announces initialization, sends the interface functions such as data and data arrival notice;It is described HLA1516 proxy module for encapsulating the calling to HLA1516 submodule, and announces initialization, sends data and data arrival The interface functions such as notice;The TENA proxy module for encapsulating the calling to TENA submodule, and is announced initialization, is sent The interface functions such as data and data arrival notice;The DDS proxy module, for encapsulating the calling to DDS submodule, and is announced Initialization sends the interface functions such as data and data arrival notice.
In described device, the communication protocol management module further comprise SOCKET submodule, HLA13 submodule, HLA1516 submodule, TENA submodule, DDS submodule, wherein the SOCKET submodule communicates SOCKET for encapsulating Service logic, and announce initialization, send the interface functions such as data and data arrival notice;The HLA13 submodule, for sealing The calling logic to HLA13 RTI interface function is filled, and announces initialization, send the interfaces letter such as data and data arrival notice Number;The HLA1516 submodule for encapsulating the calling logic to HLA1516 RTI interface function, and announces initialization, hair Send the interface functions such as data and data arrival notice;The TENA submodule, for encapsulating the tune to TENA RTI interface function With logic, and announces initialization, sends the interface functions such as data and data arrival notice;The DDS submodule, for encapsulation pair The calling logic of DDS external interface function, and announce initialization, send the interface functions such as data and data arrival notice.
The present invention also provides a kind of communication interconnection method in Heterogeneous simulation system, including: (1) it reads and matches It sets, Heterogeneous simulation System Agent node and bridging rule is configured, the data obtained between Heterogeneous simulation system map pass System;(2) after reading configuration step, the configuration information of isomery agency is obtained, and use these configuration informations, calls agency It creates factory and creates agent object;(3) creation sends buffer area and receives buffer area;(4) by the number between Heterogeneous simulation system Mapping according to item mapping relations by character string to being converted between integer pair;(5) it is obtained by way of registered events processor Data;(6) data for receiving buffer area are handled;(7) data are bridged;(8) to send buffer area data into Row processing;(9) transmission interface of agency is called to send data.
In this method, the reading configuration step includes that the configuration of Heterogeneous simulation System Agent node and bridging rule configure, Wherein, the agent node configuration includes configuration Heterogeneous simulation System Agent information, and the bridging rule configuration is different including configuring Data corresponding relationship between the agreement that structure analogue system uses.
It further include time series management after the step (4) in this method, wherein to each isomery accessed Analogue system pushes time, and the timestamp reached according to data, wherein being less than the data of current+look-ahead time will be lost It abandons.
In this method, in the step (6), handles buffer area is received, further include steps of a. judgement Whether buffer area is sky, is then blocked if it is sky;B. if being not sky, an event is taken out from stem;C. event pair is called The processing logic of the processor answered;D. deletion event;E. step a-d is repeated.
It in this method, in the step (8), further comprise being updated to buffer area is sent, at a bridge joint It manages the period, traversal sends the data item in buffer area, has changed if data item is arranged to data or when dirty data, has adjusted The data item is sent with proxy interface.
The communication interconnection means and method being used in Heterogeneous simulation system provided in through the invention, with the prior art It compares, improve the integrated efficiency between multiple Heterogeneous simulation system communications and helps to improve Heterogeneous simulation data among systems The reliability of communication.
Detailed description of the invention
Fig. 1 is a kind of structure for the communication interconnection means in Heterogeneous simulation system according to an embodiment of the present invention Schematic diagram;
Fig. 2 is a kind of process for the communication interconnection method in Heterogeneous simulation system according to an embodiment of the present invention Schematic diagram.
Specific embodiment
With reference to the accompanying drawing, specific embodiments of the present invention will be described in detail, it is to be understood that guarantor of the invention Shield range is not limited by the specific implementation.
Unless otherwise explicitly stated, otherwise in entire disclosure and claims, term " includes " or its change Changing such as "comprising" or " including " etc. will be understood to comprise stated element or component, and not exclude other members Part or other component parts.
In the present invention in Heterogeneous simulation system communication interconnection means and method for solve SOCKET data packet, It is interconnected between the isomery version of a variety of heterogeneous protocol such as HLA13, HLA1516, TENA and DDS or same agreement, provides while using Data transmitting between two or more Simulation Application systems in above-mentioned agreement functions reliably and efficiently, to guarantee between each system Concertedness, so as to the shared resource between different technologies.
The present apparatus establishes the present apparatus and each isomery by the communication external interface for calling each Heterogeneous simulation system to provide Communication connection between analogue system, according to bridge joint mapping table predetermined by the communication between each Heterogeneous simulation system Data are forwarded.The agreement that Heterogeneous simulation system uses has HLA13, HLA1516, TENA, DDS and SOCKET etc..
Wherein, HLA13, HLA1516 and TENA are all based on the simulation protocol of HLA high level architectural framework, corresponding operation branch Support arrangement is referred to as RTI.The communications protocol management module calling of communication interconnection means of the invention is corresponding with HLA13 RTI and connects Mouth, HLA1516 RTI interface and TENA RTI interface etc. are able to the Heterogeneous simulations such as access HLA13, HLA1516 and TENA System.In addition, SOCKET is primary network communication interface, the agreement used mainly has TCP and UDP, is reliably to connect respectively It connects and non-reliable connection communication agreement.
Fig. 1 is the signal for the communication interconnection means in Heterogeneous simulation system according to the preferred embodiment for the present invention Scheme, includes bridging traffic processing module, proxy management module, communication protocol management module in described device.
The bridging traffic processing module maps for realizing the bridge joint between the communication data of each Heterogeneous simulation system Relationship configuration, and according to the bridge joint mapping relations between communication data by the proxy module of the various protocols in proxy management module In reception buffer area data conversion after be routed to the agency that should reach and send in buffer area;Proxy management module management is a variety of The agency of agreement, a kind of agency of agreement can handle multiple isomeries realization of the agreement.
The bridging traffic processing module further comprises: time series device, bridging rule management module, bridge joint execute mould Block, event manager module, object management module, log management module, data recordin module, data buffer area management module, when Between synchronous service module, data collection module, data transmission blocks.
Wherein, the time series device is clock on wall for providing unified time service, the time.The bridge joint rule Then management module is used to create or edit the bridge joint mapping relations between expansibility data protocol, output bridge configuration text Part.The bridge joint execution module is used to read the bridge joint mapping relations in bridge configuration file, and will receive and delay by mapping relations It is transferred in transmission buffer area after rushing the data processing in area.The event manager module is used to act on behalf of the coupling between buffer area It closes, and manages an event queue and event handler.The object management module is used to manage reflective object and native object, Agency is when receiving data, first is that update reflective object, second is that the event of generation and being added and receiving buffer area.The log management mould Block is used for record log, and is saved in the storage device.The data recordin module is used for according to certain frequency to right As object's property value snapshot one record frame of generation in management module, and the frame sequenceization is arrived into record file.Due to slow It rushes area and needs frequent creation and release, will cause the decline of memory service efficiency in this way, therefore, the data buffer zone manages mould Block is used to rewrite the creation and release of memory, and when applying for a buffer area, which can search all buffer areas and see if there is Idle buffer area returns to an idle buffer area if having;If there is no freebuf, disposably apply multiple slow It rushes area and is set to the free time, then return to one of buffer area.When being discharged after the use of buffer area, without real The memory of buffer area is discharged, but is set to the free time.The time synchronization service module is used to provide Time Service based on TCP Device, each Heterogeneous simulation system and the module are established ready to receive to the unified time after connection, and time precision is millisecond.It is described The data that data collection module is used as each agency reach interface, and implementation generallys use call back function.The data Sending module corresponds to the format of agreement for the data of the transmission buffer area in instance of agent to be converted to the agency, and calls generation Interface is managed to send.
The proxy management module is for calling communication protocol management module and each Heterogeneous simulation system to establish communication link It connects, provides data to the notice reached upwards, the interface that data are sent, also, the interface of the proxy management module are provided downwards Using Asynchronous operation mode, the Asynchronous operation mode refers to called side and may belong to two different threads by tune side, adjusts It after tune side's thread, is not waited other side to return the result with side's starting and continues to execute subsequent code.After being finished by tune side, pass through Certain means notifies called side: result has come out, and please deal on the merits of each case.The means of notice usually have call back function, message.
The proxy management module include: SOCKET proxy module, HLA13 proxy module, HLA1516 proxy module, TENA proxy module, DDS proxy module.
Wherein, the SOCKET proxy module for encapsulating the calling to SOCKET submodule, and announces initialization, hair Send the interface functions such as data and data arrival notice.The HLA13 proxy module, for encapsulating the calling to HLA13 submodule, And it announces initialization, send the interface functions such as data and data arrival notice.The HLA1516 proxy module, for encapsulation pair The calling of HLA1516 submodule, and announce initialization, send the interface functions such as data and data arrival notice.The TENA generation Module is managed, for encapsulating the calling to TENA submodule, and initialization is announced, sends the interfaces letter such as data and data arrival notice Number.The DDS proxy module for encapsulating the calling to DDS submodule, and announces initialization, sends data and data arrival The interface functions such as notice.
The data arrival notice of all proxy modules is a null interface, and external program is needed to realize.Bridge in the present apparatus Connecing the event manager module in Service Processing Module realizes the data arrival notice interface of all agencies, when instance of agent receives When to data, it is notified that event manager module handles the data received.Data transmission blocks in bridging traffic processing module The transmission data-interface function of agency is called to send data.
The communication protocol management module is used to manage the application interface (API) of all Heterogeneous simulation agreements, for executing Proxy management module command receives data and sends data to corresponding buffer area.The communication protocol management module is further Including SOCKET submodule, HLA13 submodule, HLA1516 submodule, TENA submodule, DDS submodule.Wherein, SOCKET Module for encapsulating to SOCKET communication service logic, and announces initialization, sends the interfaces letter such as data and data arrival notice Number.The HLA13 submodule for encapsulating the calling logic to HLA13 RTI interface function, and announces initialization, sends number According to the interface functions such as data arrival notice.There are many operation support programs based on HLA13 standard implementation, such as University of Science and Technology for National Defence KD-RTI, the MAK-RTI of MAK company, the U.S., the pRTI of Sweden, thus HLA13 submodule have it is multiple.HLA1516 Module for encapsulating the calling logic to HLA1516 RTI interface function, and announces initialization, sends data and data arrival The interface functions such as notice.The TENA submodule for encapsulating the calling logic to TENA RTI interface function, and is announced initial Change, send the interface functions such as data and data arrival notice.The DDS submodule, for encapsulating to DDS external interface function Calling logic, and announce initialization, send the interface functions such as data and data arrival notice.
The logic that the device and method are connect with each Heterogeneous simulation system is: reading the Heterogeneous simulation system in configuration file System network interface configuration parameter and the instance of agent for creating corresponding agreement read the bridge joint mapping relations in configuration file and create Associated bridge Service Processing Module, instance of agent call communication protocol module interface to communicate and will receive with heterogeneous system foundation Data be converted to common data structure and be added to receive buffer area, bridging traffic processing module read receive buffer area in Data and data be added to according to bridge joint mapping relations send buffer area, last each instance of agent calls communications protocol mould The data for sending buffer area are sent heterogeneous system by the interface of block, to realize two-way communication before heterogeneous system.
Fig. 2 is the Business Stream for the communication interconnection method in Heterogeneous simulation system according to the preferred embodiment for the present invention Journey schematic diagram.Below with reference to Fig. 2, the detailed process for method that the present invention will be described in detail.
1, configuration is read
Configuration file can be considered that a bridge joint scheme, including the configuration of Heterogeneous simulation System Agent node and bridging rule are matched It sets:
(1) agent node configures: configuration Heterogeneous simulation System Agent information.By taking HLA13 as an example, agent node is needed to configure Information have (federal title, federal member title, federation define file FOM, that is, FED file).
(2) bridging rule configures: the data corresponding relationship between the agreement that configuration Heterogeneous simulation system uses.With HLA13 and For TCP, aircraft entity plane is defined in HLA13 FED file, attribute has pos and name;It is defined in TCP structure Tplane, member have position and lable.Aircraft is both defined in HLA13 and Transmission Control Protocol, and has position and title two A attribute, but title is different.
Bridging rule is to establish Data Bridge relationship between the agreement that two heterogeneous systems of HLA13 and TCP use, and can also be claimed Make mapping relations i.e.:
Plane.pos and tplane.position;
Plane.name and tplane.lable.
2, creation agency
After reading configuration step, the configuration information of isomery agency is obtained, to create agency.Agency is a kind of soft Part design pattern is commonly used to be packaged complex object and simplify.Agency in Heterogeneous simulation system is assisted to hetero-com-munication The encapsulation of view, the corresponding communication protocol of an agency.The heterogeneous protocol supported at present has HLA13, HLA1516, TENA, DDS, SOCKET.The configuration of agency difference, such as HLA13 MAK RTI according to the difference of agreement is mainly configured with (1) connection Nation's title, (2) federal member title, (3) FED file (define FOM SOM) in this document.And the pRTI of HLA1516 in addition to Above three configuration, will also there is (4) server ip address and port numbers.
Proxy configurations are obtained, and using these configurations, agency creation factory are called to create agent object.
Agency's not only communication function, also has data management effect, in each agency, can all have one it is remotely right As list is issued in reflection list and native object.Wherein, the function of the remote object reflection list is to be communicated by proxy call Interface creation, with the data item update received;The function of the native object publication list is to call generation by bridge joint processor It manages interface creation and is updated with the attribute of reflective object.
3, buffer area is created
Buffer area, that is, memory buffer, it is interim to save the data and the data that agency called to send that agency submits.This The Heterogeneous simulation system of invention uses multithreading, handles data collection sum number respectively to improve software treatment effeciency According to bridge joint.
Each agency can call buffer area, and the data for calling communication protocol interface to collect are encapsulated as event object and are mentioned It is sent to buffer area.Event in buffer area is by an individual thread process, each event is by corresponding processor, processing Person can call bridging rule management, be transferred to data in another agency from an agency according to bridging rule.
Each of Heterogeneous simulation system communication middleware agency is internal to have a transmission buffer area, and each agency is also Share a reception buffer area.If any N number of agent object, there will be N+1 buffer area, (wherein N number of is transmission inside agency Buffer area and a public reception buffer area).
4, bridging rule management
Bridging rule configuration has been introduced in (2) of above-mentioned steps 1, is that the mapping in heterogeneous protocol between data item is closed System.Bridging rule management creates bridge joint object when running according to bridging rule, by the maps data items relationship between heterogeneous protocol Mapping by character string to being converted between integer pair.An interface is provided when tunneling is acted on behalf of by data object sum number Integer handle is converted to by character string according to item, therefore, after acting on behalf of object initialization, bridging rule management calls each agency to connect Mouthful, the title of data object and data item that bridging rule uses is substituted by handle.Inquiry string is than inquiry integer consumption When, and complexity is variation.
5, time series management
Time series management process in the present invention is optional step.The time series management is specific by following two Step is realized:
(1) it unites and services when, push the time to each Heterogeneous simulation system accessed;
(2) filter data is crossed, according to the timestamp that data reach, wherein being less than the data of current+look-ahead time will be lost It abandons.
6, data collection
Each above-mentioned agency is encapsulation to communication protocol communication logic, provide data to upwards the asynchronous notifications reached and The interface of data is sent, and shields the communication logic of internal complexity.Data can notify upper layer in the form of event when reaching. Upper layer application obtains data by way of registered events processor.Event is predefined, the object hair of each agency The events such as existing, object is deleted, object properties update, interaction.
7, processing receives buffer area
By above-mentioned introduction it is found that all act on behalf of shares a reception buffer area.Processing receives buffer area in the present invention Specific processing step is as follows:
(1) judge whether buffer area is sky, is then blocked if it is sky;
(2) if being not sky, an event is taken out from stem;
(3) the processing logic of the corresponding processor of event is called;
(4) deletion event;
(5) step (1)-(4) are repeated, and are so recycled.
8, Data Bridge
During the above bridging rule management processing, by bridging rule by character string to being converted to integer handle It is right.When to the encapsulation of each agency, the publication of data object, deletion, attribute use handle when updating.
Data Bridge logic is realized in event handler, by taking attribute updates as an example: acting on behalf of the attribute of 1 object A.b more A update event can be generated when new, and (object handle 10, attribute handle are that 100), Data Bridge logic can be right according to agency 1 As handle and attribute handle are key, the corresponding bridge joint mapping relations list of inquiry, then further according to Proxy Name, object handle Attributes object is searched with attribute handle and is updated with the data of A.b.
9, processing sends buffer area
In the treatment process of above step 8, sends buffer area and be updated, in a bridge joint process cycle, can traverse The data item in buffer area is sent, has changed if data item is arranged to data or when dirty data, has called proxy interface Send the data item.
10, data are sent
The transmission interface of agency is called to send data.The transmission interface of intrinsic call communication protocol is acted on behalf of by the proxy management Native object list in the data item that changes be sent to subscriber.
Through the above steps, the communication interconnection method being used in Heterogeneous simulation system of the invention is achieved.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
The aforementioned description to specific exemplary embodiment of the invention is in order to illustrate and illustration purpose.These descriptions It is not wishing to limit the invention to disclosed precise forms, and it will be apparent that according to the above instruction, can much be changed And variation.The purpose of selecting and describing the exemplary embodiment is that explaining specific principle of the invention and its actually answering With so that those skilled in the art can be realized and utilize a variety of different exemplary implementation schemes of the invention and Various chooses and changes.The scope of the present invention is intended to be limited by claims and its equivalents.

Claims (9)

1. a kind of communication interconnection means in Heterogeneous simulation system, including bridging traffic processing module, proxy management module, Communication protocol management module, which is characterized in that
The bridging traffic processing module is for realizing the bridge joint mapping relations between the communication data of each Heterogeneous simulation system Configuration, and according to bridge joint mapping relations the connecing the instance of agent of the various protocols in proxy management module between communication data It is routed in the transmission buffer area of the affiliated instance of agent in mapping objects end after receiving the data conversion of buffer area;
The agency of the proxy management module management various protocols, a kind of agency of agreement can handle multiple isomeries of the agreement It realizes;
The communication protocol management module is used to manage the application interface (API) of all Heterogeneous simulation agreements, for executing agency Management module order receives data and sends data to corresponding buffer area.
2. as described in claim 1 for the communication interconnection means in Heterogeneous simulation system, which is characterized in that the bridge joint industry Business processing module further comprises: time series device, bridging rule management module, bridge joint execution module, event manager module, right As management module, log management module, data recordin module, data buffer area management module, time synchronization service module, data Collection module, data transmission blocks, wherein
The time series device is clock on wall for providing unified time service, the time;
The bridging rule management module is used to creating or editing the bridge joint mapping relations between expansibility data protocol, Export bridge configuration file;
The bridge joint execution module is used to read the bridge joint mapping relations in bridge configuration file, and will receive and delay by mapping relations It is transferred in transmission buffer area after rushing the data processing in area;
The event manager module is used to act on behalf of the coupling between buffer area, and manages an event queue and event handling Person;
The object management module is for managing reflective object and native object, when agency receives data, updates reflective object, And it generates event and is added and receive buffer area;
The log management module is used for record log, and is saved in the storage device;
The data recordin module is used to generate the object's property value snapshot in object management module according to certain frequency One record frame, and the frame sequenceization is arrived into record file;
The time synchronization service module is used to provide time server based on TCP, and each Heterogeneous simulation system is built with the module Ready to receive after vertical connection to arrive the unified time, time precision is millisecond;
The data that the data collection module is used as each agency reach interface;
The data transmission blocks correspond to agreement for the data of the transmission buffer area in instance of agent to be converted to the agency Format, and proxy interface is called to send.
3. as described in claim 1 for the communication interconnection means in Heterogeneous simulation system, which is characterized in that agency's pipe Reason module includes: SOCKET proxy module, HLA13 proxy module, HLA1516 proxy module, TENA proxy module, DDS agency Module, wherein
The SOCKET proxy module for encapsulating the calling to SOCKET submodule, and announces initialization, sends data sum number According to interface functions such as arrival notices;
The HLA13 proxy module for encapsulating the calling to HLA13 submodule, and announces initialization, sends data and data The interface functions such as arrival notice;
The HLA1516 proxy module, for encapsulating the calling to HLA1516 submodule, and announce initialization, send data and The interface functions such as data arrival notice;
The TENA proxy module, for encapsulating the calling to TENA submodule, and announce initialization, send data and data to Up to interface functions such as notices;
The DDS proxy module for encapsulating the calling to DDS submodule, and announces initialization, sends data and data arrival The interface functions such as notice.
4. as described in claim 1 for the communication interconnection means in Heterogeneous simulation system, which is characterized in that the communication protocols Discussing management module further comprises SOCKET submodule, HLA13 submodule, HLA1516 submodule, TENA submodule, DDS submodule Block, wherein
The SOCKET submodule for encapsulating to SOCKET communication service logic, and announces initialization, sends data and data The interface functions such as arrival notice;
The HLA13 submodule for encapsulating the calling logic to HLA13 RTI interface function, and announces initialization, sends number According to the interface functions such as data arrival notice;
The HLA1516 submodule for encapsulating the calling logic to HLA1516 RTI interface function, and announces initialization, hair Send the interface functions such as data and data arrival notice;
The TENA submodule for encapsulating the calling logic to TENA RTI interface function, and announces initialization, sends data With the interface functions such as data arrival notice;
The DDS submodule, for encapsulating the calling logic to DDS external interface function, and announce initialization, send data and The interface functions such as data arrival notice.
5. a kind of communication interconnection method in Heterogeneous simulation system characterized by comprising
(1) configuration is read, Heterogeneous simulation System Agent node and bridging rule are configured, is obtained between Heterogeneous simulation system Data mapping relations;
(2) after reading configuration step, the configuration information of isomery agency is obtained, and use these configuration informations, calls generation Reason creation factory creates agent object;
(3) creation sends buffer area and receives buffer area;
(4) by mapping of the maps data items relationship by character string to being converted between integer pair between Heterogeneous simulation system;
(5) data are obtained by way of registered events processor;
(6) data for receiving buffer area are handled;
(7) data are bridged;
(8) data for sending buffer area are handled;
(9) transmission interface of agency is called to send data.
6. as claimed in claim 5 for the communication interconnection method in Heterogeneous simulation system, which is characterized in that the reading is matched Setting step includes the configuration of Heterogeneous simulation System Agent node and bridging rule configuration, wherein the agent node configuration includes matching Heterogeneous simulation System Agent information is set, the bridging rule configuration includes the data between the agreement that configuration Heterogeneous simulation system uses Corresponding relationship.
7. as claimed in claim 5 for the communication interconnection method in Heterogeneous simulation system, which is characterized in that the step It (4) further include time series management after, wherein push the time to each Heterogeneous simulation system accessed, and according to data The timestamp of arrival, wherein being less than the data of current+look-ahead time will be dropped.
8. as claimed in claim 5 for the communication interconnection method in Heterogeneous simulation system, which is characterized in that the step (6), reception buffer area is handled, is further included steps of
A. judge whether buffer area is sky, is then blocked if it is sky;
B. if being not sky, an event is taken out from stem;
C. the processing logic of the corresponding processor of event is called;
D. deletion event;
E. step a-d is repeated.
9. as claimed in claim 5 for the communication interconnection method in Heterogeneous simulation system, which is characterized in that the step It (8) in, further comprise being updated to buffer area is sent, in a bridge joint process cycle, traversal sends the number in buffer area According to item, changes if data item is arranged to data or when dirty data, proxy interface has been called to send the data item.
CN201910046466.8A 2018-11-26 2019-01-18 Communication interconnection device and method for heterogeneous simulation system Active CN109547498B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811415736 2018-11-26
CN201811415736X 2018-11-26

Publications (2)

Publication Number Publication Date
CN109547498A true CN109547498A (en) 2019-03-29
CN109547498B CN109547498B (en) 2023-06-13

Family

ID=65835603

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201920083188.9U Expired - Fee Related CN209448755U (en) 2018-11-26 2019-01-18 For the communication interconnection means in Heterogeneous simulation system
CN201910046466.8A Active CN109547498B (en) 2018-11-26 2019-01-18 Communication interconnection device and method for heterogeneous simulation system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201920083188.9U Expired - Fee Related CN209448755U (en) 2018-11-26 2019-01-18 For the communication interconnection means in Heterogeneous simulation system

Country Status (1)

Country Link
CN (2) CN209448755U (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442039A (en) * 2019-07-26 2019-11-12 南京航空航天大学 A kind of unmanned plane collaboration target following distributed simulation method based on HLA
CN110674067A (en) * 2019-09-23 2020-01-10 中国科学院微小卫星创新研究院 Configuration connection system and method for communication simulation between hardware
CN110727646A (en) * 2019-10-10 2020-01-24 京东数字科技控股有限公司 Format conversion method and device for system log, electronic equipment and computer medium
CN111078416A (en) * 2019-11-28 2020-04-28 中国运载火箭技术研究院 LVC gateway for dynamically cutting publish-subscribe relationship
CN111324655A (en) * 2020-02-19 2020-06-23 北京华如科技股份有限公司 Data subscription method based on difference data extraction in distributed simulation
CN112448950A (en) * 2020-11-13 2021-03-05 中国电子科技集团公司第二十八研究所 Dynamic construction method for information link between heterogeneous military information systems
CN112532422A (en) * 2020-10-28 2021-03-19 南京航空航天大学 HLA/DDS bridge based on mixed time management system
CN115883200A (en) * 2022-11-29 2023-03-31 中国第一汽车股份有限公司 Log security management method, device, platform and medium
CN117093331A (en) * 2023-10-20 2023-11-21 上海创景信息科技有限公司 Communication bus simulation and integration method and system supporting virtual 1394b
CN115883200B (en) * 2022-11-29 2024-05-03 中国第一汽车股份有限公司 Log security management method, device, platform and medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN209448755U (en) * 2018-11-26 2019-09-27 中国人民解放军海军大连舰艇学院 For the communication interconnection means in Heterogeneous simulation system
CN111107167B (en) * 2020-01-03 2022-04-29 中仿智能科技(上海)股份有限公司 Network communication device of flight simulator simulation system
CN111258707B (en) * 2020-01-08 2023-05-12 北京仿真中心 Distributed simulation method and system based on DDS service encapsulation
CN114884826B (en) * 2022-03-15 2024-04-09 中国人民解放军军事科学院战争研究院 Cross-level heterogeneous interconnection method and interconnection system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060227805A1 (en) * 2005-03-31 2006-10-12 Adc Telecommunications, Inc. Buffers handling multiple protocols
CN104821858A (en) * 2015-03-30 2015-08-05 北京仿真中心 Cross-wide area network integrated cell and method for distributed simulation system
CN104901832A (en) * 2015-05-18 2015-09-09 中国航空无线电电子研究所 Half-practicality network simulation platform of aviation Ad-Hoc network
CN106790618A (en) * 2016-12-30 2017-05-31 重庆前卫科技集团有限公司 For the multi-function communication device and its data forwarding method of analogue system under water
CN107171922A (en) * 2017-07-03 2017-09-15 中国人民解放军63893部队 Heterogeneous system bridge service method based on middleware Technology
CN108234397A (en) * 2016-12-14 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of heterogeneous network data transmission method for uplink and method of reseptance based on channel
CN209448755U (en) * 2018-11-26 2019-09-27 中国人民解放军海军大连舰艇学院 For the communication interconnection means in Heterogeneous simulation system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060227805A1 (en) * 2005-03-31 2006-10-12 Adc Telecommunications, Inc. Buffers handling multiple protocols
CN104821858A (en) * 2015-03-30 2015-08-05 北京仿真中心 Cross-wide area network integrated cell and method for distributed simulation system
CN104901832A (en) * 2015-05-18 2015-09-09 中国航空无线电电子研究所 Half-practicality network simulation platform of aviation Ad-Hoc network
CN108234397A (en) * 2016-12-14 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of heterogeneous network data transmission method for uplink and method of reseptance based on channel
CN106790618A (en) * 2016-12-30 2017-05-31 重庆前卫科技集团有限公司 For the multi-function communication device and its data forwarding method of analogue system under water
CN107171922A (en) * 2017-07-03 2017-09-15 中国人民解放军63893部队 Heterogeneous system bridge service method based on middleware Technology
CN209448755U (en) * 2018-11-26 2019-09-27 中国人民解放军海军大连舰艇学院 For the communication interconnection means in Heterogeneous simulation system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442039A (en) * 2019-07-26 2019-11-12 南京航空航天大学 A kind of unmanned plane collaboration target following distributed simulation method based on HLA
CN110674067A (en) * 2019-09-23 2020-01-10 中国科学院微小卫星创新研究院 Configuration connection system and method for communication simulation between hardware
CN110674067B (en) * 2019-09-23 2021-06-29 中国科学院微小卫星创新研究院 Configuration connection system and method for communication simulation between hardware
CN110727646A (en) * 2019-10-10 2020-01-24 京东数字科技控股有限公司 Format conversion method and device for system log, electronic equipment and computer medium
CN111078416A (en) * 2019-11-28 2020-04-28 中国运载火箭技术研究院 LVC gateway for dynamically cutting publish-subscribe relationship
CN111078416B (en) * 2019-11-28 2023-08-29 中国运载火箭技术研究院 LVC gateway for dynamically cutting and publishing subscription relationship
CN111324655B (en) * 2020-02-19 2023-05-09 北京华如科技股份有限公司 Data subscription method based on differential data extraction in distributed simulation
CN111324655A (en) * 2020-02-19 2020-06-23 北京华如科技股份有限公司 Data subscription method based on difference data extraction in distributed simulation
CN112532422A (en) * 2020-10-28 2021-03-19 南京航空航天大学 HLA/DDS bridge based on mixed time management system
CN112532422B (en) * 2020-10-28 2021-12-07 南京航空航天大学 HLA/DDS bridge based on mixed time management system
CN112448950A (en) * 2020-11-13 2021-03-05 中国电子科技集团公司第二十八研究所 Dynamic construction method for information link between heterogeneous military information systems
CN115883200A (en) * 2022-11-29 2023-03-31 中国第一汽车股份有限公司 Log security management method, device, platform and medium
CN115883200B (en) * 2022-11-29 2024-05-03 中国第一汽车股份有限公司 Log security management method, device, platform and medium
CN117093331A (en) * 2023-10-20 2023-11-21 上海创景信息科技有限公司 Communication bus simulation and integration method and system supporting virtual 1394b
CN117093331B (en) * 2023-10-20 2024-01-23 上海创景信息科技有限公司 Communication bus simulation and integration method and system supporting virtual 1394b

Also Published As

Publication number Publication date
CN209448755U (en) 2019-09-27
CN109547498B (en) 2023-06-13

Similar Documents

Publication Publication Date Title
CN109547498A (en) For the communication interconnection means and method in Heterogeneous simulation system
CN101420437B (en) Interface device for prototype system and HLA simulation system
CN106850788B (en) Integrated framework and integrated approach towards multi-source heterogeneous geographic information resources
US5247650A (en) System for combining originally software incompatible control, kinematic, and discrete event simulation systems into a single integrated simulation system
US5579384A (en) Telecommunications network service central management system interfacing with protocol specific regional stations providing services to subscribers
CN110019635A (en) A kind of construction method of the pollutant in coalmine neighborhood system model based on RED-MOS
CN108932588B (en) Hydropower station group optimal scheduling system with separated front end and rear end and method
CN102880475A (en) Real-time event handling system and method based on cloud computing in computer software system
WO1996020448A1 (en) Flexible network platform and call processing system
CN107222530A (en) Service asynchronous exchange method, equipment, system and computer-readable recording medium
CN103473696A (en) Method and system for collecting, analyzing and distributing internet business information
CN109547514A (en) A kind of task processing method, device, electronic equipment and storage medium
CN113259838B (en) High-precision credible position service system based on block chain and edge calculation
CN107579791B (en) Satellite on-orbit remote measurement data real-time monitoring system suitable for unidirectional communication network
CN109756461A (en) A kind of remote procedure calling (PRC) method based on NETTY
CN107276992A (en) A kind of method and system of multi-data source access
CN114169579B (en) Nuclear Power Industry Internet Comprehensive Intelligent Platform System
JP2002543743A5 (en)
CN108460199A (en) CNI modelings
Baquero et al. Pure operation-based replicated data types
CN112291728A (en) Private industry application platform implementation architecture based on 5G network
Diaz Petri net based models in the specification and verification of protocols
CN110427426A (en) A kind of data synchronizing processing method and device
TW201931227A (en) Interface system of virtual and physical integrated network with resources topology
CN103473389B (en) A kind of universal model being applied to HLA distributed simulation technology

Legal Events

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