CN109412868A - A kind of flight simulator network communication method based on dynamic socket - Google Patents

A kind of flight simulator network communication method based on dynamic socket Download PDF

Info

Publication number
CN109412868A
CN109412868A CN201811497076.4A CN201811497076A CN109412868A CN 109412868 A CN109412868 A CN 109412868A CN 201811497076 A CN201811497076 A CN 201811497076A CN 109412868 A CN109412868 A CN 109412868A
Authority
CN
China
Prior art keywords
data
configuration file
computer
network
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.)
Granted
Application number
CN201811497076.4A
Other languages
Chinese (zh)
Other versions
CN109412868B (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.)
Jiangxi Hongdu Aviation Industry Group Co Ltd
Original Assignee
Jiangxi Hongdu Aviation Industry Group Co Ltd
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 Jiangxi Hongdu Aviation Industry Group Co Ltd filed Critical Jiangxi Hongdu Aviation Industry Group Co Ltd
Priority to CN201811497076.4A priority Critical patent/CN109412868B/en
Publication of CN109412868A publication Critical patent/CN109412868A/en
Application granted granted Critical
Publication of CN109412868B publication Critical patent/CN109412868B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Abstract

The present invention provides a kind of flight simulator network communication method based on dynamic socket, its condition is that each system of flight simulator by Ethernet carries out data communication, by using the configuration of defined dynamic socket and data communication network configuration, each interface communicated is standardized in the same way, all data are passed through multicast mode in one format and are sent to Ethernet by transmitting terminal, receiving end receives all data, each system is according to dynamic socket configuration file, data entry required for selecting simultaneously is handled, the data of configuration file are with the text files memory of unified format.This method is conducive to the maintenance for increasing, modifying interface and system, the guarantee of simulator.

Description

A kind of flight simulator network communication method based on dynamic socket
Technical field
The present invention relates to network communication field, specially a kind of flight simulator network communication side based on dynamic socket Method belongs to network data communication technical field.
Background technique
In flight simulator equipment composition it is numerous, needed between each system carry out data communication, how efficiently, uniformly into Row communication is very crucial.Generally, flight simulator uses Ethernet building network system, is handed between each subsystem by network Data are changed, using UDP is point-to-point and multicast mode, the period sends and barrage reception mode.When two computers are logical by multicast When news, unified multicast section, multicast port number need to be added, and communication interface needs unification;When two computers are led to by point-to-point When news, receiving end, transmitting terminal, and unified communication interface need to be bound.Both communication modes are disadvantageous in that: communication side Formula is many and diverse, and communication channel is more, data-interface disunity, therefore causes flight simulator maintenance workload big, and working efficiency is low.Together When, it, will when one of system needs to increase the data volume of communication since the degree of coupling of each component computer of simulator is high Cause associated all communication branches to increase identical data-interface, increases simulator workload, be not easy to later period system tune Examination, maintenance.
Summary of the invention
For above-mentioned actual conditions, technical problem solved by the invention is to provide a kind of flight mould based on dynamic socket Quasi- device network communication method, to solve, communication channel in original communication means is more, data-interface disunity bring flight simulation Device maintenance workload is big, ineffective problem.
In order to solve the above technical problems, a kind of flight simulator network communication side based on dynamic socket proposed by the present invention Method, this method are established under conditions of each system of flight simulator is connected using Ethernet, and specific method step is:
S1: dynamic socket configuration.By interface configuration tool, each computer configures two dynamic socket configuration files, packet It includes and receives data configuration file and transmission data configuration file.
S2: data communication network configuration.Communication network configuration file is defined, multicast reception identification feature information RI is distinguished Flight simulation computer network reception configuration file is written, other each subsystem computer networks are sent in configuration files;By group It broadcasts and identification feature information SI is sent to be respectively written into flight simulation computer network transmission configuration file, other each subsystem computers Network receives in configuration file.
S3: flight simulation computer dynamic interface data receives.Other each subsystem computers will respectively send configuration text Corresponding dynamic socket data are sent in Ethernet in part.Flight simulation computer passes through each data of same multicast reception Packet parses each frame data in data packet, corresponding data entry is selected in configuration file, and map to corresponding parameter.
S4: flight simulation computer dynamic interface data is sent.Flight simulation computer, which will be sent in configuration file, to be owned Dynamic socket data are to Ethernet.Each subsystem computer parses each frame in data packet by same multicast reception data packet Data select corresponding data entry in respective data receiver configuration file, and map to corresponding parameter.
S5: repeating the process of S3 to S4, until network communication terminates.
In above method step, it is preferable that the dynamic socket configuration file in S1 step is with " one entry of variable " Data are written in fixed format, and file is with the generation of TXT format.
Further, the fixed format of above-mentioned data are as follows: chief editor ID, sub- number SUBID, data type TYPE, unit UNIT, title NAME, wherein using ID and SUBID combination as the unique identification of each dynamic data interface.To in S3 and S4 It, can be by selecting the data strip of corresponding ID and SUBID in configuration file when parsing each frame data in data packet in step Mesh, and map to corresponding parameter.
Preferably, the multicast reception identification feature information RI in S2 is multicast reception address xxx.x.x.xxx and port Xxxx, it is that multicast sends address yyy.y.y.yyy and port yyyy that multicast, which sends identification feature information SI,.
The above-mentioned flight simulator network dynamic means of communication, communication modes are simple, communication interface is unified.It is each to need to carry out The interface of communication is standardized in the same way, transmitting terminal by all data pass through in one format multicast mode be sent to Too net, receiving end receive all data, and each system according to dynamic socket configuration file, simultaneously locate by data entry required for selecting Reason, the data of configuration file are conducive to increase, modify interface, be conducive to system with the text files memory of unified format Maintenance, the guarantee of simulator.
Detailed description of the invention
Fig. 1 is that flight simulator is connected to the network schematic diagram.
Fig. 2 is simulation computer received data packet schematic diagram.
Fig. 3 is that simulation computer sends data packet schematic diagram.
Specific embodiment
Below with reference to Fig. 1 ~ Fig. 3, the technical solution of the embodiment of the present invention is clearly and completely described, it is clear that retouched The embodiment stated is only a certain specific embodiment of the present invention, instead of all the embodiments.
As shown in Figure 1, in the communication system of flight simulator, by what comes into a driver's control computer 102, aobvious control/task computation The compositions such as machine 105, flight simulation computer 103, cockpit acquisition controller 100, sound computer 101, main control computer 104 are simultaneously Network communication is carried out, passes through Ethernet progress data interaction communication between each computer.
Computer as shown in Figure 2 is by configuration data interface, the dynamic socket text file communicated needed for configuring, each system The computer of system is according to the dynamic data interface text file of configuration, and such as: data acquisition controller 100 will be corresponding in configuration file Dynamic socket data packet a be sent in network in the form of multicast Ethernet, sound computer 101 will be in configuration file Corresponding dynamic socket data packet b is sent in network in the form of multicast Ethernet;What comes into a driver's computer 102 will configure text Corresponding dynamic socket data packet c is sent in network in the form of multicast Ethernet in part;Aobvious control/mission computer 105 send dynamic socket data packet d corresponding in configuration file in network Ethernet in the form of multicast;Master control meter Calculation machine 104 sends dynamic socket data packet e corresponding in configuration file in network Ethernet in the form of multicast, flies Row simulation computer 103 parses each frame data in data packet, in configuration file by each data packet of same multicast reception The data entry for selecting corresponding ID and SUBID constitutes data packet X, and maps to corresponding parameter.
Simulation computer 103 as shown in Figure 3 sends Ethernet for data packet X in the form of multicast by network sending module In, what comes into a driver's computer 102, aobvious control/mission computer 105, cockpit acquisition controller 100, sound computer 101, master control calculate Machine 104 receives the data packet X of simulation computer 103 being sent in Ethernet, further according to respective dynamic socket configuration file, Using ID, SUBID as the unique identification of data, data needed for the machine are picked out, if data acquisition controller 100 is in total data Data packet aa(ID=1, SUBID=2 are picked out in packet;ID=1, SUBID=3 ...);Sound computer 101 is in total data packet Pick out data packet bb(ID=2, SUBID=2;ID=2, SUBID=3 ...);What comes into a driver's computer 102 is selected in total data packet Data packet cc(ID=3, SUBID=2 out;ID=3, SUBID=3 ...);Head up display computer 105 picks out number in total data packet According to packet dd(ID=4, SUBID=2;ID=4, SUBID=3 ...);Main control computer 104 picks out data packet in total data packet Ee(ID=5, SUBID=2;ID=5, SUBID=3 ...);Last each computer again will respectively processed data packet (aa, bb, Cc, dd, ee) it is sent in Ethernet, continue to communicate.

Claims (5)

