CN105553802A - Data real-time receiving method of heterogeneous avionics network and bus - Google Patents
Data real-time receiving method of heterogeneous avionics network and bus Download PDFInfo
- Publication number
- CN105553802A CN105553802A CN201510918721.5A CN201510918721A CN105553802A CN 105553802 A CN105553802 A CN 105553802A CN 201510918721 A CN201510918721 A CN 201510918721A CN 105553802 A CN105553802 A CN 105553802A
- Authority
- CN
- China
- Prior art keywords
- access
- node
- cycle
- interface
- value
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/4013—Management of data rate on the bus
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a data real-time receiving method of a heterogeneous avionics network and bus. The method includes the following steps that: 1) an access object table is established according to a configuration file which specifies the access period or frequency of each interface: round robin is performed on the configuration table, periods (period=1/frequency) specified in the configuration table are sorted, and the access object table is established, wherein the access object table is in the form of a chain table; and 2) the greatest common divisor of all access frequencies is solved: the greatest common divisor value Gcd of all access period values is solved, and the greatest common divisor value Gcd of the all access period values is solved. With the data real-time receiving method of the invention adopted, the access ability of a plurality of discrete interfaces, A429 protocol interfaces, A664 protocol interfaces and A717 protocol interfaces under a plurality of kinds of given access frequencies can be improved, and access efficiency can be improved.
Description
Technical field
The present invention relates to computer software-system software field, particularly relate to a kind of data real-time reception method of isomery avionics network and bus.
Background technology
Air Transport Association of America (AirTransportAssociationofAmerica, ATA) is defined airborne information system at " ATA demand 100---manufacturer's technical data demand " ATA46 chapter.This system obtains data from by avionics core system, by Internet Transmission to the equipment of internal system, finally passes to ground operation centre, service supplier, cabin systems etc.Air Passenger A380 and A350, Boeing 787 aircraft all realize airborne information system, in order to improve airline efficiency of operation, reduce maintenance cost, alleviate the work load of flight unit and service on buses or trains unit, strengthen the experience of passenger's happiness flight, reduce airliner delay, improve aircraft dispatch rate, the final economy improving seating plane.
The data access of avionics core system is then the key of whole airborne information system.It is to the compatibility of bus type, determines the Data Source scope of airborne information system; Its data access speed determines the speed that whole system can provide data, services.Therefore in order to improve in aircraft running, the access ability of airborne information and speed, must design one can compatible multiple bus interface, possesses the avionics system access method of high speed access ability, thus ensures that airborne information system can provide jumbo real time data.
In China, airborne information also belongs to new airborne function, does not have similar function before, and on-board data is carried out this locality by each function and stored, and analyzes under machine.
Summary of the invention
In order to solve technical problem existing in background technology, the present invention proposes a kind of data real-time reception method of isomery avionics network and bus, solve the access ability of carrying out multichannel discrete magnitude interface, A429 protocol interface, A664 protocol interface and A717 protocol interface according to given multiple access frequency, improve access efficiency.
Technical solution of the present invention is: a kind of data real-time reception method of isomery avionics network and bus, is characterized in that: said method comprising the steps of:
1) access object table is set up according to configuration file;
Access cycle or the frequency of each interface is defined in configuration file; Repeating query allocation list, sorts to the cycle specified in allocation list (cycle=1/ frequency), sets up access object table; Object table adopts chained list mode; Element in chained list, carries out ascending order arrangement according to T access cycle, namely when arranging, for node M and N, if M->T<N->T, then and M->next=N;
2) greatest common factor (G.C.F.) is asked for all access frequencys;
2.1) greatest common factor (G.C.F.) value Gcd is asked to all values access cycle;
2.2) greatest common factor (G.C.F.) value Gcd is asked to all values access cycle;
For the periodic quantity that occurrence number is lower, if be acceptable to its deviate access cycle, be then classified in the node compared with Xiao Zhou's time value, conduct interviews, that is, application settings error range Diff, if there is access cycle to be respectively T
0, T
1object, for T access cycle
0acceptable error Dt<Diff and | T
0-T
1| <Diff, then T
0with T
1merge into same access cycle;
As Diff=Gcd, access cycle is the object X:t1=nGcd of t1, and access cycle is the object Y of t2, t1<t2< (n+1) Gcd, if [-nGcd, nGcd] deviate access cycle can accept, then according to conducting interviews to Y the access cycle of t1; That is, node belonging to node belonging to t2 and t1 is merged into same node;
3) multiple information in access object table is upgraded; Upgrade the factor attribute in each node, this value=cycle/Gcd;
4) initial timing device, counter;
Initialize Timer W, timing cycle is Gcd, and setting Counter Value V is 0, and when each timing cycle arrives, timer value increases progressively 1; When the value of timer is application settings maximum of T, this value clear 0, restarts counting; T get all periodic quantities least common multiple Lcm or by application settings;
5) access algorithm is set;
Access algorithm is:
5.1) judge whether timing cycle reaches, if do not arrived, repeat step 1, if arrived, perform step 5.2);
5.2) judge the relation of timer value V and application settings maximum of T, if V is less than T, then V adds 1, performs step 5.3);
5.3) judge that the multiple value in V and present node P must be related to, if V equals the multiple value in present node P, then the interface of each element representative in sequential access interface accessing array of indexes E, node pointer points to the next node of this node; Perform step 5.4);
5.4) repeating query data link table from first element of data link table, if judge whether the multiple value of this element can divide exactly with V, if can divide exactly, then the interface of each element representative in the interface accessing array of indexes E of sequential access corresponding node; When the multiple value of element is greater than V/2 in chained list, stop repeating query; Perform step 5.5);
5.5) judge the relation of timer currency V and application settings maximum of T, if V equals T, then V assignment is 0, performs step 5.1).
Above-mentioned steps 1) in the attribute that comprises of each node as follows:
Point to the pointer next of next node
tif this node is tail node, then this pointer is null;
Element number Num: the number of the interface accessing object comprised in this node, the access cycle of these interface accessing objects is identical;
Access cycle T: the access cycle of the interface accessing object comprised in this node;
Factor M: the access cycle of interface accessing object comprised in this node and the multiple proportion of timer period;
Interface accessing array of indexes E: the array equaling the interface message composition of " access cycle " attribute of this node access cycle, its each element definition accessing operation parameter of an access interface.
The advantageous effect that the present invention has:
The present invention is directed in aircraft running, need according to different speed, the demand of data is received in real time from the several data interface of avionics core system, solve the access ability of carrying out multichannel discrete magnitude interface, A429 protocol interface, A664 protocol interface and A717 protocol interface according to given multiple access frequency, improve access efficiency.
Accompanying drawing explanation
Fig. 1 is input/output interface schematic diagram of the present invention;
Fig. 2 is the structure composition diagram of access object table of the present invention;
Embodiment
See Fig. 1, Fig. 2, the data real-time reception method of isomery avionics network and bus, needs according to different speed, and from the several data interface of avionics core system, receive the demand of data in real time, specific design is as follows:
1, application interface
The correlated inputs interface of this method in application process comprises: discrete magnitude interface [0..n]; A429 interface [1..m]; A664 interface [1..p]; A717 interface [0..q];
Configuration file: at least define each interface type and access cycle (or frequency) in configuration file.
Each data exported, by data and Data Identification composition, are defined as follows:
Data: from the binary stream of the data that corresponding ports gets;
Data Identification: the channel type comprising access, channel number, access time, access parameter.
The execution step of this method:
1) access object table is set up according to configuration file
The access cycle (or frequency) of each interface is defined in configuration file.Repeating query allocation list, sorts to the cycle specified in allocation list (cycle=1/ frequency), sets up access object table.Object table adopts chained list mode.The attribute that each node comprises is as follows:
Point to the pointer next of next node
tif this node is tail node, then this pointer is null;
Element number Num: the number of the interface accessing object comprised in this node, the access cycle of these interface accessing objects is identical;
Access cycle T: the access cycle of the interface accessing object comprised in this node;
Factor M: the access cycle of interface accessing object comprised in this node and the multiple proportion of timer period;
Interface accessing array of indexes E: the array equaling the interface message composition of " access cycle " attribute of this node access cycle, its each element definition accessing operation parameter of an access interface;
Element in chained list, carries out ascending order arrangement according to T access cycle, namely when arranging, for node M and N, if M->T<N->T, then and M->next=N.
2) greatest common factor (G.C.F.) is asked for all access frequencys
Greatest common factor (G.C.F.) value Gcd is asked to all values access cycle.
For the periodic quantity that occurrence number is lower, if be acceptable to its deviate access cycle, be then classified in the node compared with Xiao Zhou's time value, conduct interviews, that is, application settings error range Diff, if there is access cycle to be respectively T
0, T
1object, for T access cycle
0acceptable error Dt<Diff and | T
0-T
1| <Diff, then T
0with T
1merge into same access cycle.
As Diff=Gcd, access cycle is the object X:t1=nGcd of t1, and access cycle is the object Y of t2, t1<t2< (n+1) Gcd, if [-nGcd, nGcd] deviate access cycle can accept, then according to conducting interviews to Y the access cycle of t1.That is, node belonging to node belonging to t2 and t1 is merged into same node.
Can accept to be judged by application.
3) multiple information in access object table is upgraded
Upgrade the factor attribute in each node, this value=cycle/Gcd.
4) initial timing device, counter
Initialize Timer W, timing cycle is Gcd, and setting Counter Value V is 0, and when each timing cycle arrives, timer value increases progressively 1.When the value of timer is the least common multiple Lcm of all periodic quantities, this value clear 0, restarts to count (this value belongs to option, in some moment, if this value is excessive, when likely causing spilling, this can not be established to limit).
5) access algorithm
Access algorithm is:
Step 1: judge whether timing cycle reaches, if do not arrived, repeats step 1, if arrived, performs step 2;
Step 2: the relation judging timer value V and application settings maximum of T, if V is less than T, then V adds 1, performs step 3;
Step 3: judge that the multiple value in V and present node P must be related to, if V equals the multiple value in present node P, then the interface of each element representative in sequential access interface accessing array of indexes E, node pointer points to the next node of this node; Perform step 4;
Step 4: repeating query data link table from first element of data link table, if judge whether the multiple value of this element can divide exactly with V, if can divide exactly, then the interface of each element representative in the interface accessing array of indexes E of sequential access corresponding node.When the multiple value of element is greater than V/2 in chained list, stop repeating query; Perform step 5;
Step 5: the relation judging timer currency V and application settings maximum of T, if V equals T, then V assignment is 0, performs step 1.
Claims (2)
1. a data real-time reception method for isomery avionics network and bus, is characterized in that: said method comprising the steps of:
1) access object table is set up according to configuration file;
Access cycle or the frequency of each interface is defined in configuration file; Repeating query allocation list, sorts to the cycle specified in allocation list (cycle=1/ frequency), sets up access object table; Object table adopts chained list mode; Element in chained list, carries out ascending order arrangement according to T access cycle, namely when arranging, for node M and N, if M->T<N->T, then and M->next=N;
2) greatest common factor (G.C.F.) is asked for all access frequencys;
2.1) greatest common factor (G.C.F.) value Gcd is asked to all values access cycle;
2.2) greatest common factor (G.C.F.) value Gcd is asked to all values access cycle;
For the periodic quantity that occurrence number is lower, if be acceptable to its deviate access cycle, be then classified in the node compared with Xiao Zhou's time value, conduct interviews, that is, application settings error range Diff, if there is access cycle to be respectively T
0, T
1object, for T access cycle
0acceptable error Dt<Diff and | T
0-T
1| <Diff, then T
0with T
1merge into same access cycle;
As Diff=Gcd, access cycle is the object X:t1=nGcd of t1, and access cycle is the object Y of t2, t1<t2< (n+1) Gcd, if [-nGcd, nGcd] deviate access cycle can accept, then according to conducting interviews to Y the access cycle of t1; That is, node belonging to node belonging to t2 and t1 is merged into same node;
3) multiple information in access object table is upgraded; Upgrade the factor attribute in each node, this value=cycle/Gcd;
4) initial timing device, counter;
Initialize Timer W, timing cycle is Gcd, and setting Counter Value V is 0, and when each timing cycle arrives, timer value increases progressively 1; When the value of timer is application settings maximum of T, this value clear 0, restarts counting; T get all periodic quantities least common multiple Lcm or by application settings;
5) access algorithm is set;
Access algorithm is:
5.1) judge whether timing cycle reaches, if do not arrived, repeat step 1, if arrived, perform step 5.2);
5.2) judge the relation of timer value V and application settings maximum of T, if V is less than T, then V adds 1, performs step 5.3);
5.3) judge that the multiple value in V and present node P must be related to, if V equals the multiple value in present node P, then the interface of each element representative in sequential access interface accessing array of indexes E, node pointer points to the next node of this node; Perform step 5.4);
5.4) repeating query data link table from first element of data link table, if judge whether the multiple value of this element can divide exactly with V, if can divide exactly, then the interface of each element representative in the interface accessing array of indexes E of sequential access corresponding node; When the multiple value of element is greater than V/2 in chained list, stop repeating query; Perform step 5.5);
5.5) judge the relation of timer currency V and application settings maximum of T, if V equals T, then V assignment is 0, performs step 5.1).
2. the data real-time reception method of isomery avionics network according to claim 1 and bus, is characterized in that: described step 1) in the attribute that comprises of each node as follows:
Point to the pointer next of next node
tif this node is tail node, then this pointer is null;
Element number Num: the number of the interface accessing object comprised in this node, the access cycle of these interface accessing objects is identical;
Access cycle T: the access cycle of the interface accessing object comprised in this node;
Factor M: the access cycle of interface accessing object comprised in this node and the multiple proportion of timer period;
Interface accessing array of indexes E: the array equaling the interface message composition of " access cycle " attribute of this node access cycle, its each element definition accessing operation parameter of an access interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510918721.5A CN105553802B (en) | 2015-12-10 | 2015-12-10 | A kind of data real-time reception method of isomery avionics network and bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510918721.5A CN105553802B (en) | 2015-12-10 | 2015-12-10 | A kind of data real-time reception method of isomery avionics network and bus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105553802A true CN105553802A (en) | 2016-05-04 |
CN105553802B CN105553802B (en) | 2019-02-19 |
Family
ID=55832741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510918721.5A Active CN105553802B (en) | 2015-12-10 | 2015-12-10 | A kind of data real-time reception method of isomery avionics network and bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105553802B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112433707A (en) * | 2020-11-30 | 2021-03-02 | 中国航空工业集团公司西安航空计算技术研究所 | High-safety configurable real-time data transmission framework supporting heterogeneous bus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102629911A (en) * | 2012-03-07 | 2012-08-08 | 中国北车集团大连机车车辆有限公司 | PC machine CAN message real-time collection method based on PCI interface |
CN102724090A (en) * | 2012-05-22 | 2012-10-10 | 天津理工大学 | Process field bus (PROFIBUS) DP/PA integrated embedded slave node communication device based on DP controller with integrated 8031 core (DPC31) |
CN102761466A (en) * | 2011-04-25 | 2012-10-31 | 中国科学院空间科学与应用研究中心 | IEEE (Institute of Electrical and Electronics Engineers) 1394 bus data record processing system and method |
CN103338206A (en) * | 2013-07-10 | 2013-10-02 | 中兴智能交通(无锡)有限公司 | Method and device for achieving data exchange based on data bus technology |
CN104881259A (en) * | 2015-06-29 | 2015-09-02 | 联想(北京)有限公司 | Data processing method and device and storage device |
-
2015
- 2015-12-10 CN CN201510918721.5A patent/CN105553802B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761466A (en) * | 2011-04-25 | 2012-10-31 | 中国科学院空间科学与应用研究中心 | IEEE (Institute of Electrical and Electronics Engineers) 1394 bus data record processing system and method |
CN102629911A (en) * | 2012-03-07 | 2012-08-08 | 中国北车集团大连机车车辆有限公司 | PC machine CAN message real-time collection method based on PCI interface |
CN102724090A (en) * | 2012-05-22 | 2012-10-10 | 天津理工大学 | Process field bus (PROFIBUS) DP/PA integrated embedded slave node communication device based on DP controller with integrated 8031 core (DPC31) |
CN103338206A (en) * | 2013-07-10 | 2013-10-02 | 中兴智能交通(无锡)有限公司 | Method and device for achieving data exchange based on data bus technology |
CN104881259A (en) * | 2015-06-29 | 2015-09-02 | 联想(北京)有限公司 | Data processing method and device and storage device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112433707A (en) * | 2020-11-30 | 2021-03-02 | 中国航空工业集团公司西安航空计算技术研究所 | High-safety configurable real-time data transmission framework supporting heterogeneous bus |
CN112433707B (en) * | 2020-11-30 | 2023-03-14 | 中国航空工业集团公司西安航空计算技术研究所 | High-safety configurable real-time data transmission framework supporting heterogeneous bus |
Also Published As
Publication number | Publication date |
---|---|
CN105553802B (en) | 2019-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104657212A (en) | Task scheduling method and system | |
CN103812949A (en) | Task scheduling and resource allocation method and system for real-time cloud platform | |
US9986036B2 (en) | Apparatus and method of operating a system | |
CN102692572B (en) | Airplane radiofrequency device electromagnetic compatibility analysis method based on time availability | |
CN112633562B (en) | Airport stand intelligent scheduling method | |
CN110209646A (en) | A kind of data platform system calculated based on real-time streaming | |
EP3131081A3 (en) | Methods, systems, and computer readable media for managing aircraft radiofrequency communications | |
US10171395B2 (en) | Aircraft message management system | |
CN111478839B (en) | Physical bus and operating system decoupled distributed aviation communication system | |
CN110083536B (en) | Test resource allocation method and device, electronic equipment and storage medium | |
CN105553802A (en) | Data real-time receiving method of heterogeneous avionics network and bus | |
CN111950859B (en) | Dynamic adaptation method and device for aviation communication data chain and storage medium | |
CN108462629B (en) | System and method for scheduling messages | |
CN105187490B (en) | A kind of transfer processing method of internet of things data | |
CN111369090A (en) | Freight flight stop allocation method, device, equipment and storage medium | |
CN105610621B (en) | A kind of method and device of distributed system architecture task level dynamic state of parameters adjustment | |
CN112734315B (en) | Aviation network planning method, aviation network planning equipment and storage medium | |
CN110609700B (en) | Distributed comprehensive modular avionics system configuration management system | |
CN109412868B (en) | Flight simulator network communication method based on dynamic interface | |
CN107360262B (en) | Software updating method and device | |
Wang et al. | Capacity evaluation method for parallel runway based on monte carlo simulation | |
CN109377589B (en) | Comprehensive modular avionics system resident application data monitoring system and monitoring method thereof | |
CN113032127A (en) | Multi-source data fusion system and method based on rules and credibility | |
US20160373367A1 (en) | System and method for identifying performance characteristics in asynchronous networks | |
CN112887998B (en) | Virtual link distribution method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |