CN102629944A - Method and device as well as system for network acceleration - Google Patents

Method and device as well as system for network acceleration Download PDF

Info

Publication number
CN102629944A
CN102629944A CN2012101009381A CN201210100938A CN102629944A CN 102629944 A CN102629944 A CN 102629944A CN 2012101009381 A CN2012101009381 A CN 2012101009381A CN 201210100938 A CN201210100938 A CN 201210100938A CN 102629944 A CN102629944 A CN 102629944A
Authority
CN
China
Prior art keywords
tcp data
data bag
acceleration
identification information
tcp
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
CN2012101009381A
Other languages
Chinese (zh)
Other versions
CN102629944B (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.)
XFusion Digital 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 CN201210100938.1A priority Critical patent/CN102629944B/en
Publication of CN102629944A publication Critical patent/CN102629944A/en
Application granted granted Critical
Publication of CN102629944B publication Critical patent/CN102629944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a method and device as well as system for network acceleration. The method for network acceleration comprises the following steps of: capturing a second transmission control protocol (TCP) data packet, judging whether the second TCP data packet contains identification information supporting acceptation, obtaining and recording a first judgment result; and capturing a first TCP data packet, judging by inquiring the first judgment result whether the recorded second TCP data packet contains identification information supporting acceptation, if yes, carrying out bilateral acceleration on the first TCP data packet, and then transmitting the first TCP data packet to a target terminal to which the first TCP data packet corresponds, and if not, carrying out unilateral acceleration on the first TCP data packet, and then sending the first TCP data packet to a target terminal to which the first TCP data packet corresponds. The method has the advantages of realizing the automatic transparent switching of unilateral acceleration and bilateral acceleration and greatly increasing the transmission performance of network.

Description

Network accelerating method, Apparatus and system
Technical field
The embodiment of the invention relates to the communication technology, relates in particular to a kind of network accelerating method, Apparatus and system.
Background technology
In the prior art, client connects through transmission control protocol (Transmission Control Protocol is called for short TCP) acting server and service end usually, realizes the data interaction between client and the service end.The TCP acting server can be realized the raising of data transmission performance through monolateral acceleration or bilateral acceleration.
But in above-mentioned implementation procedure; The TCP acting server needs to set up TCP with client and service end respectively and is connected; Client sends to the packet of service end and transmits through the TCP acting server; The TCP acting server also need carry out network address translation to the packet that receives, and the TCP acting server can not be realized the automatic switchover of monolateral acceleration and bilateral acceleration.
Summary of the invention
The embodiment of the invention provides a kind of network accelerating method, Apparatus and system, and the repeatedly TCP that carries out to avoid the TCP acting server is set connects, and realizes the automatic transparent switching of monolateral acceleration and bilateral acceleration.
The embodiment of the invention provides a kind of network accelerating method, comprising:
Intercept and capture the second transmission control protocol tcp data bag, judge whether comprise the identification information of supporting acceleration in the said second tcp data bag, obtain first judged result, and write down said first judged result;
Intercept and capture the first tcp data bag; Judge whether comprise the identification information of supporting acceleration in the said second tcp data bag that writes down through inquiring about said first judged result; If, then the said first tcp data bag is carried out bilateral acceleration, mail to the corresponding destination of the said first tcp data bag then; If not, then the said first tcp data bag is carried out monolateral acceleration, mail to the corresponding destination of the said first tcp data bag then;
Wherein, the source extreme direction that the said second tcp data bag is corresponding is the corresponding destination direction of the said first tcp data bag.
The embodiment of the invention also provides a kind of network accelerating method, comprising:
When intercepting and capturing the tcp data bag for the first time, in the tcp data bag, add the identification information that the local support of expression is quickened, and the tcp data bag that adds said identification information is mail to the corresponding destination of tcp data bag of said intercepting and capturing;
When intercepting and capturing the tcp data bag, judge that whether the tcp data bag comprises the identification information of supporting acceleration, carries out record with judged result.
The embodiment of the invention provides a kind of network acceleration device, comprising:
First judge module is used to intercept and capture the second transmission control protocol tcp data bag, judges whether to comprise the identification information of supporting acceleration in the said second tcp data bag, obtain first judged result, and write down said first judged result;
First processing module; Be used to intercept and capture the first tcp data bag; Judge whether comprise the identification information of supporting acceleration in the said second tcp data bag that writes down through inquiring about said first judged result; If, then the said first tcp data bag is carried out bilateral acceleration and handle, mail to the corresponding destination of the said first tcp data bag then; If not, then the said first tcp data bag is carried out monolateral acceleration and handle, mail to the corresponding destination of the said first tcp data bag then;
Wherein, the source extreme direction that the said second tcp data bag is corresponding is the corresponding destination direction of the said first tcp data bag.
The embodiment of the invention provides a kind of network acceleration device, comprising:
Sign is added module, is used for when intercept and capture the tcp data bag first time, in the tcp data bag, adds the local identification information of supporting acceleration of expression, and the tcp data bag that adds said identification information is mail to the corresponding destination of tcp data bag of said intercepting and capturing;
Logging modle when being used to intercept and capture the tcp data bag, judges that whether the tcp data bag comprises the identification information of supporting acceleration, carries out record with judged result.
The embodiment of the invention provides a kind of network acceleration system, comprises client and service end, also comprises:
The network acceleration device that the embodiment of the invention provides;
Said client is sent the first transmission control protocol tcp data bag to said service end;
Said service end is sent the second tcp data bag to said client.
Can know by technique scheme; The network accelerating method that the embodiment of the invention provides, Apparatus and system; The network acceleration device is through judging whether comprise the sign of supporting acceleration in the tcp data bag that is received; Can judge between the destination and present networks accelerator of the TCP bag that is received, whether have other network acceleration devices, and packet is handled according to judged result.Realized supporting situation according to the network acceleration of the corresponding destination of the first tcp data bag; Select bilateral acceleration or monolateral acceleration; Realized the automatic transparent switching of monolateral acceleration and bilateral acceleration; The repeatedly TCP that avoids the TCP acting server is set and need carry out connects the complexity of being brought, and also need not the tcp data bag is carried out network address translation, has improved network transmission performance.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply; Obviously, the accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
A kind of network accelerating method flow chart that Fig. 1 provides for the embodiment of the invention;
The another kind of network accelerating method flow chart that Fig. 2 provides for the embodiment of the invention;
A kind of network acceleration apparatus structure sketch map that Fig. 3 provides for the embodiment of the invention;
The another kind of network acceleration apparatus structure sketch map that Fig. 4 provides for the embodiment of the invention;
The network acceleration system configuration sketch map that Fig. 5 provides for the embodiment of the invention five.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
A kind of network accelerating method flow chart that Fig. 1 provides for the embodiment of the invention.As shown in Figure 1; The network accelerating method that present embodiment provides specifically can be applied to the mutual data of source end and destination are quickened the process of transmission; Can carry out through the network acceleration device; This network acceleration device can be independent, also can be set in place in the network element device in Yu Yuanduan and the destination transmission path, and this network element device for example is router, switch or bridge equipment etc.
The network accelerating method that present embodiment provides specifically comprises:
Step 10, the intercepting and capturing second transmission control protocol tcp data bag judge whether comprise the identification information of supporting acceleration in the second tcp data bag, obtain first judged result, and first judged result is carried out record;
Step 20, the intercepting and capturing first tcp data bag; Judge whether comprise the identification information of supporting acceleration in the second tcp data bag that writes down through inquiring about first judged result; If, then the first tcp data bag is carried out bilateral acceleration, mail to the corresponding destination of the first tcp data bag then; If not, then the first tcp data bag is carried out monolateral acceleration, mail to the corresponding destination of the said first tcp data bag then;
Wherein, the source extreme direction that the second tcp data bag is corresponding is the corresponding destination direction of the first tcp data bag.
Need to prove, in the embodiment of the invention, source extreme direction and destination direction, the message that only refers to be processed from the direction that mails to, do not relate to the particular location that the is had relation of the source end and the destination of message self.In other words; The source end that the second tcp data bag is corresponding not necessarily is exactly the corresponding destination of the first tcp data bag; In the present embodiment; The source extreme direction that the second tcp data bag is corresponding is the corresponding destination direction of the first tcp data bag, only stresses to a network acceleration device, and it is in the opposite direction that second tcp data bag of being intercepted and captured and the first tcp data bag of being intercepted and captured send, receive; There is same situation among other device embodiment of the present invention and the method embodiment, for the purpose of brief introduction, repeats no more.
Optional, said mail to the corresponding destination of the said first tcp data bag after the first tcp data bag is carried out bilateral or monolateral acceleration before, also be included in the said first tcp data bag, add the local identification information that quickens supported of expression.
Particularly, two opposite ends of carrying out data interaction can be respectively source end and destination, like client and service end; Actual conditions according to information interaction; Also can be with client as being destination, the server end conduct is the source end, present embodiment; Only be the source end with the client, server end is that destination is an example.Client needs when service end is set up TCP and is connected, and client is repeatedly shaken hands with service end and is connected with realization TCP, and after the TCP connection foundation, client and service end just can communicate.No matter set up packet mutual in the TCP connection procedure in client and service end, still mutual packet in the normal communication process in the back that connects all can be this tcp data bag.
The network acceleration device is intercepted and captured the tcp data bag that transmits in client and the service end communication process.The first tcp data bag can be the packet of client to the service end transmission, and the source end that then this first tcp data bag is corresponding is a client, and the destination that this first tcp data bag is corresponding is a service end.The second tcp data bag specifically can be the packet of service end to the client transmission; The source end that then this second tcp data bag is corresponding is a service end; The destination that this second tcp data bag is corresponding is a client, and the source end that this second tcp data bag is corresponding is the corresponding destination of the first tcp data bag.Below for convenience, will carry out this network accelerating method and be called network acceleration device A.
Network acceleration device A intercepts and captures this second tcp data bag, judges whether to comprise the identification information of supporting acceleration in the second tcp data bag, obtain first judged result, and first judged result is carried out record.If comprise the identification information of supporting acceleration in second packet of intercepting and capturing; Then can judge when this second tcp data wraps in the transmission course through previous device to have been added by the front device supports the sign of quickening to quicken to identify said previous device support; Promptly also there are other network acceleration devices in the second tcp data bag that also just can know intercepting and capturing through other network acceleration devices forwardings between this network acceleration device A and the service end.If comprise the identification information that this support is quickened in the second tcp data bag; Then just expression of this first judged result: at the source extreme direction of the second tcp data bag; Device network enabled before the network acceleration device A is quickened; That is to say; First judged result can comprise between indication network accelerator A and the source end (server end in the present embodiment just) identification information that the indication information that has other network acceleration devices and this supports are quickened, and supports the identification information that quickens can comprise agreement support information and the algorithm support information etc. of network acceleration device of the identification information of this support acceleration of interpolation.If do not comprise the identification information that this support is quickened in the second tcp data bag, then in like manner, this first judged result can comprise the indication information that does not have other network acceleration devices between indication network accelerator A and the service end.
Network acceleration device A intercepts and captures the first tcp data bag, in the first tcp data bag, adds the local identification information of supporting acceleration of expression, and the local identification information that quickens of supporting of this expression specifically can comprise native protocol support information and algorithm support information.When also having other network acceleration devices between network acceleration device A and the service end; Other network acceleration devices can obtain the identification information that this support is quickened from the first tcp data bag of intercepting and capturing, support situation and algorithm to support situation with the agreement of knowing network acceleration device A.
Network acceleration device A judges through first judged result of query note whether the opposite end is supported to quicken; Particularly; If first judged result comprises the indication information of other network acceleration devices of existence between indication network accelerator A and the service end and the identification information that this support is quickened; Then explain and also have other network acceleration devices between network acceleration device A and the service end; Can cooperate with network acceleration device A and realize bilateral acceleration, then can carry out being transmitted to the corresponding destination of the first tcp data bag after bilateral acceleration is handled the first tcp data bag.If first judged result comprises the indication information that does not have other network acceleration devices between indication network accelerator A and the service end; Then explain and do not have other network acceleration devices between network acceleration device A and the service end; Can not cooperate with network acceleration device A and realize bilateral acceleration; Can only realize monolateral acceleration, then the first tcp data bag that adds after identifying carried out being transmitted to the corresponding destination of the first tcp data bag after monolateral acceleration is handled.
In the communication process of client and service end, client and service end need not known the existence of this network acceleration device, and promptly this network acceleration device is transparent with respect to the two.Client does not need elder generation to set up TCP with the network acceleration device to be connected, and the network acceleration device is set up TCP with service end again and is connected.Client can comprise source address and destination address in the packet header of the tcp data bag that service end is sent, source address is the address of client, and destination address is the address of service end.The network acceleration device can be realized this tcp data bag is transmitted according to the destination address in the tcp data bag of intercepting and capturing.The network accelerating method that present embodiment provides; The network acceleration device is through judging whether comprise the sign of supporting acceleration in the tcp data bag that is received; Can judge between the destination and present networks accelerator of the TCP bag that is received; Whether there are other network acceleration devices, and packet handled according to judged result.Realized supporting situation according to the network acceleration of the corresponding destination of tcp data bag; Select bilateral acceleration or monolateral acceleration; Realized the automatic transparent switching of monolateral acceleration and bilateral acceleration; The repeatedly TCP that avoids the TCP acting server is set and need carry out connects the complexity of being brought, and also need not the tcp data bag is carried out network address translation, has improved network transmission performance.
Certainly; For realizing goal of the invention; The network acceleration device can add the identification information that the local support of expression is quickened in the tcp data bag when intercepting and capturing the tcp data bag for the first time, and the tcp data bag that adds said identification information is mail to the corresponding destination of tcp data bag of said intercepting and capturing; Any when once intercepting and capturing the tcp data bag, can judge whether the tcp data bag comprises to support the identification information that quickens, and support the identification information that quickens to carry out record whether including in the tcp data bag of being intercepted and captured.
Therefore, the present invention also provides a kind of network accelerating method, comprising:
When intercepting and capturing the tcp data bag for the first time, in the tcp data bag, add the identification information that the local support of expression is quickened, and the tcp data bag that adds identification information is mail to the corresponding destination of tcp data bag of intercepting and capturing;
When intercepting and capturing the tcp data bag, judge that whether the tcp data bag comprises the identification information of supporting acceleration, carries out record with judged result.Wherein, the record of being mentioned can comprise original judged result is upgraded.
The another kind of network accelerating method flow chart that Fig. 2 provides for the embodiment of the invention.As shown in Figure 2; In the present embodiment, in the step 20,, the first tcp data bag mails to after being carried out bilateral or monolateral acceleration before the corresponding destination of the first tcp data bag; Also be included in the first tcp data bag, add the local identification information of supporting acceleration of expression.
In the present embodiment, in the step 20, in the first tcp data bag, adding the local identification information of supporting acceleration of expression, specifically can comprise the steps:
If judge and to know to have comprised in the first tcp data bag and support the identification information that quickens, then will represent the identification information of the local support acceleration of supporting the identification information that quickens to replace to have comprised in the first tcp data bag; Do not comprise the identification information of supporting acceleration in the first tcp data bag if judgement is known, then in the first tcp data bag, then directly increased the local identification information of supporting acceleration of this expression.
If comprised the identification information of supporting acceleration in the first tcp data bag; Then will support the identification information that quickens to replace to the local identification information of supporting acceleration of expression; When the identification information that the support of adding when the various network accelerator is quickened can be distinguished, also can the local identification information that quickens of supporting of expression directly be increased to the first tcp data bag.If do not comprised the identification information of supporting acceleration in the first tcp data bag, then directly increase the identification information that the local support of this expression is quickened.
Further, in the present embodiment, in the step 20, intercept and capture after the first tcp data bag, can also comprise the steps:
Step 30, judge whether comprise the identification information that support to quicken in the first tcp data bag, obtain second judged result, and second judged result is carried out record;
Step 40, in the second tcp data bag; Add the local identification information of supporting acceleration of expression; Judge what whether the opposite end was supported to quicken through second judged result of query note; If then the second tcp data bag that adds after identifying is carried out being transmitted to the corresponding destination of the second tcp data bag after bilateral acceleration is handled; If not, then the second tcp data bag that adds after identifying is carried out being transmitted to the corresponding destination of the second tcp data bag after monolateral acceleration is handled.
Network acceleration device A judges whether comprise the identification information of supporting acceleration in the first tcp data bag, obtain second judged result, and second judged result is carried out record.Support the identification information that quickens specifically to transmit, promptly also have other network acceleration devices between this network acceleration device A and the client's device through other network acceleration devices in order to indicate this first tcp data to wrap in the transmission course.If comprise the identification information that this support is quickened in the first tcp data bag; Then this second judged result can comprise between indication network accelerator A and the client identification information that the indication information that has other network acceleration devices and this supports are quickened, and supports the identification information that quickens can comprise agreement support information and the algorithm support information etc. of network acceleration device of the identification information of this support acceleration of interpolation.If do not comprise the identification information that this support is quickened in the first tcp data bag, then this second judged result can comprise the indication information that does not have other network acceleration devices between indication network accelerator A and the client.
Network acceleration device A adds the local identification information of supporting acceleration of expression in the second tcp data bag, the local identification information that quickens of supporting of this expression specifically can comprise native protocol support information and algorithm support information.When also having other network acceleration devices between network acceleration device A and the client; Other network acceleration devices can obtain the identification information that this support is quickened from the second tcp data bag of intercepting and capturing, support situation and algorithm to support situation with the agreement of knowing network acceleration device A.
Network acceleration device A judges through second judged result of query note whether the opposite end is supported to quicken; Particularly; If second judged result comprises the indication information of other network acceleration devices of existence between indication network accelerator A and the client and the identification information that this support is quickened; Then explain and also have other network acceleration devices between network acceleration device A and the client; Can cooperate with network acceleration device A and realize bilateral acceleration, then can then the second tcp data bag that adds after identifying be carried out being transmitted to the corresponding destination of the second tcp data bag after bilateral acceleration is handled according to the identification information that the support in this second judged result is quickened.If second judged result comprises the indication information that does not have other network acceleration devices between indication network accelerator A and the client; Then explain and do not have other network acceleration devices between network acceleration device A and the client; Can not cooperate with network acceleration device A and realize bilateral acceleration; Can only realize monolateral acceleration, then the second tcp data bag that adds after identifying carried out being transmitted to the corresponding destination of the second tcp data bag after monolateral acceleration is handled.
Preferably, in the present embodiment, in the step 20, the first tcp data bag is carried out bilateral acceleration, mail to the corresponding destination of the first tcp data bag then, specifically can comprise the steps:
The first tcp data bag is carried out agreement cooperate processing and/or processed compressed, the first tcp data bag after will handling according to the TCP congestion avoidance algorithm sends to the corresponding destination of the first tcp data bag;
Particularly; Network acceleration device A can be known the identification information of supporting acceleration through inquiring about first judged result; The identification information that this support is quickened can comprise information such as agreement support information and the algorithm support information of network acceleration device; Then can carry out corresponding protocol and cooperate and handle and/or processed compressed adding the first tcp data bag after the sign, according to the TCP congestion avoidance algorithm with agreement cooperate handle and/or processed compressed after the first tcp data bag send to the corresponding destination of the first tcp data bag.
In the step 20, the first tcp data bag is carried out monolateral acceleration, mail to the corresponding destination of the first tcp data bag then, specifically can comprise the steps:
According to the TCP congestion avoidance algorithm the first tcp data bag is sent to the corresponding destination of the first tcp data bag.
Particularly, the first tcp data bag is carried out processed compressed, can dwindle taking up room of the first tcp data bag, can reduce bandwidth resources shared in the transmission course.The congestion processing algorithm can be realized with starting slowly based on the tcp window expansion.
In the present embodiment, the second tcp data bag being carried out being transmitted to after bilateral acceleration is handled the corresponding destination of the second tcp data bag also can adopt same way as to realize that this repeats no more.
Present embodiment provides the concrete implementation of a kind of bilateral acceleration and monolateral acceleration, should be understood that, those skilled in the art can also realize through the method for other existing bilateral acceleration and monolateral acceleration.
In the present embodiment, in the step 20, in the first tcp data bag, adding the local identification information of supporting acceleration of expression, specifically can comprise the steps:
The local identification information that quickens of supporting of expression is added in the packet header of the first tcp data bag.
Further, in the present embodiment, in the step 20, intercept and capture after the first tcp data bag, in the first tcp data bag, add before the local identification information of supporting to quicken of expression, specifically can also comprise the steps:
Judge through second judged result of query note whether the first tcp data bag is transmitted through the network acceleration device; If; Then, then the first tcp data bag is carried out decompression if judging the identification information of knowing the support acceleration that comprises in the first tcp data bag handles in order to indicate the first tcp data bag overcompression;
Network acceleration device A is if know the identification information that support is quickened through second judged result of query note; Support the identification information that quickens to comprise the compression algorithm support information; Explain that first tcp data has at first carried out processed compressed when wrapping in the network acceleration device forwarding before passing through, then correspondingly network acceleration device A carries out decompression to the first tcp data bag.
Intercept and capture after the second transmission control protocol tcp data bag, in the second tcp data bag, add before the local identification information of supporting to quicken of expression, also comprise:
Judge through first judged result of query note whether the second tcp data bag is transmitted through the network acceleration device; If; Then, then the second tcp data bag is carried out decompression if judging the identification information of knowing the support acceleration that comprises in the second tcp data bag handles in order to indicate the second tcp data bag overcompression.
Network acceleration device A supports the identification information that quickens if know with judged result through the of query note; Support the identification information that quickens to comprise the compression algorithm support information; Explain that second tcp data has at first carried out processed compressed when wrapping in the network acceleration device forwarding before passing through, then correspondingly network acceleration device A carries out decompression to the second tcp data bag.
Further, in the present embodiment, this network accelerating method can also comprise the steps:
Judge through second judged result of query note whether the first tcp data bag is transmitted through the network acceleration device; If; Then transmit the host-host protocol of the network acceleration device of the first tcp data bag in order to indication if judge the identification information of knowing the support acceleration that comprises in the first tcp data bag; Carry out agreement based on host-host protocol and cooperate, intercept and capture other tcp data bags of transmitting in order to the network acceleration device of transmitting the first tcp data bag;
Judge through first judged result of query note whether the second tcp data bag is transmitted through the network acceleration device; If; Then transmit the host-host protocol of the network acceleration device of the second tcp data bag in order to indication if judge the identification information of knowing the support acceleration that comprises in the second tcp data bag; Carry out agreement according to host-host protocol and cooperate, intercept and capture other tcp data bags of transmitting in order to the network acceleration device of transmitting the second tcp data bag.
Network acceleration device A judges through second judged result of query note whether the first tcp data bag is transmitted through the network acceleration device; Transmit the host-host protocol of the network acceleration device of the first tcp data bag in order to indication if judge the identification information of knowing the support acceleration that comprises in the first tcp data bag; Then network acceleration device A carries out the agreement cooperation according to host-host protocol, intercepts and captures other tcp data bags of transmitting in order to the network acceleration device of transmitting the first tcp data bag.
Network acceleration device A judges through first judged result of query note whether the second tcp data bag is transmitted through the network acceleration device; Transmit the host-host protocol of the network acceleration device of the second tcp data bag in order to indication if judge the identification information of knowing the support acceleration that comprises in the second tcp data bag; Then network acceleration device A carries out the agreement cooperation according to host-host protocol, intercepts and captures other tcp data bags of transmitting in order to the network acceleration device of transmitting the second tcp data bag.
It should be noted that the network acceleration device transmits processing procedure and processing procedure is transmitted in the acceleration of the second tcp data bag intercepted and captured the acceleration of the first tcp data bag intercepted and captured and do not have inevitable sequential relationship, can carry out simultaneously.
A kind of network acceleration apparatus structure sketch map that Fig. 3 provides for the embodiment of the invention.As shown in Figure 3, the network acceleration device that present embodiment provides specifically can be realized each step of the network accelerating method that any embodiment of the present invention provides, and this repeats no more.
The network acceleration device that present embodiment provides specifically comprises first judge module 11 and first processing module 12.First judge module 11 is used to intercept and capture the second transmission control protocol tcp data bag, judges whether to comprise the identification information of supporting acceleration in the second tcp data bag, obtain first judged result, and write down first judged result.First processing module 12 is used to intercept and capture the first tcp data bag; Whether comprise the identification information of supporting acceleration in the second tcp data bag through the inquiry judging record,, if; Then the first tcp data bag is carried out bilateral acceleration and handle, mail to the corresponding destination of the first tcp data bag then; If not, then the first tcp data bag is carried out monolateral acceleration and handle, mail to the corresponding destination of the first tcp data bag then.Wherein, the source extreme direction that the second tcp data bag is corresponding is the corresponding destination direction of the first tcp data bag.
The network acceleration device that present embodiment provides; The network acceleration device is through judging whether comprise the sign of supporting acceleration in the tcp data bag that is received; Can judge between the destination and present networks accelerator of the TCP bag that is received; Whether there are other network acceleration devices, and packet handled according to judged result.Realized supporting situation according to the network acceleration of the corresponding destination of tcp data bag; Select bilateral acceleration or monolateral acceleration; Realized the automatic transparent switching of monolateral acceleration and bilateral acceleration; The repeatedly TCP that avoids the TCP acting server is set and need carry out connects the complexity of being brought, and also need not the tcp data bag is carried out network address translation, has improved network transmission performance.
The another kind of network acceleration apparatus structure sketch map that Fig. 4 provides for the embodiment of the invention.As shown in Figure 4; In the present embodiment; This network acceleration device can also comprise that first adds module 13; First adds module 13 is used for first processing module first tcp data bag is carried out mailing to after the bilateral or monolateral acceleration before the corresponding destination of the first tcp data bag, in the first tcp data bag, adds the local identification information that quickens supported of expression.
In the present embodiment; First adds module 13 can be used for specifically judging that knowing that the first tcp data bag has comprised supports the identification information that quickens, then will represent the identification information of the local support acceleration of supporting the identification information that quickens to replace to have comprised in the first tcp data bag; Do not comprise the identification information of supporting acceleration in the first tcp data bag if judgement is known, then in the first tcp data bag, directly increased the identification information that acceleration is supported in expression this locality.
Further, the network acceleration device comprises that also second judge module 14, second processing module 15 and second add module 16 in the present embodiment.Second judge module 14 is used for judging whether the first tcp data bag comprises the identification information of supporting acceleration, obtains second judged result, and second judged result is carried out record.Second processing module 15 is used for judging what whether the opposite end was supported to quicken through second judged result of query note, if then the second tcp data bag that adds after the sign is carried out being transmitted to the corresponding destination of the second tcp data bag after bilateral acceleration is handled; If not, then the second tcp data bag that adds after identifying is carried out being transmitted to the corresponding destination of the second tcp data bag after monolateral acceleration is handled.Second adds module 16 is used at the second tcp data bag, adds the identification information that the local support of expression is quickened.
In the present embodiment, the first interpolation module 13 specifically can be used for the packet header that the identification information of acceleration adds the first tcp data bag to is supported in expression this locality.Second adds module 16 specifically can be used for the packet header that the identification information of acceleration adds the first tcp data bag to is supported in expression this locality.
The embodiment of the invention provides a kind of network acceleration device, and this network acceleration device comprises sign interpolation module and logging modle.Sign is added module.Be used for when intercepting and capturing the tcp data bag for the first time, in the tcp data bag, add the identification information that the local support of expression is quickened, and the tcp data bag that adds said identification information is mail to the corresponding destination of tcp data bag of said intercepting and capturing.When logging modle is used to intercept and capture the tcp data bag, judge that whether the tcp data bag comprises the identification information of supporting acceleration, carries out record with judged result.
The network acceleration system configuration sketch map that Fig. 5 provides for the embodiment of the invention five.As shown in Figure 5, the network acceleration system that present embodiment provides comprises client 21 and service end 22, also comprises the network acceleration device that at least one any embodiment of the present invention provides.Client 21 is sent the first transmission control protocol tcp data bag to service end 22, and service end 22 is sent the second tcp data bag to client 21.This network acceleration device is used to intercept and capture the second transmission control protocol tcp data bag, judges whether to comprise the identification information of supporting acceleration in the second tcp data bag, obtain first judged result, and first judged result is carried out record; Intercept and capture the first tcp data bag, judge through first judged result of query note whether the opposite end is supported to quicken, if then the first tcp data bag that adds after identifying is carried out being transmitted to the corresponding destination of the first tcp data bag after bilateral acceleration is handled; If not, then the first tcp data bag that adds after identifying is carried out being transmitted to the corresponding destination of the first tcp data bag after monolateral acceleration is handled; In the first tcp data bag, add the local identification information of supporting acceleration of expression; Wherein, the source end that the second tcp data bag is corresponding is the corresponding destination of the first tcp data bag.
Below to be provided with three network acceleration devices with client 21 and service end 22 be example, the workflow of the network acceleration system that present embodiment is provided elaborates.
These three network acceleration devices are respectively the first network acceleration device 231, the second network acceleration device 232 and the 3rd network acceleration device 233, the first network acceleration devices 231, the second network acceleration device 232 and the 3rd network acceleration device 233 are intercepted and captured the tcp data bag that transmits in client 21 and service end 22 reciprocal processes respectively.Set up packet mutual in the TCP connection procedure for client 21 and service end 22; The first network acceleration device 231, the second network acceleration device 232 and the 3rd network acceleration device 233 can be only add the local identification information that quickens supported of expression in the packet header of the tcp data bag that does not have the identification information of supporting to quicken, do not quicken to handle the back and directly transmit.Set up TCP for client 21 and service end 22 and be connected mutual packet in the normal communication process of back, the first network acceleration device 231, the second network acceleration device 232 and the 3rd network acceleration device 233 carry out following processing respectively:
The first network acceleration device 231 is intercepted and captured the first tcp data bag and the second tcp data bag respectively; Respectively the packet header of the first tcp data bag and the second tcp data bag is resolved; There is not the identification information of supporting acceleration in the packet header of the first tcp data bag, has the identification information of supporting acceleration in the packet header of the second tcp data bag.The first network acceleration device 231 adds the local identification information of supporting acceleration of expression in the packet header of this first tcp data bag, the first tcp data bag after the interpolation sign is carried out bilateral acceleration transmit.231 pairs second tcp data bags of the first network acceleration device are correspondingly handled; With the local identification information of supporting that existing support is quickened in packet header that the identification information that quickens replaces the second tcp data bag of expression, carry out monolateral acceleration and transmit adding the second tcp data bag after the sign.
The second network acceleration device 232 is intercepted and captured the first tcp data bag and the second tcp data bag respectively; Respectively the packet header of the first tcp data bag and the second tcp data bag is resolved, all there is the identification information of supporting acceleration in the packet header of the first tcp data bag and the second tcp data bag.232 pairs first tcp data bags of the second network acceleration device are correspondingly handled; With the local identification information of supporting that existing support is quickened in packet header that the identification information that quickens replaces the first tcp data bag of expression, carry out bilateral acceleration and transmit adding the first tcp data bag after the sign.232 pairs second tcp data bags of the second network acceleration device are correspondingly handled; With the local identification information of supporting that existing support is quickened in packet header that the identification information that quickens replaces the second tcp data bag of expression, carry out monolateral acceleration and transmit adding the second tcp data bag after the sign.
The 3rd network acceleration device 233 is intercepted and captured the first tcp data bag and the second tcp data bag respectively; Respectively the packet header of the first tcp data bag and the second tcp data bag is resolved; There is the identification information of supporting acceleration in the packet header of the first tcp data bag, do not have the identification information of supporting acceleration in the packet header of the second tcp data bag.The 3rd network acceleration device 233 is correspondingly handled the first tcp data bag; With the local identification information of supporting that existing support is quickened in packet header that the identification information that quickens replaces the first tcp data bag of expression, carry out monolateral acceleration and transmit adding the first tcp data bag after the sign.The 3rd network acceleration device 233 adds the local identification information of supporting acceleration of expression in the packet header of this second tcp data bag, the second tcp data bag after the interpolation sign is carried out bilateral acceleration transmit.
The network acceleration system that present embodiment provides; Setting through the network acceleration device; The network acceleration device passes through in the tcp data bag, to add the sign of supporting acceleration, makes the follow-up network acceleration device that adds the packet after identifying that receives, and can judge between the destination and present networks accelerator of the TCP bag that is received; Whether there are other network acceleration devices, and packet handled according to judged result.Realized supporting situation according to the network acceleration of the corresponding destination of tcp data bag; Select bilateral acceleration or monolateral acceleration; Realized the automatic transparent switching of monolateral acceleration and bilateral acceleration; The repeatedly TCP that avoids the TCP acting server is set and need carry out connects the complexity of being brought, and also need not the tcp data bag is carried out network address translation, has improved network transmission performance.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (12)

1. a network accelerating method is characterized in that, comprising:
Intercept and capture the second transmission control protocol tcp data bag, judge whether comprise the identification information of supporting acceleration in the said second tcp data bag, obtain first judged result, and write down said first judged result;
Intercept and capture the first tcp data bag; Judge whether comprise the identification information of supporting acceleration in the said second tcp data bag that writes down through inquiring about said first judged result; If, then the said first tcp data bag is carried out bilateral acceleration, mail to the corresponding destination of the said first tcp data bag then; If not, then the said first tcp data bag is carried out monolateral acceleration, mail to the corresponding destination of the said first tcp data bag then;
Wherein, the source extreme direction that the said second tcp data bag is corresponding is the corresponding destination direction of the said first tcp data bag.
2. network accelerating method according to claim 1; It is characterized in that;, the said first tcp data bag mails to after being carried out bilateral or monolateral acceleration before the corresponding destination of the said first tcp data bag; Also comprise: in the said first tcp data bag, add the local identification information of supporting acceleration of expression.
3. network accelerating method according to claim 2 is characterized in that, and is said in the said first tcp data bag, adds the local identification information of supporting acceleration of expression, comprising:
If judge and to know to have comprised in the said first tcp data bag and support the identification information that quickens, then will represent the identification information of the local support acceleration of supporting the identification information that quickens to replace to have comprised in the said first tcp data bag;
Do not comprise the identification information of supporting acceleration in the said first tcp data bag if judgement is known, then in the said first tcp data bag, directly increased the identification information that acceleration is supported in expression this locality.
4. according to the arbitrary described network accelerating method of claim 1 to 3, it is characterized in that, after the said intercepting and capturing first tcp data bag, also comprise:
Judge whether comprise the identification information of supporting acceleration in the said first tcp data bag, obtain second judged result, and said second judged result is carried out record;
In the said second tcp data bag; Add the local identification information of supporting acceleration of expression; Judge what whether the opposite end was supported to quicken through second judged result of inquiring about said record; If then the second tcp data bag that adds after identifying is carried out being transmitted to the corresponding destination of the said second tcp data bag after bilateral acceleration is handled; If not, then the second tcp data bag that adds after identifying is carried out being transmitted to the corresponding destination of the said second tcp data bag after monolateral acceleration is handled.
5. according to the arbitrary described network accelerating method of claim 1 to 3, it is characterized in that:
Said the said first tcp data bag is carried out bilateral acceleration, mails to the corresponding destination of the said first tcp data bag then, comprising:
The said first tcp data bag is carried out agreement cooperate processing and/or processed compressed, the first tcp data bag after will handling according to the TCP congestion avoidance algorithm sends to the corresponding destination of the said first tcp data bag;
Said the said first tcp data bag is carried out monolateral acceleration, mails to the corresponding destination of the said first tcp data bag then, comprising:
According to the TCP congestion avoidance algorithm the said first tcp data bag is sent to the corresponding destination of the said first tcp data bag.
6. a network accelerating method is characterized in that, comprising:
When intercepting and capturing the tcp data bag for the first time, in the tcp data bag, add the identification information that the local support of expression is quickened, and the tcp data bag that adds said identification information is mail to the corresponding destination of tcp data bag of said intercepting and capturing;
When intercepting and capturing the tcp data bag, judge that whether the tcp data bag comprises the identification information of supporting acceleration, carries out record with judged result.
7. a network acceleration device is characterized in that, comprising:
First judge module is used to intercept and capture the second transmission control protocol tcp data bag, judges whether to comprise the identification information of supporting acceleration in the said second tcp data bag, obtain first judged result, and write down said first judged result;
First processing module; Be used to intercept and capture the first tcp data bag; Through whether comprising the identification information of supporting acceleration in the said second tcp data bag of inquiring about said judgement record; If, then the said first tcp data bag is carried out bilateral acceleration and handle, mail to the corresponding destination of the said first tcp data bag then; If not, then the said first tcp data bag is carried out monolateral acceleration and handle, mail to the corresponding destination of the said first tcp data bag then;
Wherein, the source extreme direction that the said second tcp data bag is corresponding is the corresponding destination direction of the said first tcp data bag.
8. a kind of network acceleration device according to claim 7 is characterized in that, also comprises:
First adds module; Be used for after said first processing module is carried out bilateral or monolateral acceleration with the said first tcp data bag, mailing to before the corresponding destination of the said first tcp data bag; In the said first tcp data bag, add the local identification information of supporting acceleration of expression.
9. based on the described a kind of network acceleration device of claim 8; It is characterized in that: said first adds module; Be used for specifically judging that knowing that the said first tcp data bag has comprised supports the identification information that quickens, then will represent the identification information of the local support acceleration of supporting the identification information that quickens to replace to have comprised in the said first tcp data bag; Do not comprise the identification information of supporting acceleration in the said first tcp data bag if judgement is known, then in the said first tcp data bag, directly increased the identification information that acceleration is supported in expression this locality.
10. according to the arbitrary described a kind of network acceleration device of claim 7 to 9, it is characterized in that, also comprise:
Second judge module is used for judging whether the said first tcp data bag comprises the identification information of supporting acceleration, obtains second judged result, and said second judged result is carried out record;
Second processing module is used for judging what whether the opposite end was supported to quicken through second judged result of inquiring about said record, if then the second tcp data bag that adds after the sign is carried out being transmitted to the corresponding destination of the said second tcp data bag after bilateral acceleration is handled; If not, then the second tcp data bag that adds after identifying is carried out being transmitted to the corresponding destination of the said second tcp data bag after monolateral acceleration is handled;
Second adds module, is used at the said second tcp data bag, adds the identification information that the local support of expression is quickened.
11. a network acceleration device is characterized in that, comprising:
Sign is added module, is used for when intercept and capture the tcp data bag first time, in the tcp data bag, adds the local identification information of supporting acceleration of expression, and the tcp data bag that adds said identification information is mail to the corresponding destination of tcp data bag of said intercepting and capturing;
Logging modle when being used to intercept and capture the tcp data bag, judges that whether the tcp data bag comprises the identification information of supporting acceleration, carries out record with judged result.
12. a network acceleration system comprises client and service end, it is characterized in that, also comprises:
At least one is like the arbitrary described network acceleration device of claim 7 to 10;
Said client is sent the first transmission control protocol tcp data bag to said service end;
Said service end is sent the second tcp data bag to said client.
CN201210100938.1A 2012-04-09 2012-04-09 Method and device as well as system for network acceleration Active CN102629944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210100938.1A CN102629944B (en) 2012-04-09 2012-04-09 Method and device as well as system for network acceleration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210100938.1A CN102629944B (en) 2012-04-09 2012-04-09 Method and device as well as system for network acceleration

Publications (2)

Publication Number Publication Date
CN102629944A true CN102629944A (en) 2012-08-08
CN102629944B CN102629944B (en) 2015-03-18

Family

ID=46588103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210100938.1A Active CN102629944B (en) 2012-04-09 2012-04-09 Method and device as well as system for network acceleration

Country Status (1)

Country Link
CN (1) CN102629944B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014106486A1 (en) * 2013-01-06 2014-07-10 联发科技(新加坡)私人有限公司 Rapid recovery method and apparatus therefor
CN104717700A (en) * 2013-12-12 2015-06-17 中国移动通信集团上海有限公司 Network acceleration method and device based on wireless cell
CN105072057A (en) * 2015-07-09 2015-11-18 中国科学院计算技术研究所 Intermediate switch equipment for network data transmission, and network communication system
CN108683529A (en) * 2018-04-26 2018-10-19 昆明俊云科技有限公司 Data accelerate transmission method and device
CN109495388A (en) * 2018-11-30 2019-03-19 四川安迪科技实业有限公司 TCP accelerated method based on satellite communication
WO2019196853A1 (en) * 2018-04-12 2019-10-17 华为技术有限公司 Tcp acceleration method and apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132355A (en) * 2006-08-21 2008-02-27 北京锐科天智科技有限责任公司 Network accelerating method, software and hardware device
US20100098092A1 (en) * 2008-10-18 2010-04-22 Fortinet, Inc. A Delaware Corporation Accelerating data communication using tunnels
CN102035724A (en) * 2009-09-30 2011-04-27 华为技术有限公司 Method, device and system for realizing message forwarding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132355A (en) * 2006-08-21 2008-02-27 北京锐科天智科技有限责任公司 Network accelerating method, software and hardware device
US20100098092A1 (en) * 2008-10-18 2010-04-22 Fortinet, Inc. A Delaware Corporation Accelerating data communication using tunnels
CN102035724A (en) * 2009-09-30 2011-04-27 华为技术有限公司 Method, device and system for realizing message forwarding

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014106486A1 (en) * 2013-01-06 2014-07-10 联发科技(新加坡)私人有限公司 Rapid recovery method and apparatus therefor
US9936404B2 (en) 2013-01-06 2018-04-03 Mediatek Singapore Pte. Ltd. Methods and apparatuses for fast recovery
CN104717700A (en) * 2013-12-12 2015-06-17 中国移动通信集团上海有限公司 Network acceleration method and device based on wireless cell
CN105072057A (en) * 2015-07-09 2015-11-18 中国科学院计算技术研究所 Intermediate switch equipment for network data transmission, and network communication system
CN105072057B (en) * 2015-07-09 2019-02-01 中国科学院计算技术研究所 A kind of intermediate switching equipment and its method and system for network data transmission
WO2019196853A1 (en) * 2018-04-12 2019-10-17 华为技术有限公司 Tcp acceleration method and apparatus
CN110381007A (en) * 2018-04-12 2019-10-25 华为技术有限公司 TCP accelerating method and device
CN108683529A (en) * 2018-04-26 2018-10-19 昆明俊云科技有限公司 Data accelerate transmission method and device
CN109495388A (en) * 2018-11-30 2019-03-19 四川安迪科技实业有限公司 TCP accelerated method based on satellite communication
CN109495388B (en) * 2018-11-30 2021-04-27 四川安迪科技实业有限公司 TCP acceleration method based on satellite communication

Also Published As

Publication number Publication date
CN102629944B (en) 2015-03-18

Similar Documents

Publication Publication Date Title
US11082281B2 (en) Relay communication method and relay communication device
CN102629944A (en) Method and device as well as system for network acceleration
CN105939239B (en) Data transmission method and device of virtual network card
KR20150037573A (en) Method for connecting a first host and a second host within at least one communication network through a relay module, corresponding relay module
US20150381563A1 (en) Relay system for transmitting ip address of client to server and method therefor
GB2589211A (en) Methods and systems of using remote subscriber identification modules at device
US10742768B2 (en) Relaying system and method of transmitting IP address of client to server using encapsulation protocol
CN102891803B (en) Congestion processing method and network device
WO2015168840A1 (en) Data processing method and apparatus
CN102761534A (en) Method and device for realizing transparent proxy of media access control layer
CN102387083B (en) Network access control method and system
CN102333210B (en) Video data storage method and equipment
CN103442015B (en) A kind of based on linux Microsoft Loopback Adapter on radio network controller to the processing method of capwap tunneling data and system
CN110545230B (en) Method and device for forwarding VXLAN message
CN104521220A (en) Method and device for message processing
CN102257776A (en) Load balancing
CN103685032A (en) Message forwarding method and network address conversion server
CN102857574B (en) Information processing method and apparatus for Internet of Things
CN116389191A (en) Data transmission system, method, device and storage medium thereof
CN103368841A (en) Message forwarding method and device thereof
CN106612307A (en) Always-on service implementation method and device
US20080212587A1 (en) Relay apparatus and packet relay method
JP2004128671A (en) Network repeater and network repeating method
CN104023091A (en) Multi-link fusion method and equipment
JP2017147601A (en) Communication device and communication method

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211224

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.