CN109274704B - TCP acceleration method and device, acceleration effect judgment controller and gateway - Google Patents

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

Info

Publication number
CN109274704B
CN109274704B CN201710578543.5A CN201710578543A CN109274704B CN 109274704 B CN109274704 B CN 109274704B CN 201710578543 A CN201710578543 A CN 201710578543A CN 109274704 B CN109274704 B CN 109274704B
Authority
CN
China
Prior art keywords
service flow
tcp
acceleration
throughput
accelerated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710578543.5A
Other languages
Chinese (zh)
Other versions
CN109274704A (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

Images

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

Abstract

The invention discloses a TCP acceleration method and device, an acceleration effect judgment controller and a gateway. The method comprises the following steps: the accelerating effect judging controller receives a service flow generated by a user terminal; the acceleration effect judgment controller judges whether the service flow needs to be accelerated or not according to the target IP address of the service flow; if the service flow needs to be accelerated, the acceleration effect judgment controller sends the service flow to a Transmission Control Protocol (TCP) acceleration module; and after accelerating the service flow, the TCP acceleration module sends the service flow to a corresponding network server. The invention realizes the judgment of the service which is expected to be accelerated by the TCP by the accelerating effect judgment controller, and only the acceleration of the TCP can obviously improve the service perceived by the user, thereby realizing the reasonable application of the TCP acceleration function.

Description

TCP acceleration method and device, acceleration effect judgment controller and gateway
Technical Field
The present invention relates to the field of intelligent pipelines, and in particular, to a TCP (Transmission Control Protocol) acceleration method and apparatus, an acceleration effect determination controller, and a gateway.
Background
TCP acceleration refers to the performance of TCP in transmitting data over the Internet (compared to standard TCP) through a set of optimization techniques, without the need to modify the specific application.
The test of starting TCP acceleration in the existing network finds that:
1. for web browsing, the speed increasing effect of most HTTP web browsing and HTTPS web browsing is obvious, but the accelerating effect is not achieved partially or even worse.
2. Aiming at content downloading, the general promotion effect is better, and the larger the content is, the more obvious the acceleration effect is.
3. For video services, the speed is improved, but the improvement effect difference of each video website is large.
The following problems are deeply analyzed: theoretically, the application range of TCP optimization does exist, but at present, the TCP optimization function does not distinguish and judge the TCP optimization function, so that the TCP optimization effect is sometimes useful and sometimes useless.
Disclosure of Invention
In view of the above technical problems, the present invention provides a TCP acceleration method and apparatus, an acceleration effect determination controller, and a gateway, which can accelerate traffic perceived by a user only by TCP acceleration, thereby implementing reasonable application of a TCP acceleration function.
According to an aspect of the present invention, there is provided a tcp acceleration method, comprising:
the accelerating effect judging controller receives a service flow generated by a user terminal;
the acceleration effect judgment controller judges whether the service flow needs to be accelerated or not according to the target IP address of the service flow;
if the service flow needs to be accelerated, the acceleration effect judgment controller sends the service flow to a Transmission Control Protocol (TCP) acceleration module;
and after accelerating the service flow, the TCP acceleration module sends the service flow to a corresponding network server.
In one embodiment of the invention, the method further comprises:
and if the service flow does not need to be accelerated, the acceleration effect judgment controller directly transmits the service flow to a corresponding network server.
In an embodiment of the present invention, the determining, by the acceleration effect determination controller, whether the service flow needs to be accelerated according to the target IP address of the service flow includes:
and the acceleration effect judgment controller judges whether the service flow needs to be accelerated or not according to the target IP address of the service flow at preset time intervals.
In an embodiment of the present invention, the determining, by the acceleration effect determination controller, whether the service flow needs to be accelerated according to the target IP address of the service flow includes:
acquiring TCP throughput of the service flow;
acquiring a throughput strategy value of the service flow;
judging whether the TCP throughput is greater than the throughput strategy value;
if the TCP throughput is greater than the throughput strategy value, determining that the service flow needs to be accelerated;
and if the TCP throughput is not greater than the throughput strategy value, judging that the service flow does not need to be accelerated.
In an embodiment of the present invention, the obtaining the throughput policy value of the service flow includes:
obtaining the round-trip delay of the service flow according to the target IP address;
and determining the throughput strategy value according to the round trip delay, the interface bandwidth, the size of a TCP window, the length of the maximum message segment and the packet loss rate.
According to another aspect of the present invention, there is provided an acceleration effect determination controller including:
the service flow receiving module is used for receiving the service flow generated by the user terminal;
the accelerating effect judging module is used for judging whether the service flow needs to be accelerated or not according to the target IP address of the service flow;
and the first sending module is used for sending the service flow to a Transmission Control Protocol (TCP) acceleration module under the condition that the acceleration effect judging module judges that the service flow needs to be accelerated, so that the TCP acceleration module can accelerate the service flow and then send the service flow to a corresponding network server.
In an embodiment of the present invention, the acceleration effect determination controller further includes:
and the second sending module is used for directly transmitting the service flow to a corresponding network server under the condition that the acceleration effect judging module judges that the service flow does not need to be accelerated.
In an embodiment of the present invention, the acceleration effect determining module is configured to determine whether the service flow needs to be accelerated according to a target IP address of the service flow at a predetermined time interval.
In an embodiment of the present invention, the acceleration effect determining module includes:
a throughput obtaining module, configured to obtain a TCP throughput of the service flow;
a strategy value obtaining module, configured to obtain a throughput strategy value of the service flow;
the throughput judging module is used for judging whether the TCP throughput is greater than the throughput strategy value; under the condition that the TCP throughput is greater than the throughput strategy value, judging that the service flow needs to be accelerated; and determining that acceleration of the traffic flow is not required if the TCP throughput is not greater than the throughput policy value.
In an embodiment of the present invention, the policy value obtaining module is configured to obtain a round trip delay of the service flow according to the target IP address; and determining the throughput strategy value according to the round trip delay, the interface bandwidth, the size of the TCP window, the length of the maximum message segment and the packet loss rate.
According to another aspect of the present invention, there is provided a TCP acceleration apparatus, comprising a TCP acceleration module and an acceleration effect determination controller as described in any of the above embodiments.
According to another aspect of the present invention, there is provided a gateway, such as the tcp acceleration apparatus according to any of the above embodiments.
The invention realizes the judgment of the service which is expected to be accelerated by the TCP by the accelerating effect judgment controller, and only the acceleration of the TCP can obviously improve the service perceived by the user, thereby realizing the reasonable application of the TCP acceleration function.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a gateway according to a first embodiment of the present invention.
Fig. 2 is a schematic diagram of a gateway according to a second embodiment of the present invention.
Fig. 3 is a diagram illustrating an embodiment of a tcp acceleration apparatus according to the present invention.
FIG. 4 is a diagram of a first embodiment of an acceleration effect determination controller according to the present invention.
FIG. 5 is a diagram of an acceleration effect determination controller according to a second embodiment of the present invention.
Fig. 6 is a schematic diagram of an acceleration effect determining module according to an embodiment of the present invention.
Fig. 7 is a diagram illustrating a tcp acceleration method according to a first embodiment of the present invention.
Fig. 8 is a schematic diagram illustrating a determination of whether the traffic flow needs to be accelerated according to an embodiment of the present invention.
Fig. 9 is a diagram illustrating a tcp acceleration method according to a second embodiment of the present invention.
Fig. 10 is a schematic diagram of a situation where the traffic flow does not need to be accelerated according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 is a schematic diagram of a gateway according to a first embodiment of the present invention. As shown in fig. 1, the gateway 1 includes a transmission control protocol acceleration apparatus 11, where:
a transmission control protocol acceleration device 11, configured to receive a service flow generated by the user terminal 2; judging whether the service flow needs to be accelerated or not according to the target IP address of the service flow (whether the acceleration of the service flow has an obvious effect or not); for the condition that the service flow needs to be accelerated (the acceleration of the service flow has an obvious effect), after the service flow is accelerated, the service flow is sent to the corresponding network server 31; for the case that the traffic flow does not need to be accelerated (there is no obvious effect on accelerating the traffic flow), the traffic flow is directly transmitted to the corresponding network server 32.
Based on the gateway provided by the embodiment of the invention, different service flows can be distinguished and judged, and for the service flow which needs to be accelerated or is obviously accelerated, the service flow is accelerated and then sent to a corresponding network server; and for the traffic flow which does not need TCP acceleration or is not obvious in TCP acceleration, the traffic flow is directly transmitted to the corresponding network server. The embodiment of the invention solves the technical problems that at present, the TCP acceleration does not distinguish and judge the service, so that the user perception is not improved when some services are accelerated by the TCP, but the equipment performance is consumed.
In an embodiment of the present invention, the GateWay may be a PGW (Public Data Network GateWay).
Fig. 2 is a schematic diagram of a gateway according to a second embodiment of the present invention. As shown in fig. 2, when the user uses the service, the user needs to go to the server to fetch data. And the user terminal sends the service flow to the PGW. Since the PGW includes the tcp acceleration device 11, the tcp acceleration device 11 according to the above embodiment of the present invention can distinguish the servers 31 and 32 inside and outside the small box in the server cluster. When the service data is stored in the server 31 in the small box, the TCP acceleration is performed to the service data to have the improvement effect.
And the server 32 outside the small box has no obvious TCP acceleration effect. The PGW passes through the traffic flow, which stores the traffic data in the server 32, directly to the server 32.
The embodiment of the invention avoids excessive consumption on the performance of the equipment caused by accelerating all the service flows. The embodiment of the invention can optimize the TCP in a suitable service/network environment, highlight the acceleration effect and further optimize the acceleration effect of the TCP.
The structure and function of the tcp acceleration apparatus of the present invention are further described with reference to the following embodiments.
Fig. 3 is a diagram illustrating an embodiment of a tcp acceleration apparatus according to the present invention. As shown in fig. 3, the TCP acceleration apparatus 11 of the embodiment of fig. 1 may include an acceleration effect determination controller 111 and a TCP acceleration module 112, where:
an acceleration effect determination controller 111, configured to receive service flows (service flow 1, service flow 2) generated by a user terminal; judging whether the service flows (service flow 1 and service flow 2) need to be accelerated or not according to the target IP addresses of the service flows; if the service flow (service flow 1) needs to be accelerated, sending the service flow (service flow 1) to a TCP acceleration module 112; if the service flow (service flow 2) does not need to be accelerated, the acceleration effect determination controller 111 directly passes the service flow (service flow 2) through to the corresponding network server.
The TCP acceleration module 112 is configured to accelerate the traffic flow (traffic flow 1) that needs to be accelerated and is determined by the acceleration effect determination controller 111, and send the accelerated traffic flow (traffic flow 1) to the corresponding network server.
Based on the transmission control protocol acceleration device based on acceleration effect judgment provided by the embodiment of the invention, the gateway is additionally provided with the functional module (acceleration effect judgment controller) to realize the judgment of the service which is expected to be accelerated by the TCP. The embodiment of the invention can realize reasonable application of the TCP acceleration function.
The embodiment of the invention avoids excessive consumption on the performance of the equipment caused by accelerating all the service flows. The embodiment of the invention can optimize the TCP in a suitable service/network environment, highlight the acceleration effect and further optimize the acceleration effect of the TCP.
In an embodiment of the present invention, the TCP acceleration module 112 may be implemented as a TCP acceleration board; the acceleration effect judgment controller 111 can be packaged on a TCP acceleration board, and the acceleration effect judgment controller 111 includes an internal interface for realizing connection between the apparatus and the TCP acceleration board.
The acceleration effect judgment controller of the above embodiment of the present invention may be understood as adding a common function module to the TCP acceleration board card to implement the policy control function.
FIG. 4 is a diagram of a first embodiment of an acceleration effect determination controller according to the present invention. As shown in fig. 4, the acceleration effect determination controller 111 in the embodiment of fig. 3 may include a traffic flow receiving module 41, an acceleration effect determination module 42, and a first sending module 43, wherein:
and a service flow receiving module 41, configured to receive a service flow generated by the user terminal.
And the acceleration effect judging module 42 is configured to judge whether the service flow needs to be accelerated according to the target IP address of the service flow.
In an embodiment of the present invention, the acceleration effect determining module 42 is specifically configured to determine whether the service flow needs to be accelerated according to the target IP address of the service flow at a predetermined time interval.
The first sending module 43 is configured to send the traffic flow to the TCP acceleration module 112 under the condition that the acceleration effect determining module 42 determines that the traffic flow needs to be accelerated, so that the TCP acceleration module 112 accelerates the traffic flow and then sends the traffic flow to a corresponding network server.
FIG. 5 is a diagram of an acceleration effect determination controller according to a second embodiment of the present invention. Compared to the embodiment shown in fig. 4, in the embodiment shown in fig. 5, the acceleration effect determination controller 111 may further include a second sending module 44:
and the second sending module 44 is configured to directly transmit the service flow to a corresponding network server under the condition that the acceleration effect determining module 42 determines that the service flow does not need to be accelerated.
Based on the acceleration effect judgment controller provided by the embodiment of the invention, the service which is expected to be accelerated by the TCP can be judged in the gateway, the service which can be obviously improved by the acceleration of the TCP is accelerated, and otherwise, the service is directly transmitted. The embodiment of the invention can realize reasonable application of the TCP acceleration function.
Fig. 6 is a schematic diagram of an acceleration effect determining module according to an embodiment of the present invention. As shown in fig. 6, the acceleration effect determining module 42 in the embodiment of fig. 4 or fig. 5 may include a throughput obtaining module 421, a policy value obtaining module 422, and a throughput determining module 423, where:
a throughput obtaining module 421, configured to obtain a TCP throughput T of the traffic flow.
In an embodiment of the present invention, the throughput obtaining module 421 may be configured to determine the TCP throughput T according to formula (1), where b is the interface bandwidth BW and the throughput per second
Figure BDA0001351631840000081
And packet loss
Figure BDA0001351631840000082
The minimum value of the three is RTT (round trip delay), BW (bandwidth of interface),WindowSize is the size of a TCP window, MSS is the maximum segment length of a message, and rho is the packet loss rate.
Figure BDA0001351631840000083
According to the formula (1) and the practical situation, the size of RTT plays a decisive role in TCP throughput.
A policy value obtaining module 422, configured to obtain a throughput policy value a of the service flow.
In an embodiment of the present invention, the policy value obtaining module 422 may be specifically configured to obtain a round trip delay RTT of the service flow according to the target IP address; and determining the throughput strategy value a according to the round trip delay RTT, the interface bandwidth BW, the TCP window size Window size (WIN), the maximum message segment length MSS and the packet loss rate rho.
In an embodiment of the present invention, the policy value obtaining module 422 may specifically be configured to determine b according to formula (1), where b is interface bandwidth BW and throughput per second
Figure BDA0001351631840000084
And packet loss
Figure BDA0001351631840000085
The minimum value of the three; and then selecting one value from the values less than or equal to b as a throughput strategy value a.
A throughput judgment module 423, configured to judge whether the TCP throughput T is greater than the throughput policy value a; under the condition that the TCP throughput T is greater than the throughput strategy value a, judging that the service flow needs to be accelerated; and under the condition that the TCP throughput T is not greater than the throughput strategy value a, judging that the traffic flow does not need to be accelerated.
The embodiment of the invention avoids excessive consumption on the performance of the equipment caused by accelerating all the service flows. The embodiment of the invention can optimize the TCP in a suitable service/network environment, highlight the acceleration effect and further optimize the acceleration effect of the TCP.
According to the principle of TCP acceleration, the embodiment of the invention has policy control on the service flow when the TCP acceleration technology is used, thereby effectively ensuring the effect of TCP acceleration.
Fig. 7 is a diagram illustrating a tcp acceleration method according to a first embodiment of the present invention. Preferably, this embodiment can be performed by the tcp acceleration apparatus of the present invention. As shown in fig. 7, the method may include:
in step 71, the acceleration effect determination controller 111 receives the traffic generated by the user terminal.
Step 72, the acceleration effect determination controller 111 determines whether the service flow needs to be accelerated according to the target IP address of the service flow.
In one embodiment of the present invention, step 72 may comprise: the acceleration effect determination controller 111 determines whether the traffic flow needs to be accelerated according to the target IP address of the traffic flow at predetermined time intervals.
In step 73, if the traffic flow needs to be accelerated, the acceleration effect determination controller 111 sends the traffic flow to the TCP acceleration module 112.
Step 74, after the TCP acceleration module 112 accelerates the traffic flow, the traffic flow is sent to the corresponding network server.
In one embodiment of the present invention, after step 72, the method may further comprise: if the service flow does not need to be accelerated, the acceleration effect determination controller 111 directly transmits the service flow to a corresponding network server.
Based on the method for accelerating the transmission control protocol based on the acceleration effect judgment provided by the embodiment of the invention, the gateway is additionally provided with the functional module (acceleration effect judgment controller) to realize the judgment of the service which is expected to be accelerated by the TCP, the service which can obviously improve the perception of the user is accelerated only by the TCP acceleration, and otherwise, the service is directly transmitted. The embodiment of the invention can realize reasonable application of the TCP acceleration function.
Fig. 8 is a schematic diagram illustrating a determination of whether the traffic flow needs to be accelerated according to an embodiment of the present invention. As shown in fig. 8, the step of determining whether the service flow needs to be accelerated may specifically include:
step 721, obtaining the TCP throughput T of the traffic flow.
In one embodiment of the present invention, step 721 may include: determining TCP throughput T according to equation (1), where b is interface bandwidth BW, throughput per second
Figure BDA0001351631840000101
And packet loss
Figure BDA0001351631840000102
The minimum value of the three is RTT (round trip delay), BW (bandwidth interface), Windows size (TCP window size), MSS (maximum message segment length) and rho (packet loss rate).
Step 722, obtaining the throughput strategy value a of the service flow.
In one embodiment of the present invention, step 722 may comprise:
step 7221, obtaining round trip time RTT of the service flow according to the target IP address.
Step 7222, determining the throughput policy value a according to the round trip delay RTT, the interface bandwidth BW, the TCP window size WindowSize, the maximum segment length MSS, and the packet loss rate ρ.
In one embodiment of the present invention, step 7222 may include: b is determined according to formula (1), wherein b is interface bandwidth BW, throughput per second
Figure BDA0001351631840000103
And packet loss
Figure BDA0001351631840000104
The minimum value of the three; and then selecting one value from the values less than or equal to b as a throughput strategy value a.
And 723, judging whether the TCP throughput T is greater than the throughput strategy value a. If the TCP throughput T is greater than the throughput policy value a, go to step 724; otherwise, if the TCP throughput T is not greater than the throughput policy value a, step 725 is executed.
Step 724, determining that the service flow needs to be accelerated; steps 73 and 74 of the embodiment of fig. 7 are then performed. That is, the traffic flow is sent to the TCP acceleration module 112; after the TCP acceleration module 112 accelerates the traffic flow, the traffic flow is sent to the corresponding network server.
Step 725, determining that the service flow does not need to be accelerated; then, the acceleration effect determination controller 111 directly passes the traffic flow through to the corresponding network server.
According to the principle of TCP acceleration, the embodiment of the invention has policy control on the service flow when the TCP acceleration technology is used, and only the service suitable for TCP acceleration is accelerated, thereby effectively ensuring the effect of TCP acceleration.
Fig. 9 is a diagram illustrating a tcp acceleration method according to a second embodiment of the present invention. As shown in fig. 9, the tcp acceleration method may include:
step 1, when a user uses a service, a user terminal UE generates a user service flow. The acceleration effect determination controller 111 performs three-way handshake with the network (server) to establish a TCP link. In consideration of the dynamics, a time stamp is added to the policy analysis judgment, whereby the goal of performing policy analysis judgment at predetermined time intervals can be achieved. Specifically, in the three-time link establishment process, the acceleration effect determination controller 111 performs analysis determination.
And 2, judging whether the service flow needs to be accelerated or not by the acceleration effect judgment controller 111 according to the target IP address of the service flow.
And if the destination IP address A is judged not to need acceleration, selecting a direct mode and directly transmitting the service flow to a corresponding network server.
If the destination IP address B needs to be accelerated, an acceleration mode is selected, and an acceleration effect judgment controller sends the service flow to a Transmission Control Protocol (TCP) acceleration module; and after accelerating the service flow, the TCP acceleration module sends the service flow to a corresponding network server.
In the above embodiment of the present invention, after the TCP acceleration is started, all the service flows used by the user are first judged by the service quality sensing controller. The above embodiments of the present invention only accelerate traffic suitable for TCP acceleration.
The embodiment of the invention avoids excessive consumption on the performance of the equipment caused by accelerating all the service flows. The embodiment of the invention can optimize the TCP in a suitable service/network environment, highlight the acceleration effect and further optimize the acceleration effect of the TCP.
In the above embodiments of the present invention, a case that the service flow does not need to be accelerated (there is no obvious effect on accelerating the service flow) is described below through a specific embodiment.
Fig. 10 is a schematic diagram of a situation where the traffic flow does not need to be accelerated according to an embodiment of the present invention.
The main solution of TCP acceleration is the delay between the P-GW and the Internet network server, and as shown in fig. 10, RTT2 and RTT 2' play an important role.
From equation (1), it can be seen that the TCP throughput T is generally determined by WIN/RTT.
As shown in FIG. 10, if TCP acceleration is not started, WIN/RTT WIN/(A + B)
If TCP acceleration is started, WIN/RTT is WIN/(A + B')
When B is small, B' is also small, and the two may even be considered equal. It is not practical to turn on TCP acceleration. If TCP acceleration is calculated to have little processing delay, the delay may be increased if TCP acceleration is turned on, and the user perception is not improved or even worse.
Therefore, the embodiment of the invention only accelerates the TCP acceleration, which can obviously improve the service perceived by the user; and for the traffic flow which does not need to be accelerated or is not obvious accelerated by the TCP as described in the embodiment of FIG. 10, the traffic flow is directly transmitted.
Therefore, the embodiment of the invention solves the technical problems that at present, the TCP acceleration does not distinguish and judge the service, so that the user perception of some services is not improved when the service is accelerated by the TCP, but the equipment performance is consumed.
The embodiment of the invention avoids excessive consumption on the performance of the equipment caused by accelerating all the service flows. The embodiment of the invention can optimize the TCP in a suitable service/network environment, highlight the acceleration effect and further optimize the acceleration effect of the TCP.
The inventive tcp acceleration apparatus described above may be implemented as a general purpose processor, a Programmable Logic Controller (PLC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any suitable combination thereof, for performing the functions described herein.
Thus far, the present invention has been described in detail. Some details well known in the art have not been described in order to avoid obscuring the concepts of the present invention. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to practitioners skilled in this art. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A tcp acceleration method, comprising:
the accelerating effect judging controller receives a service flow generated by a user terminal;
the acceleration effect judgment controller judges whether the service flow needs to be accelerated or not according to the target IP address of the service flow;
if the service flow needs to be accelerated, the acceleration effect judgment controller sends the service flow to a Transmission Control Protocol (TCP) acceleration module;
after accelerating the service flow, the TCP acceleration module sends the service flow to a corresponding network server;
wherein the judging whether the service flow needs to be accelerated according to the target IP address of the service flow by the accelerating effect judging controller comprises:
acquiring TCP throughput of the service flow;
acquiring a throughput strategy value of the service flow;
judging whether the TCP throughput is greater than the throughput strategy value;
if the TCP throughput is greater than the throughput strategy value, determining that the service flow needs to be accelerated;
and if the TCP throughput is not greater than the throughput strategy value, judging that the service flow does not need to be accelerated.
2. The method of claim 1, further comprising:
and if the service flow does not need to be accelerated, the acceleration effect judgment controller directly transmits the service flow to a corresponding network server.
3. The method of claim 1 or 2, wherein the determining, by the acceleration effect determination controller, whether the traffic flow needs to be accelerated according to the target IP address of the traffic flow comprises:
and the acceleration effect judgment controller judges whether the service flow needs to be accelerated or not according to the target IP address of the service flow at preset time intervals.
4. The method of claim 1 or 2, wherein the obtaining the throughput policy value for the traffic flow comprises:
obtaining the round-trip delay of the service flow according to the target IP address;
and determining the throughput strategy value according to the round trip delay, the interface bandwidth, the size of a TCP window, the length of the maximum message segment and the packet loss rate.
5. An acceleration effect determination controller, comprising:
the service flow receiving module is used for receiving the service flow generated by the user terminal;
the accelerating effect judging module is used for judging whether the service flow needs to be accelerated or not according to the target IP address of the service flow;
the first sending module is used for sending the service flow to a Transmission Control Protocol (TCP) acceleration module under the condition that the acceleration effect judging module judges that the service flow needs to be accelerated, so that the TCP acceleration module can accelerate the service flow and then send the service flow to a corresponding network server;
wherein, the accelerating effect judging module comprises:
a throughput obtaining module, configured to obtain a TCP throughput of the service flow;
a strategy value obtaining module, configured to obtain a throughput strategy value of the service flow;
the throughput judging module is used for judging whether the TCP throughput is greater than the throughput strategy value; under the condition that the TCP throughput is greater than the throughput strategy value, judging that the service flow needs to be accelerated; and determining that acceleration of the traffic flow is not required if the TCP throughput is not greater than the throughput policy value.
6. The acceleration effect determination controller according to claim 5, characterized by further comprising:
and the second sending module is used for directly transmitting the service flow to a corresponding network server under the condition that the acceleration effect judging module judges that the service flow does not need to be accelerated.
7. The acceleration effect determination controller according to claim 5 or 6,
and the acceleration effect judging module is used for judging whether the service flow needs to be accelerated or not according to the target IP address of the service flow at a preset time interval.
8. The acceleration effect determination controller according to claim 5 or 6,
the strategy value acquisition module is used for acquiring the round trip delay of the service flow according to the target IP address; and determining the throughput strategy value according to the round trip delay, the interface bandwidth, the size of the TCP window, the length of the maximum message segment and the packet loss rate.
9. A TCP acceleration apparatus comprising a TCP acceleration module and an acceleration effect determination controller according to any one of claims 5 to 8.
10. A gateway, characterized by a transmission control protocol acceleration apparatus according to claim 9.
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 CN109274704A (en) 2019-01-25
CN109274704B true 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)

Families Citing this family (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

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263067B2 (en) * 2003-07-15 2007-08-28 Nokia Siemans Networks Oy Method and apparatus for accelerating throughput in a wireless or other telecommunication system
US9548936B2 (en) * 2011-06-30 2017-01-17 The Chinese University Of Hong Kong Method and system for improved TCP performance over mobile data networks
CN104158760B (en) * 2014-08-29 2018-08-03 中国科学技术大学 A kind of method and system of the unilateral acceleration of wide area network TCP
CN104468315A (en) * 2014-12-16 2015-03-25 上海市共进通信技术有限公司 Method for accelerating VPN based on intelligent gateway
CN105991462B (en) * 2015-03-02 2019-05-28 华为技术有限公司 Sending method, sending device and the system of transmission control protocol TCP data packet
CN106211229B (en) * 2015-04-29 2019-11-15 中国电信股份有限公司 Intelligent accelerated method, apparatus and system
US9967077B2 (en) * 2015-10-22 2018-05-08 Harris Corporation Communications device serving as transmission control protocol (TCP) proxy
CN106817392B (en) * 2015-12-01 2019-09-06 中国移动通信集团上海有限公司 A kind of data processing method and system
CN106789348B (en) * 2017-01-22 2020-07-28 维沃移动通信有限公司 Network acceleration method, server and client

Also Published As

Publication number Publication date
CN109274704A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
US8782221B2 (en) Method to allocate buffer for TCP proxy session based on dynamic network conditions
US7995478B2 (en) Network communication with path MTU size discovery
US8379515B1 (en) TCP throughput control by imposing temporal delay
US9929956B2 (en) System for bandwidth optimization with initial congestion window determination
KR102016446B1 (en) Tcp congestion control for large latency networks
US9900357B2 (en) Rate control
CN107454276B (en) User terminal equipment, data forwarding method thereof and communication system
BR112019009138B1 (en) APPLICATION CHARACTERIZATION USING TRANSPORT PROTOCOL ANALYSIS
KR102197974B1 (en) Method for adapting the downloading behavior of a client terminal configured to receive multimedia content, and corresponding terminal
CN108322401B (en) Method and device for controlling network transmission congestion
US9197561B2 (en) Facilitating network flows
WO2018112877A1 (en) Path calculating and access request distributing methods, devices and systems
CN106656648B (en) Application flow dynamic protection method and system based on home gateway and home gateway
US10868839B2 (en) Method and system for upload optimization
CN106936730B (en) Message sending method, TCP (Transmission control protocol) proxy and TCP client
Havey et al. Receiver driven rate adaptation for wireless multimedia applications
WO2019147157A1 (en) Method of improving qoe for video and web services using cross-layer information
CN109274704B (en) TCP acceleration method and device, acceleration effect judgment controller and gateway
JP6783501B2 (en) Information transmission system, information communication device, information transmission device, and program
EP2381621A1 (en) Method for evaluating an available path bitrate based on an acknowledgment path selection
Testa et al. Delay-based congestion control: Flow vs. BitTorrent swarm perspectives
US20160014239A1 (en) Communication apparatus and control method of communication apparatus
Vernersson Analysis of UDP-based reliable transport using network emulation
JP3853784B2 (en) Data communication management method
CN109639699B (en) Network management method and device

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