CN102347955A - Reliable data transmission protocol based on virtual channels - Google Patents

Reliable data transmission protocol based on virtual channels Download PDF

Info

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
board
protocol
reliable
frame
Prior art date
Application number
CN201110339901XA
Other languages
Chinese (zh)
Inventor
周礼兵
胡慧锋
Original Assignee
杭州依赛通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州依赛通信有限公司 filed Critical 杭州依赛通信有限公司
Priority to CN201110339901XA priority Critical patent/CN102347955A/en
Publication of CN102347955A publication Critical patent/CN102347955A/en

Links

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

一种基于虚拟通道的可靠数据传输协议 Reliable data transfer protocol based on virtual channel

技术领域 FIELD

[0001] 本发明涉及数字通信领域中数据可靠传输协议,更具体地说,涉及一种基于虚拟通道的可靠数据传输协议,适用于丢包率较低的系统级的板间通信,是一种可靠、高效的数据传输方式。 [0001] The present invention relates to a reliable data transfer protocol in the field of digital communications, and more particularly, to a reliable data transfer protocol based on the virtual channel, packet loss rate for the lower-level inter-board communication system, a reliable and efficient data transmission.

背景技术 Background technique

[0002] 在开放系统互连参考(OSI)模型中,数据链路层是介于物理层和网络层之间一层,它的目的就是在物理链路上将数据帧传输到另外一端,其中包括了传输差错处理,流控处理等。 [0002] with reference to the Open Systems Interconnection (OSI) model, the data link layer is a layer interposed between the physical layer and network layer, its purpose is in the frame to the other end on a physical data link, wherein including the transmission error processing, flow control processing. 但是,数据链路层是不可靠传输层,它只能保证数据的正确性,但无法保证数据可靠传输。 However, the data link layer is unreliable transport, it can only guarantee the accuracy of the data, but can not guarantee reliable data transmission. 所以要实现数据的可靠传输,必须要有其他协议来保证。 So to achieve reliable transmission of data, there must be other protocols to insure.

[0003] 在系统级的板间通信的可靠传输技术方案中,主要有如下几种: [0003] System level between the board and reliable transmission in the communication aspect, there are several:

[0004] 1)TCP [0004] 1) TCP

[0005] TCP可以为系统的单板之间提供可靠的数据通信。 [0005] TCP provides reliable data communication between the system board. TCP是基于连接的,在传输数据是需要接收端发送一个确认,同时它能够处理乱序和重传的IP报文,提供校验和流量控制。 TCP is a connection-based data transmission is required in the receiving end sends an acknowledgment, and it can be processed out of order and retransmission IP packets, flow control, and providing the checksum. 通过这些方式,TCP提供了一套可靠的传输方案。 By these means, TCP provides a reliable transport scheme.

[0006] 2) RDP [0006] 2) RDP

[0007] RDP协议(RFC-908)是一种简化的可靠传输协议,它是一种面向连接的传输协议, 其主要设计来为主机监控应用程序如下载上传以及远程调试进行有效的大批数据传输。 [0007] RDP protocol (RFC-908) is a simplified reliable transport protocol, which is a connection-oriented transport protocol, which is designed primarily to upload such as downloading and remote host to monitor applications debugging effective bulk data transfer . RDP为每个传输层连接端口提供了一个全双工通信通道,它尝试可靠发送所有用户信息,一旦发送失败,将向用户报告错误。 RDP for each transport layer connection port provides a full-duplex communication channel, it attempts to reliably transmit all the user information, once the transmission fails, an error reported to the user.

[0008] 3)UDT [0008] 3) UDT

[0009] UDT是一种互联网数据的传输协议。 [0009] UDT is an Internet data transfer protocol. UDT的主要目的是支持高速广域网上的海量数据传输,建于UDP之上,并且引入了阻塞控制和数据可靠性控制机制。 UDT main purpose is to support high-speed mass data transmission over the WAN, built on top of UDP, and the introduction of congestion control and reliability of the control mechanism of data. UDT是面向连接的双向的应用层协议。 UDT is for bidirectional application layer protocol. 它支持可靠的数据流传输和部分可靠的数据报传输,同时,也可以应用到其它应用领域,例如点到点技术(P2P),防火墙穿透,多媒体数据传输等等。 It supports reliable data stream transmission and reliable data packet transfer section, while, can be applied to other applications, such as point to point technology (are P2P), firewall traversal, multimedia data transmission and the like.

[0010] 但TCP、RDP、UDT等协议存在了一定缺陷: [0010] However, TCP, RDP, UDT and other agreements exist some shortcomings:

[0011] ⑴实现复杂 [0011] ⑴ implement complex

[0012] 这些协议实现很复杂,需要有协议栈。 [0012] The protocol is very complex and require protocol stack. 对于没有TCP/IP等协议栈的系统上(比如HDLC)的板间通信,无法有效支持。 No room for the TCP / IP protocol stack and other systems (such as HDLC) communications board, can not be effectively supported.

[0013] (2)需要连接管理机制 [0013] (2) requires connection management mechanism

[0014] 系统的单板,启动后都会初始化通信接口,不需要连接。 [0014] The system board, after starting a communication interface will be initialized, need not be connected. 如果加入了连接机制,就需要实现一套单板异常复位后的重新连接的管理机制,这对于单板间的通信,显然是增加了复杂度。 If you add a connection mechanism, it is necessary to achieve the management mechanism to reconnect after a board error reset, which for communication between boards, apparently increases the complexity.

[0015] (3)无法虚拟出多个通道 [0015] (3) a plurality of virtual channels can not be

[0016] 在没有TCP/IP的系统上,比如直接用HDLC通信,要在同一个物理链路上要实现多个通道,现有机制无法支持多个通道。 [0016] in the absence of TCP / IP systems, such as direct communication with HDLC, to be on the same physical link to multiple channels, the existing mechanism can not support multiple channels. 发明内容 SUMMARY

[0017] 本发明的目的是解决以上提出的问题,提供一种可以有效的解决单板间数据通信,适合于所有不可靠传输的数据通信通道的基于虚拟通道的可靠数据传输协议。 Objective [0017] The present invention is made to solve the above problem, a method can effectively solve the inter-board communication data, reliable data based on the virtual channel are not suitable for reliable transmission of all data communication channel transmission protocol.

[0018] 本发明的技术方案是这样的: [0018] aspect of the present invention is such that:

[0019] 一种基于虚拟通道的可靠数据传输协议,该协议报文的格式包括: [0019] A reliable data transfer protocol based on the virtual channel, the format of the protocol message comprises:

[0020] 目的端口、源端口,用于虚拟多个通道; [0020] The destination port, source port, a plurality of virtual channels;

[0021] 协议处理标记,用于表明当前帧的类别; [0021] The protocol processing flag for indicating the category of the current frame;

[0022] 序列号,每传完一帧数据,序列号进行一次定值累加,用于保证数据的正确传输; [0022] serial number, each complete a data transfer, a transfer sequence number correctly cumulative value for ensuring data;

[0023] 以及数据字节数、净荷数据。 [0023] and the data bytes, payload data.

[0024] 作为优选,该协议布置在开放系统互连参考(OSI)模型中的数据链路层与应用层之间。 [0024] Advantageously, the arrangement of the Open Systems Interconnection protocol Reference (OSI) model between the data link layer and the application layer.

[0025] 作为优选,通信设备利用OSI模型中的数据链路层,提供数据端到端的传输。 [0025] Preferably as a data link layer, the communication device using the OSI model, providing end to end data transfer.

[0026] 作为优选,通信设备利用OSI模型中的应用层运行应用软件,通过调用所述的协议收发应用数据。 [0026] As application software running application-layer preferably, a communication device using the OSI model, protocol transceiving data by calling the application.

[0027] 作为优选,序列号用于保证数据的正确传输,具体包括处理丢帧、重传、乱序、数据破坏。 [0027] Preferably, the sequence number is used to ensure correct transmission of data, including the frame dropping processing, retransmission, scrambled data corruption.

[0028] 作为优选,每传完一帧数据,序列号加一。 [0028] Advantageously, each complete a data transfer, the sequence number plus one.

[0029] 一种系统的板间通信的双向全双工数据传输的方法,基于虚拟通道的可靠数据传输协议,步骤如下: [0029] A system for inter-panel bidirectional full-duplex communication method for transmitting data, a reliable data transfer protocol based on the virtual channel, the following steps:

[0030] 1)单板A和单板B初始化所述的协议; [0030] 1) Boards A and B board initialization of the protocol;

[0031] 2)单板A发送首帧数据到单板B ; [0031] 2) A board to board transmits the first data frame B;

[0032] 3)单板B应答首帧数据; [0032] 3) The first board B response frame data;

[0033] 4)单板A发送后续数据帧; [0033] 4) A board transmits subsequent data frames;

[0034] 5)单板B根据协议处理标记、序列号应答单板A ; [0034] 5) B in accordance with a protocol processing board mark, a serial number response board A;

[0035] 6)单板A发送尾帧到单板B ; [0035] 6) A board to board B transmits an end frame;

[0036] 7)单板B应答尾帧数据; [0036] 7) B board tail response frame data;

[0037] 8)单板A发送结束标志帧; [0037] 8) A board frame transmission end flag;

[0038] 9)单板B收到结束标志后,把接收到的整包数据传给应用层,传输结束。 After [0038] 9) B receives the veneer end flag, the received packet data to the entire application layer, the transfer is complete.

[0039] 作为优选,所述的应答基于ack响应。 [0039] Advantageously, ack response based on the response.

[0040] 作为优选,所述的步骤4)、5)、6)具体是:单板A每次发送固定帧数,单板B根据协议处理标记、序列号应答单板A ;板卡A判断是否尾帧,如果是则进行步骤6),否则循环上述步骤。 [0040] Advantageously, said step 4), 5), 6) in particular: a fixed number of frames transmitted per board A, the board B tag according to a protocol processing, a serial number response board A; A board Analyzing whether the end of the frame, if yes, step 6), the above-described steps or cycles.

[0041] 本发明的有益效果如下: [0041] Advantageous effects of the present invention are as follows:

[0042] 本发明所述的协议是一种简单的数据可靠传输协议,是一种基于系统的板间通信的双向全双工数据可靠传输协议。 [0042] The protocol of the present invention is a simple and reliable data transfer protocol is an inter-board system based bidirectional full-duplex data communication is reliable transport protocol. 可以有效的解决单板间数据通信,适合于所有不可靠传输的数据通信通道,在HDLC、以太网链路层等数据链路上传输具有很大的优势。 Can effectively solve the data communication between the boards, all suitable for data communication channels unreliable transport, the transmission has a great advantage over the HDLC data link, Ethernet link layer. 同时,它也支持在UDP报文的可靠传输,具有很强的移植性。 At the same time, it also supports the reliable transmission in UDP packets, and highly portable.

[0043] 在系统级的单板之间的通信时,需要具备如下特点:[0044] 1)实现简单; [0043] In the communication system between the board level, we need to have the following characteristics: [0044] 1) simple;

[0045] 2)可靠传输; [0045] 2) reliable transmission;

[0046] 3)支持没有TCP/IP协议栈的系统; [0046] 3) does not support the TCP IP protocol stack system /;

[0047] 4)不需要连接管理; [0047] 4) does not require connection management;

[0048] 5)能够支持一个物理通道上的多个虚拟通道。 [0048] 5) capable of supporting a plurality of virtual channels on one physical channel. 附图说明 BRIEF DESCRIPTION

[0049] 图1是本发明的协议的分层结构图; [0049] FIG. 1 is a configuration diagram of a layered protocol of the present invention;

[0050] 图2是本发明的协议报文的格式结构图; [0050] FIG. 2 is a configuration diagram of the protocol format of the message according to the present invention;

[0051] 图3是本发明的协议用于传输的流程图。 [0051] FIG. 3 is a flowchart of the protocol for transmission of the present invention.

具体实施方式 Detailed ways

[0052] 下面结合附图对本发明的实施例进行进一步详细说明: [0052] The following embodiments in conjunction with the accompanying drawings of embodiments of the present invention will be described in further detail:

[0053] 一种基于虚拟通道的可靠数据传输协议,该协议报文的格式包括: [0053] A reliable data transfer protocol based on the virtual channel, the format of the protocol message comprises:

[0054] 目的端口、源端口,用于虚拟多个通道; [0054] The destination port, source port, a plurality of virtual channels;

[0055] 协议处理标记,用于表明当前帧的类别; [0055] The protocol processing flag for indicating the category of the current frame;

[0056] 序列号,每传完一帧数据,序列号进行一次定值累加,用于保证数据的正确传输; [0056] serial number, each complete a data transfer, a transfer sequence number correctly cumulative value for ensuring data;

[0057] 以及数据字节数、净荷数据。 [0057] and the number of data bytes, payload data.

[0058] 该协议布置在开放系统互连参考(OSI)模型中的数据链路层与应用层之间。 Between [0058] The protocol is arranged in the Open Systems Interconnection Reference (OSI) model data link layer and the application layer.

[0059] 通信设备利用OSI模型中的数据链路层,提供数据端到端的传输。 [0059] The data link layer of the OSI model using a communication device, providing end to end data transfer.

[0060] 通信设备利用OSI模型中的应用层运行应用软件,通过调用所述的协议收发应用数据。 [0060] Application Layer communication device using the application software running in the OSI model, protocol transceiving data by calling the application.

[0061] 序列号用于保证数据的正确传输,具体包括处理丢帧、重传、乱序、数据破坏。 [0061] sequence numbers to ensure the correct transmission of the data, including frame dropping processing, retransmission, scrambled data corruption.

[0062] 每传完一帧数据,序列号加一。 [0062] After each transmit a data sequence number plus one.

[0063] 一种系统的板间通信的双向全双工数据传输的方法,基于虚拟通道的可靠数据传输协议,步骤如下: [0063] A system for inter-panel bidirectional full-duplex communication method for transmitting data, a reliable data transfer protocol based on the virtual channel, the following steps:

[0064] 1)单板A和单板B初始化所述的协议; [0064] 1) Boards A and B board initialization of the protocol;

[0065] 2)单板A发送首帧数据到单板B ; [0065] 2) A board to board transmits the first data frame B;

[0066] 3)单板B应答首帧数据; [0066] 3) The first board B response frame data;

[0067] 4)单板A发送后续数据帧; [0067] 4) A board transmits subsequent data frames;

[0068] 5)单板B根据协议处理标记、序列号应答单板A ; [0068] 5) B in accordance with a protocol processing board mark, a serial number response board A;

[0069] 6)单板A发送尾帧到单板B ; [0069] 6) A board to board B transmits an end frame;

[0070] 7)单板B应答尾帧数据; [0071 ] 8)单板A发送结束标志帧; [0070] 7) B board tail response frame data; [0071] 8) A board frame transmission end flag;

[0072] 9)单板B收到结束标志后,把接收到的整包数据传给应用层,传输结束。 After [0072] 9) B receives the veneer end flag, the received packet data to the entire application layer, the transfer is complete.

[0073] 所述的应答基于ack响应。 [0073] ack response based on the response.

[0074] 所述的步骤4) ,5)、6)具体是:单板A每次发送固定帧数,单板B根据协议处理标记、序列号应答单板A ;板卡A判断是否尾帧,如果是则进行步骤6),否则循环上述步骤。 [0074] The step 4), 5), 6) in particular: a fixed number of frames transmitted per board A, the board B tag according to a protocol processing, a serial number response board A; A board determines whether the end of frame If yes, the step 6), the above-described steps or cycles.

[0075] SRDP是一种基于系统的板间通信的双向全双工数据可靠传输协议。 [0075] SRDP is based inter-system full-duplex bi-directional data communication board reliable transport protocol. [0076] 图1所示的SRDP的分层结构,其中,数据链路层提供数据端到端的传输;SRDP 布置在数据链路层与应用层之间,提供数据的可靠传输;应用层运行应用软件,通过调用SRDP接口收发应用数据。 SRDP layered structure shown in [0076] FIG 1, wherein the data link layer provides end to end data transmission; SRDP disposed between the data link layer and the application layer to provide reliable data transmission; application layer applications running software, data interface transceiver application by calling the SRDP.

[0077] 图2所示的SRDP协议报文的格式,其中目的端口、源端口用于虚拟多个通道;协议处理标记,用于表明是首帧、Ack、尾帧等信息;基于虚拟通道的可靠数据传输协议报文格式;序列号,每帧加1,用于保证数据的正确传输,具体包括处理丢帧、重传、乱序、数据破坏等; SRDP protocol packet shown in the format of [0077] FIG. 2, wherein the destination port, source port for a plurality of virtual channels; tag protocol processing, the information for indicating the first frame, the Ack, the end of the frame and the like; based on virtual channel reliable data transfer protocol packet format; serial number incremented by 1 per frame, to ensure the correct transmission of the data, including frame dropping processing, retransmission, reordering, data destruction;

[0078] 其中,目的端口、源端口用于虚拟多个通道具体如下:发送端选择某一个的虚拟通道时,通过查表,获取该虚拟通道相对应的目的端口、源端口,然后填入到报文首部后发送。 [0078] wherein, destination port, source port for a plurality of virtual channels as follows: When a transmit end of a selected virtual channel look-up table, to obtain the virtual channel corresponding to the destination port, source port, and then filled into after sending the message header. 接收端获取报文内的目的端口和源端口,通过查表,获取虚拟通道号。 Receiving end acquires destination port and source port in the packet, look-up table, acquiring the virtual channel number.

[0079] 下面以单板A传送数据到单板B为例,说明系统的板间通信的双向全双工数据传输的方法的详细步骤: [0079] A veneer below to transfer data to the board B as an example, the detailed procedure of the inter-board system data transmission method for two-way full-duplex communication:

[0080] 1) A和B初始化SRDP程序; [0080] 1) A and B SRDP initialization procedure;

[0081] 2) A应用层需要传输一包数据到B ; [0081] 2) A needs to transmit a packet of an application layer data to B;

[0082] 3) A发送首帧数据到B; [0082] 3) A B transmits data to the first frame;

[0083] 4) B应答首帧数据; [0083] 4) B-frame data of the first response;

[0084] 5) A按照一定策略发送后续数据帧; [0084] 5) A transmitting subsequent data frames according to a certain strategy;

[0085] 6)B根据协议处理标记、序列号等信息,按照一定策略应答A ; [0085] 6) B The flag information protocol processing, serial number, etc., according to a certain policy response A;

[0086] 7) A发送尾帧到B; [0086] 7) A transmitted to the end frame B;

[0087] 8) B应答尾帧数据; [0087] 8) B-frame data tail response;

[0088] 9) A发送结束标志帧; [0088] 9) A transmission frame end flag;

[0089] 10)B收到结束标志后,把接收到的整包数据传给应用层; [0089] 10) B receives the end flag, the received packet data to the entire application layer;

[0090] 11)传输结束。 [0090] 11) end of transmission.

[0091] 整个过程的流程如图3所示,其中: [0091] The flow of the process shown in Figure 3, wherein:

[0092] Fst表示第一帧数据,Ack表示应答,Frm表示中间传输的数据帧,Fin表示尾帧, Eof表示结束标志,。 [0092] Fst represents a first frame of data, a response indicating the Ack, the data frame represents Frm intermediate transmission, the Fin indicates an end frame, the end flag indicates Eof.

