CN109104386A - A kind of timing transmission method of big data quantity communication - Google Patents
A kind of timing transmission method of big data quantity communication Download PDFInfo
- Publication number
- CN109104386A CN109104386A CN201811026074.7A CN201811026074A CN109104386A CN 109104386 A CN109104386 A CN 109104386A CN 201811026074 A CN201811026074 A CN 201811026074A CN 109104386 A CN109104386 A CN 109104386A
- Authority
- CN
- China
- Prior art keywords
- information
- sublayer
- fragment
- data
- layer
- 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
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
- H04L49/9057—Arrangements for supporting packet reassembly or resequencing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/321—Interlayer communication protocols or service data unit [SDU] definitions; Interfaces between layers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
The invention discloses a kind of timing transmission methods of big data quantity communication, comprising: realizes the data information transfer between application layer and bus layer by the inclusion of the transport layer of fragment sublayer, planning sublayer and asynchronous splicing function;When application layer is as data sender, target board address is determined according to the target interface of application program in application layer by planning sublayer, then Fragmentation is carried out to data information by fragment sublayer, and burst information is transferred to target board by the BIU in bus layer;When bus layer is as data sender, fragment sublayer carries out pack after obtaining burst information in BIU, corresponding application program target interface is determined by planning sublayer, then the burst information repeatedly received is carried out by pack operation by asynchronous splicing function, and corresponding application programs is waited to extract.The method achieve the data fragmentation pack work between ARINC659 bus layer and application layer, solve the problems, such as that the different cycles of operation design caused asynchronous receiving-transmitting between each board in bus.
Description
Technical field
The present invention relates to railway signal control system, a kind of timing transmission method of big data quantity communication belongs to
ARINC659 bussing technique field.
Background technique
ARINC-659 bus has general better than traditional cpu clock grade hardware synchronization and current railway signal control system
The synchronization mechanism synchronous all over the software task grade used, uniqueness, the complete system bus grade based on time triggering mode are same
Step and time planning technology, can make each node in bus reach high-precise synchronization, realize between software task with transmission information
The unification of smooth linking is orderly, stablizes accurately synchronous matching.
ARINC659 is using the logical of table- driven ratio access (Table Driven Proportional Access, TDPA)
Letter mechanism, according to time determinability principle, bus time is divided into a series of window.Bus operation is according to the scheduled time
Command table executes, and data transmission is dispatched according to transmission pre-set in table memory to be carried out.But since each window is every
The maximum data limited length transmitted in a timeslice, when the data volume for needing to transmit is larger, the subpackage group packet of data
Conspiracy relation between timing and system application processing primary period can be complex with matching mechanisms.
Therefore, in order to make research staff that energy to be preferably placed on to the application obscure portions of software, the work of research staff is reduced
Amount, increases the applicability of system, need to study and develop on the basis of ARINC659 bus is based on time table- driven transmission data
A kind of timing transmission method of big data quantity communication out.
Summary of the invention
The object of the present invention is to provide a kind of timing transmission methods of big data quantity communication, in ARINC659 bus layer and use
Between the application layer of family, exploitation Data transport layer protocol carries out fragment and pack management to data, to solve based on ARINC659
The processing of recipient and sender to larger data in the data transmission of bus communication.
The purpose of the present invention is what is be achieved through the following technical solutions:
The timing transmission method of a kind of big data quantity communication, comprising: by the inclusion of fragment sublayer, planning sublayer and asynchronous
Splice the transport layer of function to realize the data information transfer between application layer and bus layer;
When application layer is as data sender, data information memory transmitted by application program in application layer is by transport layer
Interface message determines target board address according to the target interface ID in interface message by planning sublayer, then passes through fragment
Sublayer carries out Fragmentation to data information, and sends the ARINC659 in bus layer for the burst information that Fragmentation generates
On Bus Interface Unit BIU and then it is transferred to target board;
When application layer is as data information recipient, fragment sublayer assembles them into after obtaining burst information in BIU
Interface message searches corresponding receiving queue by the target interface ID in interface message by planning sublayer, will be in interface message
Object information be stored in receiving queue;It will repeatedly be received and stored when application layer starts to receive, then through asynchronous splicing function
Object information in receiving queue carries out asynchronous concatenation, submits to application layer.
As seen from the above technical solution provided by the invention, it realizes between ARINC659 bus layer and application layer
The work of data fragmentation pack solves the problems, such as that the different cycles of operation design caused asynchronous receiving-transmitting between each board in bus.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of schematic diagram of the timing transmission method of big data quantity communication provided in an embodiment of the present invention;
Fig. 2 is the schematic illustration of asynchronous splicing function provided in an embodiment of the present invention;
Fig. 3 is the overall construction drawing of each data information format provided in an embodiment of the present invention;
Communication sequence diagram of the Fig. 4 between task provided in an embodiment of the present invention.
Specific embodiment
With reference to the attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on this
The embodiment of invention, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, belongs to protection scope of the present invention.
The embodiment of the present invention provides a kind of timing transmission method of big data quantity communication, as shown in Figure 1, passing through in this method
Transport layer realizes the data information transfer between application layer and bus layer.
The application layer, the application program including user realize main logical process function.
The transport layer provides the function of the fragment pack of transmission data, coffret for upper-layer user (application layer)
With the asynchronous communication processing function between management function and application layer;The layer includes: fragment sublayer, planning sublayer and asynchronous
Splice function.
The bus layer is realized ARINC659 bus transfer function, is realized by bottom layer driving;The layer includes OSI network seven
Physical layer, link layer and the network layer of layer protocol.
When application layer is as data sender, data information memory transmitted by application program in application layer is by transport layer
Interface message determines target board address according to target interface ID in interface message by planning sublayer, then passes through fragment
Layer carries out Fragmentation to data information, and to be sent to the ARINC659 in bus layer total for the burst information that Fragmentation is generated
On line interface unit (Bus Interface Unit, BIU) and then it is transferred to target board;
When application layer is as data information recipient, fragment sublayer assembles them into after obtaining burst information in BIU
Interface message searches corresponding receiving queue by the target interface ID in interface message by planning sublayer, will be in interface message
Object information be stored in receiving queue;It will repeatedly be received and stored when application layer starts to receive, then through asynchronous splicing function
Object information in receiving queue carries out asynchronous concatenation, submits to application layer.
In the embodiment of the present invention, target board address is determined according to target interface ID in interface message by planning sublayer,
To which target interface ID is converted to target board address, in order to when bus transfer according to target board addressing of address.
For ease of description, with reference to the accompanying drawing with subordinate list to fragment sublayer, planning sublayer and the asynchronous spelling in transport layer
The format of each information is introduced in connection function and transmission process.
1, sublayer (Plan sub Layer, PL) is planned.
Planning sublayer is for inquiring target board address corresponding to different application interface.Application layer transmits and receives information
When, planning sublayer need to only be numbered according to application programming interfaces, can find corresponding target board address, carry out data receipts
Hair.
2, fragment sublayer (Fragment sub Layer, FL).
Because bus transfer data size is limited, the information for needing application program to send carries out fragment and pack operates, point
Piece sublayer is for realizing fragment and pack function;When sending data, fragment sublayer sends interface message fragment on BIU;It connects
When receiving data, fragment sublayer receives burst information in queue, and by individual pack thread pack, pack is finished, stored
Come, application program is waited to transmit outward when extracting.
3, asynchronous splicing (Asynchronous Joint, AJ).
Asynchronous splicing function realizes that the different cycles of operation design caused asynchronous receiving-transmitting problem between board.As shown in Fig. 2,
The recipient of communication should use asynchronous splicing function, pass through one or many transmissions of pack operation handlebar sender (bus layer)
Fragment is stitched together, and spelling group is disposably submitted after finishing again when recipient's (application layer) collects data.
4, data format.
A) object information (Message Object, MObj) and object information group (Group of Message Object,
GMObj)
Interface B1 shown in Fig. 1 refers to the interface protocol communicated between application layer.
The data information that the application layer is sent is object information group;Object information group is by one or more object informations
And the count packages of object information are constituted;The object information includes: object ID, data length and the data to be transmitted;Institute
State the call number appointed between ID or board of the object ID using the affiliated PERCOM peripheral communication object of communication data.
As shown in table 1, it is the format of object information:
1 object information format of table
Multiple MObj may be sent due to once sending between application layer, should include MObj quantity and multiple MObj, use
" object information group " shown in table 2 encapsulates the above content, i.e., the numerical value of all " quantity " fields is added, all " MObj-n " words
The content adhesion of section;One object information group may include 1-100 object information MObj.
Serial number | Field | Length | Explanation | Offset |
1. | Quantity | 2 | MObj quantity n ∈ [1,100], (only with the 2nd byte) | 0 |
2. | MObj-1 | 2 | ||
3. | MObj-2 | |||
4. | … | |||
5. | MObj-n |
2 object information group format of table
B) interface message (Message Interface, MIf)
Interface A1 shown in Fig. 1 refers to the interface protocol of transport layer and application layer.
Application program includes to the data information that planning sublayer is sent: object information group, length (comprising all fields) with
And target interface ID (Interface, If);
As shown in table 3, in application layer and transport layer between plan that sublayer length, target interface ID are (i.e. described above
If), tri- segment information of GMObj is interacted as interface;
Planning sublayer stores above-mentioned three segment information received using interface message form, meanwhile, it is this interface message
Definition is for identifying the sequence number of this interface message uniqueness, the source ID for identifying corresponding application programs address and school
Test the check code of information transmission correctness;Check code therein does not include length and check code field.
3 interface message format of table
C) burst information
Interface A2 shown in Fig. 1 refers to the interface protocol of transport layer and bus layer.
Fragment sublayer by Fragmentation by 1 interface message be split as multiple MIf segments (Fragment of MIf,
FMIf), and using 1 burst information (MFrag) 1 FMIf is encapsulated;The slice header (Fragment Head, FH) of MFrag includes
All information needed for FMIf pack.
As shown in table 4, fragment sublayer to the burst information that BIU is transmitted include: length, check code, sequence number, source ID, mesh
Tag splice mouth ID, fragment sum, fragment serial number, burst information;Wherein:
The length includes all fields;
The check code does not include length and check code field, the correctness for check information transmission;
The sequence number, source ID and target interface ID are identical as in interface message;
The fragment sum indicates the fragment quantity after docking message breath fragment;
The fragment serial number indicates position of the burst information in interface message fragment group.
4 burst information format of table
As shown in figure 3, being the overall construction drawing of above-mentioned each data information format.
On the other hand, it in the embodiment of the present invention, for the cooperation between the different levels of realization agreement, designs as shown in Figure 4
Multi job mode, i.e. multithread mode, the thread of different priorities are respectively completed the different piece task of the above process, will pass
Defeated process is split as three tasks, comprising: user task (by taking 200ms as an example), pack task (by taking 20ms as an example), transmitting-receiving task
(by taking 10ms as an example).
The user task, for realizing the function of application layer;When application layer is as data sender, pass through planning
Layer according in application layer send data information target interface determine target board address, then pass through fragment sublayer logarithm it is believed that
Breath carries out Fragmentation;When application layer is as data information recipient, will repeatedly be received and stored by asynchronous splicing function
Object information in the queue carries out asynchronous concatenation.
The transmitting-receiving task includes: to be transferred on BIU and then be transferred to target board burst information, and from BIU
Obtain burst information.
The pack task for each burst information to be assembled into interface message, and is connect by the target in interface message
Mouth is searched corresponding receiving queue and is stored.
Above scheme of the embodiment of the present invention mentions on the basis of ARINC659 bus is based on time table- driven transmission data
A kind of timing transmission method for having supplied big data quantity communication, by being carried out to the data transmitted between user application layer and bus layer
Planning management, fragment pack solve in the data transmission based on ARINC659 bus communication recipient and sender to larger
The different cycles of operation design caused asynchronous receiving-transmitting problem between each board in the processing and bus of data.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment can
The mode of necessary general hardware platform can also be added to realize by software by software realization.Based on this understanding,
The technical solution of above-described embodiment can be embodied in the form of software products, which can store non-easy at one
In the property lost storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
Within the technical scope of the present disclosure, any changes or substitutions that can be easily thought of by anyone skilled in the art,
It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claims
Subject to enclosing.
Claims (5)
1. a kind of timing transmission method of big data quantity communication characterized by comprising by the inclusion of fragment sublayer, planning
The transport layer of layer and asynchronous splicing function realizes the data information transfer between application layer and bus layer;
When application layer is as data sender, data information memory transmitted by application program in application layer is interface by transport layer
Information determines target board address according to the target interface ID in interface message by planning sublayer, then passes through fragment sublayer
Fragmentation is carried out to data information, and sends the ARINC659 bus in bus layer for the burst information that Fragmentation generates
On interface unit BIU and then it is transferred to target board;
When application layer is as data information recipient, fragment sublayer assembles them into interface after obtaining burst information in BIU
Information searches corresponding receiving queue by the target interface ID in interface message by planning sublayer, by pair in interface message
Image information is stored in receiving queue;It will be repeatedly received and stored on when application layer starts to receive, then through asynchronous splicing function
The object information received in queue carries out asynchronous concatenation, submits to application layer.
2. a kind of timing transmission method of big data quantity communication according to claim 1, which is characterized in that the application layer
The data information that middle application program is sent is object information group;Object information group is believed by one or more object informations and object
The count packages of breath are constituted;The object information includes: object ID, data length and the data to be transmitted;The object ID
The call number appointed between ID or board using the affiliated PERCOM peripheral communication object of communication data.
3. a kind of timing transmission method of big data quantity communication according to claim 2, which is characterized in that application program to
The data information that planning sublayer is sent includes: object information group, length and target interface ID;Length therein includes all words
The length of section;
Planning sublayer stores above-mentioned three segment information received using interface message form, meanwhile, it is defined for this interface message
For identifying the sequence number of this interface message uniqueness, the source ID for identifying corresponding application programs address and verification letter
Cease the check code of transmission correctness;Check code therein does not include length and check code field.
4. a kind of timing transmission method of big data quantity communication according to claim 3, which is characterized in that fragment sublayer to
The burst information of BIU transmission includes: length, check code, sequence number, source ID, target interface ID, fragment sum, fragment serial number, divides
Piece information;Wherein:
The length includes all fields;
The check code does not include length and check code field, the correctness for check information transmission;
The sequence number, source ID and target interface ID are identical as in interface message;
The fragment sum indicates the fragment quantity after docking message breath fragment;
The fragment serial number indicates position of the burst information in interface message fragment group.
5. a kind of timing transmission method of big data quantity communication according to claim 1-4, which is characterized in that should
Method further includes multi job mode, i.e. multithread mode, and the thread of different priorities is respectively completed the different piece of transmission process
Transmission process is split as three tasks by task:
User task, when application layer is as data sender, by planning sublayer according to transmission data information in application layer
Target interface determines target board address, then carries out Fragmentation to data information by fragment sublayer;When application layer conduct
When data information recipient, asynchronous concatenation repeatedly received object information will be carried out by asynchronous splicing function;
The transmitting-receiving task includes: that burst information is transferred on BIU and then is transferred to target board, and is obtained from BIU
Burst information;
Each burst information is assembled into interface message, and passes through the target interface lookup pair in interface message by the pack task
The receiving queue answered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811026074.7A CN109104386B (en) | 2018-09-04 | 2018-09-04 | Time-sharing transmission method for large data volume communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811026074.7A CN109104386B (en) | 2018-09-04 | 2018-09-04 | Time-sharing transmission method for large data volume communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109104386A true CN109104386A (en) | 2018-12-28 |
CN109104386B CN109104386B (en) | 2021-02-19 |
Family
ID=64865072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811026074.7A Active CN109104386B (en) | 2018-09-04 | 2018-09-04 | Time-sharing transmission method for large data volume communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109104386B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115460164A (en) * | 2022-08-20 | 2022-12-09 | 西安翔腾微电子科技有限公司 | Package packing method based on ARINC664 protocol |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002297531A (en) * | 2001-03-29 | 2002-10-11 | Mitsubishi Heavy Ind Ltd | Connection system of avionics apparatus for use in aircraft |
CN102566414A (en) * | 2011-12-13 | 2012-07-11 | 中国航空工业第六一八研究所 | Method for reducing transmission time delay of distributed redundancy control system |
CN103577154A (en) * | 2012-07-26 | 2014-02-12 | 中国航空工业集团公司第六三一研究所 | ARINC 659 protocol based instruction decoding method |
CN105608039A (en) * | 2015-12-10 | 2016-05-25 | 中国航空工业集团公司西安航空计算技术研究所 | FIFO and ARINC659 bus based dual-redundancy computer period control system and method |
-
2018
- 2018-09-04 CN CN201811026074.7A patent/CN109104386B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002297531A (en) * | 2001-03-29 | 2002-10-11 | Mitsubishi Heavy Ind Ltd | Connection system of avionics apparatus for use in aircraft |
CN102566414A (en) * | 2011-12-13 | 2012-07-11 | 中国航空工业第六一八研究所 | Method for reducing transmission time delay of distributed redundancy control system |
CN103577154A (en) * | 2012-07-26 | 2014-02-12 | 中国航空工业集团公司第六三一研究所 | ARINC 659 protocol based instruction decoding method |
CN105608039A (en) * | 2015-12-10 | 2016-05-25 | 中国航空工业集团公司西安航空计算技术研究所 | FIFO and ARINC659 bus based dual-redundancy computer period control system and method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115460164A (en) * | 2022-08-20 | 2022-12-09 | 西安翔腾微电子科技有限公司 | Package packing method based on ARINC664 protocol |
CN115460164B (en) * | 2022-08-20 | 2023-11-10 | 西安翔腾微电子科技有限公司 | ARINC664 protocol-based packet forming method |
Also Published As
Publication number | Publication date |
---|---|
CN109104386B (en) | 2021-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106357421B (en) | The method and apparatus for transmitting the Business Stream of flexible Ethernet | |
CN104579862B (en) | Data communication network for aircraft | |
CN102035822B (en) | Avionic ASM (automatic storage management) protocol controller and control method | |
CN105264509A (en) | Adaptive interrupt coalescing in a converged network | |
CN105978997A (en) | Data transmission method and system | |
CN104899085B (en) | A kind of data processing method and device | |
CN104579864B (en) | Data communication network for aircraft | |
CN106330630A (en) | Method for flexibly transmitting data stream of Ethernet, transmitter and receiver | |
CN110069441A (en) | A kind of FPGA network and stream calculation System and method for for stream calculation | |
CN103001846B (en) | Embedded end-to-end delay information for data network | |
CN105847108A (en) | Method and apparatus for communication between containers | |
CN103365810B (en) | The method and apparatus that flash memory devices programming time is reduced in C.A.N. buses | |
CN106201715A (en) | A kind of method for scheduling task and device | |
CN109219019A (en) | Train Communication Network multi-hop dispatching method based on Ethernet | |
CN109417533A (en) | Send the method and forwarding device of data | |
CN105190530A (en) | Transmitting hardware-rendered graphical data | |
CN105610730A (en) | Method and system for message interaction between CPU and network equipment | |
CN101110780A (en) | Method, device and system for transmitting control data flow | |
CN109104386A (en) | A kind of timing transmission method of big data quantity communication | |
CN111209240A (en) | Data transmission method, electronic equipment and storage medium | |
CN105763411B (en) | Method and device for establishing multicast tunnel | |
CN107508787A (en) | A kind of task executing method, apparatus and system | |
CN108833436B (en) | Communication control method for realizing equipment communication interconnection | |
CN106293996B (en) | Method of data synchronization, main equipment, alternate device and system | |
US8594101B2 (en) | Packet relay apparatus and packet relay method |
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 |