CN104735551B - ADVB receives fault-tolerant and processing method - Google Patents
ADVB receives fault-tolerant and processing method Download PDFInfo
- Publication number
- CN104735551B CN104735551B CN201310737826.1A CN201310737826A CN104735551B CN 104735551 B CN104735551 B CN 104735551B CN 201310737826 A CN201310737826 A CN 201310737826A CN 104735551 B CN104735551 B CN 104735551B
- Authority
- CN
- China
- Prior art keywords
- advb
- link
- data
- frame
- data frame
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 6
- 238000012545 processing Methods 0.000 claims abstract description 11
- 238000004891 communication Methods 0.000 claims abstract description 10
- 230000001360 synchronised effect Effects 0.000 claims description 10
- 241001269238 Data Species 0.000 claims description 5
- 238000005516 engineering process Methods 0.000 abstract description 3
- 238000000034 method Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64784—Data processing by the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
The invention belongs to computer communication technology, it is related to ADVB and receives fault-tolerant and processing method.The present invention has carried out detailed definition and explanation to the fault-tolerant processing state machine and its implementation of ADVB link receiving terminals.The present invention provides link error treatment mechanism, and fault characteristic and pattern are received according to ADVB(Interrupted including link lock-out, link error, 8B/10B code errors, crc error, image etc.), independent fault-tolerant processing state machine and corresponding control logic are designed, control logic is identified and handled to the various link errors of receiving terminal under the control of state machine.This law invention control is simple, it is easy to which hardware logic realizes, link failure or occurs under error situation, it is ensured that submit the correct and integrality of upper layer images data.
Description
Technical field
The invention belongs to computer communication technology, it is related to fault-tolerant processing mechanism and the realization side of ADVB communication link receiving terminals
Method.
Background technology
Aviation electronics digital video bus (ADVB) is for high bandwidth, low latency, the exploitation of uncompressed digital video transmission
A kind of video interface and consensus standard.Because ADVB links use one-way data transfer, receiving terminal is used by row buffering, shown by row
Show strategy, when link or the data received appearance mistake, will certainly cause to show disorderly by row output video image
Situation.Therefore, the fault-tolerant processing mechanism and implementation method of a kind of ADVB links receiving terminal need to be provided, with ensure link failure or
Incomplete vedio data under error situation occur will not submit to upper strata.
The content of the invention
It is an object of the present invention to provide a kind of ADVB receive fault-tolerant and processing method, when link failure or occur mistake
In the case of be able to ensure that incomplete vedio data will not be submitted to upper strata.
The present invention technical solution be:
A kind of ADVB receives fault-tolerant and processing method, comprises the following steps:
Step 1:ADVB receiving ports acquisition clock is synchronous, bit is synchronous, word is synchronous, link is in effective status;Again will
The data of the 10B codings got are converted to the data of 8B codings, and then 32bit digital datas are submitted into upper strata processing;
Step 2:If primitive SOFi1 or SOFi3 are detected in the content included in 32bit digital datas, to current
0 class object information in the vessel head that ADVB frames are included is parsed, and the counting in data frame counter is reset, into step
Rapid 3;Otherwise, continue to detect;
Step 3:ADVB receiving ports receive the video line image data information that the ADVB frames in container are included, and parse frame head
Information, judges SEQ_ID and SEQ_CNT numerical value, and current data frame count value is write in counter, while row is schemed
As data message submits upper strata processing;
During data are normally received:
If receiving terminal detects 8B/10B code errors, stop receives link data frame, return to step 1, under wait
The arrival of one complete data frame;
If receiving terminal detects crc error, error data frame is abandoned, return to step 2 waits next complete data frame
Arrival;
If the situation of lock-out, return to step 1 occurs in communication link, until reacquiring ADVB link synchronizations;
If open circuit conditions, return to step 1 occur in ADVB communication links, until reacquiring ADVB link synchronizations;
If receiving terminal does not arrive maximum to the ADVB frame counts in container and detects EOFt, data receiver is terminated,
Return to step 2, waits the arrival of next complete data frame;
If the SEQ_CNT numerical value that the data frame received from ADVB links is included is not to maximum count value and front and rear two
Secondary numerical value is discontinuous, then terminates data receiver, and return to step 2 waits the arrival of next complete data frame;
If receiving terminal does not arrive maximum to the ADVB frame counts in container and the SEQ_ID values of front and rear two frame are inconsistent,
Data receiver is terminated, return to step 2 waits the arrival of next complete data frame;
If the SOF field in the ADVB frames that receiving terminal is received is primitive SOFi1 or SOFi3, return to step 2.
It is an advantage of the invention that:
1st, the present invention proposes that a kind of ADVB receives control core function, it is adaptable among the design of various ADVB interfaces;
2nd, the state machine control that the inventive method is provided is clear and definite, it is easy to which hardware logic is realized;
3rd, the present invention can be in the real-time detection of link error;
4th, the present invention can guarantee that the correct and integrality for submitting upper layer images data.
Brief description of the drawings
Fig. 1 is ADVB receiving port faults-tolerant control state machine diagrams.
Embodiment
ADVB receiving ports provide link error treatment mechanism, and fault characteristic and pattern (including link are received according to ADVB
Lock-out, link error, 8B/10B code errors, crc error, image are interrupted etc.), design independent fault-tolerant processing state machine and
Corresponding control logic, control logic is identified and handled to the various link errors of receiving terminal under the control of state machine, really
Protecting link failure or incomplete vedio data under error situation occur will not submit to upper strata.
Link failure in ADVB receiving port DRP data reception processes is to false judgment in corresponding faults-tolerant control state machine
Control is lower to be carried out.
State machine is as shown in figure 1, state machine workflow journey is as follows:
State 0:
When the state is electric in the original state of state machine, initialization or reset, state machine enters the state.In the state
Under, ADVB receiving ports acquisition clock is synchronous, bit is synchronous, word is synchronous, link is in effective status;The 10B got is compiled
The data of code are converted to the data of 8B codings, and then 32bit digital datas are submitted into upper strata processing.If detecting primitive
SOFi1 or SOFi3, then state machine enter state 1;Otherwise, state 0 is rested on.
State 1:
The state judges state to obtain the container initial frame after ADVB link synchronizations, in this condition, receiving port etc.
Treat to detect SOFi1 or SOFi3 on link.If detecting the primitive sequence, in the vessel head included to current ADVB frames
0 class object information parsed, by data frame counter counting reset, state machine enter state 2;Otherwise, rest on
State 1.
State 2:
The state normally receives state for row view data in ADVB containers, in this condition, and receiving port receives container
In the video line image data information that includes of ADVB frames, parse frame originating point information, SEQ_ID and SEQ_CNT numerical value sentenced
It is disconnected, current data frame count value is write in counter, while row image data information is submitted into upper strata processing.It is normal in data
During reception, if receiving terminal detects 8B/10B code errors, state machine enters state 3;If receiving terminal detects CRC
Mistake, state machine enters state 4;If the situation of lock-out occurs in communication link, state machine enters state 5;If ADVB leads to
There are open circuit conditions in letter link, and state machine enters state 6;If receiving terminal the ADVB frame counts in container are not arrived maximum and
EOFt is detected, then state machine enters state 7;If the SEQ_CNT numerical value that the data frame received from ADVB links is included
Maximum count value is not arrived and front and rear numerical value twice is discontinuous, then state machine enters state 8;If if receiving terminal is in container
ADVB frame counts do not arrive maximum and the SEQ_ID values of front and rear two frame are inconsistent, then state machine enters state 9;If receiving termination
SOF field in the ADVB frames received is SOFi1 or SOFi3, then state machine returns to state 1.
State 3:
The state is state when 8B/10B code errors occur in ADVB communication links.In this condition, receiving terminal is detected
To 8B/10B code errors, stop receives link data frame, state machine returns to state 1, resumes waiting for next complete data frame
Arrive.
State 4:
The state is state when CRC check mistake occur in ADVB receiving terminals.In this condition, receiving terminal detects CRC
Check errors, abandon error data frame, and state machine returns to state 1, resumes waiting for the arrival of next complete data frame.
State 5:
The state is state when lock-out occur in ADVB communication links.In this condition, receiving terminal can not obtain link
Synchronous, state machine returns to state 0, until reacquiring ADVB link synchronizations.
State 6:
The state when state is ADVB link downs.In this condition, receiving terminal can not obtain link synchronization, state machine
Return state 0, until reacquiring ADVB link synchronizations.
State 7:
The state is situation when receiving terminal does not arrive maximum to the ADVB frame counts in container and detects EOFt.At this
Under state, what the data frame packet received contained is the data of video image center row, now detects EOFt, that is, receives representative most
The data of a line, then terminate data receiver afterwards, and state machine jumps to state 1.
State 8:
The state is state when data are discontinuous during ADVB is received.In this condition, received from ADVB links
SEQ_CNT numerical value not arrive maximum count value and front and rear numerical value twice discontinuous, then terminate data receiver, state machine jumps to shape
State 1.
State 9:
The state is that receiving terminal does not arrive maximum to the ADVB frame counts in container and the SEQ_ID values of front and rear two frame differ
Situation during cause.In this condition, what ADVB was received during receiving is not next frame data in container, then terminates data
Receive, state machine jumps to state 1.
Claims (1)
1. a kind of ADVB receives fault-tolerant and processing method, it is characterised in that:Comprise the following steps:
Step 1:ADVB receiving ports acquisition clock is synchronous, bit is synchronous, word is synchronous, link is in effective status;It will obtain again
To 10B coding data be converted to 8B coding data, and then by 32bit digital datas submit to upper strata processing, the ADVB
For aviation electronics digital video bus;
Step 2:If primitive SOFi1 or SOFi3 are detected in the content included in 32bit digital datas, to current ADVB
0 class object information in the vessel head that frame is included is parsed, and the counting in data frame counter is reset, into step 3;
Otherwise, continue to detect;
Step 3:ADVB receiving ports receive the video line image data information that the ADVB frames in container are included, parsing frame head letter
Breath, judges SEQ_ID and SEQ_CNT numerical value, by current data frame count value write-in counter, while by row image
Data message submits upper strata processing;
During data are normally received:
If receiving terminal detects 8B/10B code errors, stop receives link data frame, return to step 1 is waited next complete
The arrival of entire data frame;
If receiving terminal detects crc error, error data frame is abandoned, return to step 2 waits arriving for next complete data frame
Come;
If the situation of lock-out, return to step 1 occurs in communication link, until reacquiring ADVB link synchronizations;
If open circuit conditions, return to step 1 occur in ADVB communication links, until reacquiring ADVB link synchronizations;
If receiving terminal does not arrive maximum to the ADVB frame counts in container and detects EOFt, data receiver is terminated, is returned
Step 2, the arrival of next complete data frame is waited;
If the SEQ_CNT numerical value that the data frame received from ADVB links is included is not to maximum count value and front and rear twice numbers
Value is discontinuous, then terminates data receiver, and return to step 2 waits the arrival of next complete data frame;
If receiving terminal does not arrive maximum to the ADVB frame counts in container and the SEQ_ID values of front and rear two frame are inconsistent, terminate
Data receiver, return to step 2 waits the arrival of next complete data frame;
If the SOF field in the ADVB frames that receiving terminal is received is primitive SOFi1 or SOFi3, return to step 2.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310737826.1A CN104735551B (en) | 2013-12-24 | 2013-12-24 | ADVB receives fault-tolerant and processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310737826.1A CN104735551B (en) | 2013-12-24 | 2013-12-24 | ADVB receives fault-tolerant and processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104735551A CN104735551A (en) | 2015-06-24 |
| CN104735551B true CN104735551B (en) | 2017-10-24 |
Family
ID=53458911
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310737826.1A Active CN104735551B (en) | 2013-12-24 | 2013-12-24 | ADVB receives fault-tolerant and processing method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104735551B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107947900B (en) * | 2017-11-24 | 2020-10-20 | 中国航空工业集团公司西安航空计算技术研究所 | Port state machine control circuit for ADVB protocol |
| CN112073342B (en) * | 2020-08-12 | 2023-06-16 | 成都华微电子科技股份有限公司 | Deadlock avoidance method for equalizer self-adaptive state machine |
| CN113315955B (en) * | 2021-03-04 | 2022-11-01 | 中国航空工业集团公司西安航空计算技术研究所 | ARINC818-2 receiving port error processing device and method |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102413322A (en) * | 2011-12-07 | 2012-04-11 | 中国航空无线电电子研究所 | Avionic digital video bus framing system and method based on line synchronization |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8341184B2 (en) * | 2008-05-07 | 2012-12-25 | Smooth Productions Inc. | Communications network system and service provider |
-
2013
- 2013-12-24 CN CN201310737826.1A patent/CN104735551B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102413322A (en) * | 2011-12-07 | 2012-04-11 | 中国航空无线电电子研究所 | Avionic digital video bus framing system and method based on line synchronization |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104735551A (en) | 2015-06-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7418524B2 (en) | Universal serial bus (USB) extension | |
| CN102831096B (en) | A kind of 1553B bus protocol IP kernel | |
| CN101146102B (en) | HDLC data uplink and downlink method and communication device in RRU network | |
| CN105187227B (en) | A kind of device using RMAP protocol realization CAN bus equipment plug and play | |
| CN111131091B (en) | A network-on-chip interconnection method and system between chips | |
| CN107395396A (en) | Redundant double-network-port configurable Ethernet IP core based on FPGA | |
| CN106502932B (en) | Method based on interconnecting interface and its write operation and read operation between layered | |
| CN107078931A (en) | By bus system from sender by the participant of the method for frame serial transmission at least one recipient and bus system | |
| KR102099789B1 (en) | Subscriber station for a bus system and method for transmitting messages between subscriber stations of a bus system | |
| CN104735551B (en) | ADVB receives fault-tolerant and processing method | |
| CN112187789A (en) | Data link protocol conversion system | |
| CN103024042A (en) | Avionics full duplex switched Ethernet (AFDX) terminal protocol stack, and data receiving and sending method thereof | |
| CN105187332B (en) | Multi-source data transmission method based on Zigbee network | |
| CN107168710B (en) | Embedded Linux serial port driver development method based on blocking receiving mechanism | |
| CN113792003A (en) | Single bus communication unit, system and method | |
| CN103873209B (en) | A kind of frame check mechanism for improving wireless communications efficiency | |
| CN103577378A (en) | Full-duplex asynchronous serial communication method | |
| JP2986798B2 (en) | Data transmission control method and data communication device | |
| CN113810071B (en) | Self-adaptive line sequence adjusting method, device, equipment, system and storage medium | |
| EP3319249A1 (en) | Transmission checking method, node, system and computer storage medium | |
| US9710420B2 (en) | System and method for improving the efficiency of a serial interface protocol | |
| CN100444595C (en) | A method of master-slave equipment communication | |
| CN102263884A (en) | A video image processor | |
| US8522104B2 (en) | Smart aging retry buffer | |
| US20050152386A1 (en) | Successful transactions |
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 |