1. a kind of flight simulator network communication method based on dynamic socket, each system of flight simulator is carried out by Ethernet Data communication, characterized in that the specific steps of this method include:
S1, dynamic socket configuration: by interface configuration tool, each computer configures two dynamic socket configuration files, packet It includes and receives data configuration file and transmission data configuration file;
Data communication network configuration: S2 defines communication network configuration file, multicast reception identification feature information RI is respectively written into Flight simulation computer network receives configuration file, other each subsystem computer networks are sent in configuration file, and group is broadcast It send identification feature information SI to be respectively written into flight simulation computer network and sends configuration file, other each subsystem computer networks It receives in configuration file;
S3, flight simulation computer dynamic interface data receive: other each subsystem computers will respectively be sent in configuration file Corresponding dynamic socket data are sent in Ethernet, and flight simulation computer passes through each data packet of same multicast reception, solution Each frame data in data packet are analysed, corresponding data entry are selected in configuration file, and map to corresponding parameter;
S4, flight simulation computer dynamic interface data are sent: flight simulation computer will send all dynamics in configuration file Interface data to Ethernet, each subsystem computer parses each frame data in data packet by same multicast reception data packet, Corresponding data entry is selected in respective data receiver configuration file, and maps to corresponding parameter;
S5 repeats the process of S3 to S4, until network communication terminates.
2. network communication method as described in claim 1, characterized in that the dynamic socket configuration file in step S1 is with " one Data are written in the fixed format of a one entry of variable ", and file is with the generation of TXT format.
3. network communication method as claimed in claim 2, characterized in that the data fixed format are as follows: chief editor ID, son Number SUBID, data type TYPE, unit UNIT, title NAME, wherein using ID and SUBID combination as each dynamic data The unique identification of interface.
4. network communication method as claimed in claim 3, characterized in that described to parse data in step S3 and step S4 In packet when each frame data, the data entry particular content selected in configuration file is corresponding ID and SUBID, by corresponding ID Corresponding parameter is mapped to SUBID.
5. network communication method as described in claim 1, characterized in that the multicast reception identification feature in the step S2 Information RI is multicast reception address xxx.x.x.xxx and port xxxx, and it is that multicast sends ground that multicast, which sends identification feature information SI, Location yyy.y.y.yyy and port yyyy.
CN201811497076.4A 2018-12-07 2018-12-07 Flight simulator network communication method based on dynamic interface Active CN109412868B (en)

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 true CN109412868A (en) 2019-03-01
CN109412868B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111107167A (en) * 2020-01-03 2020-05-05 中仿智能科技(上海)股份有限公司 Network communication device of flight simulator simulation system

Citations (7)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
谷树山等: "飞行模拟器计算机与接口系统的发展", 《兵工自动化》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111107167A (en) * 2020-01-03 2020-05-05 中仿智能科技(上海)股份有限公司 Network communication device of flight simulator simulation system
CN111107167B (en) * 2020-01-03 2022-04-29 中仿智能科技(上海)股份有限公司 Network communication device of flight simulator simulation system

Also Published As

Publication number Publication date
CN109412868B (en) 2021-06-04

Similar Documents

Publication Publication Date Title
US8649271B2 (en) Testing network equipment
CN104486146B (en) A kind of communication means between test console and test equipment
CN105119749A (en) Local batch upgrading method and system for home gateway
CN101686145A (en) Equipment capable of upgrading, upgrading method and system
CN102281181A (en) Method, device and system for realizing multicast forwarding in EVB (Extended VLAN (Virtual Local Area Network) Bridge) equipment
CN110995514B (en) Multi-dimensional end-to-end network slice generation device and method
CN104519500A (en) Automatic test system of throughput of wireless communication equipment and automatic test method of throughput
CN103856483A (en) Communication method for flight simulator
CN104301813A (en) Ethernet passive optical network system and configuration method
CN114338269B (en) Data transmission method, device, broadband field bus equipment, system and medium
CN107508828B (en) A kind of very-long-range data interaction system and method
CN104133963A (en) FPGA hardware abstraction layer based on high-speed serial bus and implement method thereof
CN109412868A (en) A kind of flight simulator network communication method based on dynamic socket
CN108234397A (en) A kind of heterogeneous network data transmission method for uplink and method of reseptance based on channel
CN101529807A (en) A method and system for realizing universal interfaces in the network management system
CN104320322A (en) Message control method and equipment
CN108768889A (en) A kind of SDN network multichannel line bandwidth dynamic allocation method
CN102394830B (en) Realization method of management channel of MoCA multiport terminal
CN105376118B (en) A kind of test method of AFDX interchangers sending performance
CN101795513B (en) Wireless urban lighting monitoring technique supporting multiple channels and multiple protocols
CN108880948B (en) Equipment test verification system and method based on FC network
CN104717109A (en) Simulation testing method and system for wide area network links
CN114614917B (en) Wireless communication link simulation system and method
CN102761369B (en) A kind of optical transfer network management system, method and device
CN106850053B (en) A kind of method and system that the centralized optical channel based on hybrid network is found automatically

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