CN102694631B - Method and device for controlling data transmission - Google Patents
Method and device for controlling data transmission Download PDFInfo
- Publication number
- CN102694631B CN102694631B CN201210169695.7A CN201210169695A CN102694631B CN 102694631 B CN102694631 B CN 102694631B CN 201210169695 A CN201210169695 A CN 201210169695A CN 102694631 B CN102694631 B CN 102694631B
- Authority
- CN
- China
- Prior art keywords
- equipment
- transmit leg
- receiver equipment
- data message
- leg equipment
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1829—Arrangements specially adapted for the receiver end
- H04L1/1864—ARQ related signaling
Abstract
The invention relates to a device and a method for controlling data transmission. The device comprises a judgment module and a transmission module, wherein the judgment module is used for judging whether a data message, which is received by receiving party's equipment from transmitting party's equipment not in an anticipated sequence, meets appointed amount condition, when the receiving party's equipment receives the data message from the transmitting party's equipment; and the transmission module is used for sending an affirmation message not including a selective response SACK option to the transmitting party's equipment when the condition is met, wherein the SACK option carries the information indicating that the receiving party's equipment already receives the data message from the transmitting party's equipment not in an anticipated sequence. According to the method and device provided by the invention, the waste of the system resource is reduced under the condition of not affecting the normal retransmission of the data.
Description
Technical field
The present invention relates to field of data transmission, particularly relate to a kind of method and apparatus for control data transmission.
Background technology
Transmission control protocol (TCP:Transmission Control Protocol) be a kind of connection-oriented, reliable, based on the transport layer communication protocol of byte stream.
According to the mechanism of TCP, at every turn from after transmit leg equipment receives data message, receiver equipment all can send confirmation message (ACK:Acknowledgment) to transmit leg equipment, to inform the information of its data message of acknowledgement of transmit leg equipment.The data message that receiver equipment only arrives to transmit leg equipment acknowledgement according to expection order usually.Such as, after receiver equipment acknowledgement data message n, the next data message according to expection order arrival receiver equipment should be data message n+1, therefore, if the data message arriving receiver equipment is data message n+1, then receiver equipment acknowledgement data message n+1, if and arrive the data message of receiver equipment be not data message n+1 but other data message do not arrived according to expection order (such as, data message n+4, n+5 or n+7 etc.), then receiver equipment can not acknowledgement these not according to expection order arrive data message.According to the confirmation message received from receiver equipment, transmit leg equipment again will send it to receiver equipment and send but the data message of the non-acknowledgement of receiver equipment, to guarantee all data messages that receiver equipment acknowledgement transmit leg equipment sends.
From the above description, although receiver equipment not acknowledgement not according to expection order arrive data message, but receiver equipment has received these really not according to the data message that expection order arrives, but, transmit leg equipment still retransmits these received method, apparatus to receiver equipment and receives but the data message of not received method, apparatus acknowledgement, until these data messages of receiver equipment acknowledgement.Obviously, transmit leg equipment retransmits the paid-in data message of receiver equipment to receiver equipment will waste a large amount of network bandwidths, reduces the throughput of transfer of data.
In order to overcome above-mentioned defect, people improve TCP mechanism.Machine-processed according to the TCP after improving, when receiver equipment receives the data message do not arrived according to expection order, receiver equipment to transmit leg equipment send really receiving literary composition except comprising the information of the receiver equipment data message of acknowledgement, also comprise receiver equipment received but non-acknowledgement not according to the information of data message that expection order arrives, thus, according to the information of the data message do not arrived according to expection order receiving from receiver equipment that the receiver equipment that comprises in literary composition of really receiving telegraph received, transmit leg equipment only can retransmit and send but the data message that receives not yet of receiver equipment, do not waste the throughput of the network bandwidth and reduction transfer of data.The confirmation message of the information of the data message do not arrived according to expection order comprising that receiver equipment received is commonly referred to as selective acknowledgement message (SACK:Selective Acknowledgment), wherein, what receiver equipment had received is not included in the SACK option included by SACK according to the information of the data message of expection order arrival.
But, machine-processed according to the TCP after improving, after receiver equipment receives the data message do not arrived according to expection order, receiver equipment needs to comprise SACK option to each confirmation message that transmit leg equipment sends, with received to transmit leg equipment notice receiver equipment not according to the information of data message that expection order arrives.But, the content of the SACK option included by a lot of confirmation message is identical, and therefore, each confirmation message comprises SACK option will waste system resource, because this increases the processing load of transmit leg equipment, and transmission SACK option needs consume network bandwidth.
For this reason, people make further improvements TCP mechanism.The TCP mechanism improved further according to this, receiver equipment to send to transmit leg equipment one comprise the confirmation message of SACK option before, first judge that whether SACK option included by this confirmation message that will send is identical with the SACK option included by the confirmation message sent in the past and this confirmation message that will send does not comprise extra information, and when judged result is for negative, just send this confirmation message comprising SACK option that will send to transmit leg equipment, otherwise do not send this confirmation message comprising SACK option that will send to transmit leg equipment.The TCP mechanism adopting this to improve further, really decreases the transmission of SACK option, thus avoids the waste of system resource.
In the TCP mechanism that this improves further, it is the transmission of sending realization minimizing SACK option by reducing confirmation message.But, reduce the effect that the transmission of the confirmation message quantity that can worsen according to the confirmation message repeated carries out the congestion control mechanism of Fast retransmission, thus affect the normal re-transmission of data.
Summary of the invention
Consider the problems referred to above of prior art, embodiments of the invention provide a kind of method and apparatus for control data transmission, it normally can retransmit when not affecting data, reduce the waste of system resource.
According to a kind of method for control data transmission of the embodiment of the present invention, comprise step: when receiver equipment receives from transmit leg equipment the data message do not arrived according to expection order, judge whether the data message do not arrived according to expection order that described receiver equipment has received from described transmit leg equipment meets the quantity term of specifying; When judged result is for time certainly, the confirmation message not comprising selective acknowledgment SACK option is sent to described transmit leg equipment, wherein, described SACK option carry described receiver equipment from described transmit leg equipment receive not according to the information of data message that expection order arrives.
According to a kind of device for control data transmission of the embodiment of the present invention, comprise: judge module, for when receiver equipment receives from transmit leg equipment the data message do not arrived according to expection order, judge whether the data message do not arrived according to expection order that described receiver equipment has received from described transmit leg equipment meets the quantity term of specifying; Sending module, for when judged result is for affirmative, the confirmation message not comprising selective acknowledgment SACK option is sent to described transmit leg equipment, wherein, described SACK option carry described receiver equipment from described transmit leg equipment receive not according to the information of data message that expection order arrives.
As can be seen from description above, when receiver equipment receives from transmit leg equipment the data message do not arrived according to expection order, when the data message do not arrived according to expection order that receiver equipment has received from transmit leg equipment meets the quantity term of specifying, not to transmit leg equipment send about receiver equipment from transmit leg equipment receive not according to the information of data message that expection order arrives, but still send the common confirmation message not comprising SACK option, therefore, relative to prior art, scheme disclosed in embodiments of the invention can when not affecting the waste reducing system resource data normally retransmit.
Accompanying drawing explanation
Feature of the present invention, feature, benefit and advantage will become more apparent by the detailed description below in conjunction with accompanying drawing.Wherein:
Fig. 1 shows the technical scheme generalized schematic for control data transmission according to the embodiment of the present invention;
Fig. 2 shows the flow chart of the method for control data transmission according to the embodiment of the present invention one;
Fig. 3 shows the flow chart of the method for control data transmission according to the embodiment of the present invention two;
Fig. 4 shows the schematic diagram of the device for control data transmission according to one embodiment of the invention;
Fig. 5 shows the schematic diagram of the communication system according to one embodiment of the invention; And
Fig. 6 shows the schematic diagram of the computer system according to one embodiment of the invention.
Embodiment
Below, each embodiment of the present invention will be described by reference to the accompanying drawings in detail.
Referring now to Fig. 1, it illustrates the technical scheme generalized schematic for control data transmission according to the embodiment of the present invention.As shown in Figure 1, in step S10, when receiver equipment receives from transmit leg equipment the data message do not arrived according to expection order, judge whether the data message do not arrived according to expection order that receiver equipment has received from transmit leg equipment meets the quantity term of specifying.
In step S20, when the judged result of step S10 is for being, send to transmit leg equipment and do not comprise the confirmation message of selective acknowledgment SACK option, wherein, SACK option carries the information of the data message do not arrived according to expection order that receiver equipment has received from transmit leg equipment.
Further, optionally, when judged result is no, the confirmation message comprising SACK option is sent to described transmit leg equipment.
From above-mentioned, due in the technical scheme that provides in the embodiment of the present invention, when receiver equipment receives from transmit leg equipment the data message do not arrived according to expection order, when the data message do not arrived according to expection order that receiver equipment has received from transmit leg equipment meets the quantity term of specifying, receiver equipment not to transmit leg equipment send about receiver equipment from transmit leg equipment receive not according to the information of data message that expection order arrives, but still send common confirmation message, therefore, when not affecting the waste decreasing system resource data normally retransmit.
See Fig. 2, it illustrates the flow chart of the method for control data transmission according to the embodiment of the present invention one.As shown in Figure 2, in step S100, receiver equipment R receives a data message D from transmit leg equipment S.
In step S102, receiver equipment R judges whether the data message D received is not according to the data message that expection order arrives.
In step S104, when the judged result of step S100 is negative, when namely data message D is the data message according to the arrival of expection order, the first count value DJ resets by receiver equipment R.Here, first count value DJ for calculate from last receiver equipment R to transmit leg equipment S send comprise the selective acknowledgement message of SACK option after, receiver equipment R continuous from transmit leg equipment S receive not according to the quantity of data message that expection order arrives, wherein, SACK option for carry receiver equipment R from transmit leg equipment S receive not according to the information of data message that expection order arrives.
In step S108, receiver equipment R sends the common confirmation message not comprising SACK option to transmit leg equipment S.Then, flow process terminates.
In step S112, when the judged result of step S100 is affirmative, namely when data message D is the data message do not arrived according to expection order, receiver equipment R calculate comprise data message D from transmit leg equipment S receive not according to the cumulative amount of data message that expection order arrives.
In step S116, receiver equipment R judges whether the cumulative amount calculated does not reach the first amount threshold FI.Here, the first amount threshold FI can equal the half of the receive window of receiver equipment R.
When the judged result of step S116 is negative, when namely calculated cumulative amount reaches the first amount threshold F, flow process proceeds to step S136 and S140.
In step S120, when the judged result of step S116 is for certainly, receiver equipment R calculates the summation of the quantity included by all data messages do not arrived according to expection order received from transmit leg equipment S comprising data message D.
In step S124, receiver equipment R judges whether the summation calculated does not reach the 3rd amount threshold H.Here, the data volume that the half that the 3rd amount threshold H can equal the receive window of receiver equipment R can be held.
When the judged result of step S124 is negative, when namely calculated summation reaches the 3rd amount threshold H, flow process proceeds to step S136 and S140.
In step S128, when the judged result of step S124 is affirmative, when namely calculated summation does not reach the 3rd amount threshold H, receiver equipment R increases by 1 the first count value DJ.
In step S132, receiver equipment R judges whether the first count value DJ does not reach the second amount threshold SE.Here, the second amount threshold SE can equal the quantity that transmit leg equipment S triggers the confirmation message of the repetition required by congestion control mechanism.Such as, the second amount threshold SE can equal 3.
When the judged result of step S132 is negative, when namely the first count value DJ reaches the second amount threshold SE, flow process proceeds to step S136 and S140.
In step S136, receiver equipment R sends the selective acknowledgement message comprising SACK option to transmit leg equipment S.
In step S140, the first count value DJ resets by receiver equipment R, and then flow process terminates.
In step S144, when the judged result of step S132 is affirmative, when namely the first count value DJ does not reach the second amount threshold SE, receiver equipment R sends the common confirmation message not comprising SACK option to transmit leg equipment S.
See Fig. 3, it illustrates the flow chart of the method for control data transmission according to the embodiment of the present invention two.The present embodiment two comprises step S100-S140 and step S144-S152, and wherein, the step S100-S140 included by the present embodiment two is identical with the step S100-S140 described in previous embodiment one.For simplicity, below only step S144-S152 is described, and step S100-S140 repeats no more.
In step S144, when the judged result of step S132 is affirmative, namely, when the first count value DJ does not reach the second amount threshold SE, receiver equipment R calculates the time having in receiver equipment R and continued from the data message do not arrived according to expection order of transmit leg equipment S reception.
In step S148, receiver equipment R judges whether the time calculated does not reach very first time threshold value SJ.
When the judged result of step S148 is negative, when namely the calculated time reaches very first time threshold value SJ, flow process proceeds to step S136 and S140.
In step S152, when the judged result of step S152 is affirmative, when namely the calculated time does not reach very first time threshold value SJ, receiver equipment R sends the common confirmation message not comprising SACK option to transmit leg equipment S.
Other modification > of <
Those skilled in the art are to be understood that, although in superincumbent embodiment one, first judge whether the cumulative amount of data message do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S does not reach the first amount threshold FI, then, judge when the cumulative amount of data message do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S does not reach the first amount threshold FI whether the summation of the data included by all data messages do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S does not reach the 3rd amount threshold H, finally, judge when the summation of data included by all data messages do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S does not reach the 3rd amount threshold H from once receiver equipment R to send to transmit leg equipment S comprise the selective acknowledgement message of SACK option after receiver equipment R continuous receive from transmit leg equipment S do not reach the second amount threshold SE according to the quantity of the data message of expection order arrival, but, the present invention is not limited thereto for the precedence that these three judge.In other embodiments of the invention, these three precedences judged can combine arbitrarily as required.
Those skilled in the art are to be understood that, although in superincumbent embodiment one, when receiver equipment R receives from transmit leg equipment S the data message do not arrived according to expection order, when the data message do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S meets following quantity term of specifying, that is: what (A) receiver equipment R had received from transmit leg equipment S does not reach the first amount threshold FI according to the cumulative amount of the data message of expection order arrival, (B) summation of data included by all data messages do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S does not reach the 3rd amount threshold H, and, (C) to send the selective acknowledgement message of SACK option to transmit leg equipment S from last receiver equipment R after, the quantity of the continuous data message do not arrived according to expection order received from transmit leg equipment S of receiver equipment R does not reach the second amount threshold SE, receiver equipment R just sends the common confirmation message not comprising SACK option to transmit leg equipment S, but, the present invention is not limited to this quantity term of specifying and comprises: what receiver equipment R had received from transmit leg equipment S does not reach the first amount threshold F according to the cumulative amount of the data message of expection order arrival, the summation of data included by all data messages do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S does not reach the 3rd amount threshold H, and, from last receiver equipment R to send to transmit leg equipment S comprise the selective acknowledgement message of SACK option after the continuous quantity of data message do not arrived according to expection order received from transmit leg equipment S of receiver equipment R do not reach the second amount threshold SE.
In some other embodiment of the present invention, this quantity term of specifying also such as can only include following wherein one or two: the cumulative amount of the data message do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S does not reach the first amount threshold F, the summation of data included by all data messages do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S does not reach the 3rd amount threshold H, and, from last receiver equipment R to send to transmit leg equipment S comprise the selective acknowledgement message of SACK option after the continuous quantity of data message do not arrived according to expection order received from transmit leg equipment S of receiver equipment R do not reach the second amount threshold SE.
In some other embodiment of the present invention, this quantity term of specifying also can be such as or also comprise: what after last receiver equipment R comprises the selective acknowledgement message of SACK option to transmit leg equipment S transmission, receiver equipment R had received from transmit leg equipment S does not reach predetermined quantity according to the quantity of the data message of expection order arrival.
Those skilled in the art are to be understood that, although in superincumbent embodiment two, when receiver equipment R receives from transmit leg equipment S the data message do not arrived according to expection order, when the data message do not arrived according to expection order determining that receiver equipment R has received from transmit leg equipment S meets the quantity term of specifying, when the data message do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S meets time conditions (that is: have since receiver equipment R the time that continued of data message do not arrived according to expection order received from transmit leg equipment S do not reach very first time threshold value SJ) of specifying, receiver equipment R just sends the common confirmation message not comprising SACK option to transmit leg equipment S, but, the present invention is not limited thereto.In some other embodiment of the present invention, also can not consider whether the data message do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S meets the quantity term of specifying, directly determine whether the data message do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S meets the time conditions of specifying, and when the data message do not arrived according to expection order determining that receiver equipment R has received from transmit leg equipment S meets the time conditions of specifying, receiver equipment R just sends the common confirmation message not comprising SACK option to transmit leg equipment S.
In addition, for the present invention, the time conditions of specifying is not limited to: in receiver equipment R, have the time that continued of data message do not arrived according to expection order received from transmit leg equipment S does not reach very first time threshold value SJ.In some other embodiment of the present invention, the time conditions of specifying also can be such as: when having the data message do not arrived according to expection order in receiver equipment R, to send comprise the time passed the selective acknowledgement message of SACK option and do not reach scheduled time threshold value from last receiver equipment R to transmit leg equipment S.
Although it will be appreciated by those skilled in the art that in each embodiment superincumbent, first amount threshold FI equals the half of the receive window of receiver equipment R, but the present invention is not limited thereto.In some other embodiment of the present invention, the first amount threshold FI also can be other numerical value, such as, equal 1/3 or 3/4 of the receive window of receiver equipment R etc.
See Fig. 4, it illustrates the schematic diagram of the device for control data transmission according to one embodiment of the invention.It will be appreciated by those skilled in the art that the device shown in Fig. 3 can utilize the mode of software, hardware or software and hardware combining to realize, and can be arranged in receiver equipment.
As shown in Figure 4, the device 30 for control data transmission can comprise judge module 310 and sending module 320.Wherein, judge module 310, for when receiver equipment R receives from transmit leg equipment S the data message do not arrived according to expection order, judge whether the data message do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S meets the quantity term of specifying.Sending module 320, for when judged result is for being, send to transmit leg equipment S and do not comprise the confirmation message of selective acknowledgment SACK option, wherein, SACK option carries the information of the data message do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S.
Further, optionally, when sending module 320 is also for being no when judged result, the confirmation message comprising SACK option is sent to described transmit leg equipment.
In addition, judge module 310 can comprise: the first computing module, for calculate receiver equipment R from transmit leg equipment S receive not according to the cumulative amount of data message that expection order arrives; And the first checking module, for checking whether calculated cumulative amount does not reach the first amount threshold.Or, judge module 310 can comprise: the second computing module, for calculate from last to send to transmit leg equipment S comprise the confirmation message of SACK option after, the quantity of the continuous data message do not arrived according to expection order received from transmit leg equipment S of receiver equipment R; And the second checking module, for checking whether calculated quantity does not reach the second amount threshold.Or judge module 310 can comprise: the 3rd computing module, for calculating the summation of data included by all data messages do not arrived according to expection order that receiver equipment R received from transmit leg equipment S; And the 3rd checking module, for checking whether calculated summation does not reach the 3rd amount threshold.
Wherein, the second amount threshold can equal the quantity that transmit leg equipment S triggers the confirmation message of the repetition required by congestion control mechanism, and the first amount threshold can equal the half of the receive window of receiver equipment R.
In addition, device 30 can also comprise: determination module, for when the judged result of judge module 310 is for being, determines whether the data do not arrived according to expection order that receiver equipment R has received from transmit leg equipment S meet the time conditions of specifying; And delivery module is used for when determination result is for being, send the confirmation message not comprising SACK option to transmit leg equipment S.
In addition, determination module can also comprise: the 4th computing module, for calculating the time having in receiver equipment R and continued from the data message do not arrived according to expection order of transmit leg equipment S reception; And the 4th checking module, for checking whether the calculated time does not reach the time threshold of specifying.
See Fig. 5, it illustrates the schematic diagram of the communication system according to one embodiment of the invention.As shown in Figure 5, communication system 40 can comprise transmit leg equipment 410 and receiver equipment 420.Wherein, transmit leg equipment 410 is for sending datagram to receiver equipment 420.Receiver equipment 420 is for when receiving the data message do not arrived according to expection order from transmit leg equipment 410, judge whether the data message do not arrived according to expection order that receiver equipment 420 has received from transmit leg equipment 10 meets the quantity term of specifying, and when judged result is for being, the confirmation message not comprising SACK option is sent to transmit leg equipment 410, wherein, SACK option carry receiver equipment 420 from transmit leg equipment 410 receive not according to the information of data message that expection order arrives.
In addition, when receiver equipment 420 is also for being no when judged result, determine whether the data do not arrived according to expection order that receiver equipment 420 has received from transmit leg equipment 410 meet the time conditions of specifying, and when determination result is for time certainly, send the confirmation message not comprising SACK option to transmit leg equipment 410.
See Fig. 6, it illustrates the schematic diagram of the computer system according to one embodiment of the invention.As shown in Figure 6, computer system 60 comprises: bus 610; The processor 620 be connected with bus 610 and the memory 630 be connected with bus 610.
Wherein, processor 620 is by bus 610, call the executable instruction stored in memory 630, for: when computer system 60 receives from transmit leg equipment the data message do not arrived according to expection order, judge whether the data message do not arrived according to expection order that computer system 60 has received from transmit leg equipment meets the quantity term of specifying; And when judged result is for being, sends do not comprise the confirmation message of SACK option to transmit leg equipment, wherein, SACK option carries the information of the data message do not arrived according to expection order that computer system 60 has received from transmit leg equipment.
In addition, processor 620 can also be used for when judged result is no, determine whether the data do not arrived according to expection order that computer system 60 has received from transmit leg equipment meet the time conditions of specifying, and when determination result is for time certainly, send the confirmation message not comprising SACK option to transmit leg equipment.
Embodiments of the invention also provide a kind of machine readable media, and it stores executable instruction, but when this executable instruction is performed, make the step of machine execution performed by processor 620.
Those skilled in the art are to be understood that, scheme for control data transmission disclosed in this invention not only can be applied to TCP, also other Data Transport Protocol can be applied to, such as User Datagram Protoco (UDP) (UDP:User Datagram Protocol), SCTP (SCTP:Stream ControlTransmission Protocol) etc.
It will be appreciated by those skilled in the art that each embodiment disclosed in this invention can make various distortion and change when not departing from invention essence, these distortion and change all should drop within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by appending claims.
Claims (17)
1., for a method for control data transmission, comprise step:
When receiver equipment receives from transmit leg equipment the data message do not arrived according to expection order, judge whether the data message do not arrived according to expection order that described receiver equipment has received from described transmit leg equipment meets the quantity term of specifying;
When judged result is for being, the confirmation message not comprising selective acknowledgment SACK option is sent to described transmit leg equipment, wherein, described SACK option carry described receiver equipment from described transmit leg equipment receive not according to the information of data message that expection order arrives;
When judged result is no, send the confirmation message comprising described SACK option to described transmit leg equipment.
2. the method for claim 1, wherein described determining step comprises:
Calculate the cumulative amount of the data message do not arrived according to expection order that described receiver equipment has received from described transmit leg equipment; And
Check whether the cumulative amount calculated does not reach the first amount threshold.
3. the method for claim 1, wherein described determining step comprises:
Calculate from last to send to described transmit leg equipment comprise the confirmation message of described SACK option after, the quantity of the continuous data message do not arrived according to expection order received from described transmit leg equipment of described receiver equipment; And
Check whether the quantity calculated does not reach the second amount threshold.
4. the method for claim 1, wherein described determining step comprises:
Calculate the summation of the data included by all data messages do not arrived according to expection order that described receiver equipment has received from described transmit leg equipment; And
Check whether the summation calculated does not reach the 3rd amount threshold.
5. method as claimed in claim 2, wherein
Described first amount threshold equals the half of the receive window of described receiver equipment.
6. method as claimed in claim 3, wherein
Described second amount threshold equals the quantity of the confirmation message of the continuous repetition required by described transmit leg device trigger congestion control mechanism.
7. method as claimed in claim 4, wherein
The data volume that the half that described 3rd amount threshold equals the receive window of described receiver equipment can be held.
8. the method for claim 1, wherein also comprise:
When judged result is no, determine whether the data do not arrived according to expection order that described receiver equipment has received from described transmit leg equipment meet the time conditions of specifying; And
When determination result is for time certainly, send the confirmation message not comprising described SACK option to described transmit leg equipment.
9. method as claimed in claim 8, wherein, described determining step comprises:
Calculate the time having in described receiver equipment and continued from the data message do not arrived according to expection order of described transmit leg equipment reception; And
Check whether the time calculated does not reach the time threshold of specifying.
10., for a device for control data transmission, comprising:
Judge module, for when receiver equipment receives from transmit leg equipment the data message do not arrived according to expection order, judge whether the data message do not arrived according to expection order that described receiver equipment has received from described transmit leg equipment meets the quantity term of specifying;
Sending module, for when judged result is for being, the confirmation message not comprising selective acknowledgment SACK option is sent to described transmit leg equipment, wherein, described SACK option carry described receiver equipment from described transmit leg equipment receive not according to the information of data message that expection order arrives; When described sending module is also for being no when judged result, send the confirmation message comprising described SACK option to described transmit leg equipment.
11. devices as claimed in claim 10, wherein, described judge module comprises:
First computing module, for calculating the cumulative amount of the data message do not arrived according to expection order that described receiver equipment has received from described transmit leg equipment; And
First checking module, for checking whether calculated cumulative amount does not reach the first amount threshold.
12. devices as claimed in claim 10, wherein, described judge module comprises:
Second computing module, for calculate from last to send to described transmit leg equipment comprise the confirmation message of described SACK option after, the quantity of the continuous data message do not arrived according to expection order received from described transmit leg equipment of described receiver equipment; And
Second checking module, for checking whether calculated quantity does not reach the second amount threshold.
13. devices as claimed in claim 10, wherein, described judge module comprises:
3rd computing module, for calculating the summation of the data included by all data messages do not arrived according to expection order that described receiver equipment received from described transmit leg equipment; And
3rd checking module, for checking whether calculated summation does not reach the 3rd amount threshold.
14. devices as claimed in claim 10, wherein, also comprise:
Determination module, for when judged result is for negative, determines whether the data do not arrived according to expection order that described receiver equipment has received from described transmit leg equipment meet the time conditions of specifying; And
Delivery module is used for when determination result is for being, sends the confirmation message not comprising described SACK option to described transmit leg equipment.
15. devices as claimed in claim 14, wherein, described determination module comprises:
4th computing module, for calculating the time having in described receiver equipment and continued from the data message do not arrived according to expection order of described transmit leg equipment reception; And
4th checking module, for checking whether the calculated time does not reach the time threshold of specifying.
16. 1 kinds of communication systems, comprising:
Transmit leg equipment, for sending datagram to receiver equipment; And
Described receiver equipment, for when receiving the data message do not arrived according to expection order from described transmit leg equipment, judge whether the data message do not arrived according to expection order that described receiver equipment has received from described transmit leg equipment meets the quantity term of specifying, and when judged result is for being, the confirmation message not comprising selective acknowledgment SACK option is sent to described transmit leg equipment, wherein, described SACK option carry described receiver equipment from described transmit leg equipment receive not according to the information of data message that expection order arrives; When described receiver equipment is also for being no when judged result, send the confirmation message comprising described SACK option to described transmit leg equipment.
17. communication systems according to claim 16, is characterized in that,
When described receiver equipment is also for being no when described judged result, determine whether the data do not arrived according to expection order that described receiver equipment has received from described transmit leg equipment meet the time conditions of specifying, and when determination result is for time certainly, send the confirmation message not comprising described SACK option to described transmit leg equipment.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210169695.7A CN102694631B (en) | 2012-05-23 | 2012-05-23 | Method and device for controlling data transmission |
PCT/CN2012/083197 WO2013174095A1 (en) | 2012-05-23 | 2012-10-19 | Method and device for controlling data transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210169695.7A CN102694631B (en) | 2012-05-23 | 2012-05-23 | Method and device for controlling data transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102694631A CN102694631A (en) | 2012-09-26 |
CN102694631B true CN102694631B (en) | 2015-03-18 |
Family
ID=46859925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210169695.7A Active CN102694631B (en) | 2012-05-23 | 2012-05-23 | Method and device for controlling data transmission |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102694631B (en) |
WO (1) | WO2013174095A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102694631B (en) * | 2012-05-23 | 2015-03-18 | 华为技术有限公司 | Method and device for controlling data transmission |
CN103856302B (en) * | 2014-03-11 | 2017-09-19 | 广州天通智能技术有限公司 | A kind of smart machine control method |
CN105187949B (en) * | 2015-08-21 | 2019-06-25 | 广州市百果园网络科技有限公司 | A kind of transmission method and client of video |
CN107623562B (en) * | 2017-09-30 | 2021-05-07 | 新华三技术有限公司 | Data transmission method and device and electronic equipment |
CN110113293B (en) * | 2018-02-01 | 2021-08-13 | 腾讯科技(深圳)有限公司 | TCP data transmission control method and device, storage medium and electronic device |
CN114124299A (en) * | 2021-11-08 | 2022-03-01 | 国汽智控(北京)科技有限公司 | Radar data transmission method, device, equipment and medium |
CN114448573B (en) * | 2022-03-02 | 2024-02-23 | 新华三半导体技术有限公司 | Message processing method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102299899A (en) * | 2010-06-24 | 2011-12-28 | 清华大学 | Method for accelerating TCP (Transmission Control Protocol) under severe channel |
CN102413503A (en) * | 2011-12-27 | 2012-04-11 | 上海海事大学 | Method for adaptively determining packet delayed sending for Semi-TCP (transmission control protocol) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3158357B2 (en) * | 1998-09-03 | 2001-04-23 | 株式会社超高速ネットワーク・コンピュータ技術研究所 | Retransmission control method |
JP4283589B2 (en) * | 2003-03-25 | 2009-06-24 | 株式会社エヌ・ティ・ティ・ドコモ | COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND PROGRAM |
US7385923B2 (en) * | 2003-08-14 | 2008-06-10 | International Business Machines Corporation | Method, system and article for improved TCP performance during packet reordering |
EP1585283A1 (en) * | 2004-04-05 | 2005-10-12 | Alcatel | Wireless mobile terminal and telecommunication system |
US7864771B2 (en) * | 2007-04-20 | 2011-01-04 | Cisco Technology, Inc. | Parsing out of order data packets at a content gateway of a network |
CN102694631B (en) * | 2012-05-23 | 2015-03-18 | 华为技术有限公司 | Method and device for controlling data transmission |
-
2012
- 2012-05-23 CN CN201210169695.7A patent/CN102694631B/en active Active
- 2012-10-19 WO PCT/CN2012/083197 patent/WO2013174095A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102299899A (en) * | 2010-06-24 | 2011-12-28 | 清华大学 | Method for accelerating TCP (Transmission Control Protocol) under severe channel |
CN102413503A (en) * | 2011-12-27 | 2012-04-11 | 上海海事大学 | Method for adaptively determining packet delayed sending for Semi-TCP (transmission control protocol) |
Also Published As
Publication number | Publication date |
---|---|
WO2013174095A1 (en) | 2013-11-28 |
CN102694631A (en) | 2012-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102694631B (en) | Method and device for controlling data transmission | |
EP1871031B1 (en) | Retransmission control method and device | |
EP2109954B1 (en) | Ack prioritization in wireless networks | |
JP4654926B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND CONgestion Control Method Used In Them | |
US20070064668A1 (en) | Method and apparatus for improving transmission delay of status report in a wireless communications system | |
US8402343B2 (en) | Reliable packet cut-through | |
EP1568180B1 (en) | A method for enhancing transmission quality of streaming media | |
US9143450B2 (en) | Communication system and method for assisting with the transmission of TCP packets | |
US9485186B2 (en) | Network congestion control with awareness of random packet losses | |
EP2978171B1 (en) | Communication method, communication device, and communication program | |
JPWO2008044653A1 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD | |
CN101119183A (en) | Retransmission control method and transmission equipment | |
WO2008029793A1 (en) | Packet recovery method, communication system, information processing device, and program | |
KR102046792B1 (en) | Method of transporting data from sending node to destination node | |
US20090181703A1 (en) | Method and Apparatus for Triggering Status Report in a Wireless Communications System | |
US20120106344A1 (en) | Data communication acknowledgement in a network | |
JP7067544B2 (en) | Communication systems, communication devices, methods and programs | |
EP3939191B1 (en) | Device and method for delivering acknowledgment in network transport protocols | |
CN113242318B (en) | Data transmission method and electronic equipment | |
KR100919056B1 (en) | Apparatus and method for optimizing a report-time in a mobile communication system | |
CN116963175A (en) | Data transmission method, device and system | |
CN115348336A (en) | Universal transmission architecture for heterogeneous data streams | |
CN114039702A (en) | Data transmission method, device, equipment and medium | |
US20110238858A1 (en) | Traffic shaping device | |
CN114793146A (en) | Data receiving method, data sending method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |