CN104065464B - A kind of method and apparatus of the initial window size of adjustment TCP connections - Google Patents

A kind of method and apparatus of the initial window size of adjustment TCP connections Download PDF

Info

Publication number
CN104065464B
CN104065464B CN201310084910.8A CN201310084910A CN104065464B CN 104065464 B CN104065464 B CN 104065464B CN 201310084910 A CN201310084910 A CN 201310084910A CN 104065464 B CN104065464 B CN 104065464B
Authority
CN
China
Prior art keywords
initial
window size
tcp
window
network bandwidth
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
CN201310084910.8A
Other languages
Chinese (zh)
Other versions
CN104065464A (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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present invention provides a kind of method and apparatus of the initial window size of adjustment TCP connections, according to the corresponding network bandwidth of the network access mode of core net, to determine the initial window size of the TCP of TCP agent equipment connections so that TCP agent equipment can realize data transfer according to the initial window size.So as to fulfill for different network access modes, to set the initial window size of the TCP of TCP agent equipment connections, realize the flexible setting of the initial window size of TCP connections, the initial window size of TCP connections is matched with network access mode, further improves the transmission speed and bandwidth availability ratio of TCP connections.

Description

A kind of method and apparatus of the initial window size of adjustment TCP connections
Technical field
The present invention relates to the communications field, more particularly to a kind of adjustment transmission control protocol(Transmission Control Protocol, TCP)The method and apparatus of the initial window size of connection.
Background technology
With Generation Mobile Telecommunication System(2Generation, 2G)/ 3G (Third Generation) Moblie(3Generation, 3G)/ long Phase evolution(Long Term Evolution, LTE)/ WLAN(Wireless Local Area Network, WLAN) The continuous development of network, the bandwidth of wireless access are higher and higher.With the development and popularization of intelligent terminal, based on Transmission Control Protocol Class of business is more various, is not traditional web-browsing service merely, is also contained in the business such as line video, file download, and The element number and size for browsing webpage all significantly increase.Meanwhile the browser of mainstream supports concurrent TCP connections.Factors above Require that TCP connections being capable of raising efficiency.At the same time, fire wall is passed through using TCP connections carrying real-time media, to real-time Require, therefore, there is an urgent need for improve the transmission speed and bandwidth availability ratio of TCP connections.
Existing scheme proposition, can be by adjusting the initial window size of TCP connections, to improve the transmission of TCP connections speed Degree and bandwidth availability ratio, the home window can be understood as including initially receiving window and initial transmission window.Include at present The method of the initial window size of following two adjustment TCP connections:
The first, on the server adjust TCP connections initial window size.
In the method, Internet Protocol path is passed through(ip route)Mode, in server(server)Place's addition Ip route are instructed, and change initial transmission window size(Initcwnd values), socket is established after three-way handshake connection is established (socket), call metric functions to employ new transmission window size(Cwnd values).
After client and server establishes TCP connections, window size=min { congestion window size, notice are initially sent Window size }.And the initial window size that sends is generally dependent on congestion window size.In the method, specific formula is: Initcwnd=min { 10*MSS, max(2*MSS, 14600)}.
Therefore, in the method, 15KB can be increased to by initially sending the MSS values that window size is determined according to Path MTU Left and right, about 10 sections(segments)Size.
Secondth, the initial window size of TCP connections is adjusted on agent equipment.
This method is realized on agent equipment.Agent equipment is deployed in client(Client)And between Server, with Client safeguards that two sections of TCP are connected with Server respectively.Ip route instructions are added at agent equipment, change initial transmission window Mouth size(Initcwnd values)And initial receiving window size(Initrwnd values), established after three-way handshake connection is established Socket, calls metric functions to employ new transmission window size(Cwnd values)And receiving window size(Rwnd values).
In the method, initial window size(Initcwnd values and initrwnd values)The MSS determined according to Path MTU Value increase, the numerical value specifically increased can be with sets itself.
Based on foregoing description, first method is realized in server side, is changed the initial of server and is sent window size, because This, is only applicable to improve downlink TCP connections(TCP connections from server to client)Transmission speed and bandwidth availability ratio, Carry out downlink acceleration.
Second method is realized on the agent equipment among client and server, changes the initial transmission of agent equipment Window and window is initially received, can not only carry out downlink acceleration, uplink acceleration can also be carried out.But in the second approach, To all-network access way using fixed initial transmission window or initial receiving window size, therefore, to TCP connections Transmission speed and the raising degree of bandwidth availability ratio are still limited, can not effectively improve the transmission speed and bandwidth usage of TCP connections Rate.
The content of the invention
The embodiment of the present invention provides a kind of method and apparatus of the initial window size of adjustment TCP connections, for further Improve the transmission speed and bandwidth availability ratio of TCP connections.
A kind of method for the initial window size for adjusting transmission control protocol TCP connection, the described method includes:
Determine the network access mode of core net;
Determine the corresponding network bandwidth of network access mode of the core net;
The initial window size of TCP connections is determined according to the network bandwidth, wherein, network bandwidth is bigger, determines Home window is bigger, and TCP agent equipment carries out data transmission after establishing TCP connections according to the initial window size.
A kind of device for the initial window size for adjusting transmission control protocol TCP connection, described device include:
First determining module, for determining the network access mode of core net;
Second determining module, the corresponding network bandwidth of network access mode for determining the core net;
3rd determining module, for determining the initial window size of TCP connections according to the network bandwidth, wherein, network Bandwidth is bigger, and the home window determined is bigger, TCP agent equipment establish after TCP connections according to the initial window size into Row data transfer.
The scheme provided according to embodiments of the present invention, according to the corresponding network bandwidth of the network access mode of core net, comes Determine the initial window size of the TCP connections of TCP agent equipment so that TCP agent equipment can be according to the initial window size Realize data transfer.So as to fulfill for different network access modes, to set the initial of the TCP of TCP agent equipment connections Window size, realizes the flexible setting of the initial window size of TCP connections so that the initial window size of TCP connections can be with Network access mode matches, and further improves the transmission speed and bandwidth availability ratio of TCP connections.
Brief description of the drawings
Fig. 1 is the step flow chart of the method for the initial window size for the adjustment TCP connections that the embodiment of the present invention one provides;
Fig. 2 is the structure diagram of the device of the initial window size of adjustment TCP connections provided by Embodiment 2 of the present invention;
Fig. 3 is the structure diagram of the system of the initial window size for the adjustment TCP connections that the embodiment of the present invention three provides;
Fig. 4 is the structure diagram of the system of the initial window size for the adjustment TCP connections that the embodiment of the present invention four provides;
Fig. 5 is the structure diagram of the system of the initial window size for the adjustment TCP connections that the embodiment of the present invention five provides;
Fig. 6 is the structure diagram of the system of the initial window size for the adjustment TCP connections that the embodiment of the present invention six provides.
Embodiment
Transmission speed and bandwidth availability ratio for the problem that TCP connections in the prior art, can not be effectively improved, the present invention Embodiment proposes, can according to the corresponding network bandwidth of network access mode of core net, to determine initial window size so that For the network access mode of heterogeneous networks bandwidth, initial window size is determined respectively, realizes initial window size and Netowrk tape Wide matching, reaches the transmission speed for effectively improving TCP connections and the effect of bandwidth availability ratio.Preferably, can utilize general Packet radio service tunnel agreement(GRRS Turning Protocol, GTP)The wireless access type carried in message(Radio Access Type, RAT)Parameter, to determine network access mode.
Further, the embodiment of the present invention, which has been proposed that, to determine home window with reference to network bandwidth and type of service Size.
Further, the embodiment of the present invention, which has been proposed that, to be determined just with reference to the probability of network bandwidth and Burst loss Beginning window size.
Wherein, the network access mode that various embodiments of the present invention are related to includes 2G access ways, 3G connects Enter mode, LTE access ways and WLAN access ways.
The preferred embodiment of the present invention is illustrated below in conjunction with Figure of description, it will be appreciated that described herein Preferred embodiment is merely to illustrate and explain the present invention, and is not intended to limit the present invention.And in the case where there is no conflict, this Shen Please in embodiment and embodiment in feature can be mutually combined.
Embodiment one,
With using the RAT parameters carried in GTP message, exemplified by determining network access mode, the embodiment of the present invention one carries For a kind of method of the initial window size of adjustment TCP connections, the step flow chart of this method can with as shown in Figure 1, including:
Step 101, the parameter value for determining RAT parameters.
Since the RAT parameters carried in GTP message represent network access mode, for example, RAT parameter values and network access side The correspondence of formula can be as shown in table 1.Therefore in the present embodiment, network access mode can be determined by RAT parameters.
Network access mode RAT parameter values (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, it may be determined that the parameter of the RAT parameters carried in the GTP message transmitted between equipment of the core network Value.
Step 102, the network access mode for determining core net.
In this step, the corresponding network access mode of parameter value of the RAT parameters can be determined as core net Network access mode.
Certainly, before this step, the various parameters value of RAT parameters and pair of network access mode have been pre-set It should be related to.Specifically, in this step, can be according to the various parameters value and network access mode of pre-set RAT parameters Correspondence, determine the corresponding network access mode of parameter value determined in step 101.
Step 103, determine network bandwidth.
In this step, it may be determined that the corresponding network bandwidth of network access mode of the core net.Specifically, at this In step, the core net can be determined according to the correspondence of the various network access modes and network bandwidth pre-saved The corresponding network bandwidth of network access mode.
For example, in the network access mode that various embodiments of the present invention are related to, the network bandwidth under subnetwork access way (Data rate)It is generally as follows, it can be understood as the corresponding network bandwidth of a kind of network access mode pre-saved, for the net The corresponding real network bandwidth of network access way:
(1), 2G access ways, including but not limited to including:
General packet radio service(General Packect Radio Service, GPRS)Access way, gross data Speed 170Kbps, actual data rate are usually 30-70Kbps;
Enhanced data rates global system for mobile communications evolution(Enhanced Data Rate for GSM Evolution, EDGE)Access way, theoretical data speeds 384Kbps.
(2), 3G access ways, including but not limited to including:
TD SDMA next step evolution(TD-HSDPA)Access way, theoretical data speeds downlink 2.8Mbps, Uplink 128Kbps.
(3), LTE access ways, theoretical data speeds downlink 100Mbps, uplink 50Mbps.
(4), WLAN access ways, including but not limited to including:
The substandard WLAN access ways of 802.11g, theoretical data speeds 54Mbps, it is actual generally 16~30Mbps it Between;
The substandard WLAN access ways of 802.11g+, theoretical data speeds 108Mbps, it is actual generally 24~ 50Mbps。
In the present embodiment, can distinguish for 2G/3G access ways, LTE access ways, WLAN access ways aspect Home window is set.I.e., it is possible to it is 2G/3G access ways, LTE access ways or WLAN access sides according to network access mode Formula, to determine the size of home window.
Step 104, determine initial window size.
In this step, the network bandwidth that can be determined according to step 103, determines the TCP connections of TCP agent equipment Initial window size, wherein, the TCP agent equipment is established after TCP connections and carries out data biography according to the initial window size It is defeated.
Specifically, it can determine the principle of bigger home window according to for higher network bandwidth, determine TCP generations Manage the initial window size of the TCP connections of equipment.
For example, the home window of larger TCP connections for higher network bandwidth, can be set, such as 10 segments;For relatively low network bandwidth, the home window of less TCP connections, such as 6 segments are set.
Further, in this step, it may be determined that at the beginning of the down initial of TCP agent equipment sends window size, downlink Beginning receiving window size, uplink initially send window size and the initial receiving window size of uplink.Specifically, can be by following Mode is realized:
The network bandwidth determined according to step 103, determines that the down initial of TCP agent equipment sends window size, institute State the initial transmission window size that down initial sends the TCP connections that window represents to be used for realization from server to client.
For example, for the network access mode of corresponding high bandwidth, larger down initial can be set to send window, such as LTE access ways, WLAN access ways, it is 10 segments to set down initial to send window.For corresponding low bandwidth Network access mode, can set less down initial to send window, such as 2G/3G access ways, set down initial to send out It is 4~6 segments to send window.
The network bandwidth determined according to step 103, and TCP agent equipment cache size, determine that the TCP agent is set Standby down initial receiving window size, the down initial reception Window Table, which shows, to be used for realization from server to client The initial receiving window size of TCP connections.
Wherein it is possible to set the maximum of down initial receiving window size, the maximum is such as arranged to 64KB.
The network bandwidth determined according to step 103, and user agent(User Agent, UA)Operation system information, Determine that the uplink of TCP agent equipment initially sends window size, the uplink initially sends window and represents to be used for realization from client The initial of the TCP connections of server is held to send window size.Certainly, the UA operation system informations are in the definite uplink Before initial transmission window, reported by client.
For example, it is larger in network bandwidth, and determine that larger transmission window is supported in TCP connections according to UA operation system informations When, the uplink of first size size can be set initially to send window.It is larger for network bandwidth, but believed according to UA operating systems When breath determines that less transmission window is supported in TCP connections, the uplink of the second size can be set initially to send window, wherein Second size is less than first size size.
Equally, it is smaller in network bandwidth, but determine that larger transmission window is supported in TCP connections according to UA operation system informations When, the uplink of the 3rd size can be set initially to send window.It is smaller in network bandwidth, and according to UA operation system informations When determining that less transmission window is supported in TCP connections, the uplink of the 4th size can be set initially to send window, wherein the Four sizes are less than the 3rd size.
The network bandwidth determined according to step 103, and TCP agent equipment cache size, determine that the TCP agent is set The initial receiving window size of standby uplink, the uplink, which initially receives Window Table, to be shown and is used for realization from client to server The initial receiving window size of TCP connections.
Wherein it is possible to set the maximum of the initial receiving window size of uplink, the maximum is such as arranged to 64KB.
In this step, it is not limited to determine that the home window of the TCP of TCP agent equipment connections is big according only to network bandwidth It is small.
More preferably, the network element included in core net is detected with seven layer depth layer bag(Deep Packet Inspection, DPI)During function, network bandwidth, and the type of TCP connection bearer services can be determined according to step 103, as FTP is downloaded Type of service, web-browsing service type, Online Video type of service etc., determine the initial window of the TCP connections of TCP agent equipment Mouth size.
For example, the type of service specified can be directed to, increase and determine network bandwidth according only to step 103, determine The initial window size of the TCP connections of TCP agent equipment, such as has business by oneself for commmunication company, increases true according only to step 103 Network bandwidth is made, the initial window size of the TCP connections for the TCP agent equipment determined to 10 segments.
And for example, it can be that business sets priority, such as be set according to user's visit capacity, the priority of business is arranged to High, medium and low three classes.The business of high priority can be directed to, increases and determines network bandwidth according only to step 103, determine The initial window size of the TCP connections of TCP agent equipment, such as increases to 10 segments.For the business of middle priority, increase Network bandwidth is determined according only to step 103, the initial window size of the TCP connections for the TCP agent equipment determined, such as increases greatly Greatly to 6 segments.For the business of low priority, keep determining network bandwidth according only to step 103, determine The initial window size of the TCP connections of TCP agent equipment is constant.
More preferably, can also be determined that Burst loss occurs under network bandwidth, and current network conditions according to step 103 Probability, determine the initial window sizes of the TCP connections of TCP agent equipment.
For example, when the probability that Burst loss occurs under current network conditions is more than setting value, increase according only to step 103 Determine network bandwidth, the initial window size of the TCP connections for the TCP agent equipment determined, e.g., increases to 10 segments。
It should be noted that the executive agent of each step of the present embodiment can be TCP agent equipment or independently of The network element of TCP agent equipment.
If the executive agent of each step is TCP agent equipment, TCP agent equipment can be directly initial according to determining Window size carries out TCP connections.And TCP agent equipment can directly obtain the cache size of itself.TCP agent equipment can portion Administration is on equipment of the core network, preferably, can be deployed on the equipment of the core network that can obtain the GTP message for carrying RAT parameters, So as to quickly obtain RAT parameters, so as to quickly determine initial window size.
If the executive agent of each step is independently of the network element of TCP agent equipment, which can be first by what is determined Beginning window size is sent to TCP agent equipment, and TCP agent equipment can carry out TCP companies according to the initial window size received Connect.And the TCP agent equipment cache size that the network element obtains can be that TCP agent equipment is sent.
Same inventive concept is based on embodiment one, there is provided following device.
Embodiment two,
The embodiment of the present invention two provides a kind of device of the initial window size of adjustment TCP connections, which can integrate In TCP agent equipment, the network element independently of TCP agent equipment can also be integrated in, the structure diagram of the device can be such as Fig. 2 It is shown, including:
First determining module 11 is used for the network access mode for determining core net;Second determining module 12 is used to determine described The corresponding network bandwidth of network access mode of core net;3rd determining module 13 is used to determine TCP according to the network bandwidth The initial window size of connection, wherein, network bandwidth is bigger, and the home window determined is bigger, and TCP agent equipment establishes TCP Carried out data transmission after connection according to the initial window size.
First determining module 11 is specifically used for determining the general packet radio service tunnel transmitted between equipment of the core network The parameter value of the wireless access type RAT parameters carried in road agreement GTP message;The parameter value of the RAT parameters is corresponding Network access mode, is determined as the network access mode of core net.
3rd determining module 13 is specifically used for according to the network bandwidth, determines that down initial sends window size, The down initial sends the initial of TCP connections that window represents to be used for realization from server to client and sends window size.
3rd determining module 13 is specifically used for according to the network bandwidth, and TCP agent equipment cache size, really Determine down initial receiving window size, the down initial receives Window Table and shows the TCP being used for realization from server to client The initial receiving window size of connection.
Described device further includes receiving module 14:
The receiving module 14 is used to receive user agent's UA operation system informations that client reports;
3rd determining module 13 is specifically used for according to the network bandwidth, and the UA operation system informations, really Determine uplink and initially send window size, the uplink initially sends window and represents to be used for realization the TCP from client to server The initial of connection sends window size.
3rd determining module 13 is specifically used for according to the network bandwidth, and TCP agent equipment cache size, really The fixed initial receiving window size of uplink, the uplink, which initially receives Window Table, to be shown and is used for realization from client to server The initial receiving window size of TCP connections.
3rd determining module 13 is specifically used for according to the network bandwidth, and the type of TCP connection bearer services, Determine the initial window size of TCP connections.
3rd determining module 13 is specifically used for happening suddenly according under the network bandwidth, and current network conditions The probability of packet loss, determines the initial window size of TCP connections.
Same inventive concept is based on embodiment one, two, there is provided following system.
Embodiment three,
The strategic server of TCP agent equipment is independently of with the executive agent of one each step of embodiment(PCRF), can be with Be interpreted as the device described in embodiment two and be integrated in strategic server PCRF, TCP agent deployed with devices exemplified by equipment of the core network, The embodiment of the present invention three provides a kind of system of the initial window size of adjustment TCP connections, and the structure diagram of the system can be with As shown in figure 3, including terminal where sequentially connected client, the first equipment of the core network, be deployed with TCP agent equipment second Equipment of the core network, server, and the strategic server interacted with the second equipment of the core network, TCP agent equipment:
Wherein, TCP agent equipment is safeguarded respectively is connected with the TCP of client and server;Strategic server can preserve The corresponding network bandwidth of various network access modes, and the various parameters value and network access mode of RAT parameters can be preserved Correspondence.Strategic server determines the parameter when receiving the parameter value for the RAT parameters that the second equipment of the core network reports It is worth corresponding network access mode, and determines the corresponding network bandwidth of the network access mode, so it is true according to the network bandwidth Determine the initial window size of the TCP connections of TCP agent equipment, and the initial window size can be sent to TCP agent equipment, So that TCP agent equipment carries out data transmission after establishing TCP connections according to the initial window size.
The scheme of the embodiment of the present invention three is illustrated below by several specific examples.
Example IV,
With gateway general packet wireless service support node of the TCP agent deployed with devices in 2G/3G core nets (Gateway GPRS Support Node, GGSN)Exemplified by, the embodiment of the present invention four provides a kind of the initial of adjustment TCP connections The system of window size, the structure diagram of the system can with as shown in figure 4, including terminal where sequentially connected client, Service universal grouping wireless serving GPRS support node(Servicing GPRS Support Node, SGSN), be deployed with TCP agent GGSN, the server of equipment, and the strategic server interacted with GGSN, TCP agent equipment:
Wherein, TCP agent equipment is safeguarded respectively is connected with the TCP of client and server;Strategic server can preserve The corresponding network bandwidth of various network access modes, and the various parameters value and network access mode of RAT parameters can be preserved Correspondence.Strategic server determines the corresponding net of the parameter value when receiving the parameter value for the RAT parameters that GGSN is reported Network access way, and determine the corresponding network bandwidth of the network access mode, and then determine that TCP agent is set according to the network bandwidth The initial window size of standby TCP connections, and the initial window size can be sent to TCP agent equipment so that TCP agent Equipment carries out data transmission after establishing TCP connections according to the initial window size.
Embodiment five,
With public data network gateway of the TCP agent deployed with devices in LTE core network(PDN Gateway, P-GW)Exemplified by, The embodiment of the present invention five provides a kind of system of the initial window size of adjustment TCP connections, and the structure diagram of the system can be with As shown in figure 5, including terminal, gateway where sequentially connected client(Serving Gateway, S-GW), be deployed with P-GW, the server of TCP agent equipment, and the strategic server interacted with P-GW, TCP agent equipment:
Wherein, TCP agent equipment is safeguarded respectively is connected with the TCP of client and server;Strategic server can preserve The corresponding network bandwidth of various network access modes, and the various parameters value and network access mode of RAT parameters can be preserved Correspondence.Strategic server determines the corresponding net of the parameter value when receiving the parameter value for the RAT parameters that P-GW is reported Network access way, and determine the corresponding network bandwidth of the network access mode, and then determine that TCP agent is set according to the network bandwidth The initial window size of standby TCP connections, and the initial window size can be sent to TCP agent equipment so that TCP agent Equipment carries out data transmission after establishing TCP connections according to the initial window size.
Embodiment six,
With public data network gateway of the TCP agent deployed with devices in WLAN core nets(PDNGateway, P-GW)Exemplified by, The embodiment of the present invention six provides a kind of system of the initial window size of adjustment TCP connections, and the structure diagram of the system can be with As shown in fig. 6, including terminal, access point, access controller where sequentially connected client(AP、AC), be deployed with TCP agent P-GW, the server of equipment, and the strategic server interacted with P-GW, TCP agent equipment:
Wherein, TCP agent equipment is safeguarded respectively is connected with the TCP of client and server;Strategic server can preserve The corresponding network bandwidth of various network access modes, and the various parameters value and network access mode of RAT parameters can be preserved Correspondence.Strategic server determines the corresponding net of the parameter value when receiving the parameter value for the RAT parameters that P-GW is reported Network access way, and determine the corresponding network bandwidth of the network access mode, and then determine that TCP agent is set according to the network bandwidth The initial window size of standby TCP connections, and the initial window size can be sent to TCP agent equipment so that TCP agent Equipment carries out data transmission after establishing TCP connections according to the initial window size.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, the application can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the application can use the computer for wherein including computer usable program code in one or more Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementation The form of product.
The application is with reference to method, the equipment according to the embodiment of the present application(System)And the flow of computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or square frame in journey and/or square frame and flowchart and/or the block diagram.These computer programs can be provided The processors of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices, which produces, to be used in fact The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a square frame or multiple square frames.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into all change and modification of the application scope.
Obviously, those skilled in the art can carry out the application essence of the various modification and variations without departing from the application God and scope.In this way, if these modifications and variations of the application belong to the scope of the application claim and its equivalent technologies Within, then the application is also intended to comprising including these modification and variations.

Claims (16)

  1. A kind of 1. method for the initial window size for adjusting transmission control protocol TCP connection, it is characterised in that the method bag Include:
    Determine the network access mode of core net;
    Determine the corresponding network bandwidth of network access mode of the core net;
    The initial window size of TCP connections is determined according to the network bandwidth, wherein, network bandwidth is bigger, and that determines is initial Window is bigger, and TCP agent equipment carries out data transmission after establishing TCP connections according to the initial window size, the initial window Mouthful size include down initial send window size, down initial receiving window size, uplink initially send window size and on The initial receiving window size of row.
  2. 2. the method as described in claim 1, it is characterised in that determine the network access mode of core net, specifically include:
    The wireless access class carried in the general packet radio service tunnel agreement GTP message for determining to transmit between equipment of the core network The parameter value of type RAT parameters;
    By the corresponding network access mode of parameter value of the RAT parameters, it is determined as the network access mode of core net.
  3. 3. the method as described in claim 1, it is characterised in that the home window of TCP connections is determined according to the network bandwidth Size, specifically includes:
    According to the network bandwidth, determine that down initial sends window size, the down initial sends window and represents to be used in fact The initial of the now TCP connections from server to client sends window size.
  4. 4. the method as described in claim 1, it is characterised in that the home window of TCP connections is determined according to the network bandwidth Size, specifically includes:
    According to the network bandwidth, and TCP agent equipment cache size, down initial receiving window size is determined, under described The initial Window Table that receives of row shows the initial receiving window size for being used for realization the TCP connections from server to client.
  5. 5. the method as described in claim 1, it is characterised in that the home window of TCP connections is determined according to the network bandwidth Before size, the method further includes:
    Receive user agent's UA operation system informations that client reports;
    Then, the initial window size of TCP connections is determined according to the network bandwidth, is specifically included:
    According to the network bandwidth, and the UA operation system informations, determine that uplink initially sends window size, the uplink The initial initial transmission window size for sending the TCP connections that window represents to be used for realization from client to server.
  6. 6. the method as described in claim 1, it is characterised in that the home window of TCP connections is determined according to the network bandwidth Size, specifically includes:
    According to the network bandwidth, and TCP agent equipment cache size, the initial receiving window size of the uplink, institute are determined State uplink and initially receive Window Table and show the initial receiving window size for being used for realization the TCP connections from client to server.
  7. 7. method as claimed in claim 1 or 2, it is characterised in that the initial window of TCP connections is determined according to the network bandwidth Mouth size, specifically includes:
    According to the network bandwidth, and the type of TCP connection bearer services, the initial window size of TCP connections is determined.
  8. 8. method as claimed in claim 1 or 2, it is characterised in that the initial window of TCP connections is determined according to the network bandwidth Mouth size, specifically includes:
    The probability of Burst loss occurs according to the network bandwidth, and under current network conditions, determines the initial window of TCP connections Mouth size.
  9. A kind of 9. device for the initial window size for adjusting transmission control protocol TCP connection, it is characterised in that described device bag Include:
    First determining module, for determining the network access mode of core net;
    Second determining module, the corresponding network bandwidth of network access mode for determining the core net;
    3rd determining module, for determining the initial window size of TCP connections according to the network bandwidth, wherein, network bandwidth Bigger, the home window determined is bigger, and TCP agent equipment is established after TCP connections according to the initial window size into line number According to transmission, it is initial that the initial window size includes down initial transmission window size, down initial receiving window size, uplink Send window size and the initial receiving window size of uplink.
  10. 10. device as claimed in claim 9, it is characterised in that first determining module, specifically for determining that core net is set The parameter of the wireless access type RAT parameters carried in the general packet radio service tunnel agreement GTP message transmitted between standby Value;By the corresponding network access mode of parameter value of the RAT parameters, it is determined as the network access mode of core net.
  11. 11. device as claimed in claim 9, it is characterised in that the 3rd determining module, specifically for according to the network Bandwidth, determines that down initial sends window size, the down initial sends window and represents to be used for realization from server to client The initial of the TCP connections at end sends window size.
  12. 12. device as claimed in claim 9, it is characterised in that the 3rd determining module, specifically for according to the network Bandwidth, and TCP agent equipment cache size, determine down initial receiving window size, and the down initial receives Window Table Show the initial receiving window size for being used for realization the TCP connections from server to client.
  13. 13. device as claimed in claim 9, it is characterised in that described device further includes receiving module:
    The receiving module, the user agent's UA operation system informations reported for receiving client;
    3rd determining module, specifically for according to the network bandwidth, and the UA operation system informations, determining uplink Initial to send window size, the uplink initially sends window and represents to be used for realization TCP connections from client to server It is initial to send window size.
  14. 14. device as claimed in claim 9, it is characterised in that the 3rd determining module, specifically for according to the network Bandwidth, and TCP agent equipment cache size, determine the initial receiving window size of the uplink, the initial reception window of uplink Oral thermometer shows the initial receiving window size for being used for realization the TCP connections from client to server.
  15. 15. the device as described in claim 9 or 10, it is characterised in that the 3rd determining module, specifically for according to Network bandwidth, and the type of TCP connection bearer services, determine the initial window size of TCP connections.
  16. 16. the device as described in claim 9 or 10, it is characterised in that the 3rd determining module, specifically for according to The probability of Burst loss occurs under network bandwidth, and current network conditions, determines the initial window size of TCP connections.
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 CN104065464A (en) 2014-09-24
CN104065464B true 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)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681265B (en) * 2014-11-20 2019-04-05 华为软件技术有限公司 Unilateral transmission control protocol accelerating method and device
KR102342144B1 (en) * 2014-12-01 2021-12-22 삼성전자주식회사 Method and apparatus for establishing split tcp connention in a communication, and handover method and apparatus
CN107017968B (en) * 2017-03-13 2020-04-03 上海无疆信息科技有限公司 Protocol type detection method of Wi-Fi signal
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
CN108600834B (en) * 2018-04-13 2021-07-20 深圳银澎云计算有限公司 Video transmission system, receiving/sending/transmitting method and device
CN111010349B (en) * 2018-10-08 2023-06-02 阿里巴巴集团控股有限公司 Transmission acceleration method and device for first screen
CN114143188B (en) * 2021-11-18 2023-06-23 深圳大学 Video processing method and device, electronic equipment and storage medium
CN114157727B (en) * 2021-12-10 2024-05-14 北京华环电子股份有限公司 Application method and device of TCP acceleration in OSU

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8004981B2 (en) * 2003-06-17 2011-08-23 Cisco Technology, Inc. Methods and devices for the coordination of flow control between a TCP/IP network and other networks
CN1836411A (en) * 2003-08-20 2006-09-20 日本电气株式会社 Session relay device and relay method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN104065464A (en) 2014-09-24

Similar Documents

Publication Publication Date Title
CN104065464B (en) A kind of method and apparatus of the initial window size of adjustment TCP connections
WO2020177764A1 (en) Data transmission guarantee method and communication device
EP1614258B1 (en) Method and system for rate control service in a network
WO2022007899A1 (en) Upf selection method and apparatus
CN104412628B (en) A kind of method, apparatus and computer-readable medium that application service is provided in telecommunication network
WO2017117968A1 (en) Method and apparatus for branching data interface, terminal device and computer storage medium
EP4013124A1 (en) Method for notifying quality of service information, device, and system
JP2016531489A (en) Service tier southbound interface and quality of service
US9231874B2 (en) Method and network node for handling TCP traffic
CN105991712A (en) Network accelerating device
CN111988212B (en) Message transmission method and related device
CN108024284B (en) Wireless communication method, user equipment access network equipment and core network equipment
CN105230072A (en) For controlling the method and apparatus of the quality of serving in wireless lans
CN102724713B (en) Method and related device for data packet transmission
CN112584431B (en) Method, device and system for controlling service stream transmission
WO2018141278A1 (en) Wireless communication method, user equipment, access network equipment and network system
WO2014201879A1 (en) Data offloading processing method and apparatus
EP3701744B1 (en) Controlling a congestion window value for a wireless device in a heterogeneous network
WO2012095057A2 (en) Congestion control method, device, and system
WO2021036891A1 (en) Radio bearer processing method and terminal apparatus
EP3462786B1 (en) Methods and apparatuses for quality of service assessment in a network
US20200015114A1 (en) Method for reducing overhead of air interface data transmission
CN103636252A (en) Method, system and device for processing data packet
CN110876160B (en) Resource transmission control method and device based on multimode base station
WO2016164723A1 (en) Application intelligence controller

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