CN102347955A - Reliable data transmission protocol based on virtual channels - Google Patents
Reliable data transmission protocol based on virtual channels Download PDFInfo
- Publication number
- CN102347955A CN102347955A CN201110339901XA CN201110339901A CN102347955A CN 102347955 A CN102347955 A CN 102347955A CN 201110339901X A CN201110339901X A CN 201110339901XA CN 201110339901 A CN201110339901 A CN 201110339901A CN 102347955 A CN102347955 A CN 102347955A
- Authority
- CN
- China
- Prior art keywords
- data
- frame
- reliable
- veneer
- board
- 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.)
- Pending
Links
Images
Landscapes
- Communication Control (AREA)
Abstract
The invention relates to a reliable data transmission protocol based on virtual channels, applicable to system inter-board communication with a relatively low packet loss, and is a reliable and high efficient data transmission mode. The mode of the protocol message comprises a target port and a resource port, for virtualizing the plurality of channels; a protocol process mark, for representing a category of current frame; a serial number, wherein the serial number is accumulated with a fixed value for one time after the data of one frame is transmitted so as to ensure the accurate transmission of the data; and a data byte number and payload data. The protocol provided by the invention is a simple data reliable transmission protocol, and is a bidirectional full duplex data reliable transmission protocol based on the system inter-board communication. The reliable data transmission protocol based on virtual channels can effectively solve the problem of data communication between single boards, is applicable to the data communication channels of all unreliable communication, and has great advantages in data transmission links, such as HDLC (High-level Data Link Control), Ethernet link layer and the like. And simultaneously, the reliable data transmission protocol based on virtual channels also supports the reliable transmission of UDP (User Datagram Protocol) message, and has strong portability.
Description
Technical field
The present invention relates to reliable data transmission agreement in the digital communicating field, more particularly, relate to a kind of reliable data transmission agreement, be applicable to the system-level communication between plates that packet loss is lower based on tunnel, be a kind of reliably, data transfer mode efficiently.
Background technology
In open systems interconnection reference (OSI) model, data link layer is one deck between physical layer and network layer, and its purpose is exactly on physical link, data frame transfer to be arrived an other end, comprising transmission error processing, Flow Control processing etc.But data link layer is unreliable transport layer, and it can only guarantee the correctness of data, but can't guarantee reliable data transmission.So realize the reliable transmission of data, must have other agreements to guarantee.
In the reliable transmission technical scheme of system-level communication between plates, mainly contain following several kinds:
1)TCP
TCP can provide reliable data communication between the veneer for system.TCP is based on connection, is to need receiving terminal to send an affirmation in the transmission data, and it can handle IP message out of order and re-transmission simultaneously, and verification and flow control are provided.Through these modes, TCP provides a cover reliable transmission plan.
2)RDP
RDP agreement (RFC-908) is a kind of reliable transport protocol of simplification, and it is a kind of connection-oriented host-host protocol, and it mainly designs for the host monitor application program such as download is uploaded and effective bulk data transmission is carried out in remote debugging.RDP provides a full-duplex communication passage for each transport layer connectivity port, and it attempts reliable all user profile of sending, in case send failure, will be to the user report mistake.
3)UDT
UDT is a kind of host-host protocol of internet data.The main purpose of UDT is the mass data transfers of supporting on the high-speed wan, is built on the UDP, and has introduced and blocked control and data reliability controlling mechanism.UDT is connection-oriented two-way application layer protocol.It supports reliable data flow transmission and part datagram transmission reliably, simultaneously, also can be applied to other application, point-to-point technology (P2P) for example, and fire compartment wall penetrates, multi-medium data transmission or the like.
But there has been certain defective in agreements such as TCP, RDP, UDT:
(1) realizes complicacy
These agreements realize very complicated, need protocol stack.For the communication between plates of (such as HDLC) in the system that does not have protocol stacks such as TCP/IP, can't effectively support.
(2) need connection management mechanism
The veneer of system all can initialize communication interface after the startup, does not need to connect.If added connection mechanism, just need the administrative mechanism that connects again after the veneer exceptional reset is overlapped in realization one, this obviously is to have increased complexity for the communication between veneer.
(3) can't fictionalize a plurality of passages
Do not having in the system of TCP/IP, with HDLC communication, on same physical link, will realize a plurality of passages such as directly, current mechanism can't be supported a plurality of passages.
Summary of the invention
The objective of the invention is to solve problem set forth above, provide a kind of and can effectively solve data communication between veneer, be suitable for the reliable data transmission agreement based on tunnel of the data communication channel of all unreliable transmission.
Technical scheme of the present invention is such:
A kind of reliable data transmission agreement based on tunnel, the form of this protocol massages comprises:
Destination interface, source port are used for virtual a plurality of passage;
The protocol processes mark is used to show the classification of present frame;
Sequence number, every biography is finished frame data, and sequence number carries out a definite value and adds up, and is used to guarantee the correct transmission of data;
And data word joint number, payload data.
As preferably, this agreement is arranged between the data link layer and application layer in open systems interconnection reference (OSI) model.
As preferably, communication equipment utilizes the data link layer in the osi model, provides data to transmit end to end.
As preferably, communication equipment utilizes the application layer operation application software in the osi model, through calling described agreement transmitting-receiving application data.
As preferably, sequence number is used to guarantee the correct transmission of data, specifically comprises handling frame losing, re-transmission, out of order, data corruption.
As preferably, every biography is finished frame data, and sequence number adds one.
A kind of method of bi-directional full-duplex transfer of data of communication between plates of system, based on the reliable data transmission agreement of tunnel, step is following:
1) veneer A and the described agreement of board B initialization;
2) veneer A is sent first frame data to board B;
3) board B is replied first frame data;
4) veneer A is sent subsequent data frame;
5) board B is replied veneer A according to protocol processes mark, sequence number;
6) veneer A is sent the tail frame to board B;
7) board B is replied the tail frame data;
8) veneer A is sent the end mark frame;
9) after board B is received end mark, pass to application layer to the complete package data that receives, the end of transmission.
As preferably, described replying based on ack responds.
As preferably, described step 4), 5), 6) specifically: the each fixedly frame number that sends of veneer A, board B is replied veneer A according to protocol processes mark, sequence number; Integrated circuit board A judges whether the tail frame, if then carry out step 6), otherwise the circulation above-mentioned steps.
Beneficial effect of the present invention is following:
Agreement of the present invention is a kind of simple reliable data transmission agreement, is a kind of bi-directional full-duplex reliable data transmission agreement of the communication between plates based on system.Can effectively solve data communication between veneer, be suitable for the data communication channel of all unreliable transmission, transmission has very big advantage on data link such as HDLC, ethernet link layer.Simultaneously, it also is supported in the reliable transmission of UDP message, has very strong transplantability.
During communication between system-level veneer, need possess following characteristics:
1) realizes simply;
2) reliable transmission;
3) support does not have the system of ICP/IP protocol stack;
4) do not need connection management;
5) can support a plurality of tunnels on the physical channel.
Description of drawings
Fig. 1 is the hierarchical diagram of agreement of the present invention;
Fig. 2 is the format structure figure of protocol massages of the present invention;
Fig. 3 is the flow chart that agreement of the present invention is used to transmit.
Embodiment
Below in conjunction with accompanying drawing embodiments of the invention are further elaborated:
A kind of reliable data transmission agreement based on tunnel, the form of this protocol massages comprises:
Destination interface, source port are used for virtual a plurality of passage;
The protocol processes mark is used to show the classification of present frame;
Sequence number, every biography is finished frame data, and sequence number carries out a definite value and adds up, and is used to guarantee the correct transmission of data;
And data word joint number, payload data.
This agreement is arranged between the data link layer and application layer in open systems interconnection reference (OSI) model.
Communication equipment utilizes the data link layer in the osi model, provides data to transmit end to end.
Communication equipment utilizes the application layer operation application software in the osi model, through calling described agreement transmitting-receiving application data.
Sequence number is used to guarantee the correct transmission of data, specifically comprises handling frame losing, re-transmission, out of order, data corruption.
Every biography is finished frame data, and sequence number adds one.
A kind of method of bi-directional full-duplex transfer of data of communication between plates of system, based on the reliable data transmission agreement of tunnel, step is following:
1) veneer A and the described agreement of board B initialization;
2) veneer A is sent first frame data to board B;
3) board B is replied first frame data;
4) veneer A is sent subsequent data frame;
5) board B is replied veneer A according to protocol processes mark, sequence number;
6) veneer A is sent the tail frame to board B;
7) board B is replied the tail frame data;
8) veneer A is sent the end mark frame;
9) after board B is received end mark, pass to application layer to the complete package data that receives, the end of transmission.
Described replying based on ack responds.
Described step 4), 5), 6) specifically: the each transmission of veneer A is frame number fixedly, and board B is replied veneer A according to protocol processes mark, sequence number; Integrated circuit board A judges whether the tail frame, if then carry out step 6), otherwise the circulation above-mentioned steps.
SRDP is a kind of bi-directional full-duplex reliable data transmission agreement of the communication between plates based on system.
The hierarchy of SRDP shown in Figure 1, wherein, data link layer provides data to transmit end to end; SRDP is arranged between data link layer and the application layer, and the reliable transmission of data is provided; Application layer operation application software is through calling SRDP interface transmitting-receiving application data.
The form of SRDP protocol massages shown in Figure 2, wherein destination interface, source port are used for virtual a plurality of passage; The protocol processes mark, being used to show is information such as first frame, Ack, tail frame; Reliable data transmission protocol massages form based on tunnel; Sequence number, every frame adds 1, is used to guarantee the correct transmission of data, specifically comprises handling frame losing, re-transmission, out of order, data corruption etc.;
Wherein, it is specific as follows that destination interface, source port are used for virtual a plurality of passage: when transmitting terminal is selected some tunnels, through tabling look-up, obtain the corresponding destination interface of this tunnel, source port, send after being filled into heading then.Receiving terminal obtains destination interface and the source port in the message, through tabling look-up, obtains tunnel number.
Transferring data to board B with veneer A below is example, the detailed step of the method for the bi-directional full-duplex transfer of data of the communication between plates of illustrative system:
1) A and B initialization SRDP program;
2) the A application layer need be transmitted bag data to B;
3) A sends first frame data to B;
4) B replys first frame data;
5) A sends subsequent data frame according to certain strategy;
6) B replys A according to information such as protocol processes mark, sequence numbers according to certain strategy;
7) A sends the tail frame to B;
8) B replys the tail frame data;
9) A sends the end mark frame;
10) after B receives end mark, pass to application layer to the complete package data that receives;
11) end of transmission.
The flow process of whole process is as shown in Figure 3, wherein:
Fst representes first frame data, and Ack representes to reply, and Frm representes the Frame of intermediate conveyor, and Fin representes the tail frame, and Eof representes end mark.
Above-mentioned whole process may be summarized to be A according to the transmission of unpacking of SRDP agreement, and B replys the data that receive, if there is packet loss the centre, then according to the SRDP protocols retransmit.
The described strategy of step 6) wherein is specially: the each fixedly frame number that sends of veneer A, and board B is replied veneer A according to protocol processes mark, sequence number; Integrated circuit board A judges whether the tail frame.If then A sends the tail frame to B, otherwise the circulation above-mentioned steps is sent the tail frame to board B until veneer A.
Equally, B also can accomplish through above-mentioned steps if send data to A.
Above-described only is preferred implementation of the present invention; Should be pointed out that the those of ordinary skill in the art, under the prerequisite that does not break away from core technology characteristic of the present invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.
Claims (9)
1. reliable data transmission agreement based on tunnel is characterized in that the form of this protocol massages comprises:
Destination interface, source port are used for virtual a plurality of passage;
The protocol processes mark is used to show the classification of present frame;
Sequence number, every biography is finished frame data, and sequence number carries out a definite value and adds up, and is used to guarantee the correct transmission of data;
And data word joint number, payload data.
2. the reliable data transmission agreement based on tunnel according to claim 1 is characterized in that, this agreement is arranged between the data link layer and application layer in open systems interconnection reference (OSI) model.
3. the reliable data transmission agreement based on tunnel according to claim 2 is characterized in that communication equipment utilizes the data link layer in the osi model, provides data to transmit end to end.
4. the reliable data transmission agreement based on tunnel according to claim 2 is characterized in that, communication equipment utilizes the application layer operation application software in the osi model, through calling described agreement transmitting-receiving application data.
5. the reliable data transmission agreement based on tunnel according to claim 1 is characterized in that sequence number is used to guarantee the correct transmission of data, specifically comprises handling frame losing, re-transmission, out of order, data corruption.
6. the reliable data transmission agreement based on tunnel according to claim 1 is characterized in that, every biography is finished frame data, and sequence number adds one.
7. the method for the bi-directional full-duplex transfer of data of the communication between plates of a system is characterized in that, based on the reliable data transmission agreement of tunnel, step is following:
1) veneer A and the described agreement of board B initialization;
2) veneer A is sent first frame data to board B;
3) board B is replied first frame data;
4) veneer A is sent subsequent data frame;
5) board B is replied veneer A according to protocol processes mark, sequence number;
6) veneer A is sent the tail frame to board B;
7) board B is replied the tail frame data;
8) veneer A is sent the end mark frame;
9) after board B is received end mark, pass to application layer to the complete package data that receives, the end of transmission.
8. method according to claim 7 is characterized in that, described replying based on ack responds.
9. method according to claim 7 is characterized in that, described step 4), 5), 6) specifically: the each fixedly frame number that sends of veneer A, board B is replied veneer A according to protocol processes mark, sequence number; Integrated circuit board A judges whether the tail frame, if then carry out step 6), otherwise the circulation above-mentioned steps.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110339901XA CN102347955A (en) | 2011-11-01 | 2011-11-01 | Reliable data transmission protocol based on virtual channels |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110339901XA CN102347955A (en) | 2011-11-01 | 2011-11-01 | Reliable data transmission protocol based on virtual channels |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102347955A true CN102347955A (en) | 2012-02-08 |
Family
ID=45546243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110339901XA Pending CN102347955A (en) | 2011-11-01 | 2011-11-01 | Reliable data transmission protocol based on virtual channels |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102347955A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017202084A1 (en) * | 2016-05-25 | 2017-11-30 | 中兴通讯股份有限公司 | Network processor, network processing method and system, single board, and computer storage medium |
CN109428851A (en) * | 2017-07-06 | 2019-03-05 | 高德信息技术有限公司 | A kind of data transfer components and method |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1213444A (en) * | 1996-01-31 | 1999-04-07 | 伊普思龙网络公司 | Improved method and apparatus for dynamically shifting between routing select and switching packets in transmission network |
CN1481126A (en) * | 2002-09-24 | 2004-03-10 | 联想(北京)有限公司 | Ensuring method for controlling unified transmission between devices in sub network of household network |
CN1602017A (en) * | 2004-09-02 | 2005-03-30 | 上海交通大学 | Realtime medium access control method compatible with ethernet |
CN1809071A (en) * | 2006-02-20 | 2006-07-26 | 南京联创通信科技有限公司 | Method of implementing transmission of wireless PHS packet data |
CN1851644A (en) * | 2005-10-24 | 2006-10-25 | 华为技术有限公司 | Frame loading method |
CN1875588A (en) * | 2003-10-31 | 2006-12-06 | 西门子移动通讯公司 | Fast signalling procedure for streaming services quality of service managing in wireless networks |
CN1889529A (en) * | 2006-07-28 | 2007-01-03 | 华为技术有限公司 | Data transmitting method and apparatus |
CN101040471A (en) * | 2004-10-22 | 2007-09-19 | 思科技术公司 | Ethernet extension for the data center |
CN101075945A (en) * | 2006-05-19 | 2007-11-21 | 中国科学院沈阳自动化研究所 | Real-time Ethernet deterministic communication method |
CN101094162A (en) * | 2006-06-21 | 2007-12-26 | 华为技术有限公司 | Method for transferring media stream by using mode of removing out head part |
CN101453390A (en) * | 2008-12-30 | 2009-06-10 | 中兴通讯股份有限公司 | Test method and system for biplane double layer communication |
CN101516102A (en) * | 2008-02-20 | 2009-08-26 | 中兴通讯股份有限公司 | CDMA2000 BSC BOOT abnormal downloading method and system based on MCU |
CN101515861A (en) * | 2008-02-20 | 2009-08-26 | 中兴通讯股份有限公司 | Method and system for downloading base station single-board bootstrap program module based on MCU |
CN102025712A (en) * | 2009-09-15 | 2011-04-20 | 上海华为技术有限公司 | Data updating method, device and system |
CN102055767A (en) * | 2010-12-31 | 2011-05-11 | 杭州依赛通信有限公司 | Multiattribute transport protocol (MATP) for communication equipment management system |
CN102077626A (en) * | 2008-08-20 | 2011-05-25 | 符号技术有限公司 | System and method for wpan firewall |
CN102185754A (en) * | 2011-01-30 | 2011-09-14 | 广东佳和通信技术有限公司 | Method for upgrading board card in switch system |
-
2011
- 2011-11-01 CN CN201110339901XA patent/CN102347955A/en active Pending
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1213444A (en) * | 1996-01-31 | 1999-04-07 | 伊普思龙网络公司 | Improved method and apparatus for dynamically shifting between routing select and switching packets in transmission network |
CN1481126A (en) * | 2002-09-24 | 2004-03-10 | 联想(北京)有限公司 | Ensuring method for controlling unified transmission between devices in sub network of household network |
CN1875588A (en) * | 2003-10-31 | 2006-12-06 | 西门子移动通讯公司 | Fast signalling procedure for streaming services quality of service managing in wireless networks |
CN1602017A (en) * | 2004-09-02 | 2005-03-30 | 上海交通大学 | Realtime medium access control method compatible with ethernet |
CN101040471A (en) * | 2004-10-22 | 2007-09-19 | 思科技术公司 | Ethernet extension for the data center |
CN1851644A (en) * | 2005-10-24 | 2006-10-25 | 华为技术有限公司 | Frame loading method |
CN1809071A (en) * | 2006-02-20 | 2006-07-26 | 南京联创通信科技有限公司 | Method of implementing transmission of wireless PHS packet data |
CN101075945A (en) * | 2006-05-19 | 2007-11-21 | 中国科学院沈阳自动化研究所 | Real-time Ethernet deterministic communication method |
CN101094162A (en) * | 2006-06-21 | 2007-12-26 | 华为技术有限公司 | Method for transferring media stream by using mode of removing out head part |
CN1889529A (en) * | 2006-07-28 | 2007-01-03 | 华为技术有限公司 | Data transmitting method and apparatus |
CN101516102A (en) * | 2008-02-20 | 2009-08-26 | 中兴通讯股份有限公司 | CDMA2000 BSC BOOT abnormal downloading method and system based on MCU |
CN101515861A (en) * | 2008-02-20 | 2009-08-26 | 中兴通讯股份有限公司 | Method and system for downloading base station single-board bootstrap program module based on MCU |
CN102077626A (en) * | 2008-08-20 | 2011-05-25 | 符号技术有限公司 | System and method for wpan firewall |
CN101453390A (en) * | 2008-12-30 | 2009-06-10 | 中兴通讯股份有限公司 | Test method and system for biplane double layer communication |
CN102025712A (en) * | 2009-09-15 | 2011-04-20 | 上海华为技术有限公司 | Data updating method, device and system |
CN102055767A (en) * | 2010-12-31 | 2011-05-11 | 杭州依赛通信有限公司 | Multiattribute transport protocol (MATP) for communication equipment management system |
CN102185754A (en) * | 2011-01-30 | 2011-09-14 | 广东佳和通信技术有限公司 | Method for upgrading board card in switch system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017202084A1 (en) * | 2016-05-25 | 2017-11-30 | 中兴通讯股份有限公司 | Network processor, network processing method and system, single board, and computer storage medium |
CN109428851A (en) * | 2017-07-06 | 2019-03-05 | 高德信息技术有限公司 | A kind of data transfer components and method |
CN109428851B (en) * | 2017-07-06 | 2021-08-10 | 阿里巴巴(中国)有限公司 | Data transmission assembly and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7596144B2 (en) | System-on-a-chip (SoC) device with integrated support for ethernet, TCP, iSCSI, RDMA, and network application acceleration | |
US7836220B2 (en) | Network direct memory access | |
US8976814B2 (en) | Method of transporting data from sending node to destination node | |
CN101552785B (en) | CAN bus communication method based on message mechanism used for massive data transmission | |
CN107809415A (en) | Network isolation system and its implementation based on double half-duplex channel transmission technologys | |
CN107360177B (en) | A kind of message transmitting method and device based on UDP | |
WO2001018661A1 (en) | Software interface between a parallel bus and a packet network | |
CN106788894A (en) | Segmentation individual transmission method of calibration | |
CN107508828B (en) | A kind of very-long-range data interaction system and method | |
CN103501288B (en) | A kind of method that two-layer switching equipment is realized batch data upgrading | |
CN1988537A (en) | Data transmission protocol | |
CN101605128A (en) | The method that the LINUX master-slave equipment communicates by Ethernet interface | |
CN102347955A (en) | Reliable data transmission protocol based on virtual channels | |
EP1562115A2 (en) | Socket connections over a serial link | |
CN1223162C (en) | Transmission control apparatus and method for TCP/IP agreement group | |
CN103838691B (en) | Realize the method and common interface chip of high speed data transfer | |
CN107046452A (en) | A kind of data high bandwidth high reliability transport method | |
US9762353B2 (en) | Data packet for bidirectional transmission of data packets during data transmission between a first and a second communication appliance, and method for transmitting such a data packet | |
CN105721491B (en) | A kind of communication means for being emulated towards high speed Maglev | |
CN111464569B (en) | Ethernet data transmission method adopting custom protocol | |
CN100375421C (en) | Serial asynchronous interface with SLIP encoding/decoding and CRC checking function | |
CN100466506C (en) | Method of data transmission | |
Krimchansky et al. | The Geostationary Operational Satellite R Series SpaceWire Based Data System Architecture | |
Chen et al. | An improved rudp for data transmission in embedded real-time system | |
CN114449057A (en) | Data transmission method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120208 |