This paper analyzes the characteristics and applicable situation of centralized, distributed, hierarchical and distributed architectures, combined with the characteristics of distributed interactive flight simulation, and selects a two-tier distributed architecture layered as the system architecture. According to object-oriented technique, the system is divided into network layer, data management and application interfaces layer. Based on this basis, the overall design of the RTI system is completed.It analyzes the characteristics of the control flow and data flow, and select the TCP communication protocol for the data flow and selectes the reliable multicast communication protocol for the data flow. Based on analysing the characteristics of the serial mode, the parallel mode and the completed port model, the completed port mode is chosen as the system I/O model., The memory pool of this system is designed by analyzing the shortage of default memory management functions as well as the technical principles and classification of memory pool. A systematic network layer is designed according to the technologies mentioned above.It analyzes the function of the federal administration, statement management, object management and time management. It realizes the function of creation and revocation for the federal executive and the function of addition and exit for the federal members and so on. In the statement management, the function of publication and order and removal for the object class is completed. In the object management, the registration and finding object instances are achieved. Updating and reflective of object instance attributes are reached. In the time management, the independent time advance and step time advance are obtained. The designation and achievement of the system's data management and interface application layer are finished.After analyzing the composition and characteristics of federal executive, the XML file to store the file is selected and MSXML to resolve the file is used. A static tree data structure is designed to store the data of federal executive in order to complete the mapping between names and handles.Using the RTI as a supporting platform, the interconnection among original single flight simulators in the laboratory is achieved. The distributed interactive simulation for flight simulators is finished and the performence ability of RTI is verified. |