CN104219028B - A kind of method and apparatus for improving TCP performance - Google Patents

A kind of method and apparatus for improving TCP performance Download PDF

Info

Publication number
CN104219028B
CN104219028B CN201310210051.2A CN201310210051A CN104219028B CN 104219028 B CN104219028 B CN 104219028B CN 201310210051 A CN201310210051 A CN 201310210051A CN 104219028 B CN104219028 B CN 104219028B
Authority
CN
China
Prior art keywords
rea
dre
tcp
coding
ack
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
Application number
CN201310210051.2A
Other languages
Chinese (zh)
Other versions
CN104219028A (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 present invention provides a kind of method and apparatus for improving TCP performance, after the decoding REA receives the label for replacing duplicate data, the first TCP ACK of data generation can be directed to by decoding REA TCP protocol stack, but not the first TCP ACK are sent immediately, and are to wait for the decoded result of the DRE decoders.If correct coding, the DRE ACK and the first TCP ACK are sent collectively to the coding REA;If can not be correctly decoded, the DRE NACK and the first TCP ACK are sent collectively to the coding REA.The TCP ACK on network can be reduced by this method, can substantially mitigate the burden of TCP protocol stack, improve the performance of TCP protocol stack.

Description

A kind of method and apparatus for improving TCP performance
Technical field
The present invention relates to the communications field, more particularly to a kind of method and apparatus for improving TCP performance.
Background technology
The general principle that data redundancy eliminates (Data Redundancy Elimination, DRE) is found from flow The data pattern repeated, replaces duplicate data with label, duplicate data is recovered again in receiving terminal.Due to the length of label Degree can thus save flow much smaller than the length of duplicate data.
It is common in the prior art, DRE be used for wide area network in, data center (Data Center, DC) and branch (Branch, BR) passes through wide area network(Wide Area Network, WAN)Connection, redundancy abatement apparatus (Redundancy Eliminate Appliance, REA) between DC/BR and WAN.Encoded from the data that DC is sent in REA, weight is replaced with label Complex data, transmit by WAN, decoded in nearly BR REA, rebuild data, finally issue BR.
In order to ensure can correctly decode, introducing affirmation mechanism is generally required.In existing affirmation mechanism, DRE codings Device produces message by after data compression(Message, Msg), general each manufacturer each sets the privately owned form of the message, only The decoder of each manufacturer can just be correctly decoded the message.Encode REA transmission control protocol(Transmission Control Protocol, TCP)Protocol stack sends the Msg.
After the TCP protocol stack of DRE decoders receives above-mentioned Msg, TCP acknowledgment can be replied(Acknowledge, ACK)Give The TCP protocol stack of DRE encoders.Also, decoding REA TCP protocol stack can give Msg DRE decoders.
As DRE decoders can be correctly decoded, then the TCP protocol stack that DRE ACK, DRE encoders are returned to DRE encoders is received To after DRE ACK, TCP ACK can be sent to confirm the DRE ACK.As DRE decoders can not be correctly decoded, encoded to DRE Device, which returns to DRE, to be denied(Negative Acknowledge, NACK).After the TCP protocol stack of DRE encoders receives DRE NACK, Also TCP ACK can be sent to confirm the DRE NACK.
In the conventional method, either DRE encoders or DRE decoders, receive DRE Msg, DRE ACK or After DRE NACK, TCP protocol stack can all produce TCP ACK and be sent to opposite end, can so leverage the property of TCP protocol stack Energy.
The content of the invention
The embodiments of the invention provide a kind of method and apparatus for improving TCP performance, it is intended to which how solution subtracts The problem of few TCP ACK.
In a first aspect, a kind of method for improving TCP performance, methods described include:
Decode redundancy abatement apparatus REA and receive the label information that coding REA is sent;
The transmission control protocol TCP protocol stack for decoding REA generates the first TCP acknowledgment ACK for the label information;
Decoding REA data redundancy eliminates DRE decoders and the label information is decoded;
When the DRE decoders for decoding REA are correctly decoded the label information, DRE ACK are generated;Decode REA TCP associations The first TCP ACK and the DRE ACK are sent to the coding REA by view stack;
When the DRE decoders for decoding REA can not be correctly decoded the label information, generation DRE denies NACK;Decoding The first TCP ACK and the DRE NACK are sent to the coding REA by REA TCP protocol stack.
With reference in a first aspect, in the first possible implementation of first aspect, coding REA is received in decoding REA Before the label information of transmission, in addition to:
Coding REA DRE encoders find the data of repetition from flow to be sent, are replaced with the label information The data of the repetition, the label information is stored in the transmission window of the DRE encoders;
The label information that sends window obtain storage of the TCP protocol stack of the coding REA from the DRE encoders;
The label information is sent to coding REA by the TCP protocol stack of the coding REA.
With reference to the possible implementation of the first of first aspect or first aspect, second in first aspect may Implementation in, decoding REA TCP protocol stack the first TCP ACK and the DRE ACK are sent to the coding After REA, in addition to:
The TCP protocol stack of the coding REA generates the 2nd TCP for the first TCP ACK and DRE ACK ACK;
A timer is preset, before the timer expiry, when the coding REA needs to send other data to institute Decoding REA is stated, then the 2nd TCP ACK and other described data are sent to the decoding REA by the coding REA.
Second aspect, a kind of method for improving TCP performance, methods described include:
Coding redundancy abatement apparatus REA data redundancy eliminates DRE encoders and finds repetition from flow to be sent Data, instead of the data of the repetition, the label letter is stored in the transmission window of the DRE encoders with label information Breath;
The transmission control protocol TCP protocol stack of the coding REA obtains storage from the window that sends of the DRE encoders Label information;
The label information is sent to decoding REA by the TCP protocol stack of the coding REA.
The third aspect, one kind decode REA, and the decoding REA includes:
Transmission control protocol TCP protocol stack, the label information sent for receiving coding REA, and believe for the label The first TCP acknowledgment ACK of breath generation;
Data redundancy eliminates DRE decoders, for being decoded to the label information;Believe when being correctly decoded the label During breath, DRE ACK are generated;When that can not be correctly decoded the label information, generation DRE denies NACK;
The TCP protocol stack, it is additionally operable to the first TCP ACK and the DRE ACK being sent to the coding REA; Or for the first TCP ACK and the DRE NACK to be sent into the coding REA.
Fourth aspect, one kind coding REA, including:
Data redundancy eliminates DRE encoders, for the stored tag information in window is sent, wherein, the label information For the data for the repetition for replacing finding from flow to be sent;
Transmission control protocol TCP protocol stack, for obtaining the label information of storage from the DRE encoders, by the mark Label information is sent to decoding REA.
With reference to fourth aspect, in the first possible implementation of fourth aspect, in addition to:
The TCP protocol stack is additionally operable to the first TCP acknowledgment ACK and DRE ACK generations second sent for decoding REA TCP ACK;Wherein, the first TCP ACK are that decoding REA generates for the label information, and DRE ACK are that decoding REA is correct Decode what is generated during the label information.
With reference to the first possibility of fourth aspect, the coding REA can also include a default timer, in institute Before stating timer expiry, when the coding REA needs to send other data to the decoding REA, then the TCP protocol stack is also For the 2nd TCP ACK and other described data to be sent into the decoding REA.
5th aspect, a kind of system for improving TCP performance, including:
Decode redundancy abatement apparatus REA and coding REA;
The decoding REA includes data redundancy and eliminates DRE decoders and decode REA transmission control protocol TCP protocol stack;
The coding REA includes DRE encoders and encodes REA TCP protocol stack;
The decoding REA, the label information for receiving coding REA for decoding REA and sending;Decode REA TCP protocol stack pin First TCP acknowledgment ACK is generated to the label information;Decoding REA DRE decoders decode to the label information;When When decoding REA DRE decoders are correctly decoded the label information, DRE ACK are generated;REA TCP protocol stack is decoded by described in First TCP ACK and the DRE ACK are sent to the coding REA;When decoding REA DRE decoders can not be correctly decoded institute When stating label information, generation DRE denies NACK;REA TCP protocol stack is decoded by the first TCP ACK and DRE NACK is sent to the coding REA;
The coding REA, the DRE encoders for encoding REA find the data of repetition from flow to be sent, with mark Information is signed to replace the data of the repetition, the label information is stored in the transmission window of the DRE encoders;The coding The label information that sends window obtain storage of the REA TCP protocol stack from the DRE encoders;The TCP associations of the coding REA The label information is sent to decoding REA by view stack.
Compared with prior art, in the embodiment of the present invention, when the decoding REA receives the mark for replacing duplicate data After label, the data the first TCP ACK of generation can be directed to by decoding REA TCP protocol stack, but not immediately by the first TCP ACK is sent, and is to wait for the decoded result of the DRE decoders.If correct coding, by the DRE ACK and institute State the first TCP ACK and be sent collectively to the coding REA;If can not be correctly decoded, by the DRE NACK and described One TCP ACK are sent collectively to the coding REA.The TCP ACK on network can be reduced by this method, can substantially be mitigated The burden of TCP protocol stack, improve the performance of TCP protocol stack.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 a are a kind of method flow diagrams for improving TCP performance provided in an embodiment of the present invention;
Fig. 1 b are a kind of method flow diagrams for improving TCP performance provided in an embodiment of the present invention;
Fig. 2 is a kind of method schematic diagram for improving TCP performance provided in an embodiment of the present invention;
Fig. 3 is a kind of method schematic diagram for improving TCP performance provided in an embodiment of the present invention;
Fig. 4 a are a kind of decoding REA provided in an embodiment of the present invention structure charts;
Fig. 4 b are a kind of coding REA provided in an embodiment of the present invention structure charts;
Fig. 5 is a kind of system construction drawing for improving TCP performance provided in an embodiment of the present invention;
Fig. 6 is a kind of decoding REA provided in an embodiment of the present invention structure chart;
Fig. 7 is a kind of coding REA provided in an embodiment of the present invention structure chart.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
With reference to figure 1a, Fig. 1 a are a kind of method flows for improving TCP performance provided in an embodiment of the present invention Figure, methods described include:
101, decoding redundancy abatement apparatus REA receives the label information that coding REA is sent;
Optionally, in an embodiment of the present invention, coding REA refers to the REA equipment of coding side;Decoding REA refers to decode The REA equipment at end.Coding REA can include DRE encoders and TCP protocol stack, and decoding REA can include DRE decoders and TCP Protocol stack.
102, the transmission control protocol TCP protocol stack for decoding REA generates the first TCP acknowledgment ACK for the label information;
103, the data redundancy elimination DRE decoders for decoding REA decode to the label information;When decoding REA's When DRE decoders are correctly decoded the label information, DRE ACK are generated, go to 104;When decoding REA DRE decoders can not When being correctly decoded the label information, generation DRE denies NACK, goes to 105;
104, above-mentioned first TCP ACK and the DRE ACK are sent to the coding by the TCP protocol stack for decoding REA REA。
105, above-mentioned first TCP ACK and the DRE NACK are sent to the coding by the TCP protocol stack for decoding REA REA。
In an embodiment of the present invention, after the decoding REA receives the label for replacing duplicate data, decoding REA TCP protocol stack can be directed to the data and produce the first TCP ACK, but not immediately send out the first TCP ACK Go, and be to wait for the decoded result of the DRE decoders.If correct coding, by the DRE ACK and the first TCP ACK is sent collectively to the coding REA;If can not be correctly decoded, by the DRE NACK and the first TCP ACK mono- Rise and be sent to the coding REA.The TCP ACK on network can be reduced by this method, can substantially mitigate the negative of TCP protocol stack Load, improve the performance of Transmission Control Protocol.
With reference to figure 1b, Fig. 1 b are the method flows of another raising TCP performance provided in an embodiment of the present invention Figure, methods described include:
106, coding redundancy abatement apparatus REA data redundancy eliminate DRE encoders and weight are found from flow to be sent Multiple data, instead of the data of the repetition, the label is stored in the transmission window of the DRE encoders with label information Information;
107, the coding REA transmission control protocol TCP protocol stack are obtained from the transmission window of the DRE encoders and deposited The label information of storage;
The label information is sent to decoding REA by 108, the coding REA TCP protocol stack.
In an embodiment of the present invention, due to by DRE encoders send window and encode REA TCP protocol stack hair Window is sent to merge, therefore, coding REA can save the storage resource of half, improve the performance of Transmission Control Protocol.
With reference to figure 2, Fig. 2 is a kind of method schematic diagram for improving TCP performance provided in an embodiment of the present invention, Methods described includes:
201, the DRE encoders for encoding REA find the data of repetition from flow, with label come instead of the number of the repetition According in the transmission window storage label information of the DRE encoders;
The label letter that sends window obtain storage of 202, the coding REA TCP protocol stack from the DRE encoders Breath;
The label information is sent to decoding REA ends TCP protocol stack by 203, the coding REA TCP protocol stack;
204th, the TCP protocol stack for decoding REA generates the first TCP ACK, and the mark that will be received for the label information Label information issues decoding REA DRE decoders;
205, the DRE decoders for decoding REA decode to the label information;When the DRE decoders can be solved correctly During the code label, DRE ACK are generated, and the DRE ACK are sent to the TCP protocol stack of the decoding REA;
The DRE ACK and the first TCP ACK are sent to coding REA by 206, the decoding REA TCP protocol stack TCP protocol stack;
207, the coding REA TCP protocol stack generate the 2nd TCP for the first TCP ACK and DRE ACK ACK;The DRE ACK are sent to the DRE encoders of the coding REA by the TCP protocol stack of the coding REA;
208, a timer is preset, before the timer expiry, if the coding REA needs to send other numbers According to the decoding REA, then the 2nd TCP ACK and other described data are sent to the solution by the coding REA in the lump Code REA TCP protocol stack.
The embodiment of the present invention provides a kind of method for improving TCP performance, and methods described will be by that will decode REA TCP protocol stack for label information generation TCP ACK and DRE decoders successfully decoded generation DRE ACK send together To coding REA, the TCPACK on network can be reduced by this method, can substantially mitigate the burden of TCP protocol stack, improve decoding The performance of REA Transmission Control Protocol;Also, due to by DRE encoders send window and encode REA TCP protocol stack transmission window Mouth merges, and therefore, coding REA can save the storage resource of half, improve the performance of coding REA Transmission Control Protocol.
With reference to figure 3, Fig. 3 is a kind of method schematic diagram for improving TCP performance provided in an embodiment of the present invention, Methods described includes:
301, the DRE encoders for encoding REA find the data of repetition from flow, with label come instead of the number of the repetition According in the transmission window storage label information of the DRE encoders;
The label letter that sends window obtain storage of 302, the coding REA TCP protocol stack from the DRE encoders Breath;
The label information is sent to decoding REA TCP protocol stack by 303, the coding REA TCP protocol stack;
304, the TCP protocol stack for decoding REA generates the first TCP ACK, and the mark that will be received for the label information Label information issues decoding REA DRE decoders;
305, the DRE decoders for decoding REA decode to the label information;When the DRE encoders can not be correct When decoding the label, the DRE NACK are sent to decoding REA by generation DRE NACK, the decoding REA DRE decoders TCP protocol stack;
306, the DRE NACK and the first TCP ACK are sent to coding by the TCP protocol stack of the decoding REA REA;
307, the DRE NACK are sent to the DRE encoders by the TCP protocol stack of the coding REA;
308, the DRE encoders are according to the DRE NACK, it is determined that needing the label sent again to the decoding REA Information;
309, the coding REA TCP protocol stack generate the 3rd TCP for the first TCP ACK and DRENACK ACK;The TCP protocol stack of the coding REA sends the label information and the 3rd TCP ACK to the decoding REA determined in 308 TCP protocol stack;
310, the decoding REA TCP protocol stack are directed to the 3rd generated in the label information and 309 determined in 308 TCP ACKD generate the 4th TCP ACK, and the label information received is issued to decoding REA DRE decoders;
311, the DRE encoders decode to the label information determined in 308, when the DRE encoders correctly solve During the code label, DRE ACK are generated;
The DRE ACK and the 4th TCP ACK are sent to coding REA's by 312, the decoding REA TCP protocol stack TCP protocol stack;
313, DRE ACK are sent to the DRE encoders by the TCP protocol stack of the coding REA.
The embodiment of the present invention provides a kind of method for improving TCP performance, and methods described will be by that will decode REA TCP protocol stack for label information generation TCP ACK and DRE decoders successfully decoded generation DRE NACK send together To coding REA, the TCPACK on network can be reduced by this method, can substantially mitigate the burden of TCP protocol stack, improve decoding The performance of REA Transmission Control Protocol;Also, due to by DRE encoders send window and encode REA TCP protocol stack transmission window Mouth merges, and therefore, coding REA can save the storage resource of half, improve the performance of coding REA Transmission Control Protocol.
With reference to figure 4a, Fig. 4 a are a kind of decoding REA provided in an embodiment of the present invention structure charts, and the decoding REA includes:
TCP protocol stack 401, the label information sent for receiving coding REA, and for label information generation first TCP ACK;
DRE decoders 403, for being decoded to the label information;When being correctly decoded the label information, generation DRE ACK;When the label information can not be correctly decoded, DRE NACK are generated;
The TCP protocol stack 401, it is additionally operable to the first TCP ACK and the DRE ACK being sent to the coding REA;Or for the first TCP ACK and the DRE NACK to be sent into the coding REA.
In an embodiment of the present invention, after decoding REA receives the label for replacing duplicate data, REA TCP is decoded Protocol stack can be directed to the data and produce the first TCP ACK, but not immediately send the first TCP ACK, but Wait the decoded result of the DRE decoders.If correct coding, by the DRE ACK and the first TCP ACK together It is sent to the coding REA;If can not be correctly decoded, the DRE NACK and the first TCP ACK are sent together To the coding REA, the TCP ACK on network can be so reduced, can substantially mitigate the burden of TCP protocol stack, improve Transmission Control Protocol Performance.
With reference to figure 4b, Fig. 4 b are a kind of coding REA provided in an embodiment of the present invention structure charts, and the coding REA includes:
DRE encoders 406, for the stored tag information in window is sent, wherein, the label information be used for replace from The data for the repetition found in flow to be sent;
TCP protocol stack 407, for obtaining the label information of storage from the DRE encoders 406, by the label information It is sent to decoding REA.
In an embodiment of the present invention, due to by DRE encoders send window and encode REA TCP protocol stack hair Window is sent to merge, therefore, coding REA can save the storage resource of half, improve the performance of Transmission Control Protocol.
Optionally, the TCP protocol stack 407 is additionally operable to the first TCP ACK and DRE ACK lifes sent for decoding REA Into the 2nd TCP ACK;Wherein, the first TCP ACK are that decoding REA generates for the label information, and DRE ACK are decodings REA is correctly decoded what is generated during the label information;
Optionally, the coding REA can also include a default timer, before the timer expiry, when The coding REA needs to send other data to the decoding REA, then the TCP protocol stack 407 is additionally operable to described second TCP ACK and other described data are sent to the decoding REA.
In the embodiment of the present invention, coding REA by DRE encoders due to sending window and coding REA TCP protocol stack Send window to merge, therefore, coding REA can save the storage resource of half.
With reference to figure 5, Fig. 5 is a kind of system construction drawing for improving TCP performance provided in an embodiment of the present invention. As shown in figure 5, the system includes:
Decode redundancy abatement apparatus REA and coding REA;The decoding REA includes data redundancy and eliminates the reconciliation of DRE decoders Code REA transmission control protocol TCP protocol stack;The coding REA includes DRE encoders and encodes REA TCP protocol stack;Its In,
The decoding REA, the label information for receiving coding REA for decoding REA and sending;Decode REA TCP protocol stack pin First TCP acknowledgment ACK is generated to the label information;Decoding REA DRE decoders decode to the label information;When When decoding REA DRE decoders are correctly decoded the label information, DRE ACK are generated;REA TCP protocol stack is decoded by described in First TCP ACK and the DRE ACK are sent to the coding REA;When decoding REA DRE decoders can not be correctly decoded institute When stating label information, generation DRE denies NACK;REA TCP protocol stack is decoded by the first TCP ACK and DRE NACK is sent to the coding REA;
The coding REA, the DRE encoders for encoding REA find the data of repetition from flow to be sent, with mark Information is signed to replace the data of the repetition, the label information is stored in the transmission window of the DRE encoders;The coding The label information that sends window obtain storage of the REA TCP protocol stack from the DRE encoders;The TCP associations of the coding REA The label information is sent to decoding REA by view stack.
In an embodiment of the present invention, after decoding REA receives the label for replacing duplicate data, the number can be directed to According to the first TCP ACK of generation, but not the first TCP ACK are sent immediately, and be to wait for the DRE decoders Decoded result.If correct coding, the DRE ACK and the first TCP ACK are sent collectively to the coding REA; If can not be correctly decoded, the DRE NACK and the first TCP ACK are sent collectively to the coding REA, so The TCP ACK on network can be reduced, can substantially mitigate the burden of TCP protocol stack.
In the embodiment of the present invention, coding REA by DRE encoders due to sending window and coding REA TCP protocol stack Send window to merge, therefore, coding REA can save the storage resource of half.
With reference to figure 6, Fig. 6 is a kind of decoding REA provided in an embodiment of the present invention structure chart, and the decoding REA includes:
Processor (processor) 601, communication interface (Communications Interface) 602, memory (memory) 603, bus 604.
Processor 601, communication interface 602, memory 603 complete mutual communication by bus 604.
Communication interface 602, for being communicated with coding REA;
Processor 601, for configuration processor.
Specifically, program can include program code, and described program code includes computer-managed instruction.
Processor 601 is probably a central processor CPU, or specific integrated circuit(Application Specific Integrated Circuit, ASIC), or it is arranged to implement the one or more of the embodiment of the present invention Integrated circuit.
Memory 603, for depositing program.Memory 603 may include high-speed RAM memory, it is also possible to also including non- Volatile memory(non-volatile memory).Program can specifically include:
Receive the label information that coding REA is sent;
The first TCP ACK are generated for the label information;
The label information is decoded, when being correctly decoded the label information, generates DRE ACK;When can not be just When really decoding the label information, DRE NACK are generated;
The first TCP ACK and the DRE ACK are sent to the coding REA;Or for by described first The TCP ACK and DRE deny that NACK is sent to the coding REA.
With reference to figure 7, Fig. 7 is a kind of coding REA provided in an embodiment of the present invention structure chart, and the coding REA includes:
Processor (processor) 701, communication interface (Communications Interface) 702, memory (memory) 703, bus 704.
Processor 701, communication interface 702, memory 703 complete mutual communication by bus 704.
Communication interface 702, for being communicated with decoding REA;
Processor 701, for configuration processor.
Specifically, program can include program code, and described program code includes computer-managed instruction.
Processor 701 is probably a central processor CPU, or specific integrated circuit(Application Specific Integrated Circuit, ASIC), or it is arranged to implement the one or more of the embodiment of the present invention Integrated circuit.
Memory 703, for depositing program.Memory 703 may include high-speed RAM memory, it is also possible to also including non- Volatile memory(non-volatile memory).Program can specifically include:
Stored tag information, wherein, the label information is used for the number for the repetition that replacement is found from flow to be sent According to;
The label information of storage is obtained from the memory cell;
The label information is sent to decoding REA.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, abbreviation RAM)Deng.
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (9)

  1. A kind of 1. method for improving TCP performance, it is characterised in that methods described includes:
    Decode redundancy abatement apparatus REA and receive the label information that coding REA is sent;
    The transmission control protocol TCP protocol stack for decoding REA generates the first TCP acknowledgment ACK for the label information;
    Decoding REA data redundancy eliminates DRE decoders and the label information is decoded;
    When the DRE decoders for decoding REA are correctly decoded the label information, DRE ACK are generated;Decode REA TCP protocol stack The first TCP ACK and the DRE ACK are sent collectively to the coding REA;
    When the DRE decoders for decoding REA can not be correctly decoded the label information, generation DRE denies NACK;Decode REA's The first TCP ACK and the DRE NACK are sent collectively to the coding REA by TCP protocol stack.
  2. 2. according to the method for claim 1, it is characterised in that decoding REA receive coding REA send label information it Before, in addition to:
    Coding REA DRE encoders find the data of repetition from flow to be sent, with the label information come instead of described The data repeated, the label information is stored in the transmission window of the DRE encoders;
    The label information that sends window obtain storage of the TCP protocol stack of the coding REA from the DRE encoders;
    The label information is sent to coding REA by the TCP protocol stack of the coding REA.
  3. 3. method according to claim 1 or 2, it is characterised in that decoding REA TCP protocol stack by the first TCP The ACK and DRE ACK is sent to after the coding REA, in addition to:
    The TCP protocol stack of the coding REA generates the 2nd TCP ACK for the first TCP ACK and DRE ACK;
    A timer is preset, before the timer expiry, when the coding REA needs to send other data to the solution Code REA, then the coding REA the 2nd TCP ACK and other described data are sent to the decoding REA.
  4. A kind of 4. method for improving TCP performance, it is characterised in that methods described includes:
    Coding redundancy abatement apparatus REA data redundancy eliminates the data that DRE encoders find repetition from flow to be sent, , instead of the data of the repetition, the label information is stored in the transmission window of the DRE encoders with label information;
    The label that sends window obtain storage of the transmission control protocol TCP protocol stack of the coding REA from the DRE encoders Information;
    The label information is sent to decoding REA by the TCP protocol stack of the coding REA.
  5. 5. one kind decoding redundancy abatement apparatus REA, it is characterised in that including:
    Transmission control protocol TCP protocol stack, the label information sent for receiving coding REA, and given birth to for the label information Into the first TCP acknowledgment ACK;
    Data redundancy eliminates DRE decoders, for being decoded to the label information;When being correctly decoded the label information When, generate DRE ACK;When that can not be correctly decoded the label information, generation DRE denies NACK;
    The TCP protocol stack, it is additionally operable to the first TCP ACK and the DRE ACK being sent collectively to the coding REA; Or for the first TCP ACK and the DRE NACK to be sent collectively into the coding REA.
  6. A kind of 6. coding redundancy abatement apparatus REA, it is characterised in that including:
    Data redundancy eliminates DRE encoders, for the stored tag information in window is sent, wherein, the label information is used for Instead of the data for the repetition found from flow to be sent;
    Transmission control protocol TCP protocol stack, for obtaining the label information of storage from the DRE encoders, the label is believed Breath is sent to decoding REA.
  7. 7. coding REA according to claim 6, it is characterised in that the TCP protocol stack is additionally operable to for decoding REA hairs The first TCP acknowledgment ACK and the DRE ACK sent generates the 2nd TCP ACK;Wherein, the first TCP ACK are decoding REA for described Label information generation, DRE ACK decodings REA is generated when being correctly decoded the label information.
  8. 8. coding REA according to claim 7, it is characterised in that a default timer can also be included, described Before timer expiry, when the coding REA needs to send other data to the decoding REA, then the TCP protocol stack is also used In the 2nd TCP ACK and other described data are sent into the decoding REA.
  9. A kind of 9. system for improving TCP performance, it is characterised in that including:
    Decode redundancy abatement apparatus REA and coding REA;The decoding REA includes data redundancy and eliminates DRE decoders and decoding REA transmission control protocol TCP protocol stack;The coding REA includes DRE encoders and encodes REA TCP protocol stack;Wherein,
    The decoding REA, the label information for receiving coding REA for decoding REA and sending;Decoding REA TCP protocol stack is directed to institute State label information and generate the first TCP acknowledgment ACK;Decoding REA DRE decoders decode to the label information;Work as decoding When REA DRE decoders are correctly decoded the label information, DRE ACK are generated;REA TCP protocol stack is decoded by described first TCP ACK and the DRE ACK are sent collectively to the coding REA;When decoding REA DRE decoders can not be correctly decoded institute When stating label information, generation DRE denies NACK;REA TCP protocol stack is decoded by the first TCP ACK and DRE NACK is sent collectively to the coding REA;
    The coding REA, the DRE encoders for encoding REA find the data of repetition from flow to be sent, believed with label Cease to replace the data of the repetition, the label information is stored in the transmission window of the DRE encoders;The coding REA TCP protocol stack from the DRE encoders send window obtain storage label information;The TCP protocol stack of the coding REA The label information is sent to decoding 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 CN104219028A (en) 2014-12-17
CN104219028B true 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
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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透明代理的设计与实现;武铨;《中国优秀硕士学位论文全文数据库》;20120715;正文第9-10页 *

Also Published As

Publication number Publication date
CN104219028A (en) 2014-12-17

Similar Documents

Publication Publication Date Title
ES2938365T3 (en) Method, device and system to determine the transmission parameters of the shared data channel
JP5955261B2 (en) Method and system for using reconfigurable rateless code and decoding in-process status feedback to communicate with multimedia
CN107342773A (en) Coding, interpretation method and equipment
CN106776129B (en) A kind of restorative procedure of the multinode data file based on minimum memory regeneration code
JP2011517162A (en) Adding hybrid ARQ to the WLAN protocol using MAC-based feedback
CN107659384A (en) The method and apparatus of data processing
CN103873071B (en) A kind of forward error correction coding, interpretation method and device, communication equipment and system
CN110430010A (en) Method, equipment and the communication system of information processing
CN101034953A (en) Method for carrying out data transmission using the low-density parity check code
JP2008011460A (en) Turbo decoder
CN103229444B (en) Coding/decoding method, Apparatus and system
TW201520954A (en) A system for firmware upgrade in AMI and method thereof
CN103312458A (en) Hybrid coding method
JP7282895B2 (en) Data retransmission decoding method, device, system and communication device
CN104219028B (en) A kind of method and apparatus for improving TCP performance
JP2012222809A (en) Method of reducing retransmission of data frame and receiving node therefor
CN103856304A (en) Reliable file transmission protocol with selectable safety levels
CN105591716B (en) A kind of serial data communication method, apparatus and system based on single carrier
CN106209565B (en) A kind of tunnel method for reliable transmission and device based on fountain codes
CN110213259A (en) The UDP transmission method of electric power observation and control message sends terminal and receives terminal
JP2017135692A (en) One-way security communication system and method
CN109787719A (en) A kind of polarization secure coding method of probability relaying auxiliary
CN108322285A (en) Sending method, method of reseptance and the device of data
WO2009049543A1 (en) A method and a corresponding system for the reconfiguration of the service channel configuration in the wireless communication system
CN104158628B (en) Relay transfer method based on unique decodable code

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