CN109412868B - Flight simulator network communication method based on dynamic interface - Google Patents
Flight simulator network communication method based on dynamic interface Download PDFInfo
- Publication number
- CN109412868B CN109412868B CN201811497076.4A CN201811497076A CN109412868B CN 109412868 B CN109412868 B CN 109412868B CN 201811497076 A CN201811497076 A CN 201811497076A CN 109412868 B CN109412868 B CN 109412868B
- Authority
- CN
- China
- Prior art keywords
- data
- configuration file
- network
- dynamic interface
- dynamic
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
Abstract
The invention provides a flight simulator network communication method based on dynamic interfaces, which is characterized in that each system of a flight simulator carries out data communication through Ethernet, each interface needing to be communicated is standardized in the same mode by adopting specified dynamic interface configuration and data communication network configuration, a sending end sends all data to the Ethernet in a format through a multicast mode, a receiving end receives all data, each system selects and processes required data items according to a dynamic interface configuration file, and the data of the configuration file is stored in a text file in a uniform format. The method is beneficial to increasing and modifying the interfaces, maintaining the system and guaranteeing the simulator.
Description
Technical Field
The invention relates to the field of network communication, in particular to a flight simulator network communication method based on a dynamic interface, and belongs to the technical field of network data communication.
Background
The flight simulator has a plurality of equipment components, data communication is required among all systems, and the key is how to efficiently and uniformly communicate. Generally, the flight simulator adopts an Ethernet network to construct a network system, all subsystems exchange data through the network, and a UDP point-to-point and multicast mode is adopted to periodically send and block a receiving mode. When two computers communicate by multicast, a unified multicast section and multicast port numbers need to be added, and communication interfaces need to be unified; when two computers communicate point to point, the receiving end and the sending end need to be bound, and communication interfaces need to be unified. The disadvantages of these two communication methods are: the flight simulator has the disadvantages of complicated communication modes, multiple communication channels and non-uniform data interfaces, so that the maintenance workload of the flight simulator is large and the working efficiency is low. Meanwhile, because the coupling degree of each system computer of the simulator is high, when one system needs to increase the data volume of communication, the same data interface is added to all the associated communication branches, so that the workload of the simulator is increased, and the later-stage system debugging and maintenance are not convenient.
Disclosure of Invention
In view of the above practical situation, the technical problem to be solved by the present invention is to provide a flight simulator network communication method based on a dynamic interface, so as to solve the problems of large maintenance workload and low working efficiency of the flight simulator caused by multiple communication channels and non-uniform data interfaces in the original communication method.
In order to solve the technical problem, the invention provides a flight simulator network communication method based on a dynamic interface, which is established under the condition that each system of the flight simulator adopts Ethernet connection, and comprises the following specific steps:
s1: and (4) dynamic interface configuration. Through the interface configuration tool, each computer configures two dynamic interface configuration files, including a receive data configuration file and a send data configuration file.
S2: and configuring a data communication network. Defining a communication network configuration file, respectively writing multicast receiving identification characteristic information, namely a multicast receiving address xxx.x.x.xxx and a port xxxx into an airplane simulation computer network receiving configuration file and other subsystem computer network sending configuration files, and respectively writing multicast sending identification characteristic information, namely a multicast sending address yy.y.y.yyyy and a port yyyyy into an airplane simulation computer network sending configuration file and other subsystem computer network receiving configuration files.
S3: and receiving data of a dynamic interface of the flight simulation computer. And the other subsystems send the corresponding dynamic interface data in the respective sending configuration files to the Ethernet. And the flight simulation computer receives each data packet through the same multicast, analyzes each frame of data in the data packet, selects corresponding data items in the configuration file, and maps the corresponding data items to corresponding parameters.
S4: and transmitting data of a dynamic interface of the flight simulation computer. The flight simulation computer will send all the dynamic interface data in the configuration file to the ethernet. And receiving the data packet by each subsystem computer through the same multicast, analyzing each frame data in the data packet, selecting corresponding data items in respective data receiving configuration files, and mapping the data items to corresponding parameters.
S5: the process from S3 to S4 is repeated until the network communication is finished.
In the above method steps, preferably, the dynamic interface configuration file in S1 is written with data in a fixed format of "one variable one entry", and the file is generated in a TXT format.
Further, the fixed format of the data is: the dynamic data interface comprises a main number ID, a sub number SUBID, a data TYPE TYPE, a UNIT UNIT and a NAME NAME, wherein the ID and the SUBID are combined to be used as a unique identifier of each dynamic data interface. Accordingly, when each frame data in the data packet is parsed in steps S3 and S4, data entries corresponding to the ID and the subjid may be sorted in the configuration file and mapped to corresponding parameters.
The network dynamic communication method of the flight simulator has the advantages of simple communication mode and unified communication interface. Each interface needing communication is standardized in the same mode, a sending end sends all data to the Ethernet in one format in a multicast mode, a receiving end receives all data, each system selects and processes required data items according to a dynamic interface configuration file, the data of the configuration file is stored in a text file in a uniform format, the interface is favorably increased and modified, and the system maintenance and simulator guarantee are favorably realized.
Drawings
FIG. 1 is a schematic view of a flight simulator network connection.
FIG. 2 is a diagram of a simulation computer receiving a data packet.
FIG. 3 is a diagram of a simulated computer sending a data packet.
Detailed Description
The technical solutions of the embodiments of the present invention are clearly and completely described below with reference to fig. 1 to 3, and it is obvious that the described embodiment is only a specific embodiment of the present invention, but not all embodiments.
As shown in fig. 1, in the communication system of the flight simulator, a vision control computer 102, a display control/task computer 105, a flight simulation computer 103, a cabin collection controller 100, a sound computer 101, a main control computer 104, etc. form and perform network communication, and data interaction communication is performed between the computers through ethernet.
As shown in fig. 2, the computer configures the dynamic interface text file to be communicated through the configured data interface, and the computer of each system interfaces the text file according to the configured dynamic data, such as: the data acquisition controller 100 sends the corresponding dynamic interface data packet a in the configuration file to the network in a multicast mode through the ethernet, and the sound computer 101 sends the corresponding dynamic interface data packet b in the configuration file to the network in a multicast mode through the ethernet; the view computer 102 sends the corresponding dynamic interface data packet c in the configuration file to the network in a multicast mode through the Ethernet; the display control/task computer 105 sends the corresponding dynamic interface data packet d in the configuration file to the network in a multicast mode through the Ethernet; the main control computer 104 sends the corresponding dynamic interface data packet e in the configuration file to the network in a multicast mode through the Ethernet, the flight simulation computer 103 receives each data packet through the same multicast, analyzes each frame of data in the data packet, selects the data items corresponding to the ID and the SUBID in the configuration file to form a data packet X, and maps the data packet X to the corresponding parameters.
As shown in fig. 3, the simulation computer 103 sends a data packet X to the ethernet in a multicast form through a network sending module, the view computer 102, the display control/task computer 105, the cockpit acquisition controller 100, the sound computer 101, and the main control computer 104 receive the data packet X sent to the ethernet by the simulation computer 103, and then select data required by the local computer by using ID and SUBID as unique identifiers of the data according to respective dynamic interface configuration files, such as selecting a data packet aa (ID =1, SUBID =2; ID =1, SUBID =3 …) in a total data packet by the data acquisition controller 100; the sound computer 101 picks out the packet bb (ID =2, subjid =2; ID =2, subjid =3 …) among the total packets; the viewing computer 102 sorts out the data packets cc (ID =3, subjid =2; ID =3, subjid =3 …) from the total data packets; the head-up computer 105 sorts out the data packets dd (ID =4, subjid =2; ID =4, subjid =3 …) among the total data packets; the master computer 104 sorts out the data packets ee (ID =5, subjid =2; ID =5, subjid =3 …) from the total data packets; finally, each computer sends the processed data packets (aa, bb, cc, dd, ee) to the Ethernet for communication.
Claims (4)
1. A flight simulator network communication method based on dynamic interface, each system of the flight simulator carries on the data communication through the Ethernet, its characteristic is, the concrete step of the method includes:
s1, dynamic interface configuration: through an interface configuration tool, each computer configures two dynamic interface configuration files, including a received data configuration file and a sent data configuration file;
s2, configuring the data communication network: defining a communication network configuration file, respectively writing multicast receiving identification characteristic information, namely a multicast receiving address xxx.x.x.xxx and a port xxxx into an airplane simulation computer network receiving configuration file and other subsystem computer network sending configuration files, and respectively writing multicast sending identification characteristic information, namely a multicast sending address yyy.y.yyyy and a port yyyyyy into an airplane simulation computer network sending configuration file and other subsystem computer network receiving configuration files;
s3, receiving dynamic interface data of the flight simulation computer: the other subsystem computers send the corresponding dynamic interface data in the respective sending configuration file to the Ethernet, the flight simulation computer receives each data packet through the same multicast, analyzes each frame data in the data packet, selects the corresponding data entry in the configuration file and maps the data entry to the corresponding parameter;
s4, sending dynamic interface data of the flight simulation computer: the flight simulation computer sends all dynamic interface data in the configuration file to the Ethernet, and each subsystem computer receives a data packet through the same multicast, analyzes each frame of data in the data packet, selects a corresponding data item from each data receiving configuration file, and maps the data item to a corresponding parameter;
and S5, repeating the process from S3 to S4 until the network communication is finished.
2. The network communication method according to claim 1, wherein the dynamic interface configuration file in step S1 writes data in a fixed format of "one variable one entry", and the file is generated in a TXT format.
3. The network communication method of claim 2, wherein said fixed format of data is: the dynamic data interface comprises a main number ID, a sub number SUBID, a data TYPE TYPE, a UNIT UNIT and a NAME NAME, wherein the ID and the SUBID are combined to be used as a unique identifier of each dynamic data interface.
4. The network communication method according to claim 3, wherein when parsing each frame data in the data packet in step S3 and step S4, the specific contents of the data items selected in the configuration file are corresponding ID and SUBID, and the corresponding ID and SUBID are mapped to the corresponding parameters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811497076.4A CN109412868B (en) | 2018-12-07 | 2018-12-07 | Flight simulator network communication method based on dynamic interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811497076.4A CN109412868B (en) | 2018-12-07 | 2018-12-07 | Flight simulator network communication method based on dynamic interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109412868A CN109412868A (en) | 2019-03-01 |
CN109412868B true CN109412868B (en) | 2021-06-04 |
Family
ID=65457941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811497076.4A Active CN109412868B (en) | 2018-12-07 | 2018-12-07 | Flight simulator network communication method based on dynamic interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109412868B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111107167B (en) * | 2020-01-03 | 2022-04-29 | 中仿智能科技(上海)股份有限公司 | Network communication device of flight simulator simulation system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856483A (en) * | 2013-12-31 | 2014-06-11 | 中国人民解放军空军航空大学军事仿真技术研究所 | Communication method for flight simulator |
CN104252435A (en) * | 2014-08-29 | 2014-12-31 | 北京航天自动控制研究所 | Structure-variable intelligent interface based on dynamical reconfigurable FAGA and configuration method thereof |
WO2017048125A1 (en) * | 2015-09-18 | 2017-03-23 | Nederlandse Organisatie Voor Toegepast-Natuurwetenschappelijk Onderzoek Tno | Night vision goggles aided flight simulator system and method |
CN106775867A (en) * | 2016-12-14 | 2017-05-31 | 西北工业大学 | Flight simulation system under Windows operating system environment |
CN107516452A (en) * | 2017-08-17 | 2017-12-26 | 北京航空航天大学 | A kind of general flight simulation simulated environment evaluation system |
CN107621368A (en) * | 2017-09-04 | 2018-01-23 | 江西洪都航空工业集团有限责任公司 | A kind of engine expert diagnostic system based on trainer aircraft |
CN107798947A (en) * | 2017-11-07 | 2018-03-13 | 中国航天空气动力技术研究院 | A kind of combat version unmanned plane simulated training system and operating method |
-
2018
- 2018-12-07 CN CN201811497076.4A patent/CN109412868B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856483A (en) * | 2013-12-31 | 2014-06-11 | 中国人民解放军空军航空大学军事仿真技术研究所 | Communication method for flight simulator |
CN104252435A (en) * | 2014-08-29 | 2014-12-31 | 北京航天自动控制研究所 | Structure-variable intelligent interface based on dynamical reconfigurable FAGA and configuration method thereof |
WO2017048125A1 (en) * | 2015-09-18 | 2017-03-23 | Nederlandse Organisatie Voor Toegepast-Natuurwetenschappelijk Onderzoek Tno | Night vision goggles aided flight simulator system and method |
CN106775867A (en) * | 2016-12-14 | 2017-05-31 | 西北工业大学 | Flight simulation system under Windows operating system environment |
CN107516452A (en) * | 2017-08-17 | 2017-12-26 | 北京航空航天大学 | A kind of general flight simulation simulated environment evaluation system |
CN107621368A (en) * | 2017-09-04 | 2018-01-23 | 江西洪都航空工业集团有限责任公司 | A kind of engine expert diagnostic system based on trainer aircraft |
CN107798947A (en) * | 2017-11-07 | 2018-03-13 | 中国航天空气动力技术研究院 | A kind of combat version unmanned plane simulated training system and operating method |
Non-Patent Citations (1)
Title |
---|
飞行模拟器计算机与接口系统的发展;谷树山等;《兵工自动化》;20151231;第34卷(第11期);第82-85页 * |
Also Published As
Publication number | Publication date |
---|---|
CN109412868A (en) | 2019-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103036736B (en) | A kind of configuration equipment monitoring system based on data source and method | |
CN103873324A (en) | Universal bus testing system | |
CN110166857B (en) | Method for realizing dynamic configuration of fiber channel switch | |
CN108306804A (en) | A kind of Ethercat main station controllers and its communication means and system | |
CN111082949A (en) | Method for efficiently transmitting pulse data packets in brain-like computer | |
CN103856483A (en) | Communication method for flight simulator | |
CN112134792B (en) | Remote train network communication interface testing gateway equipment and system | |
WO2018176244A1 (en) | Data collection method, device, and dynamic environment network management system | |
CN109412868B (en) | Flight simulator network communication method based on dynamic interface | |
CN112019440B (en) | CAN bus multicast method based on identifier multiplexing | |
CN106713010B (en) | A kind of communication means and system of avionics network system | |
CN117278661B (en) | Industrial Internet of things multi-protocol analysis method and system | |
CN106878095A (en) | A kind of network collocating method and system based on scenario distributed emulation | |
CN102098196A (en) | Data transmission method of blade server | |
CN102238571B (en) | Apparatus of Internet of Things machine to machine/man (M2M) business processing, system and method thereof | |
CN111752539B (en) | BI service cluster system and construction method thereof | |
CN102541539B (en) | Method for designing intelligent panel of supply chain based on M2M (Machine to Machine) | |
CN111010353A (en) | Self-adaptive carefree network implementation method based on optical fiber channel | |
CN107968722A (en) | A kind of conversion method of Interface Control File to AFDX network equipments configuration files | |
CN105553713A (en) | FC special bus analyzer FC port management and configuration method | |
CN106954264A (en) | A kind of downlink physical shared channel PDSCH method for mapping resource and system | |
CN106101205B (en) | Transparent transmission cloud system for transparent transmission of remote data and transparent transmission method thereof | |
CN110233824A (en) | A kind of system simulation method | |
CN111107167B (en) | Network communication device of flight simulator simulation system | |
CN113312186B (en) | Automatic generation method for inter-partition communication configuration under IMA platform |
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 |