CN109274704A - TCP acceleration method and device, acceleration effect judge controller and gateway - Google Patents

TCP acceleration method and device, acceleration effect judge controller and gateway Download PDF

Info

Publication number
CN109274704A
CN109274704A CN201710578543.5A CN201710578543A CN109274704A CN 109274704 A CN109274704 A CN 109274704A CN 201710578543 A CN201710578543 A CN 201710578543A CN 109274704 A CN109274704 A CN 109274704A
Authority
CN
China
Prior art keywords
business stream
tcp
handling capacity
acceleration effect
judges
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
CN201710578543.5A
Other languages
Chinese (zh)
Other versions
CN109274704B (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201710578543.5A priority Critical patent/CN109274704B/en
Publication of CN109274704A publication Critical patent/CN109274704A/en
Application granted granted Critical
Publication of CN109274704B publication Critical patent/CN109274704B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a kind of TCP acceleration method and device, acceleration effect judges controller and gateway.This method comprises: acceleration effect judges that controller receives the Business Stream that user terminal generates;Acceleration effect judges that controller judges whether to need to accelerate the Business Stream according to the target ip address of the Business Stream;If desired the Business Stream is accelerated, then acceleration effect judges that the Business Stream is sent transmission control protocol TCP accelerating module by controller;After TCP accelerating module accelerates the Business Stream, corresponding network server is sent by the Business Stream.The present invention judges that controller is realized by acceleration effect and is judged by the business that TCP accelerates desired, only accelerates the business that can be obviously improved user's perception to accelerate TCP, it is possible thereby to realize the reasonable utilization to TCP acceleration function.

Description

TCP acceleration method and device, acceleration effect judge controller and gateway
Technical field
The present invention relates to intelligent pipeline field, in particular to a kind of TCP (Transmission Control Protocol, Transmission control protocol) acceleration method and device, acceleration effect judge controller and gateway.
Background technique
TCP accelerates to refer to makes TCP higher (with mark in the performance for transmitting data by Internet by one group of optimisation technique Quasi- TCP is compared), while not needing modification concrete application.
Test discovery is accelerated to TCP is opened in existing net:
1, it is directed to web page browsing, most HTTP web page browsings and HTTPS web page browsing rate promotion effect are more obvious, but It is even worse without acceleration effect that there is also parts.
2, it is downloaded for content, generally promotion effect is relatively good, the trend that the bigger acceleration effect of presentation content is more obvious.
3, it is directed to video traffic, rate has promotion, but the promotion difference on effect of each video website is larger.
Analysed in depth in view of the above problems: theoretically there is the scope of application in TCP optimization really, but TCP optimization at present Function is useful when the effect for resulting in TCP to optimize this is distinguished and is judged, when and it is useless.
Summary of the invention
In view of the above technical problem, the present invention provides a kind of TCP acceleration method and device, acceleration effects to judge controller And gateway, only accelerate the business that can be obviously improved user's perception to accelerate TCP, to realize to TCP acceleration function Reasonable utilization.
According to an aspect of the present invention, a kind of transmission control protocol accelerated method is provided characterized by comprising
Acceleration effect judges that controller receives the Business Stream that user terminal generates;
Acceleration effect judges that controller judges whether to need to the Business Stream according to the target ip address of the Business Stream Accelerated;
If desired the Business Stream is accelerated, then acceleration effect judges that the Business Stream is sent transmission by controller Control protocol TCP accelerating module;
After TCP accelerating module accelerates the Business Stream, corresponding network server is sent by the Business Stream.
In one embodiment of the invention, the method also includes:
If not needing to accelerate the Business Stream, acceleration effect judges controller directly by the Business Stream transparent transmission Give corresponding network server.
In one embodiment of the invention, the acceleration effect judges controller according to the Target IP of the Business Stream Location judges whether to need to carry out the Business Stream to accelerate
Acceleration effect judges that controller with predetermined time interval, judges whether need according to the target ip address of the Business Stream The Business Stream is accelerated.
In one embodiment of the invention, the acceleration effect judges controller according to the Target IP of the Business Stream Location judges whether to need to carry out the Business Stream to accelerate
Obtain the TCP handling capacity of the Business Stream;
Obtain the handling capacity strategy value of the Business Stream;
Judge whether the TCP handling capacity is greater than the handling capacity strategy value;
If the TCP handling capacity is greater than the handling capacity strategy value, determine to need to accelerate the Business Stream;
If the TCP handling capacity is not more than the handling capacity strategy value, judgement does not need to add the Business Stream Speed.
In one embodiment of the invention, the handling capacity strategy value for obtaining the Business Stream includes:
The round-trip delay of the Business Stream is obtained according to the target ip address;
It is gulped down according to the round-trip delay, interface bandwidth, TCP window size, maximum message segment segment length, packet loss determination The amount of spitting strategy value.
According to another aspect of the present invention, a kind of acceleration effect is provided and judges controller, comprising:
Business Stream receiving module, for receiving the Business Stream of user terminal generation;
Acceleration effect judgment module, for judging whether to need to the business according to the target ip address of the Business Stream Stream is accelerated;
First sending module needs the case where accelerating to the Business Stream for determining in acceleration effect judgment module Under, transmission control protocol TCP accelerating module is sent by the Business Stream, so that TCP accelerating module carries out the Business Stream After acceleration, corresponding network server is sent by the Business Stream.
In one embodiment of the invention, the acceleration effect judges controller, further includes:
Second sending module, the feelings for determining not needing to accelerate the Business Stream in acceleration effect judgment module Under condition, the Business Stream is directly passed through into corresponding network server.
In one embodiment of the invention, acceleration effect judgment module is used for predetermined time interval, according to the industry The target ip address of business stream judges whether to need to accelerate the Business Stream.
In one embodiment of the invention, the acceleration effect judgment module includes:
Handling capacity obtains module, for obtaining the TCP handling capacity of the Business Stream;
Strategy value obtains module, for obtaining the handling capacity strategy value of the Business Stream;
Handling capacity judgment module, for judging whether the TCP handling capacity is greater than the handling capacity strategy value;Described In the case that TCP handling capacity is greater than the handling capacity strategy value, determine to need to accelerate the Business Stream;And described In the case that TCP handling capacity is not more than the handling capacity strategy value, judgement does not need to accelerate the Business Stream.
In one embodiment of the invention, strategy value obtains module and is used to obtain the industry according to the target ip address The round-trip delay of business stream;And according to the round-trip delay, interface bandwidth, TCP window size, maximum message segment segment length, packet loss Determine the handling capacity strategy value.
According to another aspect of the present invention, a kind of transmission control protocol accelerator, including transmission control protocol TCP are provided Accelerating module and the acceleration effect as described in above-mentioned any embodiment judge controller.
According to another aspect of the present invention, a kind of gateway is provided, the transmission control protocol as described in above-mentioned any embodiment Accelerator.
The present invention judges that controller is realized by acceleration effect and is judged by the business that TCP accelerates desired, only right TCP accelerates the business that can be obviously improved user's perception to accelerate, it is possible thereby to realize the reasonable fortune to TCP acceleration function With.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the schematic diagram of gateway first embodiment of the present invention.
Fig. 2 is the schematic diagram of gateway second embodiment of the present invention.
Fig. 3 is the schematic diagram of transmission control protocol accelerator one embodiment of the present invention.
Fig. 4 is the schematic diagram that acceleration effect of the present invention judges controller first embodiment.
Fig. 5 is the schematic diagram that acceleration effect of the present invention judges controller second embodiment.
Fig. 6 is the schematic diagram of acceleration effect judgment module one embodiment of the present invention.
Fig. 7 is the schematic diagram of transmission control protocol accelerated method first embodiment of the present invention.
Fig. 8 is to judge whether the schematic diagram for needing to accelerate the Business Stream in one embodiment of the invention.
Fig. 9 is the schematic diagram of transmission control protocol accelerated method second embodiment of the present invention.
Figure 10 is that one embodiment of the invention does not need the schematic diagram for carrying out accelerating situation to the Business Stream.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Below Description only actually at least one exemplary embodiment be it is illustrative, never as to the present invention and its application or make Any restrictions.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Unless specifically stated otherwise, positioned opposite, the digital table of the component and step that otherwise illustrate in these embodiments It is not limited the scope of the invention up to formula and numerical value.
Simultaneously, it should be appreciated that for ease of description, the size of various pieces shown in attached drawing is not according to reality Proportionate relationship draw.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as authorizing part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
Fig. 1 is the schematic diagram of gateway first embodiment of the present invention.As shown in Figure 1, including passing transport control protocol in the gateway 1 Discuss accelerator 11, in which:
Transmission control protocol accelerator 11, for receiving the Business Stream of the generation of user terminal 2;According to the Business Stream Target ip address judges whether need accelerated (accelerated whether have obvious effect to the Business Stream to the Business Stream Fruit);The case where for needing to accelerate the Business Stream and (carry out accelerating have positive effect to the Business Stream), to described After Business Stream is accelerated, corresponding network server 31 is sent by the Business Stream;For not needing to flow into the business Row accelerates the case where (carrying out accelerating no positive effect to the Business Stream), and the Business Stream is directly passed through corresponding network Server 32.
Based on the gateway that the above embodiment of the present invention provides, different business stream can be distinguished and be judged, for needing It carries out TCP acceleration or TCP and accelerates apparent Business Stream, after accelerating to the Business Stream, then the Business Stream sent out It is sent to corresponding network server;And for not needing to carry out TCP acceleration or the unconspicuous Business Stream of TCP acceleration, then directly will The Business Stream passes through corresponding network server.The above embodiment of the present invention solves current TCP and accelerates due to not to industry Business distinguishes and judges, and causes some business to accelerate not promote user's perception by TCP, but expend equipment performance Technical problem.
In one embodiment of the invention, the gateway can for PGW (Public Data Network GateWay, Public data network gateway).
Fig. 2 is the schematic diagram of gateway second embodiment of the present invention.As shown in Fig. 2, user needs to take when using business Business device access evidence.User terminal sends Business Stream to PGW.Since PGW includes transmission control protocol accelerator 11, utilize The transmission control protocol accelerator 11 of the above embodiment of the present invention can distinguish the inside and outside clothes of small box in server zone Business device 31 and 32.When business datum is stored in the server 31 in small box, TCP acceleration is carried out to it just promotion effect.
And the server 32 outside small box, TCP acceleration effect are unobvious.Business datum is directly stored in server by PGW 32 Business Stream passes through server 32.
The above embodiment of the present invention, which avoids, to be accelerated all Business Streams and is excessively consumed caused by equipment performance Take.The above embodiment of the present invention, which can optimize TCP, to be used in suitable business/network environment, its acceleration effect is highlighted, into one The effect that step optimization TCP accelerates.
It is carried out below by structure and function of the specific embodiment to transmission control protocol accelerator of the present invention further Explanation.
Fig. 3 is the schematic diagram of transmission control protocol accelerator one embodiment of the present invention.As shown in figure 3, Fig. 1 embodiment Transmission control protocol accelerator 11 may include that acceleration effect judges controller 111 and TCP accelerating module 112, in which:
Acceleration effect judges controller 111, for receiving the Business Stream (Business Stream 1, Business Stream 2) of user terminal generation; Judge whether to need to accelerate the Business Stream (Business Stream 1, Business Stream 2) according to the target ip address of the Business Stream; If desired the Business Stream (Business Stream 1) is accelerated, then sends TCP accelerating module for the Business Stream (Business Stream 1) 112;If not needing to accelerate the Business Stream (Business Stream 2), acceleration effect judges controller 111 directly by the industry Business stream (Business Stream 2) passes through corresponding network server.
TCP accelerating module 112, for judging acceleration effect the Business Stream of the judgement of controller 111 accelerate (Business Stream 1) is accelerated, and sends corresponding network server for the Business Stream (Business Stream 1) after acceleration.
A kind of transmission control protocol accelerator based on acceleration effect judgement based on the above embodiment of the present invention offer, Increase functional module (acceleration effect judgement controller) in a gateway, is sentenced to desired by the business that TCP accelerates with realizing Disconnected, the above embodiment of the present invention only accelerates the business that can be obviously improved user's perception to accelerate TCP, otherwise just directly thoroughly It spreads out of.The reasonable utilization to TCP acceleration function may be implemented in the above embodiment of the present invention.
The above embodiment of the present invention, which avoids, to be accelerated all Business Streams and is excessively consumed caused by equipment performance Take.The above embodiment of the present invention, which can optimize TCP, to be used in suitable business/network environment, its acceleration effect is highlighted, into one The effect that step optimization TCP accelerates.
In one embodiment of the invention, TCP accelerating module 112 can be implemented as TCP acceleration board;Accelerate effect Fruit judge controller 111 can be encapsulated in TCP accelerate board on, acceleration effect judge controller 111 include realize the device and TCP accelerates the internal interface of board connection.
The acceleration effect of the above embodiment of the present invention judges controller, it can be understood as TCP accelerates board to be added to altogether Functional module, the function of going implementation strategy to control.
Fig. 4 is the schematic diagram that acceleration effect of the present invention judges controller first embodiment.As shown in figure 4, in Fig. 3 embodiment Acceleration effect judge controller 111 may include Business Stream receiving module 41, acceleration effect judgment module 42 and first send Module 43, in which:
Business Stream receiving module 41, for receiving the Business Stream of user terminal generation.
Acceleration effect judgment module 42, for judging whether to need to the industry according to the target ip address of the Business Stream Business stream is accelerated.
In one embodiment of the invention, acceleration effect judgment module 42 specifically can be used for predetermined time interval, Judge whether to need to accelerate the Business Stream according to the target ip address of the Business Stream.
First sending module 43, for determining what needs accelerated the Business Stream in acceleration effect judgment module 42 In the case of, transmission control protocol TCP accelerating module 112 is sent by the Business Stream, so that TCP accelerating module 112 is to described After Business Stream is accelerated, corresponding network server is sent by the Business Stream.
Fig. 5 is the schematic diagram that acceleration effect of the present invention judges controller second embodiment.Compared with embodiment illustrated in fig. 4, In the embodiment shown in fig. 5, the acceleration effect judges that controller 111 can also include the second sending module 44:
Second sending module 44, for not needing to accelerate the Business Stream in the judgement of acceleration effect judgment module 42 In the case where, the Business Stream is directly passed through into corresponding network server.
The acceleration effect provided based on the above embodiment of the present invention judges controller, can realize in a gateway logical to wanting The business for crossing TCP acceleration is judged, only accelerates the business that can be obviously improved user's perception to accelerate TCP, otherwise Direct transparent transmission is gone out.The reasonable utilization to TCP acceleration function may be implemented in the above embodiment of the present invention.
Fig. 6 is the schematic diagram of acceleration effect judgment module one embodiment of the present invention.As shown in fig. 6, Fig. 4 or Fig. 5 is implemented Acceleration effect judgment module 42 in example may include that handling capacity obtains module 421, strategy value obtains module 422 and handling capacity is sentenced Disconnected module 423, in which:
Handling capacity obtains module 421, for obtaining the TCP handling capacity T of the Business Stream.
In one embodiment of the invention, handling capacity obtains module 421 and can be used for determining that TCP is gulped down according to formula (1) The amount of spitting T, wherein b is interface bandwidth BW, handling capacity per secondAnd packet lossThe minimum value of three, RTT It is interface bandwidth for round-trip delay, BW, WindowSize is TCP window size, MSS is maximum message segment segment length, ρ is packet loss Rate.
Combine actual conditions it is found that the size of RTT plays decisive role to TCP handling capacity according to formula (1).
Strategy value obtains module 422, for obtaining the handling capacity strategy value a of the Business Stream.
In one embodiment of the invention, strategy value obtains module 422 and specifically can be used for according to the Target IP Location obtains the round-trip delay RTT of the Business Stream;And according to the round-trip delay RTT, interface bandwidth BW, TCP window size WindowSize (WIN), maximum message segment segment length MSS, packet loss ρ determine the handling capacity strategy value a.
In one embodiment of the invention, strategy value obtains module 422 and specifically can be used for determining b according to formula (1), Wherein, b is interface bandwidth BW, handling capacity per secondAnd packet lossThe minimum value of three;Later, from small A value is chosen in the numerical value equal to b is used as handling capacity strategy value a.
Handling capacity judgment module 423, for judging whether the TCP handling capacity T is greater than the handling capacity strategy value a;? In the case that the TCP handling capacity T is greater than the handling capacity strategy value a, determine to need to accelerate the Business Stream;And In the case that the TCP handling capacity T is not more than the handling capacity strategy value a, judgement does not need to accelerate the Business Stream.
The above embodiment of the present invention, which avoids, to be accelerated all Business Streams and is excessively consumed caused by equipment performance Take.The above embodiment of the present invention, which can optimize TCP, to be used in suitable business/network environment, its acceleration effect is highlighted, into one The effect that step optimization TCP accelerates.
The principle that the above embodiment of the present invention accelerates according to TCP should have plan to Business Stream when using TCP acceleration technique It slightly controls, so that the effect of TCP acceleration be effectively ensured.
Fig. 7 is the schematic diagram of transmission control protocol accelerated method first embodiment of the present invention.Preferably, the present embodiment can be by Transmission control protocol accelerator of the present invention executes.As shown in fig. 7, the method may include:
Step 71, acceleration effect judges that controller 111 receives the Business Stream that user terminal generates.
Step 72, acceleration effect judges that controller 111 judges whether needs pair according to the target ip address of the Business Stream The Business Stream is accelerated.
In one embodiment of the invention, step 72 may include: that acceleration effect judges controller 111 with the predetermined time Interval judges whether to need to accelerate the Business Stream according to the target ip address of the Business Stream.
Step 73, if desired the Business Stream is accelerated, then acceleration effect judges controller 111 by the Business Stream It is sent to transmission control protocol TCP accelerating module 112.
Step 74, after TCP accelerating module 112 accelerates the Business Stream, respective wire is sent by the Business Stream Network server.
In one embodiment of the invention, after step 72, if the method can also include: not need to described Business Stream is accelerated, then acceleration effect judges that the Business Stream is directly passed through corresponding network server by controller 111.
A kind of transmission control protocol accelerated method based on acceleration effect judgement based on the above embodiment of the present invention offer, Increase functional module (acceleration effect judgement controller) in a gateway, is sentenced to desired by the business that TCP accelerates with realizing It is disconnected, only accelerate the business that can be obviously improved user's perception to accelerate TCP, otherwise direct transparent transmission is gone out.In the present invention Stating embodiment may be implemented reasonable utilization to TCP acceleration function.
Fig. 8 is to judge whether the schematic diagram for needing to accelerate the Business Stream in one embodiment of the invention.Such as Fig. 8 It is shown, described to judge whether to need to can specifically include the step of accelerating the Business Stream:
Step 721, the TCP handling capacity T of the Business Stream is obtained.
In one embodiment of the invention, step 721 may include: to determine TCP handling capacity T according to formula (1), In, b is interface bandwidth BW, handling capacity per secondAnd packet lossThe minimum value of three, when RTT is round-trip Prolong, BW is interface bandwidth, WindowSize is TCP window size, MSS is maximum message segment segment length, ρ is packet loss.
Step 722, the handling capacity strategy value a of the Business Stream is obtained.
In one embodiment of the invention, step 722 may include:
Step 7221, the round-trip delay RTT of the Business Stream is obtained according to the target ip address.
Step 7222, according to the round-trip delay RTT, interface bandwidth BW, TCP window size WindowSize, maximum report Literary segment length MSS, packet loss ρ determine the handling capacity strategy value a.
In one particular embodiment of the present invention, step 7222 may include: to determine b according to formula (1), wherein b is Interface bandwidth BW, handling capacity per secondAnd packet lossThe minimum value of three;Later, from less than or equal to b Numerical value in choose one value be used as handling capacity strategy value a.
Step 723, judge whether the TCP handling capacity T is greater than the handling capacity strategy value a.If the TCP handling capacity T Greater than the handling capacity strategy value a, 724 are thened follow the steps;Otherwise, if the TCP handling capacity T is not more than the handling capacity strategy Value a, thens follow the steps 725.
Step 724, determine to need to accelerate the Business Stream;The step 73 and 74 of Fig. 7 embodiment is executed later. That is, sending transmission control protocol TCP accelerating module 112 for the Business Stream;TCP accelerating module 112 flows into the business After row accelerates, corresponding network server is sent by the Business Stream.
Step 725, determine not needing to accelerate the Business Stream;Later, acceleration effect judges that controller 111 is direct The Business Stream is passed through into corresponding network server.
The principle that the above embodiment of the present invention accelerates according to TCP should have plan to Business Stream when using TCP acceleration technique It slightly controls, only the suitable TCP business accelerated is accelerated, so that the effect of TCP acceleration be effectively ensured.
Fig. 9 is the schematic diagram of transmission control protocol accelerated method second embodiment of the present invention.As shown in figure 9, the transmission Control protocol accelerated method may include:
Step 1, when user uses business, user terminal UE generates user traffic.Acceleration effect judges controller Progress three-way handshake is established TCP and is linked between 111 and network (server).In view of dynamic, increase in analysis of strategies judgement Timestamp, it is possible thereby to realize the target for carrying out analysis of strategies judgement with predetermined time interval.Specifically, in link setup mistake three times Cheng Zhong, acceleration effect judge that controller 111 is analyzed and determined.
Step 2, acceleration effect judges that controller 111 judges whether to need to institute according to the target ip address of the Business Stream Business Stream is stated to be accelerated.
If judging, purpose IP address A does not need to be accelerated, and selects direct mode operation, directly passes through the Business Stream Corresponding network server.
If judging, purpose IP address B is accelerated, and selects acceleration mode, and acceleration effect judges that controller will be described Business Stream is sent to transmission control protocol TCP accelerating module;It, will be described after TCP accelerating module accelerates the Business Stream Business Stream is sent to corresponding network server.
For the above embodiment of the present invention after opening TCP and accelerating, all Business Streams that user uses first pass through quality of service Sensing controller judgement.The above embodiment of the present invention only accelerates the suitable TCP business accelerated.
The above embodiment of the present invention, which avoids, to be accelerated all Business Streams and is excessively consumed caused by equipment performance Take.The above embodiment of the present invention, which can optimize TCP, to be used in suitable business/network environment, its acceleration effect is highlighted, into one The effect that step optimization TCP accelerates.
Below by a specific embodiment in the above embodiment of the present invention, to not needing to add the Business Stream The case where fast (carrying out accelerating no positive effect to the Business Stream), is illustrated.
Figure 10 is that one embodiment of the invention does not need the schematic diagram for carrying out accelerating situation to the Business Stream.
TCP accelerates the main delay problem being to solve between P-GW and Internet network server, as shown in Figure 10, RTT2 and RTT2 ' plays critically important effect.
It is usually to be determined by WIN/RTT according to the value of TCP handling capacity T for formula (1).
As shown in Figure 10, if not opening TCP acceleration, WIN/RTT=WIN/ (A+B)
If opening TCP to accelerate, WIN/RTT=WIN/ (A+B ')
When B very little, also very little, the two even may be considered equal B '.So opening TCP accelerates not reality Meaning.If although counting TCP in again accelerates seldom processing delay, if time delay, user may be will increase instead by opening TCP acceleration Perception is worse without improving even user's perception.
Therefore, the above embodiment of the present invention only accelerates the business that can be obviously improved user's perception to accelerate TCP;And For not needing to carry out TCP acceleration or the unconspicuous Business Stream of TCP acceleration as described in Figure 10 embodiment, direct transparent transmission is gone out It goes.
Thus the above embodiment of the present invention solves current TCP and accelerates due to not distinguishing and judging to business, and Causing some business to accelerate by TCP, there is no promote user's perception, but expend equipment performance.
The above embodiment of the present invention, which avoids, to be accelerated all Business Streams and is excessively consumed caused by equipment performance Take.The above embodiment of the present invention, which can optimize TCP, to be used in suitable business/network environment, its acceleration effect is highlighted, into one The effect that step optimization TCP accelerates.
Transmission control protocol accelerator of the present invention described above can be implemented as being retouched for executing the application State the general processor, programmable logic controller (PLC) (PLC), digital signal processor (DSP), specific integrated circuit of function (ASIC), field programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components or it is any appropriately combined.
So far, the present invention is described in detail.In order to avoid covering design of the invention, it is public that this field institute is not described The some details known.Those skilled in the art as described above, completely it can be appreciated how implementing technology disclosed herein Scheme.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
Description of the invention is given for the purpose of illustration and description, and is not exhaustively or will be of the invention It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.It selects and retouches It states embodiment and is to more preferably illustrate the principle of the present invention and practical application, and those skilled in the art is enable to manage The solution present invention is to design various embodiments suitable for specific applications with various modifications.

Claims (12)

1. a kind of transmission control protocol accelerated method characterized by comprising
Acceleration effect judges that controller receives the Business Stream that user terminal generates;
Acceleration effect judges that controller judges whether to need to carry out the Business Stream according to the target ip address of the Business Stream Accelerate;
If desired the Business Stream is accelerated, then acceleration effect judges that the Business Stream is sent transmission control by controller Agreement TCP accelerating module;
After TCP accelerating module accelerates the Business Stream, corresponding network server is sent by the Business Stream.
2. the method according to claim 1, wherein further include:
If not needing to accelerate the Business Stream, acceleration effect judges that the Business Stream is directly passed through phase by controller Answer network server.
3. method according to claim 1 or 2, which is characterized in that the acceleration effect judges controller according to the industry The target ip address of business stream judges whether to need to carry out the Business Stream to accelerate
Acceleration effect judges that controller with predetermined time interval, judges whether needs pair according to the target ip address of the Business Stream The Business Stream is accelerated.
4. method according to claim 1 or 2, which is characterized in that the acceleration effect judges controller according to the industry The target ip address of business stream judges whether to need to carry out the Business Stream to accelerate
Obtain the TCP handling capacity of the Business Stream;
Obtain the handling capacity strategy value of the Business Stream;
Judge whether the TCP handling capacity is greater than the handling capacity strategy value;
If the TCP handling capacity is greater than the handling capacity strategy value, determine to need to accelerate the Business Stream;
If the TCP handling capacity is not more than the handling capacity strategy value, judgement does not need to accelerate the Business Stream.
5. according to the method described in claim 4, it is characterized in that, the handling capacity strategy value packet for obtaining the Business Stream It includes:
The round-trip delay of the Business Stream is obtained according to the target ip address;
The handling capacity is determined according to the round-trip delay, interface bandwidth, TCP window size, maximum message segment segment length, packet loss Strategy value.
6. a kind of acceleration effect judges controller characterized by comprising
Business Stream receiving module, for receiving the Business Stream of user terminal generation;
Acceleration effect judgment module, for judging whether to need to flow into the business according to the target ip address of the Business Stream Row accelerates;
First sending module, for acceleration effect judgment module determine need the Business Stream is accelerated in the case where, Transmission control protocol TCP accelerating module is sent by the Business Stream, so that TCP accelerating module accelerates the Business Stream Afterwards, corresponding network server is sent by the Business Stream.
7. acceleration effect according to claim 6 judges controller, which is characterized in that further include:
Second sending module, for not needing the case where accelerating to the Business Stream in the judgement of acceleration effect judgment module Under, the Business Stream is directly passed through into corresponding network server.
8. acceleration effect according to claim 6 or 7 judges controller, which is characterized in that
Acceleration effect judgment module is used to judge whether needs according to the target ip address of the Business Stream with predetermined time interval The Business Stream is accelerated.
9. acceleration effect according to claim 6 or 7 judges controller, which is characterized in that the acceleration effect judges mould Block includes:
Handling capacity obtains module, for obtaining the TCP handling capacity of the Business Stream;
Strategy value obtains module, for obtaining the handling capacity strategy value of the Business Stream;
Handling capacity judgment module, for judging whether the TCP handling capacity is greater than the handling capacity strategy value;It is gulped down in the TCP In the case that the amount of spitting is greater than the handling capacity strategy value, determine to need to accelerate the Business Stream;And it handles up in the TCP No more than in the case where the handling capacity strategy value, judgement does not need to accelerate the Business Stream amount.
10. acceleration effect according to claim 9 judges controller, which is characterized in that
Strategy value obtains the round-trip delay that module is used to obtain the Business Stream according to the target ip address;And according to described past It returns time delay, interface bandwidth, TCP window size, maximum message segment segment length, packet loss and determines the handling capacity strategy value.
11. a kind of transmission control protocol accelerator, which is characterized in that including transmission control protocol TCP accelerating module, Yi Jiru Acceleration effect described in any one of claim 6-10 judges controller.
12. a kind of gateway, which is characterized in that transmission control protocol accelerator as claimed in claim 11.
CN201710578543.5A 2017-07-17 2017-07-17 TCP acceleration method and device, acceleration effect judgment controller and gateway Active CN109274704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710578543.5A CN109274704B (en) 2017-07-17 2017-07-17 TCP acceleration method and device, acceleration effect judgment controller and gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710578543.5A CN109274704B (en) 2017-07-17 2017-07-17 TCP acceleration method and device, acceleration effect judgment controller and gateway

Publications (2)

Publication Number Publication Date
CN109274704A true CN109274704A (en) 2019-01-25
CN109274704B CN109274704B (en) 2021-06-29

Family

ID=65152565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710578543.5A Active CN109274704B (en) 2017-07-17 2017-07-17 TCP acceleration method and device, acceleration effect judgment controller and gateway

Country Status (1)

Country Link
CN (1) CN109274704B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024887A (en) * 2021-11-10 2022-02-08 北京天融信网络安全技术有限公司 Method, device and equipment for processing forwarding table item and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050013245A1 (en) * 2003-07-15 2005-01-20 Srinivas Sreemanthula Method and apparatus for accelerating throughput in a wireless or other telecommunication system
WO2013000432A1 (en) * 2011-06-30 2013-01-03 The Chinese University Of Hong Kong Method and system for improved tcp performance over mobile data networks
CN104158760A (en) * 2014-08-29 2014-11-19 中国科学技术大学 Method and system of unilateral acceleration of TCP (Transmission Control Protocol) of wide area network
CN104468315A (en) * 2014-12-16 2015-03-25 上海市共进通信技术有限公司 Method for accelerating VPN based on intelligent gateway
CN105991462A (en) * 2015-03-02 2016-10-05 华为技术有限公司 Transmission control protocol (TCP) data packet transmission method, transmission device and system
CN106211229A (en) * 2015-04-29 2016-12-07 中国电信股份有限公司 Intelligence accelerated method, Apparatus and system
EP3160096A1 (en) * 2015-10-22 2017-04-26 Harris Corporation Communications device serving as transmission control protocol (tcp) proxy
CN106789348A (en) * 2017-01-22 2017-05-31 维沃移动通信有限公司 A kind of method of network acceleration, server and client
CN106817392A (en) * 2015-12-01 2017-06-09 中国移动通信集团上海有限公司 A kind of data processing method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050013245A1 (en) * 2003-07-15 2005-01-20 Srinivas Sreemanthula Method and apparatus for accelerating throughput in a wireless or other telecommunication system
WO2013000432A1 (en) * 2011-06-30 2013-01-03 The Chinese University Of Hong Kong Method and system for improved tcp performance over mobile data networks
CN104158760A (en) * 2014-08-29 2014-11-19 中国科学技术大学 Method and system of unilateral acceleration of TCP (Transmission Control Protocol) of wide area network
CN104468315A (en) * 2014-12-16 2015-03-25 上海市共进通信技术有限公司 Method for accelerating VPN based on intelligent gateway
CN105991462A (en) * 2015-03-02 2016-10-05 华为技术有限公司 Transmission control protocol (TCP) data packet transmission method, transmission device and system
CN106211229A (en) * 2015-04-29 2016-12-07 中国电信股份有限公司 Intelligence accelerated method, Apparatus and system
EP3160096A1 (en) * 2015-10-22 2017-04-26 Harris Corporation Communications device serving as transmission control protocol (tcp) proxy
US20170117999A1 (en) * 2015-10-22 2017-04-27 Harris Corporation Communications device serving as transmission control protocol (tcp) proxy
CN106817392A (en) * 2015-12-01 2017-06-09 中国移动通信集团上海有限公司 A kind of data processing method and system
CN106789348A (en) * 2017-01-22 2017-05-31 维沃移动通信有限公司 A kind of method of network acceleration, server and client

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
彭娜: "《并行TCP在广域网加速系统中的研究与实现》", 30 April 2010 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024887A (en) * 2021-11-10 2022-02-08 北京天融信网络安全技术有限公司 Method, device and equipment for processing forwarding table item and storage medium

Also Published As

Publication number Publication date
CN109274704B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
Chen et al. Multiple TFRC connections based rate control for wireless networks
US8233399B2 (en) Generic packet generator and method
Hacker et al. Improving throughput and maintaining fairness using parallel TCP
US6721686B2 (en) Server load testing and measurement system
CN105357075B (en) Flow monitoring system and method based on software defined network
CN106506392B (en) A kind of network congestion processing method and device
US20140160961A1 (en) Dynamic balancing of a traffic mix for data center device testing
Ha et al. Impact of background traffic on performance of high-speed TCP variant protocols
CN102791045B (en) Mobile communication terminal and its automatically method of preferred host-host protocol
CN103763156A (en) Network speed measurement method and system
CN106550241A (en) Video traffic identifying system and virtualization dispositions method
Jin et al. Netest: A tool to measure the maximum burst size, available bandwidth and achievable throughput
US9985864B2 (en) High precision packet generation in software using a hardware time stamp counter
CN104283741B (en) The method and device of the accurate big stream aging of detection
Basso et al. The network neutrality bot architecture: a preliminary approach for self-monitoring of Internet access QoS
Yaun et al. Large-scale tcp models using optimistic parallel simulation
CN109274704A (en) TCP acceleration method and device, acceleration effect judge controller and gateway
Hernández-Campos et al. Generating Realistic TCP Workloads.
CN106341339A (en) End-to-end network flow control method
US20130067591A1 (en) Method for filtering web page content and network equipment with web page content filtering function
Gokhale et al. On QoS-compliant telehaptic communication over shared networks
CN104486245B (en) A kind of flow control methods, system and gateway device
Zheng et al. Evolutionary game and resources competition in the internet
Sari et al. Implementation of Bandwidth Management and Access Restrictions Using PCQ and Firewall Methods in SMP Tunas Bangsa Network
JP2015032985A (en) Communication control device, communication control method, and communication control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant