CN104219028A - Method and device for improving the performance of a transmission control protocol (TCP) - Google Patents

Method and device for improving the performance of a transmission control protocol (TCP) Download PDF

Info

Publication number
CN104219028A
CN104219028A CN201310210051.2A CN201310210051A CN104219028A CN 104219028 A CN104219028 A CN 104219028A CN 201310210051 A CN201310210051 A CN 201310210051A CN 104219028 A CN104219028 A CN 104219028A
Authority
CN
China
Prior art keywords
rea
dre
tcp
label information
decoding
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.)
Granted
Application number
CN201310210051.2A
Other languages
Chinese (zh)
Other versions
CN104219028B (en
Inventor
张亮
马克思
瑞米
丹尼尔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310210051.2A priority Critical patent/CN104219028B/en
Publication of CN104219028A publication Critical patent/CN104219028A/en
Application granted granted Critical
Publication of CN104219028B publication Critical patent/CN104219028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The embodiment of the invention provides a method and device for improving the performance of a transmission control protocol (TCP). When a decoding REA receives a label for replacing repeated data, a TCP protocol stack of the decoding REA can produce a first TCP ACK (acknowledge) aiming at the data, and waits for a decoding result of a DRE decoder without immediately sending out the first TCP ACK; if the decoding REA can correctly decode, the DRE ACK and the first TCP ACK are sent to a coding REA together; if the decoding REA cannot correctly decode, the DRE NACK (negative acknowledge) and the first TCP ACK are sent to the coding REA together. The TCP ACK on the network can be reduced through the method provided by the invention, and the burden of the TCP protocol stack can be obviously lightened, and the performance of the TCP protocol stack is improved.

Description

A kind of method and apparatus improving tcp performance
Technical field
The present invention relates to the communications field, particularly relate to a kind of method and apparatus improving tcp performance.
Background technology
The general principle that data redundancy eliminates (Data Redundancy Elimination, DRE) is from flow, find the data pattern of repetition, replaces repeating data, repeating data is recovered at receiving terminal again with label.Because the length of label is much smaller than the length of repeating data, so just flow can be saved.
In common prior art, DRE is used in wide area network, data center (Data Center, DC) with branch (Branch, BR) by wide area network (Wide Area Network, WAN) connect, redundancy abatement apparatus (Redundancy Eliminate Appliance, REA) is between DC/BR and WAN.The data sent from DC are encoded at REA, replace repeating data with label, and through WAN transmission, decode in the REA of nearly BR, data reconstruction, finally issues BR.
In order to ensure decoding that can be correct, generally need to introduce affirmation mechanism.In existing affirmation mechanism, DRE encoder is by after data compression, and produce message (Message, Msg), generally each manufacturer arranges the privately owned form of this message separately, and the decoder of Jin Ge manufacturer just can be correctly decoded this message.This Msg sends by transmission control protocol (Transmission Control Protocol, the TCP) protocol stack of coding REA.
After the tcp protocol stack of DRE decoder receives above-mentioned Msg, TCP acknowledgment (Acknowledge, ACK) can be replied to the tcp protocol stack of DRE encoder.Further, Msg can be given DRE decoder by the tcp protocol stack of decoding REA.
As DRE decoder can be correctly decoded, then return DRE ACK to DRE encoder, after the tcp protocol stack of DRE encoder receives DRE ACK, TCP ACK can be sent and come to confirm this DRE ACK.As DRE decoder can not be correctly decoded, return DRE to DRE encoder and deny (Negative Acknowledge, NACK).After the tcp protocol stack of DRE encoder receives DRE NACK, also can send TCP ACK and come to confirm this DRE NACK.
In the conventional method, no matter be DRE encoder or DRE decoder, after receiving DRE Msg, DRE ACK or DRE NACK, tcp protocol stack all can produce TCP ACK and send to opposite end, greatly can have impact on the performance of tcp protocol stack like this.
Summary of the invention
Embodiments provide a kind of method and apparatus improving tcp performance, be intended to solve the problem how reducing TCP ACK.
First aspect, a kind of method improving tcp performance, described method comprises:
The label information that decoding redundancy abatement apparatus REA received code REA sends;
The transmission control protocol TCP protocol stack of decoding REA generates the first TCP acknowledgment ACK for described label information;
The data redundancy of decoding REA is eliminated DRE decoder and is decoded to described label information;
When the DRE decoder of the REA that decodes is correctly decoded described label information, generate DRE ACK; A described TCP ACK and described DRE ACK is sent to described coding REA by the tcp protocol stack of decoding REA;
When the DRE decoder of the REA that decodes can not be correctly decoded described label information, generate DRE and deny NACK; A described TCP ACK and described DRE NACK is sent to described coding REA by the tcp protocol stack of decoding REA.
In conjunction with first aspect, in the first possible implementation of first aspect, before the label information that decoding REA received code REA sends, also comprise:
The DRE encoder of coding REA finds the data of repetition from flow to be sent, replaces the data of described repetition, store described label information at the send window of described DRE encoder with described label information;
The tcp protocol stack of described coding REA obtains from the send window of described DRE encoder the label information stored;
Described label information is sent to coding REA by the tcp protocol stack of described coding REA.
In conjunction with the first possible implementation of first aspect or first aspect, in the implementation that the second of first aspect is possible, after a described TCP ACK and described DRE ACK is sent to described coding REA by the tcp protocol stack of decoding REA, also comprise:
The tcp protocol stack of described coding REA generates the 2nd TCP ACK for a described TCP ACK and described DRE ACK;
Preset a timer, before described timer expiry, when described coding REA needs to send other data to described decoding REA, then described 2nd TCP ACK and other data described are sent to described decoding REA by described coding REA.
Second aspect, a kind of method improving tcp performance, described method comprises:
The data redundancy of coding redundancy abatement apparatus REA eliminates the data that DRE encoder finds repetition from flow to be sent, replaces the data of described repetition, store described label information at the send window of described DRE encoder with label information;
The transmission control protocol TCP protocol stack of described coding REA obtains from the send window of described DRE encoder the label information stored;
Described label information is sent to decoding REA by the tcp protocol stack of described coding REA.
The third aspect, a kind of decoding REA, described decoding REA comprises:
Transmission control protocol TCP protocol stack, for the label information that received code REA sends, and generates the first TCP acknowledgment ACK for described label information;
Data redundancy eliminates DRE decoder, for decoding to described label information; When being correctly decoded described label information, generate DRE ACK; When described label information can not be correctly decoded, generates DRE and deny NACK;
Described tcp protocol stack, also for a described TCP ACK and described DRE ACK is sent to described coding REA; Or, for a described TCP ACK and described DRE NACK is sent to described coding REA.
Fourth aspect, a kind of coding REA, comprising:
Data redundancy eliminates DRE encoder, and for stored tag information in send window, wherein, described label information is for replacing the data of the repetition found from flow to be sent;
Transmission control protocol TCP protocol stack, for obtaining the label information stored from described DRE encoder, is sent to decoding REA by described label information.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, also comprise:
Described tcp protocol stack also for for decoding REA send the first TCP acknowledgment ACK and DRE ACK generate the 2nd TCP ACK; Wherein, a TCP ACK decoding REA generates for described label information, and DRE ACK decodes when REA is correctly decoded described label information and generates.
In conjunction with the first possibility of fourth aspect, described coding REA can also comprise a default timer, before described timer expiry, when described coding REA needs to send other data to described decoding REA, then described tcp protocol stack is also for being sent to described decoding REA by described 2nd TCP ACK and other data described.
5th aspect, a kind of system improving tcp performance, comprising:
Decoding redundancy abatement apparatus REA and coding REA;
Described decoding REA comprises the transmission control protocol TCP protocol stack that data redundancy eliminates DRE decoder and decoding REA;
Described coding REA comprises the tcp protocol stack of DRE encoder and coding REA;
Described decoding REA, for the label information that the REA received code REA that decodes sends; The tcp protocol stack of decoding REA generates the first TCP acknowledgment ACK for described label information; The DRE decoder of decoding REA is decoded to described label information; When the DRE decoder of the REA that decodes is correctly decoded described label information, generate DRE ACK; A described TCP ACK and described DRE ACK is sent to described coding REA by the tcp protocol stack of decoding REA; When the DRE decoder of the REA that decodes can not be correctly decoded described label information, generate DRE and deny NACK; A described TCP ACK and described DRE NACK is sent to described coding REA by the tcp protocol stack of decoding REA;
Described coding REA, the DRE encoder for the REA that encodes finds the data of repetition from flow to be sent, replaces the data of described repetition with label information, stores described label information at the send window of described DRE encoder; The tcp protocol stack of described coding REA obtains from the send window of described DRE encoder the label information stored; Described label information is sent to decoding REA by the tcp protocol stack of described coding REA.
Compared with prior art, in the embodiment of the present invention, after described decoding REA receives the label for replacing repeating data, the tcp protocol stack of decoding REA can produce a TCP ACK for described data, but immediately a described TCP ACK can not be sent, but wait for the decoded result of described DRE decoder.If correct coding, then described DRE ACK is sent to described coding REA together with a described TCP ACK; If can not be correctly decoded, then described DRE NACK is sent to described coding REA together with a described TCP ACK.The TCP ACK on network can be reduced by this method, obviously can alleviate the burden of tcp protocol stack, improve the performance of tcp protocol stack.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 a is a kind of method flow diagram improving tcp performance that the embodiment of the present invention provides;
Fig. 1 b is a kind of method flow diagram improving tcp performance that the embodiment of the present invention provides;
Fig. 2 is a kind of method schematic diagram improving tcp performance that the embodiment of the present invention provides;
Fig. 3 is a kind of method schematic diagram improving tcp performance that the embodiment of the present invention provides;
Fig. 4 a is the structure chart of a kind of REA that decodes that the embodiment of the present invention provides;
Fig. 4 b is the structure chart of a kind of REA that encodes that the embodiment of the present invention provides;
Fig. 5 is a kind of system construction drawing improving tcp performance that the embodiment of the present invention provides;
Fig. 6 is the structure chart of a kind of REA that decodes that the embodiment of the present invention provides;
Fig. 7 is the structure chart of a kind of REA that encodes that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Be a kind of method flow diagram improving tcp performance that the embodiment of the present invention provides with reference to figure 1a, Fig. 1 a, described method comprises:
The label information that 101, decoding redundancy abatement apparatus REA received code REA send;
Optionally, in an embodiment of the present invention, the REA that encodes refers to the REA equipment of coding side; Decoding REA refers to the REA equipment of decoding end.Coding REA can comprise DRE encoder and tcp protocol stack, and decoding REA can comprise DRE decoder and tcp protocol stack.
102, the transmission control protocol TCP protocol stack of decoding REA generates the first TCP acknowledgment ACK for described label information;
The data redundancy of 103, decoding REA is eliminated DRE decoder and is decoded to described label information; When the DRE decoder of the REA that decodes is correctly decoded described label information, generates DRE ACK, go to 104; When the DRE decoder of the REA that decodes can not be correctly decoded described label information, generate DRE and deny NACK, go to 105;
104, an above-mentioned TCP ACK and described DRE ACK is sent to described coding REA by the tcp protocol stack of decoding REA.
105, an above-mentioned TCP ACK and described DRE NACK is sent to described coding REA by the tcp protocol stack of decoding REA.
In an embodiment of the present invention, after described decoding REA receives the label for replacing repeating data, the tcp protocol stack of decoding REA can produce a TCP ACK for described data, but immediately a described TCP ACK can not be sent, but wait for the decoded result of described DRE decoder.If correct coding, then described DRE ACK is sent to described coding REA together with a described TCP ACK; If can not be correctly decoded, then described DRE NACK is sent to described coding REA together with a described TCP ACK.The TCP ACK on network can be reduced by this method, obviously can alleviate the burden of tcp protocol stack, improve the performance of Transmission Control Protocol.
With reference to the method flow diagram that figure 1b, Fig. 1 b is another raising tcp performance that the embodiment of the present invention provides, described method comprises:
The data redundancy of 106, coding redundancy abatement apparatus REA eliminates the data that DRE encoder finds repetition from flow to be sent, replaces the data of described repetition, store described label information at the send window of described DRE encoder with label information;
107, the transmission control protocol TCP protocol stack of described coding REA obtains from the send window of described DRE encoder the label information stored;
108, described label information is sent to decoding REA by the tcp protocol stack of described coding REA.
In an embodiment of the present invention, because the send window of the tcp protocol stack by the send window of DRE encoder and coding REA merges, therefore, coding REA can save the storage resources of half, improves the performance of Transmission Control Protocol.
Be a kind of method schematic diagram improving tcp performance that the embodiment of the present invention provides with reference to figure 2, Fig. 2, described method comprises:
The DRE encoder of 201, coding REA finds the data of repetition from flow, replaces the data of described repetition, store described label information at the send window of described DRE encoder with label;
202, the tcp protocol stack of described coding REA obtains from the send window of described DRE encoder the label information stored;
Described label information is sent to decoding REA and holds tcp protocol stack by the tcp protocol stack of 203, described coding REA;
204, the tcp protocol stack of decoding REA generates a TCP ACK for described label information, and the label information received is issued the DRE decoder of decoding REA;
205, the DRE decoder of decoding REA is decoded to described label information; When described DRE decoder can be correctly decoded described label, generate DRE ACK, and described DRE ACK is sent to the tcp protocol stack of described decoding REA;
A described DRE ACK and described TCP ACK is sent to the tcp protocol stack of coding REA by the tcp protocol stack of 206, described decoding REA;
207, the tcp protocol stack of described coding REA generates the 2nd TCP ACK for a described TCP ACK and described DRE ACK; Described DRE ACK is sent to the DRE encoder of described coding REA by the tcp protocol stack of described coding REA;
208, preset a timer, before described timer expiry, if described coding REA needs to send other data to described decoding REA, then described 2nd TCP ACK and other data described are sent to the tcp protocol stack of described decoding REA by described coding REA in the lump.
The embodiment of the present invention provides a kind of method improving tcp performance, the REA that encodes is sent to together with the DRE ACK that described method is successfully generated by the TCP ACK that generated for label information by the tcp protocol stack of decoding REA and DRE decoders decode, the TCPACK on network can be reduced by this method, obviously can alleviate the burden of tcp protocol stack, improve the performance of the Transmission Control Protocol of decoding REA; Further, because the send window of the tcp protocol stack by the send window of DRE encoder and coding REA merges, therefore, coding REA can save the storage resources of half, improves the performance of the Transmission Control Protocol of coding REA.
Be a kind of method schematic diagram improving tcp performance that the embodiment of the present invention provides with reference to figure 3, Fig. 3, described method comprises:
The DRE encoder of 301, coding REA finds the data of repetition from flow, replaces the data of described repetition, store described label information at the send window of described DRE encoder with label;
302, the tcp protocol stack of described coding REA obtains from the send window of described DRE encoder the label information stored;
Described label information is sent to the tcp protocol stack of decoding REA by the tcp protocol stack of 303, described coding REA;
304, the tcp protocol stack of decoding REA generates a TCP ACK for described label information, and the label information received is issued the DRE decoder of decoding REA;
305, the DRE decoder of decoding REA is decoded to described label information; When described DRE encoder cannot be correctly decoded described label, generate DRE NACK, described DRE NACK is sent to the tcp protocol stack of decoding REA by the DRE decoder of described decoding REA;
306, a described DRE NACK and described TCP ACK is sent to coding REA by the tcp protocol stack of described decoding REA;
307, described DRE NACK is sent to described DRE encoder by the tcp protocol stack of described coding REA;
308, described DRE encoder, according to described DRE NACK, is determined to need again to the label information that described decoding REA sends;
309, the tcp protocol stack of described coding REA generates the 3rd TCP ACK for a described TCP ACK and described DRENACK; The tcp protocol stack of described coding REA sends the tcp protocol stack of label information and the 3rd TCP ACK to described decoding REA determined in 308;
310, the tcp protocol stack of described decoding REA generates the 4th TCP ACK for the 3rd TCP ACKD generated in the label information and 309 determined in 308, and the label information received is issued the DRE decoder of decoding REA;
311, described DRE encoder is decoded to the label information determined in 308, when described DRE encoder is correctly decoded described label, generates DRE ACK;
Described DRE ACK and the 4th TCP ACK is sent to the tcp protocol stack of coding REA by the tcp protocol stack of 312, described decoding REA;
313, DRE ACK is sent to described DRE encoder by the tcp protocol stack of described coding REA.
The embodiment of the present invention provides a kind of method improving tcp performance, the REA that encodes is sent to together with the DRE NACK that described method is successfully generated by the TCP ACK that generated for label information by the tcp protocol stack of decoding REA and DRE decoders decode, the TCPACK on network can be reduced by this method, obviously can alleviate the burden of tcp protocol stack, improve the performance of the Transmission Control Protocol of decoding REA; Further, because the send window of the tcp protocol stack by the send window of DRE encoder and coding REA merges, therefore, coding REA can save the storage resources of half, improves the performance of the Transmission Control Protocol of coding REA.
With reference to the structure chart that figure 4a, Fig. 4 a is a kind of REA that decodes that the embodiment of the present invention provides, described decoding REA comprises:
Tcp protocol stack 401, for the label information that received code REA sends, and generates a TCP ACK for described label information;
DRE decoder 403, for decoding to described label information; When being correctly decoded described label information, generate DRE ACK; When described label information can not be correctly decoded, generate DRE NACK;
Described tcp protocol stack 401, also for a described TCP ACK and described DRE ACK is sent to described coding REA; Or, for a described TCP ACK and described DRE NACK is sent to described coding REA.
In an embodiment of the present invention, after decoding REA receives the label for replacing repeating data, the tcp protocol stack of decoding REA can produce a TCP ACK for described data, but can not be sent by a described TCP ACK immediately, but waits for the decoded result of described DRE decoder.If correct coding, then described DRE ACK is sent to described coding REA together with a described TCP ACK; If can not be correctly decoded, then described DRE NACK is sent to described coding REA together with a described TCP ACK, the TCP ACK on network can be reduced like this, obviously can alleviate the burden of tcp protocol stack, improve the performance of Transmission Control Protocol.
With reference to the structure chart that figure 4b, Fig. 4 b is a kind of REA that encodes that the embodiment of the present invention provides, described coding REA comprises:
DRE encoder 406, for stored tag information in send window, wherein, described label information is for replacing the data of the repetition found from flow to be sent;
Tcp protocol stack 407, for obtaining the label information stored from described DRE encoder 406, is sent to decoding REA by described label information.
In an embodiment of the present invention, because the send window of the tcp protocol stack by the send window of DRE encoder and coding REA merges, therefore, coding REA can save the storage resources of half, improves the performance of Transmission Control Protocol.
Optionally, described tcp protocol stack 407 also for for decoding REA send a TCP ACK and DRE ACK generate the 2nd TCP ACK; Wherein, a TCP ACK decoding REA generates for described label information, and DRE ACK decodes when REA is correctly decoded described label information and generates;
Optionally, described coding REA can also comprise a default timer, before described timer expiry, when described coding REA needs to send other data to described decoding REA, then described tcp protocol stack 407 is also for being sent to described decoding REA by described 2nd TCP ACK and other data described.
In the embodiment of the present invention, coding REA is owing to merging the send window of the send window of DRE encoder with the tcp protocol stack of coding REA, and therefore, coding REA can save the storage resources of half.
A kind of system construction drawing improving tcp performance that the embodiment of the present invention provides with reference to figure 5, Fig. 5.As shown in Figure 5, described system comprises:
Decoding redundancy abatement apparatus REA and coding REA; Described decoding REA comprises the transmission control protocol TCP protocol stack that data redundancy eliminates DRE decoder and decoding REA; Described coding REA comprises the tcp protocol stack of DRE encoder and coding REA; Wherein,
Described decoding REA, for the label information that the REA received code REA that decodes sends; The tcp protocol stack of decoding REA generates the first TCP acknowledgment ACK for described label information; The DRE decoder of decoding REA is decoded to described label information; When the DRE decoder of the REA that decodes is correctly decoded described label information, generate DRE ACK; A described TCP ACK and described DRE ACK is sent to described coding REA by the tcp protocol stack of decoding REA; When the DRE decoder of the REA that decodes can not be correctly decoded described label information, generate DRE and deny NACK; A described TCP ACK and described DRE NACK is sent to described coding REA by the tcp protocol stack of decoding REA;
Described coding REA, the DRE encoder for the REA that encodes finds the data of repetition from flow to be sent, replaces the data of described repetition with label information, stores described label information at the send window of described DRE encoder; The tcp protocol stack of described coding REA obtains from the send window of described DRE encoder the label information stored; Described label information is sent to decoding REA by the tcp protocol stack of described coding REA.
In an embodiment of the present invention, after decoding REA receiving the label for replacing repeating data, a TCP ACK can be produced for described data, but can not immediately a described TCP ACK be sent, but waiting for the decoded result of described DRE decoder.If correct coding, then described DRE ACK is sent to described coding REA together with a described TCP ACK; If can not be correctly decoded, then described DRE NACK is sent to described coding REA together with a described TCP ACK, the TCP ACK on network can be reduced like this, obviously can alleviate the burden of tcp protocol stack.
In the embodiment of the present invention, coding REA is owing to merging the send window of the send window of DRE encoder with the tcp protocol stack of coding REA, and therefore, coding REA can save the storage resources of half.
With reference to the structure chart that figure 6, Fig. 6 is a kind of REA that decodes that the embodiment of the present invention provides, described decoding REA comprises:
Processor (processor) 601, communication interface (Communications Interface) 602, memory (memory) 603, bus 604.
Processor 601, communication interface 602, memory 603 completes mutual communication by bus 604.
Communication interface 602, for communicating with coding REA;
Processor 601, for executive program.
Particularly, program can comprise program code, and described program code comprises computer-managed instruction.
Processor 601 may be a central processor CPU, or specific integrated circuit (Application Specific Integrated Circuit, ASIC), or is configured to the one or more integrated circuits implementing the embodiment of the present invention.
Memory 603, for depositing program.Memory 603 may comprise high-speed RAM memory, still may comprise nonvolatile memory (non-volatile memory).Program specifically can comprise:
The label information that received code REA sends;
A TCP ACK is generated for described label information;
Described label information being decoded, when being correctly decoded described label information, generating DRE ACK; When described label information can not be correctly decoded, generate DRE NACK;
A described TCP ACK and described DRE ACK is sent to described coding REA; Or, for a described TCP ACK and described DRE is denied that NACK is sent to described coding REA.
With reference to the structure chart that figure 7, Fig. 7 is a kind of REA that encodes that the embodiment of the present invention provides, described coding REA comprises:
Processor (processor) 701, communication interface (Communications Interface) 702, memory (memory) 703, bus 704.
Processor 701, communication interface 702, memory 703 completes mutual communication by bus 704.
Communication interface 702, for communicating with decoding REA;
Processor 701, for executive program.
Particularly, program can comprise program code, and described program code comprises computer-managed instruction.
Processor 701 may be a central processor CPU, or specific integrated circuit (Application Specific Integrated Circuit, ASIC), or is configured to the one or more integrated circuits implementing the embodiment of the present invention.
Memory 703, for depositing program.Memory 703 may comprise high-speed RAM memory, still may comprise nonvolatile memory (non-volatile memory).Program specifically can comprise:
Stored tag information, wherein, described label information is for replacing the data of the repetition found from flow to be sent;
The label information of storage is obtained from described memory cell;
Described label information is sent to decoding REA.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory is called for short RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (9)

1. improve a method for tcp performance, it is characterized in that, described method comprises:
The label information that decoding redundancy abatement apparatus REA received code REA sends;
The transmission control protocol TCP protocol stack of decoding REA generates the first TCP acknowledgment ACK for described label information;
The data redundancy of decoding REA is eliminated DRE decoder and is decoded to described label information;
When the DRE decoder of the REA that decodes is correctly decoded described label information, generate DRE ACK; A described TCP ACK and described DRE ACK is sent to described coding REA by the tcp protocol stack of decoding REA;
When the DRE decoder of the REA that decodes can not be correctly decoded described label information, generate DRE and deny NACK; A described TCP ACK and described DRE NACK is sent to described coding REA by the tcp protocol stack of decoding REA.
2. method according to claim 1, is characterized in that, before the label information that decoding REA received code REA sends, also comprises:
The DRE encoder of coding REA finds the data of repetition from flow to be sent, replaces the data of described repetition, store described label information at the send window of described DRE encoder with described label information;
The tcp protocol stack of described coding REA obtains from the send window of described DRE encoder the label information stored;
Described label information is sent to coding REA by the tcp protocol stack of described coding REA.
3. method according to claim 1 and 2, is characterized in that, after a described TCP ACK and described DRE ACK is sent to described coding REA by the tcp protocol stack of decoding REA, also comprises:
The tcp protocol stack of described coding REA generates the 2nd TCP ACK for a described TCP ACK and described DRE ACK;
Preset a timer, before described timer expiry, when described coding REA needs to send other data to described decoding REA, then described 2nd TCP ACK and other data described are sent to described decoding REA by described coding REA.
4. improve a method for tcp performance, it is characterized in that, described method comprises:
The data redundancy of coding redundancy abatement apparatus REA eliminates the data that DRE encoder finds repetition from flow to be sent, replaces the data of described repetition, store described label information at the send window of described DRE encoder with label information;
The transmission control protocol TCP protocol stack of described coding REA obtains from the send window of described DRE encoder the label information stored;
Described label information is sent to decoding REA by the tcp protocol stack of described coding REA.
5. decode a redundancy abatement apparatus REA, it is characterized in that, comprising:
Transmission control protocol TCP protocol stack, for the label information that received code REA sends, and generates the first TCP acknowledgment ACK for described label information;
Data redundancy eliminates DRE decoder, for decoding to described label information; When being correctly decoded described label information, generate DRE ACK; When described label information can not be correctly decoded, generates DRE and deny NACK;
Described tcp protocol stack, also for a described TCP ACK and described DRE ACK is sent to described coding REA; Or, for a described TCP ACK and described DRE NACK is sent to described coding REA.
6. a coding redundancy abatement apparatus REA, is characterized in that, comprising:
Data redundancy eliminates DRE encoder, and for stored tag information in send window, wherein, described label information is for replacing the data of the repetition found from flow to be sent;
Transmission control protocol TCP protocol stack, for obtaining the label information stored from described DRE encoder, is sent to decoding REA by described label information.
7. coding REA according to claim 6, is characterized in that, described tcp protocol stack also for for decoding REA send the first TCP acknowledgment ACK and DRE ACK generate the 2nd TCP ACK; Wherein, a TCP ACK decoding REA generates for described label information, and DRE ACK decodes when REA is correctly decoded described label information and generates.
8. coding REA according to claim 7, it is characterized in that, a default timer can also be comprised, before described timer expiry, when described coding REA needs to send other data to described decoding REA, then described tcp protocol stack is also for being sent to described decoding REA by described 2nd TCP ACK and other data described.
9. improve a system for tcp performance, it is characterized in that, comprising:
Decoding redundancy abatement apparatus REA and coding REA; Described decoding REA comprises the transmission control protocol TCP protocol stack that data redundancy eliminates DRE decoder and decoding REA; Described coding REA comprises the tcp protocol stack of DRE encoder and coding REA; Wherein,
Described decoding REA, for the label information that the REA received code REA that decodes sends; The tcp protocol stack of decoding REA generates the first TCP acknowledgment ACK for described label information; The DRE decoder of decoding REA is decoded to described label information; When the DRE decoder of the REA that decodes is correctly decoded described label information, generate DRE ACK; A described TCP ACK and described DRE ACK is sent to described coding REA by the tcp protocol stack of decoding REA; When the DRE decoder of the REA that decodes can not be correctly decoded described label information, generate DRE and deny NACK; A described TCP ACK and described DRE NACK is sent to described coding REA by the tcp protocol stack of decoding REA;
Described coding REA, the DRE encoder for the REA that encodes finds the data of repetition from flow to be sent, replaces the data of described repetition with label information, stores described label information at the send window of described DRE encoder; The tcp protocol stack of described coding REA obtains from the send window of described DRE encoder the label information stored; Described label information is sent to decoding REA by the tcp protocol stack of described coding REA.
CN201310210051.2A 2013-05-30 2013-05-30 A kind of method and apparatus for improving TCP performance Active CN104219028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310210051.2A CN104219028B (en) 2013-05-30 2013-05-30 A kind of method and apparatus for improving TCP performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310210051.2A CN104219028B (en) 2013-05-30 2013-05-30 A kind of method and apparatus for improving TCP performance

Publications (2)

Publication Number Publication Date
CN104219028A true CN104219028A (en) 2014-12-17
CN104219028B CN104219028B (en) 2018-02-23

Family

ID=52100198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310210051.2A Active CN104219028B (en) 2013-05-30 2013-05-30 A kind of method and apparatus for improving TCP performance

Country Status (1)

Country Link
CN (1) CN104219028B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050147039A1 (en) * 2004-01-07 2005-07-07 International Business Machines Corporation Completion coalescing by TCP receiver
CN101421980A (en) * 2005-10-07 2009-04-29 讯宝科技公司 System and method for detecting a delay in a computer network
CN104350488A (en) * 2012-04-04 2015-02-11 华为技术有限公司 Systems and methods for selective data redundancy elimination for resource constrained hosts

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050147039A1 (en) * 2004-01-07 2005-07-07 International Business Machines Corporation Completion coalescing by TCP receiver
CN1910860A (en) * 2004-01-07 2007-02-07 国际商业机器公司 Completion coalescine by TCP receiver
CN101421980A (en) * 2005-10-07 2009-04-29 讯宝科技公司 System and method for detecting a delay in a computer network
CN104350488A (en) * 2012-04-04 2015-02-11 华为技术有限公司 Systems and methods for selective data redundancy elimination for resource constrained hosts

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
武铨: "广域网数据冗余消除TCP透明代理的设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Also Published As

Publication number Publication date
CN104219028B (en) 2018-02-23

Similar Documents

Publication Publication Date Title
JP5955261B2 (en) Method and system for using reconfigurable rateless code and decoding in-process status feedback to communicate with multimedia
EP3079287A1 (en) Polar code processing method and system, and wireless communications apparatus
CN102446280B (en) A kind of method of verification msg, Apparatus and system
CN110958024B (en) Method and device for encoding serial data, embedded equipment and communication system
CN103229444B (en) Coding/decoding method, Apparatus and system
CN102123158A (en) Method and system for realizing network data processing
WO2009108562A2 (en) Code-assisted error-detection technique
CN108631789A (en) Coding, interpretation method and equipment
TWI557747B (en) Memory control module and method thereof and error correcting code encode/decode circuit and method thereof
US20200008099A1 (en) Data transmission method and related device
JP7282895B2 (en) Data retransmission decoding method, device, system and communication device
KR20190034665A (en) Method and apparatus for coding and decoding polar codes
CN103092717B (en) The data processing method of flash memory and device
CN103226685A (en) Method for improving radio frequency identification (RFID) tag reading success rate
CN104219028A (en) Method and device for improving the performance of a transmission control protocol (TCP)
US20190386792A1 (en) Data processing method, device and node
CN102915767B (en) Method, device and system for improving SSD (solid state disk) response speed on basis of data compressibility
CN102710366B (en) The method of data decoding and device
US10623140B2 (en) Method for processing signaling sub-segment, processing apparatus, access point, and station
CN104184545A (en) Method for data transmission, and decoding terminal and coding terminal
CN102984160B (en) Distributed network scan task processing method and system
CN103095510B (en) Multifunction vehicle bus analytical equipment
CN104079942A (en) Image processing method, device and system
CN104917736A (en) Session establishing method, terminal and system
CN102594490B (en) Method and device for degradation rate matching

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