| In recent years, how to improve the ability of test training under the joint operational circumstance of military services becomes the focal point of every country’s national defense. The proposal of Test and Training Enabling Architecture(TENA) accelerates the building process of Logic Range. In the Logic Range, which TENA is the public architecture, the range resource reusability and interoperability in resources are improved significantly, and the cost of building process is significantly reduced. In the view of the dispersion of range resources and the difference of architectures in our country, that building a logic range revolves around TENA shows us a good solution.Building logic range that regarded TENA as the public architecture is a gradual process. According to the analysis of range resources in our country, it is found that there are many non-range resources. How to get the efficient use of these resources becomes the problem that should be solved quickly in the process of arranging TENA logic range. TENA gateway can achieve the mutual operation between TENA resources and non-TENA resources, so developing TENA gateway is an important part of TENA system developing. based on above background, this project studies on TENA gateway technology, develops general TENA-HLA gateway software, and achieve the interconnection and interworking between TENA resources and HLA resources in logic range according to the requirements of national defense project development task.Firstly, this paper describes the research background of the project, and introduced the research status both here and abroad. Then it researches the project-related technology; learns on the system architectures of TENA and HLA; understands the content, architecture and development process. It studies focusing on the object model of TENA/HLA, the middleware of TENA and communication interface oft supporting environment when HLA is running. It analyses the transferring object processes between two kinds of architectures and studies on the constitution of general gateway and running process. It makes us get have a preliminary concept about the implementation program, and get in-depth study on the Qt framework used to achieve general gateway and autopiler compiler. Later, it gets a detailed analysis of the project. Based on the analysis, it forms massive structure of the system, divides the function modules, and designs the connections of every function module and interaction process among the modules as well as data storage of the system. After finishing all designs, every function module of the system is code-implemented, thereinto the mapping and protocol conversion are key points in system implementation. This paper solves the key problem according to cord-using template extraction and automatic code generation compiler technology. Then,it designs testing cases, which test the function, the performance and the interface completely, to make sure the system can meet the requirements. Lastly, it has a summary of the project from the advantages and disadvantages in the system, and looks forward to the future about the work.There are many problems in the process of design and implementation. This subject solves them successfully. Finally, a general TENA-HLA gateway software is invented. It is tested and debugged to meet the design requirements and achieve the interconnection between TENA and HLA, which has been concluded and checked by relevant units. |