| Since the testing and training field requires a common architecture to carry out joint testing and training.Automatic Test and Control Institute of Harbin Institute of Technology(HIT)has put forward Joint Test Architecture(JTA),which has been widely used as the common architecture in the joint testing and training field.However,there are a variety of different systems in the testing and training field at present.Test system based on Data Distribution Service is one important type of them.Because there is a big difference between the DDS middleware and HIT Joint Test Platform(H-JTP)middleware in mode of operation,method of information exchange,the DDS system and the H-JTP system can not communicate with each other directly.The OpenDDS gateway can make data transmission possible between the H-JTP system and the OpenDDS test system.That is to say,the Joint Test Platform Open DDS gateway can connect the OpenDDS test system to the H-JTP system.This thesis deeply analyzes the software structure of the H-JTP.According to the overall planning of the H-JTP,the Joint Test Platform OpenDDS gateway is divided into two parts,one is OpenDDS gateway configuration components,and the other is OpenDDS gateway operation module.This thesis also studies the technologies of OpenDDS,including its running mode,quality of service strategy and configuration options.Then it is determined that the gateway operation module adopts the automatic code generating and compiling technology by the OpenDDS gateway generation software to get the gateway implementation program(EXE).The basic elements and composition of the H-JTP object model and the OpenDDS data type are analyzed and compared in detail,and the transformation method between the two is determined,which lays the foundation for the design and development of the software.The OpenDDS gateway configuration component is developed to configure the gateway scheme.It can parse the OpenDDS data type definition file,edit the OpenDDS entity data information,configure the gateway mapping relation and generate the gateway scheme.By studying the automatic code generating and compiling technology,the OpenDDS gateway generation software is developed,it is used to completes the function of automatically generating the gateway implementation program.Based on the H-JTP middleware interface service technology and OpenDDS data transmission method,the gateway interface between the H-JTP middleware and OpenDDS middleware is designed,and the OpenDDS gateway implementation program template is developed,which is used to generate the gateway implementation program(EXE)and to complete the bi-directional data exchange function between H-JTP system and OpenDDS system.To test the software,a test system is set up.The test results show that the Joint Test Platform OpenDDS gateway can successfully realize the communication between the H-JTP system and the OpenDDS system. |