[0093] 上述整个过程可以概括为A按照SRDP协议拆包发送,B应答接收到的数据,如果中间有丢包,则根据SRDP协议重传。 [0093] The entire process can be summarized as unpacking A transmission protocol according SRDP, B acknowledges receipt of the data, if the intermediate packet loss, the retransmission protocol according SRDP.

[0094] 其中步骤6)所述的策略,具体为:单板A每次发送固定帧数,单板B根据协议处理标记、序列号应答单板A ;板卡A判断是否尾帧。 [0094] wherein step 6) according to the policy, in particular: a fixed number of frames transmitted per board A, B according to a protocol processing board mark, a serial number response board A; A board determines whether the end of the frame. 如果是则A发送尾帧到B,否则循环上述步骤,直至单板A发送尾帧到单板B。 If the end frame A sends to B, the above-described steps or cycles, until the board A to board B. transmitting end frame

[0095] 同样,B如果要发送数据到A,也可以通过上述步骤完成。 [0095] Similarly, B if the data to be sent to A, may be completed by the above steps.

[0096] 以上所述的仅是本发明的优选实施方式,应当指出,对于本技术领域中的普通技术人员来说,在不脱离本发明核心技术特征的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 [0096] The above embodiment is merely a preferred embodiment of the present invention, it should be noted that for those skilled in the art of ordinary skill in the art, without departing from the central features of the invention premise, can make various modifications and retouch, these improvements and modifications should also be regarded as the protection scope of the present invention.

Claims (9)

1. 一种基于虚拟通道的可靠数据传输协议,其特征在于,该协议报文的格式包括:目的端口、源端口,用于虚拟多个通道;协议处理标记,用于表明当前帧的类别;序列号,每传完一帧数据,序列号进行一次定值累加,用于保证数据的正确传输;以及数据字节数、净荷数据。 A reliable data transfer protocol based on the virtual channel, wherein the protocol message format comprising: a destination port, source port, a plurality of virtual channels; protocol processing flag for indicating the category of the current frame; serial number, each complete a data transfer, a transfer sequence number correctly cumulative value for ensuring data; and the number of data bytes, payload data.
2.根据权利要求1所述的基于虚拟通道的可靠数据传输协议,其特征在于,该协议布置在开放系统互连参考(OSI)模型中的数据链路层与应用层之间。 According to claim reliable data transfer protocol based on the virtual channel, wherein said 1, which is arranged in the Open Systems Interconnection protocol Reference (OSI) model between the data link layer and the application layer.
3.根据权利要求2所述的基于虚拟通道的可靠数据传输协议,其特征在于,通信设备利用OSI模型中的数据链路层,提供数据端到端的传输。 3. reliable data transfer protocol based on the virtual channel, wherein according to claim 2, the communication device using the data link layer of the OSI model, providing end to end data transfer.
4.根据权利要求2所述的基于虚拟通道的可靠数据传输协议,其特征在于,通信设备利用OSI模型中的应用层运行应用软件,通过调用所述的协议收发应用数据。 4. reliable data transfer protocol based on the virtual channel, wherein according to claim 2, the application layer communication device using the application software running in the OSI model, by invoking the protocol data transceiver applications.
5.根据权利要求1所述的基于虚拟通道的可靠数据传输协议,其特征在于,序列号用于保证数据的正确传输,具体包括处理丢帧、重传、乱序、数据破坏。 The reliable data transfer protocol based on the virtual channel according to claim 1, characterized in that, sequence numbers are used to ensure correct transmission of data, including the frame dropping processing, retransmission, scrambled data corruption.
6.根据权利要求1所述的基于虚拟通道的可靠数据传输协议,其特征在于,每传完一帧数据,序列号加一。 6. reliable data transfer protocol based on the virtual channel, wherein according to claim 1, each of a complete transfer of data, plus a sequence number.
7. 一种系统的板间通信的双向全双工数据传输的方法,其特征在于,基于虚拟通道的可靠数据传输协议,步骤如下:1)单板A和单板B初始化所述的协议;2)单板A发送首帧数据到单板B ;3)单板B应答首帧数据;4)单板A发送后续数据帧;5)单板B根据协议处理标记、序列号应答单板A ;6)单板A发送尾帧到单板B;7)单板B应答尾帧数据;8)单板A发送结束标志帧;9)单板B收到结束标志后,把接收到的整包数据传给应用层,传输结束。 7. A system between the plates of the two-way full-duplex data transmission communication method, wherein the virtual channel based on reliable data transfer protocol, the following steps: a protocol initialization of board A and the board B); 2) A board to board transmits the first data frame B;. 3) the first board B response frame data; 4) A board transmits subsequent data frames; 5) according to the protocol B processing board mark, a serial number response board A ; 6) a board to board B transmits an end frame;. 7) end of the board B frame data response; 8) boards a transmission frame end flag; 9) after the board B receives the end flag, the received whole the packet data to the application layer, the transfer is complete.
8.根据权利要求7所述的方法,其特征在于,所述的应答基于ack响应。 8. The method according to claim 7, characterized in that the ack response based on the response.
9.根据权利要求7所述的方法,其特征在于,所述的步骤4)、5)、6)具体是:单板A每次发送固定帧数,单板B根据协议处理标记、序列号应答单板A ;板卡A判断是否尾帧,如果是则进行步骤6),否则循环上述步骤。 9. The method according to claim 7, wherein said step 4), 5), 6) in particular: a fixed number of frames transmitted per board A, the board B marker protocol processing, according to the sequence number A transponder board; A board determines whether the end of the frame, if yes, step 6), the above-described steps or cycles.
CN201110339901XA 2011-11-01 2011-11-01 Reliable data transmission protocol based on virtual channels CN102347955A (en)

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 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 (1)

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

Citations (17)

* Cited by examiner, † Cited by third party
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 中国科学院沈阳自动化研究所 Method for determining realtime Ethernet tlecommunication
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

Patent Citations (17)

* Cited by examiner, † Cited by third party
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 中国科学院沈阳自动化研究所 Method for determining realtime Ethernet tlecommunication
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 (1)

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

Similar Documents

Publication Publication Date Title
Stewart et al. SCTP: new transport protocol for TCP/IP
US7613813B2 (en) Method and apparatus for reducing host overhead in a socket server implementation
US7403542B1 (en) Method and system for processing network data packets
JP4327496B2 (en) How to offload the network stack
US6907042B1 (en) Packet processing device
US7742419B2 (en) Method, system and article for improved TCP performance during packet reordering
US8458280B2 (en) Apparatus and method for packet transmission over a high speed network supporting remote direct memory access operations
US7042907B2 (en) Packet transfer apparatus and method
US9325764B2 (en) Apparatus and method for transparent communication architecture in remote communication
US6341129B1 (en) TCP resegmentation
EP1732010B1 (en) A system-on-a-chip (SoC) device with integrated support for ethernet, TCP, ISCSI, RDMA, and network application acceleration
US20070165672A1 (en) Apparatus and method for stateless CRC calculation
JP4829896B2 (en) Method, system and article for improved network performance by avoiding data corruption
Balakrishnan et al. The effects of asymmetry on TCP performance
US20110040891A1 (en) System and Method for TCP Offload
KR100785293B1 (en) System and Method for TCP Congestion Control Using Multiple TCP ACKs
KR100840951B1 (en) A dual proxy approach to tcp performance improvements over a wireless interface
US7483376B2 (en) Method and apparatus for discovering path maximum transmission unit (PMTU)
US8140696B2 (en) Layering serial attached small computer system interface (SAS) over ethernet
US7804780B2 (en) Receiving and transmitting devices for providing fragmentation at a transport level along a transmission path
US7411959B2 (en) System and method for handling out-of-order frames
US7283522B2 (en) Method and apparatus for offloading message segmentation to a network interface card
US20070208820A1 (en) Apparatus and method for out-of-order placement and in-order completion reporting of remote direct memory access operations
CN100552626C (en) Method to synchronize and upload an offloaded network stack connection with a network stack
Velten et al. Reliable data protocol

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C12 Rejection of a patent application after its publication