CN104065464A - Method and device used for adjusting size of initial window of TCP connection - Google Patents

Method and device used for adjusting size of initial window of TCP connection Download PDF

Info

Publication number
CN104065464A
CN104065464A CN201310084910.8A CN201310084910A CN104065464A CN 104065464 A CN104065464 A CN 104065464A CN 201310084910 A CN201310084910 A CN 201310084910A CN 104065464 A CN104065464 A CN 104065464A
Authority
CN
China
Prior art keywords
tcp
window size
initial
network bandwidth
connects
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
CN201310084910.8A
Other languages
Chinese (zh)
Other versions
CN104065464B (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 Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201310084910.8A priority Critical patent/CN104065464B/en
Publication of CN104065464A publication Critical patent/CN104065464A/en
Application granted granted Critical
Publication of CN104065464B publication Critical patent/CN104065464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a method and a device used for adjusting the size of an initial window of TCP connection. According to the network bandwidth corresponding to the network access mode of a core network, the size of the initial window of TCP connection of a TCP proxy device is confirmed, so that the TCP proxy device can carry out data transmission according to the size of the initial window. For different network access modes, the size of the initial window of TCP connection of the TCP proxy device is set. The size of the initial window of TCP connection is flexibly connected. The size of the initial window of TCP connection can match the network access mode. The transmission speed and the bandwidth utilization of TCP connection are further improved.

Description

A kind of method and apparatus of the initial window size of adjusting TCP connection
Technical field
The present invention relates to the communications field, relate in particular to a kind of method and apparatus of the initial window size of adjusting transmission control protocol (TransmissionControl Protocol, TCP) connection.
Background technology
Along with Generation Mobile Telecommunication System (2Generation, 2G)/3G (Third Generation) Moblie (3Generation, 3G)/Long Term Evolution (Long Term Evolution, LTE)/WLAN (wireless local area network) (Wireless Local AreaNetwork, WLAN) development of network, the bandwidth of wireless access is more and more higher.Along with the development of intelligent terminal and universal, the class of business based on Transmission Control Protocol is more various, is not merely traditional web page browsing business, is also contained in the business such as line video, file download, and the element number of browsing page and size all enlarge markedly.Meanwhile, the browser of main flow supports concurrent TCP to connect.Above factor all requires TCP to connect can raising efficiency.Meanwhile, utilize TCP to connect carrying real-time media passing fire wall, real-time is had to requirement, therefore, need badly and improve transmission speed and the bandwidth availability ratio that TCP connects.
Existing scheme proposes, and the initial window size that can connect by adjusting TCP, improves transmission speed and bandwidth availability ratio that TCP connects, and described home window can be understood as and comprises initial receive window and initialization window.Comprise at present the method for the initial window size of following two kinds of adjustment TCP connection:
The first, on server, adjust TCP connect initial window size.
In the method, by the mode of Internet Protocol path (ip route), locate to add ip route instruction at server (server), amendment initialization window size (initcwnd value), after three-way handshake connects foundation, set up socket (socket), call metric function and adopted new send window size (cwnd value).
Set up after TCP connection initialization window size=min{ congestion window size, advertised window size at client and server }.And initialization window size generally depends on congestion window size.In the method, concrete formula is: initcwnd=min{10*MSS, max(2*MSS, 14600) }.
Therefore, in the method, initialization window size can increase to 15KB left and right according to the definite MSS value of Path MTU, is about 10 sections (segments) size.
The second, on agent equipment, adjust TCP connect initial window size.
This method realizes on agent equipment.Agent equipment is deployed between client (Client) and Server, safeguards with Client and Server that respectively two sections of TCP are connected.Add ip route instruction at agent equipment place, amendment initialization window size (initcwnd value) and initial receive window size (initrwnd value), after three-way handshake connects foundation, set up socket, call metric function and adopted new send window size (cwnd value) and receive window size (rwnd value).
In the method, initial window size (initcwnd value and initrwnd value) increases according to the definite MSS value of Path MTU, and the concrete numerical value increasing can be set voluntarily.
Based on foregoing description, first method realizes at server side, the initialization window size of amendment server, therefore, be only applicable to improve transmission speed and the bandwidth availability ratio that descending TCP connects (connecting from the TCP of server to client end), carry out descending acceleration.
On the agent equipment of second method in the middle of client and server, realize, the initialization window of amendment agent equipment and initial receive window, not only can carry out descending acceleration, also can carry out up acceleration.But in the second approach, all-network access way is all adopted to fixing initialization window or initial receive window size, therefore, the transmission speed that TCP is connected and the raising degree of bandwidth availability ratio are still limited, cannot effectively improve transmission speed and bandwidth availability ratio that TCP connects.
Summary of the invention
The embodiment of the present invention provides a kind of method and apparatus of initial window size of the TCP of adjustment connection, for further improving transmission speed and the bandwidth availability ratio that TCP connects.
A method of adjusting the initial window size of transmission control protocol TCP connection, described method comprises:
Determine the network access mode of core net;
Determine the network bandwidth corresponding to network access mode of described core net;
Determine according to the described network bandwidth initial window size that TCP connects, wherein, the network bandwidth is larger, and the home window of determining is larger, and TCP agent equipment is set up after TCP connects and carried out transfer of data according to described initial window size.
A device of adjusting the initial window size of transmission control protocol TCP connection, described device comprises:
The first determination module, for determining the network access mode of core net;
The second determination module, for determining the network bandwidth corresponding to network access mode of described core net;
The 3rd determination module, for the initial window size of determining that according to the described network bandwidth TCP connects, wherein, the network bandwidth is larger, and the home window of determining is larger, and TCP agent equipment is set up after TCP connects and is carried out transfer of data according to described initial window size.
The scheme providing according to the embodiment of the present invention, the network bandwidth corresponding according to the network access mode of core net, determine TCP agent equipment TCP connect initial window size, make TCP agent equipment to realize transfer of data according to this initial window size.Thereby realize for different network access modes, the initial window size of the TCP connection of TCP agent equipment is set, realize the flexible setting of the initial window size of TCP connection, the initial window size that TCP is connected can match with network access mode, further improves transmission speed and bandwidth availability ratio that TCP connects.
Brief description of the drawings
The flow chart of steps of the method for the initial window size that the adjustment TCP that Fig. 1 provides for the embodiment of the present invention one connects;
The structural representation of the device of the initial window size that the adjustment TCP that Fig. 2 provides for the embodiment of the present invention two connects;
The structural representation of the system of the initial window size that the adjustment TCP that Fig. 3 provides for the embodiment of the present invention three connects;
The structural representation of the system of the initial window size that the adjustment TCP that Fig. 4 provides for the embodiment of the present invention four connects;
The structural representation of the system of the initial window size that the adjustment TCP that Fig. 5 provides for the embodiment of the present invention five connects;
The structural representation of the system of the initial window size that the adjustment TCP that Fig. 6 provides for the embodiment of the present invention six connects.
Embodiment
In prior art, cannot effectively improve the transmission speed of TCP connection and the problem of bandwidth availability ratio, the embodiment of the present invention proposes, the network bandwidth that can be corresponding according to the network access mode of core net, determine initial window size, thereby for the network access mode of heterogeneous networks bandwidth, determine respectively initial window size, realize mating of initial window size and the network bandwidth, reach transmission speed that effective raising TCP connects and the effect of bandwidth availability ratio.Preferably, can utilize wireless access type (Radio AccessType, the RAT) parameter of carrying in general packet radio service tunnel agreement (GRRS Turning Protocol, GTP) message, determine network access mode.
Further, the embodiment of the present invention also proposes, and can determine initial window size in conjunction with the network bandwidth and type of service.
Further, the embodiment of the present invention also proposes, and can determine initial window size in conjunction with the probability of the network bandwidth and Burst loss.
Wherein, the network access mode that various embodiments of the present invention relate to includes but not limited to comprise 2G access way, 3G access way, LTE access way and WLAN access way.
Below in conjunction with Figure of description, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.And in the situation that not conflicting, the feature in embodiment and embodiment in the application can combine mutually.
Embodiment mono-,
To utilize the RAT parameter of carrying in GTP message, determine that network access mode is example, the embodiment of the present invention one provides a kind of method of initial window size of the TCP of adjustment connection, and the flow chart of steps of the method can as shown in Figure 1, comprise:
Step 101, determine the parameter value of RAT parameter.
Due to the RAT Parametric Representation network access mode carrying in GTP message, for example, the corresponding relation of RAT parameter value and network access mode can be as shown in table 1.Therefore in the present embodiment, can determine network access mode by RAT parameter.
Network access mode RAT parameter value (decimal system)
<reserved> 0
UTRAN 1
GERAN 2
WLAN 3
GAN 4
HSPA Evolution 5
EUTRAN 6
Virtual 7
<sare> 8-255
Table 1
In this step, can determine the parameter value of the RAT parameter of carrying in the GTP message of transmitting between equipment of the core network.
Step 102, determine the network access mode of core net.
In this step, can, by the network access mode corresponding parameter value of described RAT parameter, be defined as the network access mode of core net.
Certainly,, before this step, the various parameter values of RAT parameter and the corresponding relation of network access mode have been set in advance.Concrete, in this step, can be according to the various parameter values of the RAT parameter setting in advance and the corresponding relation of network access mode, network access mode corresponding to parameter value of determining in determining step 101.
Step 103, determine the network bandwidth.
In this step, can determine the network bandwidth corresponding to network access mode of described core net.Concrete, in this step, can, according to the diverse network access way of preserving in advance and the corresponding relation of the network bandwidth, determine the network bandwidth corresponding to network access mode of described core net.
For example, in the network access mode that various embodiments of the present invention relate to, the network bandwidth (data rate) under subnetwork access way is conventionally as follows, can be understood as the network bandwidth corresponding to a kind of network access mode of preserving in advance, is real network bandwidth corresponding to this network access mode:
(1), 2G access way, comprising but be not limited to comprise:
General packet radio service (General Packect Radio Service, GPRS) access way, gross data speed 170Kbps, actual data rate is generally 30-70Kbps;
Enhanced data rates global system for mobile communications evolution (Enhanced Data Rate for GSMEvolution, EDGE) access way, gross data speed 384Kbps.
(2), 3G access way, comprising but be not limited to comprise:
Next step evolution of TD SDMA (TD-HSDPA) access way, the descending 2.8Mbps of gross data speed, up 128Kbps.
(3), LTE access way, the descending 100Mbps of gross data speed, up 50Mbps.
(4), WLAN access way, comprising but be not limited to comprise:
The substandard WLAN access way of 802.11g, gross data speed 54Mbps, reality is generally between 16~30Mbps;
The substandard WLAN access way of 802.11g+, gross data speed 108Mbps, reality is generally at 24~50Mbps.
In the present embodiment, can home window be set respectively for 2G/3G access way, LTE access way, WLAN access way aspect.That is, can be 2G/3G access way, LTE access way or WLAN access way according to network access mode, determine the size of home window.
Step 104, determine initial window size.
In this step, the network bandwidth that can determine according to step 103, determine TCP agent equipment TCP connect initial window size, wherein, described TCP agent equipment set up TCP connect after carry out transfer of data according to described initial window size.
Concrete, can, according to the network bandwidth for higher, determine the principle of larger home window, determine the initial window size of the TCP connection of TCP agent equipment.
For example, can be for the higher network bandwidth, the home window that larger TCP connects is set, as 10 segments; For the lower network bandwidth, the home window that less TCP connects is set, as 6 segments.
Further, in this step, can determine down initial send window size, down initial receive window size, up initialization window size and the up initial receive window size of TCP agent equipment.Concrete, can realize in the following manner:
The network bandwidth of determining according to step 103, determines that the down initial send window size of TCP agent equipment, described down initial send window represent the initialization window size connecting from the TCP of server to client end for realizing.
For example, for the network access mode of corresponding high bandwidth, larger down initial send window can be set, as for LTE access way, WLAN access way, it is 10 segments that down initial send window is set.For the network access mode of corresponding low bandwidth, less down initial send window can be set, as for 2G/3G access way, it is 4~6 segments that down initial send window is set.
The network bandwidth of determining according to step 103, and TCP agent equipment cache size, determine the down initial receive window size of described TCP agent equipment, described down initial receive window represents the initial receive window size connecting from the TCP of server to client end for realizing.
Wherein, can set the maximum of down initial receive window size, as this maximum is set to 64KB.
The network bandwidth of determining according to step 103, and user agent (User Agent, UA) operation system information, determine the up initialization window size of TCP agent equipment, described up initialization window represents the initialization window size that the TCP for realizing from client to server connects.Certainly, described UA operation system information is before determining described up initialization window, is reported by client.
For example, larger at the network bandwidth, and determine that according to UA operation system information TCP connects while supporting larger send window, can arrange the up initialization window of first size size.Larger for the network bandwidth, but determine that according to UA operation system information TCP connects while supporting less send window, the up initialization window of the second size can be set, wherein the second size is less than first size size.
Equally, less at the network bandwidth, but determine that according to UA operation system information TCP connects while supporting larger send window, can arrange the up initialization window of the 3rd size.Less at the network bandwidth, and determine that according to UA operation system information TCP connects while supporting less send window, the up initialization window of the 4th size can be set, wherein the 4th size is less than the 3rd size.
The network bandwidth of determining according to step 103, and TCP agent equipment cache size, determine the up initial receive window size of described TCP agent equipment, described up initial receive window represents the initial receive window size that the TCP for realizing from client to server connects.
Wherein, can set the maximum of up initial receive window size, as this maximum is set to 64KB.
In this step, be not limited to only determine according to the network bandwidth initial window size that the TCP of TCP agent equipment connects.
More excellent, the network element comprising in core net has seven layer depth layer bag and detects (Deep PacketInspection, DPI) when function, can determine the network bandwidth according to step 103, and TCP connects the type of bearer service, as FTP downloading service type, web page browsing type of service, Online Video type of service etc., determine the initial window size of the TCP connection of TCP agent equipment.
For example, can be for the type of service of specifying, increase and only determine the network bandwidth according to step 103, the initial window size that the TCP of the TCP agent equipment of determining connects, as having business by oneself for commmunication company, increase and only determine the network bandwidth according to step 103, initial window size to 10 segments that the TCP of the TCP agent equipment of determining connects.
And for example, can be business setting priority, as arranged according to user's visit capacity, the priority of business is set to high, medium and low three classes.Can, for the business of high priority, increase and only determine the network bandwidth according to step 103, the initial window size that the TCP of the TCP agent equipment of determining connects, as increase to 10 segments.For the business of medium priority, increase and only determine the network bandwidth according to step 103, the initial window size that the TCP of the TCP agent equipment of determining connects, as increase to 6 segments.For the business of low priority, keep only determining the network bandwidth according to step 103, the initial window size that the TCP of the TCP agent equipment of determining connects is constant.
More excellent, can also determine the network bandwidth according to step 103, and the probability of Burst loss occurs under current network environment, determine the initial window size of the TCP connection of TCP agent equipment.
For example, when the probability that Burst loss occurs under current network environment is greater than set point, increases and only determine the network bandwidth according to step 103, the initial window size that the TCP of the TCP agent equipment of determining connects, as, increase to 10 segments.
It should be noted that, the executive agent of the each step of the present embodiment can be TCP agent equipment, can be also the network element that is independent of TCP agent equipment.
If the executive agent of each step is TCP agent equipment, TCP agent equipment can directly carry out TCP connection according to the initial window size of determining.And TCP agent equipment can directly obtain the cache size of self.TCP agent equipment can be deployed on equipment of the core network, preferably, can be deployed in and can obtain on the equipment of the core network of GTP message that carries RAT parameter, thereby can obtain quickly RAT parameter, thereby determine initial window size quickly.
If the executive agent of each step is the network element that is independent of TCP agent equipment, this network element can send to TCP agent equipment by the initial window size of determining, and TCP agent equipment can carry out TCP connection according to the initial window size receiving.And the TCP agent equipment cache size that this network element obtains can be that TCP agent equipment sends.
Based on same inventive concept, provide following device with embodiment mono-.
Embodiment bis-,
The embodiment of the present invention two provides a kind of device of initial window size of the TCP of adjustment connection, and this device can be integrated in TCP agent equipment, can also be integrated in the network element that is independent of TCP agent equipment, and the structural representation of this device can as shown in Figure 2, comprise:
The first determination module 11 is for determining the network access mode of core net; The second determination module 12 is for determining the network bandwidth corresponding to network access mode of described core net; The initial window size of the 3rd determination module 13 for determining that according to the described network bandwidth TCP connects, wherein, the network bandwidth is larger, and the home window of determining is larger, and TCP agent equipment is set up after TCP connects and is carried out transfer of data according to described initial window size.
Described the first determination module 11 is specifically for determining the parameter value of the wireless access type RAT parameter of carrying in the general packet radio service tunnel agreement GTP message of transmitting between equipment of the core network; By the network access mode corresponding parameter value of described RAT parameter, be defined as the network access mode of core net.
Described the 3rd determination module 13, specifically for according to the described network bandwidth, is determined down initial send window size, and described down initial send window represents the initialization window size connecting from the TCP of server to client end for realizing.
Described the 3rd determination module 13 is specifically for according to the described network bandwidth, and TCP agent equipment cache size, determine down initial receive window size, described down initial receive window represents the initial receive window size connecting from the TCP of server to client end for realizing.
Described device also comprises receiver module 14:
The user agent UA operation system information that described receiver module 14 reports for receiving client;
Described the 3rd determination module 13 is specifically for according to the described network bandwidth, and described UA operation system information, determine up initialization window size, described up initialization window represents the initialization window size that the TCP for realizing from client to server connects.
Described the 3rd determination module 13 is specifically for according to the described network bandwidth, and TCP agent equipment cache size, determine described up initial receive window size, described up initial receive window represents the initial receive window size that the TCP for realizing from client to server connects.
Described the 3rd determination module 13 is specifically for according to the described network bandwidth, and TCP connects the type of bearer service, determines the initial window size that TCP connects.
Described the 3rd determination module 13 is specifically for according to the described network bandwidth, and the probability of Burst loss occurs under current network environment, determines the initial window size that TCP connects.
Based on same inventive concept, provide following system with embodiment mono-, two.
Embodiment tri-,
It is the strategic server (PCRF) that is independent of TCP agent equipment with the executive agent of embodiment mono-each step, the device can be understood as described in embodiment bis-is integrated in strategic server PCRF, it is example that TCP agent equipment is deployed in equipment of the core network, the embodiment of the present invention three provides a kind of system of initial window size of the TCP of adjustment connection, the structural representation of this system can be as shown in Figure 3, comprise the client place terminal connecting successively, the first equipment of the core network, be deployed with the second equipment of the core network of TCP agent equipment, server, and with the second equipment of the core network, TCP agent equipment carries out mutual strategic server:
Wherein, TCP agent equipment is safeguarded respectively with the TCP of client and server and is connected; Strategic server can be preserved the network bandwidth corresponding to diverse network access way, and can preserve the various parameter values of RAT parameter and the corresponding relation of network access mode.Strategic server is in the time receiving the parameter value of the RAT parameter that the second equipment of the core network reports, determine the network access mode that this parameter value is corresponding, and the definite network bandwidth corresponding to this network access mode, and then determine according to this network bandwidth the initial window size that the TCP of TCP agent equipment connects, and this initial window size can be sent to TCP agent equipment, TCP agent equipment is set up after TCP connects and carried out transfer of data according to described initial window size.
Below by several concrete examples, the scheme of the embodiment of the present invention three is described.
Embodiment tetra-,
Be deployed in gateway general packet wireless service support node (the Gateway GPRS Support Node in 2G/3G core net with TCP agent equipment, GGSN) be example, the embodiment of the present invention four provides a kind of system of initial window size of the TCP of adjustment connection, the structural representation of this system can be as shown in Figure 4, comprise the client place terminal connecting successively, service universal grouping wireless serving GPRS support node (ServicingGPRS Support Node, SGSN), be deployed with the GGSN of TCP agent equipment, server, and and GGSN, TCP agent equipment carries out mutual strategic server:
Wherein, TCP agent equipment is safeguarded respectively with the TCP of client and server and is connected; Strategic server can be preserved the network bandwidth corresponding to diverse network access way, and can preserve the various parameter values of RAT parameter and the corresponding relation of network access mode.Strategic server is in the time receiving the parameter value of the RAT parameter that GGSN reports, determine the network access mode that this parameter value is corresponding, and the definite network bandwidth corresponding to this network access mode, and then determine according to this network bandwidth the initial window size that the TCP of TCP agent equipment connects, and this initial window size can be sent to TCP agent equipment, TCP agent equipment is set up after TCP connects and carried out transfer of data according to described initial window size.
Embodiment five,
Be deployed in public data network gateway (the PDN Gateway in LTE core net with TCP agent equipment, P-GW) be example, the embodiment of the present invention five provides a kind of system of initial window size of the TCP of adjustment connection, the structural representation of this system can be as shown in Figure 5, comprise the client place terminal, gateway (the Serving Gateway that connect successively, S-GW), be deployed with P-GW, the server of TCP agent equipment, and carry out mutual strategic server with P-GW, TCP agent equipment:
Wherein, TCP agent equipment is safeguarded respectively with the TCP of client and server and is connected; Strategic server can be preserved the network bandwidth corresponding to diverse network access way, and can preserve the various parameter values of RAT parameter and the corresponding relation of network access mode.Strategic server is in the time receiving the parameter value of the RAT parameter that P-GW reports, determine the network access mode that this parameter value is corresponding, and the definite network bandwidth corresponding to this network access mode, and then determine according to this network bandwidth the initial window size that the TCP of TCP agent equipment connects, and this initial window size can be sent to TCP agent equipment, TCP agent equipment is set up after TCP connects and carried out transfer of data according to described initial window size.
Embodiment six,
Be deployed in the public data network gateway (PDNGateway in WLAN core net with TCP agent equipment, P-GW) be example, the embodiment of the present invention six provides a kind of system of initial window size of the TCP of adjustment connection, the structural representation of this system can be as shown in Figure 6, comprise successively the client place terminal, access point, the access controller (AP, AC) that connect, be deployed with P-GW, the server of TCP agent equipment, and carry out mutual strategic server with P-GW, TCP agent equipment:
Wherein, TCP agent equipment is safeguarded respectively with the TCP of client and server and is connected; Strategic server can be preserved the network bandwidth corresponding to diverse network access way, and can preserve the various parameter values of RAT parameter and the corresponding relation of network access mode.Strategic server is in the time receiving the parameter value of the RAT parameter that P-GW reports, determine the network access mode that this parameter value is corresponding, and the definite network bandwidth corresponding to this network access mode, and then determine according to this network bandwidth the initial window size that the TCP of TCP agent equipment connects, and this initial window size can be sent to TCP agent equipment, TCP agent equipment is set up after TCP connects and carried out transfer of data according to described initial window size.
Those skilled in the art should understand, the application's embodiment can be provided as method, system or computer program.Therefore, the application can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the application can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The application is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present application, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computer or other programmable data processing device produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable devices.
Although described the application's preferred embodiment, once those skilled in the art obtain the basic creative concept of cicada, can make other change and amendment to these embodiment.So claims are intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the application's scope.
Obviously, those skilled in the art can carry out various changes and modification and the spirit and scope that do not depart from the application to the application.Like this, if these amendments of the application and within modification belongs to the scope of the application's claim and equivalent technologies thereof, the application is also intended to comprise these changes and modification interior.

Claims (16)

1. a method of adjusting the initial window size of transmission control protocol TCP connection, is characterized in that, described method comprises:
Determine the network access mode of core net;
Determine the network bandwidth corresponding to network access mode of described core net;
Determine according to the described network bandwidth initial window size that TCP connects, wherein, the network bandwidth is larger, and the home window of determining is larger, and TCP agent equipment is set up after TCP connects and carried out transfer of data according to described initial window size.
2. the method for claim 1, is characterized in that, determines the network access mode of core net, specifically comprises:
Determine the parameter value of the wireless access type RAT parameter of carrying in the general packet radio service tunnel agreement GTP message of transmitting between equipment of the core network;
By the network access mode corresponding parameter value of described RAT parameter, be defined as the network access mode of core net.
3. the method for claim 1, is characterized in that, determines according to the described network bandwidth initial window size that TCP connects, and specifically comprises:
According to the described network bandwidth, determine down initial send window size, described down initial send window represents the initialization window size connecting from the TCP of server to client end for realizing.
4. the method for claim 1, is characterized in that, determines according to the described network bandwidth initial window size that TCP connects, and specifically comprises:
According to the described network bandwidth, and TCP agent equipment cache size, determine down initial receive window size, described down initial receive window represents the initial receive window size connecting from the TCP of server to client end for realizing.
5. the method for claim 1, is characterized in that, determine the initial window size of TCP connection according to the described network bandwidth before, described method also comprises:
Receive the user agent UA operation system information that client reports;
, determine according to the described network bandwidth initial window size that TCP connects, specifically comprise:
According to the described network bandwidth, and described UA operation system information, determine up initialization window size, described up initialization window represents the initialization window size that the TCP for realizing from client to server connects.
6. the method for claim 1, is characterized in that, determines according to the described network bandwidth initial window size that TCP connects, and specifically comprises:
According to the described network bandwidth, and TCP agent equipment cache size, determine described up initial receive window size, described up initial receive window represents the initial receive window size that the TCP for realizing from client to server connects.
7. the method as described in as arbitrary in claim 1~6, is characterized in that, determines according to the described network bandwidth initial window size that TCP connects, and specifically comprises:
According to the described network bandwidth, and the type of TCP connection bearer service, determine the initial window size that TCP connects.
8. the method as described in as arbitrary in claim 1~6, is characterized in that, determines according to the described network bandwidth initial window size that TCP connects, and specifically comprises:
According to the described network bandwidth, and under current network environment, there is the probability of Burst loss, determine the initial window size that TCP connects.
9. a device of adjusting the initial window size of transmission control protocol TCP connection, is characterized in that, described device comprises:
The first determination module, for determining the network access mode of core net;
The second determination module, for determining the network bandwidth corresponding to network access mode of described core net;
The 3rd determination module, for the initial window size of determining that according to the described network bandwidth TCP connects, wherein, the network bandwidth is larger, and the home window of determining is larger, and TCP agent equipment is set up after TCP connects and is carried out transfer of data according to described initial window size.
10. device as claimed in claim 9, is characterized in that, described the first determination module, specifically for determining the parameter value of the wireless access type RAT parameter of carrying in the general packet radio service tunnel agreement GTP message of transmitting between equipment of the core network; By the network access mode corresponding parameter value of described RAT parameter, be defined as the network access mode of core net.
11. devices as claimed in claim 9, it is characterized in that, described the 3rd determination module, specifically for according to the described network bandwidth, determine down initial send window size, described down initial send window represents the initialization window size connecting from the TCP of server to client end for realizing.
12. devices as claimed in claim 9, it is characterized in that, described the 3rd determination module, specifically for according to the described network bandwidth, and TCP agent equipment cache size, determine down initial receive window size, described down initial receive window represents the initial receive window size connecting from the TCP of server to client end for realizing.
13. devices as claimed in claim 9, is characterized in that, described device also comprises receiver module:
Described receiver module, the user agent UA operation system information reporting for receiving client;
Described the 3rd determination module, specifically for according to the described network bandwidth, and described UA operation system information, determine up initialization window size, described up initialization window represents the initialization window size that the TCP for realizing from client to server connects.
14. devices as claimed in claim 9, it is characterized in that, described the 3rd determination module, specifically for according to the described network bandwidth, and TCP agent equipment cache size, determine described up initial receive window size, described up initial receive window represents the initial receive window size that the TCP for realizing from client to server connects.
15. devices as described in as arbitrary in claim 9~14, is characterized in that, described the 3rd determination module, and specifically for according to the described network bandwidth, and TCP connects the type of bearer service, determines the initial window size that TCP connects.
16. devices as described in as arbitrary in claim 9~14, is characterized in that, described the 3rd determination module specifically for according to the described network bandwidth, and the probability of Burst loss occurs under current network environment, determines the initial window size that TCP connects.
CN201310084910.8A 2013-03-18 2013-03-18 A kind of method and apparatus of the initial window size of adjustment TCP connections Active CN104065464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310084910.8A CN104065464B (en) 2013-03-18 2013-03-18 A kind of method and apparatus of the initial window size of adjustment TCP connections

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310084910.8A CN104065464B (en) 2013-03-18 2013-03-18 A kind of method and apparatus of the initial window size of adjustment TCP connections

Publications (2)

Publication Number Publication Date
CN104065464A true CN104065464A (en) 2014-09-24
CN104065464B CN104065464B (en) 2018-05-08

Family

ID=51553012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310084910.8A Active CN104065464B (en) 2013-03-18 2013-03-18 A kind of method and apparatus of the initial window size of adjustment TCP connections

Country Status (1)

Country Link
CN (1) CN104065464B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681265A (en) * 2014-11-20 2016-06-15 华为软件技术有限公司 Unilateral transmission control protocol acceleration method and device
CN107017968A (en) * 2017-03-13 2017-08-04 上海无疆信息科技有限公司 A kind of protocol type detection method of Wi Fi signals
CN107211331A (en) * 2014-12-01 2017-09-26 三星电子株式会社 Method and apparatus, switching support method and its device of the TCP connections disconnected for configuring in a communications system
CN108111430A (en) * 2017-12-22 2018-06-01 北京百度网讯科技有限公司 A kind of TCP home windows optimization method and system
CN108600834A (en) * 2018-04-13 2018-09-28 深圳银澎云计算有限公司 Video transmission system, reception/transmission/transmission method and device
CN110011868A (en) * 2018-01-05 2019-07-12 武汉斗鱼网络科技有限公司 A kind of network is reachable to determine method, electronic equipment and readable storage medium storing program for executing
CN111010349A (en) * 2018-10-08 2020-04-14 阿里巴巴集团控股有限公司 Transmission acceleration method and device for first screen
CN114143188A (en) * 2021-11-18 2022-03-04 深圳大学 Video processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050141419A1 (en) * 2003-06-17 2005-06-30 Cisco Technology, Inc. A Corporation Of California Methods and devices for the coordination of flow control between a TCP/IP network and other networks
CN1681235A (en) * 2004-04-05 2005-10-12 阿尔卡特公司 Wireless mobile terminal and telecommunication system
CN1842080A (en) * 2005-03-29 2006-10-04 华为技术有限公司 Method for adjusting transmission control protocol receive window
US20070058534A1 (en) * 2003-08-20 2007-03-15 Hideyuki Shimonishi Session relay apparatus and relaying method
CN102739515A (en) * 2010-04-13 2012-10-17 北京英华高科科技有限公司 Tcp congestion control for heterogeneous networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050141419A1 (en) * 2003-06-17 2005-06-30 Cisco Technology, Inc. A Corporation Of California Methods and devices for the coordination of flow control between a TCP/IP network and other networks
US20070058534A1 (en) * 2003-08-20 2007-03-15 Hideyuki Shimonishi Session relay apparatus and relaying method
CN1681235A (en) * 2004-04-05 2005-10-12 阿尔卡特公司 Wireless mobile terminal and telecommunication system
CN1842080A (en) * 2005-03-29 2006-10-04 华为技术有限公司 Method for adjusting transmission control protocol receive window
CN102739515A (en) * 2010-04-13 2012-10-17 北京英华高科科技有限公司 Tcp congestion control for heterogeneous networks

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681265A (en) * 2014-11-20 2016-06-15 华为软件技术有限公司 Unilateral transmission control protocol acceleration method and device
CN105681265B (en) * 2014-11-20 2019-04-05 华为软件技术有限公司 Unilateral transmission control protocol accelerating method and device
CN107211331A (en) * 2014-12-01 2017-09-26 三星电子株式会社 Method and apparatus, switching support method and its device of the TCP connections disconnected for configuring in a communications system
CN107211331B (en) * 2014-12-01 2020-06-09 三星电子株式会社 Method and apparatus for configuring disconnected TCP connection in communication system, handover support method and apparatus therefor
CN107017968B (en) * 2017-03-13 2020-04-03 上海无疆信息科技有限公司 Protocol type detection method of Wi-Fi signal
CN107017968A (en) * 2017-03-13 2017-08-04 上海无疆信息科技有限公司 A kind of protocol type detection method of Wi Fi signals
CN108111430A (en) * 2017-12-22 2018-06-01 北京百度网讯科技有限公司 A kind of TCP home windows optimization method and system
CN108111430B (en) * 2017-12-22 2022-02-25 北京百度网讯科技有限公司 TCP initial window optimization method and system
CN110011868A (en) * 2018-01-05 2019-07-12 武汉斗鱼网络科技有限公司 A kind of network is reachable to determine method, electronic equipment and readable storage medium storing program for executing
CN108600834A (en) * 2018-04-13 2018-09-28 深圳银澎云计算有限公司 Video transmission system, reception/transmission/transmission method and device
CN111010349A (en) * 2018-10-08 2020-04-14 阿里巴巴集团控股有限公司 Transmission acceleration method and device for first screen
CN111010349B (en) * 2018-10-08 2023-06-02 阿里巴巴集团控股有限公司 Transmission acceleration method and device for first screen
CN114143188A (en) * 2021-11-18 2022-03-04 深圳大学 Video processing method and device, electronic equipment and storage medium
CN114143188B (en) * 2021-11-18 2023-06-23 深圳大学 Video processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104065464B (en) 2018-05-08

Similar Documents

Publication Publication Date Title
CN104065464A (en) Method and device used for adjusting size of initial window of TCP connection
ES2810159T3 (en) Transmission control protocol proxy in a long-term evolving radio access network
US10602560B2 (en) First network node and methods therein, for determining whether a second multi path transmission control protocol connection is to be initiated
CN104255046A (en) Customizable mobile broadband network system, and method for customizing mobile broadband network
CN102917354A (en) Access method and system as well as mobile intelligent access point
US10536457B2 (en) User data processing apparatus and method, and system
EP4013124A1 (en) Method for notifying quality of service information, device, and system
CN111988212B (en) Message transmission method and related device
CN105991712A (en) Network accelerating device
CN111698755B (en) URSP rule-based application data routing method and user equipment
CN104145505A (en) Access processing method, device, and system
CN109803449B (en) Method and apparatus for establishing bearer in wireless communication system
CN106416418A (en) Network communication method and apparatus
EP2695433B1 (en) Method and apparatus for enabling provision of routing information and network selection information to one or more devices
EP3920511B1 (en) Policy management method and device
EP3007389B1 (en) Gre tunnel implementation method, access point and gateway
CN105532012A (en) Video delivery method, device and system
CN109587053B (en) Network shunting method and related equipment
WO2017008701A1 (en) Data transmission method, apparatus, and user device
CN104205887A (en) Billing method, access network device and gateway device
CN103636252A (en) Method, system and device for processing data packet
CN103379479A (en) Method, system and device for determining of user identification and informing of parameter information
CN114745456A (en) Message processing method and device and network address translation equipment
CN105991787A (en) Packet data service processing system, method and apparatus
CN104639509A (en) Service processing method and device

Legal Events

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