CN103825689B - Delay determinacy message retransmission method with local cache - Google Patents
Delay determinacy message retransmission method with local cache Download PDFInfo
- Publication number
- CN103825689B CN103825689B CN201410073851.9A CN201410073851A CN103825689B CN 103825689 B CN103825689 B CN 103825689B CN 201410073851 A CN201410073851 A CN 201410073851A CN 103825689 B CN103825689 B CN 103825689B
- Authority
- CN
- China
- Prior art keywords
- deterministic
- message
- retransmission
- option
- request
- 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
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000005540 biological transmission Effects 0.000 claims abstract description 21
- 239000013598 vector Substances 0.000 claims description 26
- 230000003111 delayed effect Effects 0.000 claims description 19
- 230000001174 ascending effect Effects 0.000 claims description 3
- 230000000977 initiatory effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Communication Control (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种具有本地缓存的延迟确定性报文重传方法。The invention relates to a delayed and deterministic message retransmission method with local cache.
背景技术Background technique
由于卫星链路具有传播时延长、带宽时延积大、误码率高的特点,导致了互联网中广泛应用的TCP协议在应用于卫星链路时性能受到很大影响,严重限制了卫星链路资源的利用,传输效率无法满足各种业务需求。TCP协议,传输控制协议,是一种反馈应答的协议,接收端会将数据接收情况通过ACK消息返回给发送端,尤其是当链路误码或网络拥塞发生报文丢失时,发送端可以根据ACK信息了解丢包情况,触发报文重传。而在卫星链路中,较大的时延使得上述重传效率很低,因为传统使用的ACK信息只能包含一个传输窗口内的一处错误,如果TCP包在一个窗口中出现了多个错误,那么我们不得不发送多个ACK信息通知发送端,这对于上行信道受到严格限制,上下行链路容量比在1:10到1:1000之间的非对称信道来说无疑是非常不利的。Because satellite links have the characteristics of extended propagation time, large bandwidth and delay product, and high bit error rate, the performance of the widely used TCP protocol in the Internet is greatly affected when it is applied to satellite links, which seriously limits the performance of satellite links. Resource utilization and transmission efficiency cannot meet various business needs. The TCP protocol, Transmission Control Protocol, is a protocol for feedback and response. The receiving end will return the data reception status to the sending end through an ACK message, especially when the message is lost due to link error or network congestion. ACK information understands packet loss and triggers packet retransmission. In the satellite link, the large delay makes the above retransmission efficiency very low, because the traditional ACK information can only contain one error in one transmission window, if the TCP packet has multiple errors in one window , then we have to send multiple ACK messages to notify the sender, which is undoubtedly very unfavorable for asymmetric channels where the uplink channel is strictly limited and the uplink-downlink capacity ratio is between 1:10 and 1:1000.
针对上述问题,提出一种具有本地缓存的延迟确定性报文重传方法。Aiming at the above problems, a delayed deterministic packet retransmission method with local cache is proposed.
发明内容Contents of the invention
本发明的目的是提供一种具有本地缓存的延迟确定性报文重传方法解决现有技术中存在的在卫星链路中,较大的时延使得报文丢失后的重传效率很低,因为传统使用的ACK信息只能包含一个传输窗口内的一处错误,如果TCP包在一个窗口中出现了多个错误,那么我们不得不发送多个ACK信息通知发送端,这对于上行信道受到严格限制,上下行链路容量比在1:10到1:1000之间的非对称信道来说无疑是非常不利的的问题。The purpose of the present invention is to provide a delayed and deterministic message retransmission method with local cache to solve the problem in the prior art that in the satellite link, the large time delay makes the retransmission efficiency after the message is lost is very low, Because the traditionally used ACK information can only contain one error within a transmission window, if multiple errors occur in a TCP packet within a window, then we have to send multiple ACK information to notify the sender, which is strictly restricted for the uplink channel. Undoubtedly, it is a very unfavorable problem for an asymmetric channel whose uplink and downlink capacity ratio is between 1:10 and 1:1000.
本发明提供一种具有本地缓存的延迟确定性报文重传方法,解决卫星链路长时延造成的报文重传效率低,信道资源浪费严重的问题。The invention provides a delay-deterministic message retransmission method with local cache, which solves the problems of low message retransmission efficiency and serious waste of channel resources caused by the long time delay of the satellite link.
本发明的技术解决方案是:Technical solution of the present invention is:
一种具有本地缓存的延迟确定性报文重传方法,A delayed deterministic packet retransmission method with local cache,
记录报文传输的具体丢包情况,当发生丢包时,接收端向发送端发送确定性重传请求,请求传输丢失的报文,该请求中携带一个或多个丢失报文的信息;Record the specific packet loss of message transmission. When packet loss occurs, the receiving end sends a deterministic retransmission request to the sending end to request the transmission of the lost message. The request carries information about one or more lost messages;
对新丢失的报文设置重传延迟,发生新的报文丢失时,经过重传延迟后接收端向发送端发送请求传输新丢失的报文;Set the retransmission delay for the newly lost message. When a new message is lost, after the retransmission delay, the receiving end sends a request to the sending end to transmit the newly lost message;
在卫星链路接收端网关处设置本地缓存,接收节点发出的反向链路ACK传输丢失时,由接收端网关重发报文。A local buffer is set at the satellite link receiving gateway, and when the reverse link ACK transmission sent by the receiving node is lost, the receiving gateway resends the message.
优选地,确定性重传请求选项通过TCP连接建立过程激活,该确定性重传请求选项位于TCP报头的选项字段中,并在建立TCP连接时通过收发两端点的协商确定激活该确定性重传请求选项;Preferably, the deterministic retransmission request option is activated through the TCP connection establishment process, the deterministic retransmission request option is located in the option field of the TCP header, and the deterministic retransmission is activated through the negotiation between the sending and receiving ends when the TCP connection is established request options;
如果TCP连接的两端在TCP头的SYN段中均使用了确定性重传请求选项,那么确定性重传请求选项将被激活,如果TCP连接的两端中的任意一端不支持确定性重传请求,那么将使用常规的ACK或者延时ACK。If both ends of the TCP connection use the deterministic retransmission request option in the SYN segment of the TCP header, the deterministic retransmission request option will be activated. If either end of the TCP connection does not support deterministic retransmission request, then a regular ACK or a delayed ACK will be used.
优选地,接收数据队列记录报文是否正确的信息,接收端利用位向量在一个ACK消息中表示多个丢失报文的信息;Preferably, the receiving data queue records whether the message is correct, and the receiving end uses a bit vector to represent the information of multiple missing messages in an ACK message;
在数据接收端的接收数据队列中,记录有数据接收正确或错误的信息,当队列中存在错误报文时,接收端采用位向量表示多个丢失报文的信息,通过应答ACK消息发给数据发送端。In the receiving data queue of the data receiving end, the information of whether the data is received correctly or incorrectly is recorded. When there is an error message in the queue, the receiving end uses a bit vector to represent the information of multiple missing messages, and sends it to the data sender by responding with an ACK message. end.
优选地,发生新的报文丢失时,设置重传延迟,不立即发送应答报文ACK,而是延迟一段时间后,在位向量中标明这段时间内发生的所有丢包情况,统一返回给数据发送端。Preferably, when a new message is lost, a retransmission delay is set, and the response message ACK is not sent immediately, but after a delay for a period of time, all packet loss situations that occur during this period are marked in the bit vector and returned to the Data sender.
优选地,设置本地缓存,以防止反向链路ACK传输的丢失。在G2网关设置本地缓存,存储发往H2的报文,当H2发出的反向链路ACK丢失时,由G2进行本地重发,节省丢包重发的时间。Preferably, a local buffer is set to prevent loss of reverse link ACK transmission. Set up a local cache on the G2 gateway to store the packets sent to H2. When the reverse link ACK sent by H2 is lost, G2 will retransmit it locally, saving the time for retransmitting lost packets.
优选地,如果确定性重传请求在传输时丢失,则数据接收端重发该请求。Preferably, if the deterministic retransmission request is lost during transmission, the data receiving end resends the request.
优选地,发起确定性报文重传的步骤描述如下:Preferably, the steps of initiating deterministic packet retransmission are described as follows:
步骤一:发送端在TCP报头选项中设置确定性报文重传选项,向接收端发起连接请求,即在报头中设置SYN(同步)标志;Step 1: The sender sets the deterministic message retransmission option in the TCP header option, and initiates a connection request to the receiver, that is, sets the SYN (synchronization) flag in the header;
步骤二:接收端收到连接请求,如果协议栈支持该选项的处理,则转步骤三,否则转步骤四;Step 2: The receiving end receives the connection request, if the protocol stack supports the processing of this option, go to step 3, otherwise go to step 4;
步骤三:接收端在TCP报头选项中设置确定性报文重传选项,向发送端发起连接应答,即在报头中设置SYN/ACK(同步/应答)标志,表示接受该选项的使用;Step 3: The receiving end sets the deterministic message retransmission option in the TCP header option, and initiates a connection response to the sending end, that is, sets the SYN/ACK (synchronization/response) flag in the header, indicating that the use of this option is accepted;
步骤四:接收端向发送端发起连接应答,即在报头中设置SYN/ACK(同步/应答)标志,表示不接受该选项的使用;Step 4: The receiving end initiates a connection response to the sending end, that is, sets the SYN/ACK (synchronization/response) flag in the header, indicating that the use of this option is not accepted;
步骤五:结束。Step five: end.
优选地,接收端向发送端传输确定性报文重传信息的步骤描述如下:Preferably, the steps for the receiving end to transmit deterministic message retransmission information to the sending end are described as follows:
步骤一:接收端检查接收队列的报文丢失情况;Step 1: The receiving end checks the message loss of the receiving queue;
步骤二:接收端根据丢包情况填写报头信息,确定性报文重传选项中的类型值设置为21;填写长度值、第1处错误偏移量、第1处错误长度值和位向量;Step 2: The receiving end fills in the header information according to the packet loss situation, and sets the type value in the deterministic packet retransmission option to 21; fills in the length value, the first error offset, the first error length value, and the bit vector;
步骤三:接收端在重传延迟时钟超时的时候将应答信息发出;Step 3: The receiving end sends the response message when the retransmission delay clock times out;
步骤四:结束。Step 4: End.
优选地,确定性重传请求接收端处理的步骤描述如下:Preferably, the processing steps of the receiving end of the deterministic retransmission request are described as follows:
步骤一:传输确定性重传请求中的第1处错误;Step 1: Transmit the first error in the deterministic retransmission request;
步骤二:按位向量升序重传,即确定性重传请求位向量顺序左移直到重传完最后一个1左侧的0对应的1个MSS数据段;Step 2: Retransmit in ascending order of the bit vector, that is, the deterministic retransmission request bit vector sequence is shifted to the left until the 1 MSS data segment corresponding to the 0 on the left of the last 1 is retransmitted;
步骤三:结束。Step three: end.
本发明提供一种在卫星链路上的报文重传方法,即具有本地缓存的确定性重传请求方法(DSACK),该方法中数据接收端向发送端明确请求需要重发的数据,且请求中可以包含不止一个丢失数据段的信息。设置本地缓存,对丢失的报文可进行本地重传,从而防止反向链路ACK发生丢包现象。该方法是利用有限带宽更快地进行丢失恢复的一种策略,因此,对于长延时网络来说就显得非常重要。The present invention provides a message retransmission method on a satellite link, that is, a deterministic retransmission request method (DSACK) with a local cache. In this method, the data receiving end explicitly requests the sending end for data that needs to be retransmitted, and A request may contain information about more than one missing data segment. Set a local cache to retransmit the lost packets locally, thus preventing packet loss in the reverse link ACK. This method is a strategy for faster loss recovery with limited bandwidth, so it is very important for long-latency networks.
本发明的有益效果是:本发明一种具有本地缓存的延迟确定性报文重传方法,接收端记录报文传输的具体丢包情况,当发生丢包时,接收端向发送端请求只传输丢失的报文,而且可在一次请求中携带多个丢失报文的信息。该种具有本地缓存的延迟确定性报文重传方法,能够在具有大时延、误码率和链路带宽不对称的信道上,减少报文重传的频率和数量,避免在这样的信道上由于反向信道带宽受限引起丢包时信道效率下降的问题。同时通过设置本地缓存,能够解决反向ACK报文丢失时,由于大时延引起的信道传输效率低的问题。该方法能够大大提高卫星链路报文重传效率,使卫星信道利用率大幅提高。The beneficial effects of the present invention are: a delayed and deterministic message retransmission method with local cache in the present invention, the receiving end records the specific packet loss of message transmission, and when packet loss occurs, the receiving end requests the sending end to only transmit Lost packets, and information of multiple lost packets can be carried in one request. This kind of delayed deterministic message retransmission method with local cache can reduce the frequency and quantity of message retransmission on channels with large delay, bit error rate and link bandwidth asymmetry, and avoid Due to the limited bandwidth of the reverse channel, the channel efficiency decreases when the packet is lost. At the same time, by setting a local cache, it can solve the problem of low channel transmission efficiency caused by large delay when the reverse ACK message is lost. The method can greatly improve the retransmission efficiency of the satellite link message, and greatly improve the utilization rate of the satellite channel.
附图说明Description of drawings
图1是本发明实施例的网络环境示意图;Fig. 1 is a schematic diagram of a network environment of an embodiment of the present invention;
图2是本发明实施例中使用位向量产生的三个确定性重传请求数据段;FIG. 2 is three deterministic retransmission request data segments generated using bit vectors in an embodiment of the present invention;
图3是本发明实施例中TCP接收端的数据序列示意图;Fig. 3 is a schematic diagram of a data sequence of a TCP receiving end in an embodiment of the present invention;
图4是本发明实施例中接收端发送重传应答的流程图。Fig. 4 is a flow chart of sending a retransmission response by the receiving end in an embodiment of the present invention.
具体实施方式detailed description
下面结合附图详细说明本发明的优选实施例。Preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.
本实施例描述的方法应用于如图1所示的网络环境中。其中用户H1和H2之间的连接包含一段卫星链路,利用网关站G1和G2将卫星链路和地面链路进行了分离,整个连接被划分为三段,采用了不同的协议处理方法。本实施例中的报文重传方法就应用于卫星链路段连接2上。The method described in this embodiment is applied in the network environment shown in FIG. 1 . The connection between users H1 and H2 includes a satellite link, and the satellite link and the ground link are separated by gateway stations G1 and G2. The entire connection is divided into three sections, and different protocol processing methods are adopted. The message retransmission method in this embodiment is applied to the satellite link segment connection 2 .
如图2所示,图中是数据接收端发生顺序错误的数据队列,依据确定性重传请求选项数据段要求,采用位向量发送确定性重传请求。图2中,在接收端的缓存队列中存在三处错误,第一处错误在接收到前一个ACK时马上就发生了,因此其偏移量为0,占用了2个MSS的长度,第二处错误发生处距离当前ACK的偏移量是8,占用2个MSS长度,第三处错误的偏移量是12,占用1个MSS长度。As shown in Figure 2, the figure shows the data queue where the sequence error occurs at the data receiving end. According to the data segment requirements of the deterministic retransmission request option, a bit vector is used to send a deterministic retransmission request. In Figure 2, there are three errors in the buffer queue at the receiving end. The first error occurs immediately when the previous ACK is received, so its offset is 0 and occupies the length of 2 MSS. The second error occurs The offset from the current ACK where the error occurs is 8, occupying 2 MSS lengths, and the offset of the third error is 12, occupying 1 MSS length.
由数据接收端产生的确定性重传请求数据段,如图3所示。需要说明的是,类型为常量21,在TCP包头中专指确定性重传请求;长度是指确定性重传请求选项的6个字节加上其位向量的2个字节,共8字节;最后一个1后补的五个0是为了凑足一个字节的八位。The deterministic retransmission request data segment generated by the data receiving end is shown in FIG. 3 . It should be noted that the type is constant 21, which specifically refers to the deterministic retransmission request in the TCP header; the length refers to the 6 bytes of the deterministic retransmission request option plus the 2 bytes of its bit vector, a total of 8 words section; the last 1 is filled with five 0s to make up eight bits of a byte.
接收端发送重传应答的流程见图4。See Figure 4 for the process of sending a retransmission response at the receiving end.
实施例一种具有本地缓存的延迟确定性报文重传方法,通过记录报文传输的具体丢包情况,当发生丢包时,接收端向发送端发送确定性重传请求,请求传输丢失的报文,该请求中携带一个或多个丢失报文的信息;对新丢失的报文设置重传延迟,发生新的报文丢失时,经过重传延迟后接收端向发送端发送请求传输新丢失的报文;在卫星链路接收端网关处设置本地缓存,接收节点发出的反向链路ACK传输丢失时,由接收端网关重发报文。Embodiment A delayed deterministic message retransmission method with local cache, by recording the specific packet loss of message transmission, when packet loss occurs, the receiving end sends a deterministic retransmission request to the sending end, requesting transmission of lost message, the request carries information about one or more lost messages; a retransmission delay is set for a newly lost message, and when a new message is lost, the receiving end sends a request to the sending end to transmit a new message after the retransmission delay Lost message: A local buffer is set at the gateway of the receiving end of the satellite link. When the reverse link ACK transmission sent by the receiving node is lost, the gateway of the receiving end resends the message.
确定性重传请求选项通过TCP连接建立过程激活,该确定性重传请求选项位于TCP报头的选项字段中,并在建立TCP连接时通过收发两端点的协商确定激活该确定性重传请求选项;如果TCP连接的两端在TCP头的SYN段中均使用了确定性重传请求选项,那么确定性重传请求选项将被激活,如果TCP连接的两端中的任意一端不支持确定性重传请求,那么将使用常规的ACK或者延时ACK。The deterministic retransmission request option is activated through the TCP connection establishment process, the deterministic retransmission request option is located in the option field of the TCP header, and is activated through the negotiation between the sending and receiving ends when the TCP connection is established; If both ends of the TCP connection use the deterministic retransmission request option in the SYN segment of the TCP header, the deterministic retransmission request option will be activated. If either end of the TCP connection does not support deterministic retransmission request, then a regular ACK or a delayed ACK will be used.
接收数据队列记录报文是否正确的信息,接收端利用位向量在一个ACK消息中表示多个丢失报文的信息;在数据接收端的接收数据队列中,记录有数据接收正确或错误的信息,当队列中存在错误报文时,接收端采用位向量表示多个丢失报文的信息,通过应答ACK消息发给数据发送端;The receiving data queue records whether the message is correct or not. The receiving end uses a bit vector to represent the information of multiple missing messages in an ACK message; When there is an error message in the queue, the receiving end uses a bit vector to represent the information of multiple missing messages, and sends it to the data sending end by responding with an ACK message;
发生新的报文丢失时,设置重传延迟,不立即发送应答报文ACK,而是延迟一段时间后,在位向量中标明这段时间内发生的所有丢包情况,统一返回给数据发送端;When a new message is lost, set the retransmission delay, instead of sending the acknowledgment message ACK immediately, but after a period of delay, mark all the packet loss that occurred during this period in the bit vector, and return it to the data sender in a unified manner ;
在G2网关设置本地缓存,存储发往H2的报文,当H2发出的反向链路ACK丢失时,由G2进行本地重发,节省丢包重发的时间。Set up a local cache on the G2 gateway to store the packets sent to H2. When the reverse link ACK sent by H2 is lost, G2 will retransmit it locally, saving the time for retransmitting lost packets.
如果确定性重传请求在传输时丢失,则数据接收端重发该请求。If a deterministic retransmission request is lost during transmission, the data receiver resends the request.
发起确定性报文重传的步骤描述如下:The steps for initiating deterministic packet retransmission are described as follows:
步骤一:发送端在TCP报头选项中设置确定性报文重传选项,向接收端发起连接请求,即在报头中设置SYN(同步)标志;Step 1: The sender sets the deterministic message retransmission option in the TCP header option, and initiates a connection request to the receiver, that is, sets the SYN (synchronization) flag in the header;
步骤二:接收端收到连接请求,如果协议栈支持该选项的处理,则转步骤三,否则转步骤四;Step 2: The receiving end receives the connection request, if the protocol stack supports the processing of this option, go to step 3, otherwise go to step 4;
步骤三:接收端在TCP报头选项中设置确定性报文重传选项,向发送端发起连接应答,即在报头中设置SYN/ACK(同步/应答)标志,表示接受该选项的使用;Step 3: The receiving end sets the deterministic message retransmission option in the TCP header option, and initiates a connection response to the sending end, that is, sets the SYN/ACK (synchronization/response) flag in the header, indicating that the use of this option is accepted;
步骤四:接收端向发送端发起连接应答,即在报头中设置SYN/ACK(同步/应答)标志,表示不接受该选项的使用;Step 4: The receiving end initiates a connection response to the sending end, that is, sets the SYN/ACK (synchronization/response) flag in the header, indicating that the use of this option is not accepted;
步骤五:结束。Step five: end.
接收端向发送端传输确定性报文重传信息的步骤描述如下:The steps for the receiving end to transmit deterministic packet retransmission information to the sending end are described as follows:
步骤一:接收端检查接收队列的报文丢失情况;Step 1: The receiving end checks the message loss of the receiving queue;
步骤二:接收端根据丢包情况填写报头信息,确定性报文重传选项中的类型值设置为21;填写长度值、第1处错误偏移量、第1处错误长度值和位向量;Step 2: The receiving end fills in the header information according to the packet loss situation, and sets the type value in the deterministic packet retransmission option to 21; fills in the length value, the first error offset, the first error length value, and the bit vector;
步骤三:接收端在重传延迟时钟超时的时候将应答信息发出;Step 3: The receiving end sends the response message when the retransmission delay clock times out;
步骤四:结束。Step 4: End.
优选地,确定性重传请求接收端处理的步骤描述如下:Preferably, the processing steps of the receiving end of the deterministic retransmission request are described as follows:
步骤一:传输确定性重传请求中的第1处错误;Step 1: Transmit the first error in the deterministic retransmission request;
步骤二:按位向量升序重传,即确定性重传请求位向量顺序左移直到重传完最后一个1左侧的0对应的1个MSS数据段;Step 2: Retransmit in ascending order of the bit vector, that is, the deterministic retransmission request bit vector sequence is shifted to the left until the 1 MSS data segment corresponding to the 0 on the left of the last 1 is retransmitted;
步骤三:结束。Step three: end.
确定性重传请求选项位于TCP包头部分,确定性重传请求选项包括以下数据段,如图3所示:The deterministic retransmission request option is located in the TCP header, and the deterministic retransmission request option includes the following data segments, as shown in Figure 3:
类型:该字段是使用确定性重传请求时必须使用的一个字节,是确定性重传请求选项的第一个字节,其值是21;Type: This field is a byte that must be used when using a deterministic retransmission request. It is the first byte of the deterministic retransmission request option, and its value is 21;
长度:是确定性重传请求选项的第二个字节,是确定性重传请求选项所占用的字节数,包括确定性重传请求的位向量,标准的长度值是6字节加上位向量的长度;Length: It is the second byte of the deterministic retransmission request option, which is the number of bytes occupied by the deterministic retransmission request option, including the bit vector of the deterministic retransmission request. The standard length value is 6 bytes plus bits the length of the vector;
第1处错误偏移量:该字段占用两个字节,是确定性重传请求选项的第三、四个字节,该值指出了接收端数据队列中的第一个错误与当前接收到的ACK之间的偏移量。其单位是MSS(Maximum Segment Size最大分段大小),可以通过如下公式简单的计算得到。The first error offset: This field occupies two bytes, which is the third and fourth bytes of the deterministic retransmission request option. This value indicates the difference between the first error in the data queue at the receiving end and the currently received The offset between the ACKs. Its unit is MSS (Maximum Segment Size), which can be simply calculated by the following formula.
错误1偏移量=(偏移序列值-ACK值)/(1个MSS所包含的字节数)Error 1 offset = (offset sequence value - ACK value) / (number of bytes contained in 1 MSS)
第1处错误长度:该字段占用两个字节,是确定性重传请求选项的第五、六个字节。该字段代表前面提到的第一个传输错误段的长度,给出了错误总共占多少个字节,其单位是MSS。按如下公式计算:The length of the first error: This field occupies two bytes, which are the fifth and sixth bytes of the deterministic retransmission request option. This field represents the length of the first transmission error segment mentioned above, and shows how many bytes the error occupies in total, and its unit is MSS. Calculate according to the following formula:
错误1长度= 错误1字节数/1个MSS所包含的字节数。Error 1 length = number of bytes in error 1/number of bytes contained in 1 MSS.
确定性重传请求位向量:位向量错误1长度字段之后,占用连续的字节,它包含了剩余的已经检测出的存在于接收队列中的错误,因此占用的字节数将随错误个数发生变化。位向量是由0和1组成的,0表示该位置处一个MSS大小的数据块已经丢失,1则表示成功接收。如果不足八位,在最后一个1之后补0补足八位,而此处的0不代表丢失的数据。Deterministic retransmission request bit vector: After the bit vector error 1 length field, it occupies consecutive bytes, which contains the rest of the detected errors that exist in the receiving queue, so the number of occupied bytes will vary with the number of errors change. The bit vector is composed of 0 and 1. 0 indicates that a data block of the MSS size at this position has been lost, and 1 indicates that it has been successfully received. If there are less than eight bits, add 0 after the last 1 to make up eight bits, and the 0 here does not represent lost data.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410073851.9A CN103825689B (en) | 2014-03-03 | 2014-03-03 | Delay determinacy message retransmission method with local cache |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410073851.9A CN103825689B (en) | 2014-03-03 | 2014-03-03 | Delay determinacy message retransmission method with local cache |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103825689A CN103825689A (en) | 2014-05-28 |
CN103825689B true CN103825689B (en) | 2017-04-19 |
Family
ID=50760542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410073851.9A Active CN103825689B (en) | 2014-03-03 | 2014-03-03 | Delay determinacy message retransmission method with local cache |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103825689B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2537700B (en) * | 2014-12-24 | 2021-07-14 | Pismo Labs Technology Ltd | Methods and systems for transmitting data through an aggregated connection |
CN108512708B (en) * | 2017-02-24 | 2023-01-06 | 中兴通讯股份有限公司 | Cache calculation method and device |
CN109743143B (en) * | 2018-11-16 | 2021-07-30 | 深圳证券交易所 | Data retransmission method, device and computer readable storage medium |
CN112865926B (en) * | 2021-02-04 | 2022-09-06 | 中汽创智科技有限公司 | End-to-end safety communication fault tolerance method and system |
CN113328958B (en) * | 2021-05-06 | 2022-03-11 | 北京连山科技股份有限公司 | Multi-link mass transmission method and system based on UDP (user Datagram protocol) cache optimization |
CN118368038A (en) * | 2023-01-17 | 2024-07-19 | 华为技术有限公司 | Communication method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714915A (en) * | 2009-11-02 | 2010-05-26 | 清华大学 | Data retransmission method and system |
CN102118653A (en) * | 2009-12-31 | 2011-07-06 | 华为技术有限公司 | Method and device for ensuring service quality of live broadcast of web television |
-
2014
- 2014-03-03 CN CN201410073851.9A patent/CN103825689B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714915A (en) * | 2009-11-02 | 2010-05-26 | 清华大学 | Data retransmission method and system |
CN102118653A (en) * | 2009-12-31 | 2011-07-06 | 华为技术有限公司 | Method and device for ensuring service quality of live broadcast of web television |
Non-Patent Citations (2)
Title |
---|
吴敏.可靠组播协议及其缓存管理研究.《中国知网硕士学位论文全文数据库》.2011,全文. * |
杜学绘.一个适用于DTN网络的拥塞避免与解除方案.《计算机应用研究》.2013,全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN103825689A (en) | 2014-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107508655B (en) | An Adaptive End-to-End Network Coding Transmission Method | |
US10237153B2 (en) | Packet retransmission method and apparatus | |
CN103825689B (en) | Delay determinacy message retransmission method with local cache | |
CN109327288B (en) | Data transmission acceleration method, device and system | |
JP4323432B2 (en) | Method for improving the transmission quality of streaming media | |
WO2013135196A1 (en) | Method and system for data packet transmission and sending terminal equipment and receiving terminal equipment | |
JP2013243722A (en) | Control of data transmission based on harq in wireless communication system | |
US20160380898A1 (en) | Controlling a transmission control protocol window size | |
WO2009022877A2 (en) | A method of transmitting and processing data block of specific protocol layer in wireless communication system | |
CN107204834A (en) | A kind of control method of the express network transmitting based on UDT agreements | |
JP5020076B2 (en) | High performance TCP suitable for low frequency ACK system | |
KR20090118933A (en) | Proxy based signaling method | |
CN111131179B (en) | Service processing method, device, network equipment and storage medium | |
CN102318312A (en) | Controlling bandwidth share | |
CN104780119A (en) | Lost packet locating and detecting method based on SCPS-TP | |
CN104618007B (en) | A kind of synchronous satellite Transmission Control Protocol segmentation connection optimization method | |
WO2022083371A1 (en) | Data transmission method and device | |
CN110072254A (en) | A kind of transmission method and its relevant device of data | |
CN100505608C (en) | An adaptive congestion control method and system suitable for satellite networks | |
CN108173851B (en) | High-efficiency multimedia transmission method for spatial information network | |
EP3809748B1 (en) | Data transmitting method and device | |
CN108713311A (en) | A kind of transmission method, equipment and the system of transmission control protocol TCP message | |
CN104796235B (en) | Satellite communication adaptive congestion control method based on packet loss | |
JP2014192811A (en) | Relay device and communication method | |
CN105227276A (en) | A method of peer-to-peer network data transmission based on UDT |
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 |