CN101867512B - Data transmission control method and device - Google Patents
Data transmission control method and device Download PDFInfo
- Publication number
- CN101867512B CN101867512B CN2010101552063A CN201010155206A CN101867512B CN 101867512 B CN101867512 B CN 101867512B CN 2010101552063 A CN2010101552063 A CN 2010101552063A CN 201010155206 A CN201010155206 A CN 201010155206A CN 101867512 B CN101867512 B CN 101867512B
- Authority
- CN
- China
- Prior art keywords
- transmission direction
- tcp ack
- window
- transmission
- notification window
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 237
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000004048 modification Effects 0.000 claims description 86
- 238000012986 modification Methods 0.000 claims description 86
- 230000009467 reduction Effects 0.000 claims description 2
- 230000003416 augmentation Effects 0.000 claims 1
- 230000002441 reversible effect Effects 0.000 description 6
- 230000003247 decreasing effect Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses a data transmission control method and a device, wherein the data transmission control method mainly comprises: obtaining data volume to be sent in a first transmission direction according to the cache information in the first transmission direction; obtaining the wait time delay in the first transmission direction according to the data volume to be sent in the first transmission direction and the rate in the first transmission direction; determining the size of a TCPACK announcing window which is contrary to the first transmission direction according to the obtained wait delay in the first transmission direction and the size relationship of the corresponding preinstalled threshold. The method and the device of the embodiment of the invention can reduce the influence of businesses in any transmission directions on the businesses of transmission links in negative directions thereof and increases the data transmission performance.
Description
Technical Field
The present invention relates to communications technologies, and in particular, to a data transmission control technology.
Background
Often, a plurality of services are performed simultaneously on the user equipment, for example, downloading while opening a web page or downloading while uploading. Since these service application layers generally use Transmission Control Protocol (TCP), when multiple services are simultaneously performed, a TCP packet in a certain direction may block an ACK packet in the opposite direction, thereby affecting the performance of the Transmission link in the opposite direction.
Disclosure of Invention
The embodiment of the invention provides a data transmission control method, so that the influence of the service in any transmission direction on the service of a transmission link in the reverse direction can be reduced, and the data transmission performance is improved.
In one aspect, an embodiment of the present invention provides a data transmission control method, which mainly includes:
acquiring the data volume to be sent in a first transmission direction according to the cache information in the first transmission direction;
acquiring waiting time delay in the first transmission direction according to the data volume to be sent in the first transmission direction and the speed in the first transmission direction;
and determining the size of a Transmission Control Protocol (TCP) Acknowledgement (ACK) notification window in the direction opposite to the first transmission direction according to the acquired size relationship between the waiting time delay in the first transmission direction and a corresponding preset threshold.
On the other hand, an embodiment of the present invention provides a data transmission control apparatus, which mainly includes:
the data volume acquisition module is used for acquiring the data volume to be sent in the first transmission direction according to the cache information in the first transmission direction;
a delay obtaining module, configured to obtain a waiting delay in a first transmission direction according to the data amount to be sent in the first transmission direction and the rate in the first transmission direction, which are obtained by the data amount obtaining module;
and the notification window determining module is used for determining the size of a Transmission Control Protocol (TCP) Acknowledgement (ACK) notification window in the direction opposite to the first transmission direction according to the size relationship between the waiting time delay in the first transmission direction acquired by the time delay acquiring module and the corresponding preset threshold.
The method and the device provided by the embodiment of the invention determine the size of the TCP ACK notification window in the reverse direction according to the waiting time delay in the first transmission direction, thereby reducing the influence of the service in any transmission direction on the service of the transmission link in the reverse direction and improving the data transmission performance.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention.
Fig. 1 is a flowchart of a data transmission control method according to an embodiment of the present invention;
fig. 2 is a flowchart of a data transmission control method according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a data transmission control device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in further detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The technical solution of the present embodiment can be applied to various communication systems, for example: GSM, Code Division Multiple Access (CDMA) system, WCDMA, Time Division Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), and the like. In the GSM system, a terminal is a Mobile Station (MS), a Base Station is a Base Transceiver Station (BTS), and a Base Station control device is a Base Station Controller (BSC); in WCDMA and TD-SCDMA systems, a terminal is a User Equipment (UE), a base station is a NodeB, and a base station control device is a Radio Network Controller (RNC); in the LTE system, a terminal is a UE, a base station is an evolved node b (eNodeB), and a base station control device is a Serving Gateway (SGW) and a Mobile Management Entity (MME).
An embodiment of the present invention provides a data transmission control method, which may include the following steps, as shown in fig. 1.
S101, obtaining the data volume to be sent in the first transmission direction according to the cache information in the first transmission direction.
The first transmission direction may include an uplink transmission direction or a downlink transmission direction; for the uplink transmission direction, the uplink data volume to be sent can be obtained from the RLC (radio Link Control) layer cache information of the terminal side; for the downlink direction, the downlink data volume to be sent can be obtained from the RLC layer cache information of the network side. It should be noted that, except for the RLC layer, other protocol layers may also buffer data, and for the case where other protocol layers buffer data, the scheme of this embodiment may also be applicable as long as the buffer information of the corresponding protocol layer can be obtained.
S102, obtaining the waiting time delay in the first transmission direction according to the data volume to be sent in the first transmission direction and the speed in the first transmission direction.
Here, according to the rate in the first transmission direction, it can be known how long the data (data to be transmitted) buffered in the first transmission direction is to wait for transmission, and this waiting time can be referred to as a waiting time delay.
The waiting time delay in the first transmission direction may be obtained as follows: dividing the data volume to be sent in the first transmission direction by the speed in the first transmission direction, and taking the obtained quotient as the obtained waiting time delay in the first transmission direction. Here, the rate may also be referred to as a throughput rate.
S103, determining the size of a TCP ACK notification window in the direction opposite to the first transmission direction according to the acquired size relationship between the waiting time delay in the first transmission direction and a corresponding preset threshold.
For example, if the first transmission direction is the uplink direction, a TCP ACK advertised window in the downlink direction is determined, and if the first transmission direction is the downlink direction, a TCP ACK advertised window in the uplink direction is determined. It should be noted that, the values of the corresponding preset thresholds in the uplink direction and the downlink direction may be the same or different.
In this embodiment, the waiting time delay in the first transmission direction may be compared with a preset threshold, and if the waiting time delay is greater than the preset threshold, it indicates that the waiting time delay is large, and the transmission rate in the reverse direction may be affected, so that the TCP ACK notification window in the reverse direction may be reduced, thereby reducing the effect on the service of the transmission link in the reverse direction and improving the data transmission performance. Further, a lower limit may be set for the TCP ACK advertised window, and when the TCP ACK advertised window in the opposite direction is decreased, the decreased advertised window is compared with the lower limit, and the larger value of the two is taken as the finally determined TCP ACK advertised window in the opposite direction.
In the method of this embodiment, when the waiting delay is large (for example, the waiting delay is greater than or equal to a first preset threshold), the TCP ACK notification window in the direction opposite to the first transmission direction is reduced; when the waiting time delay is small (for example, the waiting time delay is smaller than the second preset threshold), the TCP ACK advertised window in the direction opposite to the first transmission direction may not be adjusted (that is, the size of the TCP ACK advertised window at the previous time is still used), or the TCP ACK advertised window in the direction opposite to the first transmission direction may be increased, so that the throughput of the TCP layer in the first transmission direction may be increased, and the data transmission efficiency may be further improved. Similarly, when increasing the TCP ACK announcement window in the opposite direction of the first transmission direction, the following may be used: increasing a TCP ACK notice window in the direction opposite to the first transmission direction, and taking the increased TCP ACK notice window as a determined TCP ACK notice window in the direction opposite to the first transmission direction; or, increasing the TCP ACK notice window in the direction opposite to the first transmission direction, and taking the smaller value of the increased TCP ACK notice window and the upper limit of the notice window as the determined TCP ACK notice window in the direction opposite to the first transmission direction. The upper limit of the advertised window may be set according to actual conditions, for example, the upper limit of the advertised window may be set to the size of the original window carried in the TCP ACK packet. Typically, the upper limit of the advertised window is less than or equal to the original window size carried in the TCP ACK packet.
It should be noted that, here, the first preset threshold is greater than or equal to the second preset threshold.
When the TCP ACK notice window is determined, the size of the TCP ACK notice window can be indirectly determined according to the modification ratio by determining the modification ratio: the TCP ACK advertised window is the reference value x the determined modification ratio. The reference value here may be the original window size carried in the TCP ACK packet. The above describes a manner of indirectly determining the TCP ACK notification window, and may also directly determine the size of the TCP ACK notification window, which is not limited in this embodiment.
If the notification window is too large, the data packet sent by the sending end to the receiving end in the first transmission direction may exceed the receiving capability, thereby causing packet loss; if the advertised window is too small, it may result in too low a throughput of the TCP layer in the first transmission direction, thereby affecting data transmission efficiency. Therefore, further, in order to avoid the TCP ACK notification window being too large or too small, a modification ratio upper limit and a modification ratio lower limit may be respectively set for the modification ratio, and specific values of the modification ratio upper limit and the modification ratio lower limit may be set according to actual needs, for example, the modification ratio upper limit may be set to 1, and the modification ratio lower limit may be set to 0, and of course, the modification ratio upper limit and the modification ratio lower limit may also be set to other values, which is not illustrated in this embodiment.
The method in this embodiment can determine the size of the TCP ACK advertised window in the opposite direction according to the waiting time delay in the first transmission direction, thereby reducing the influence of the service in any transmission direction on the service of the transmission link in the opposite direction and improving the data transmission performance.
Another embodiment of the present invention will be described in detail by taking the first transmission direction as an uplink direction as an example, and as shown in fig. 2, the data transmission control method may include the following steps.
S201, the RLC layer cache information of the terminal side is obtained.
Here, the RLC layer buffer information of the terminal side may be acquired by the network side, or may be acquired by the terminal.
S202, according to the RLC layer buffer information of the terminal side, the data volume to be sent in the uplink direction is obtained.
For the data amount to be sent in the uplink direction, the data amount to be sent may be obtained through the RLC layer cache information of the terminal side, for example, if the cache information obtained by the RLC of the terminal side is that the current cache load is 100bytes, it indicates that the data amount to be sent is 100 bytes.
And S203, acquiring the waiting time delay in the uplink direction according to the acquired data volume to be transmitted in the uplink direction and the rate in the uplink direction.
Specifically, the manner of obtaining the waiting time delay may refer to the related description in S102, and is not described herein again.
S204, judging the size relation between the waiting time delay in the uplink direction and a corresponding preset threshold;
if the waiting time delay in the uplink direction is greater than or equal to the first preset threshold, which indicates that the transmission time delay in the uplink direction is large, the uplink Uu port rate may become a bottleneck of transmission, and then S205 is performed.
If the waiting delay in the uplink direction is smaller than the second preset threshold, which indicates that the transmission delay in the uplink direction is smaller, S206 may be performed. The first preset threshold is greater than or equal to the second preset threshold, and when the first preset threshold is greater than the second preset threshold, the ping-pong phenomenon can be further avoided.
S205, reducing the modification proportion of a TCP ACK notification window in the downlink direction;
here, the adjustment manner of the modification ratio may be to adjust the scaling factor downward, or to decrease one or more preset step lengths, or to determine the adjustment range of the modification ratio according to the amplitude of the waiting time delay exceeding the first preset threshold, for example, according to the difference of the intervals where the amplitude of the waiting time delay exceeding the first preset threshold is located, the adjustment ranges correspond to different adjustment ranges. S207 is executed after reducing the TCP ACK modification ratio in the downlink direction.
S206, increasing the modification ratio of the TCP ACK notice window in the downlink direction.
Similarly to S205, the modification ratio may be adjusted by an up-scaling coefficient, increasing one or more preset step lengths, or determining an adjustment amplitude of the modification ratio according to an amplitude of the waiting time delay lower than a second preset threshold, for example, according to a difference between intervals where the amplitude of the waiting time delay lower than the second preset threshold is located, the adjustment amplitude corresponds to a different adjustment amplitude. S207 is executed after increasing the modification ratio of the TCP ACK in the downstream direction.
And S207, determining the size of the TCP ACK notice window in the downlink direction according to the adjusted modification ratio of the TCP ACK notice window and the corresponding limit value.
The corresponding limit value in this step may be an upper limit and a lower limit respectively set for the value of the modification ratio, and then, the larger value of the modification ratio and the set lower limit reduced in S205 may be used as the determined modification ratio to determine the TCP ACK notification window; the smaller of the increased modification ratio in S206 and the modification ratio upper limit may be used as the determined modification ratio to determine the TCP ACK announcement window. For example, assuming that the upper limit of the modification ratio is 0.95 and the lower limit is 0.10, when it is determined in S204 that the modification ratio of the TCP ACK notification window in the downstream direction needs to be reduced, if the reduced modification ratio obtained in S205 is 0.05, 0.10 may be used as the finally determined modification ratio.
After the finally determined modification ratio is obtained, a TCP ACK notification window is further determined, where the TCP ACK notification window is equal to the reference value × the determined modification ratio. The reference value here may be the original window size carried in the TCP ACK packet, and may also be other values, which is not limited here.
In the method in this embodiment, when the waiting time delay in the uplink direction is large, the probability that the TCP ACK packet is blocked by the data packet in the uplink direction can be reduced by reducing the TCP ACK notification window in the downlink direction, so as to improve the data transmission performance in the downlink direction; further, when the waiting time delay in the uplink direction is small, the throughput of the TCP layer in the first transmission direction can be improved by increasing the TCP ACK notification window in the downlink direction, and the data transmission efficiency is further improved.
It should be noted that, the embodiment shown in fig. 2 is described by taking the first transmission direction as the uplink direction as an example, it can be understood that, in a scenario where the first transmission direction is the downlink direction, the processing manner is similar to this, and it should be noted that, when the first transmission direction is the downlink direction, the to-be-transmitted data volume in the downlink direction is obtained according to the RLC layer cache information on the network side, so as to obtain the waiting time delay in the downlink direction, and determine the TCP ACK notification window in the uplink direction according to the relationship between the waiting time delay and the preset threshold, so that the influence of the service in any downlink direction on the service of the transmission link in the uplink direction can be reduced, and the data transmission performance is improved.
An embodiment of the present invention further provides a data transmission control apparatus, as shown in fig. 3, the data transmission control apparatus may include:
a data amount obtaining module 301, configured to obtain, according to the cache information in the first transmission direction, a data amount to be sent in the first transmission direction;
a delay obtaining module 302, configured to obtain a waiting delay in the first transmission direction according to the data amount to be sent in the first transmission direction obtained by the data amount obtaining module 301 and the rate in the first transmission direction;
the advertised window determining module 303 is configured to determine, according to the size relationship between the waiting delay in the first transmission direction acquired by the delay acquiring module 302 and the corresponding preset threshold, the size of the TCP ACK advertised window in the direction opposite to the first transmission direction.
The notification window determining module 303 may include a decreasing sub-module, and if the waiting time delay in the first transmission direction is greater than or equal to a first preset threshold, the decreasing sub-module is configured to decrease the TCP ACK notification window in the direction opposite to the first transmission direction, and use the decreased TCP ACK notification window as the determined TCP ACK notification window in the direction opposite to the first transmission direction; or,
if the waiting time delay in the first transmission direction is greater than or equal to a first preset threshold, the reducing submodule reduces a TCP ACK notification window in the direction opposite to the first transmission direction, and a larger value of the reduced TCP ACK notification window and a preset lower limit of the notification window is used as a finally determined TCP ACK notification window in the direction opposite to the first transmission direction.
Further, the notification window determining module 303 may further include an increasing sub-module, where if the waiting delay in the first transmission direction is smaller than a second preset threshold, the increasing sub-module is configured to increase a TCP ACK notification window in a direction opposite to the first transmission direction, and use the increased TCP ACK notification window as the determined TCP ACK notification window in the direction opposite to the first transmission direction; or,
if the waiting time delay in the first transmission direction is smaller than a second preset threshold, the increasing submodule is used for increasing a TCP ACK notification window in the direction opposite to the first transmission direction, and the smaller value of the increased TCP ACK notification window and the preset upper limit of the notification window is used as the determined TCP ACK notification window in the direction opposite to the first transmission direction;
the first preset threshold is greater than or equal to the second preset threshold.
And the reduction submodule may include:
a first reducing unit, configured to reduce the modification ratio, and if the reduced modification ratio is used as the determined modification ratio, the TCP ACK notification window in the direction opposite to the first transmission direction is equal to the reference value × the determined modification ratio; or,
and a second reducing unit, configured to reduce the modification ratio, and use a larger value of the reduced modification ratio and a preset lower limit of the modification ratio as the determined modification ratio, so that the tcp ack notification window in the direction opposite to the first transmission direction is equal to the reference value × the determined modification ratio.
Further, the augmenting submodule may include:
a first increasing unit, configured to increase the modification ratio, and if the increased modification ratio is used as the determined modification ratio, the TCP ACK notification window in the direction opposite to the first transmission direction is equal to the reference value × the determined modification ratio; or,
and a second increasing unit, configured to increase the modification ratio, and if the smaller value between the increased modification ratio and the preset modification ratio upper limit is used as the determined modification ratio, the tcp ack notification window in the direction opposite to the first transmission direction is equal to the reference value × the determined modification ratio.
In the data transmission control device of this embodiment, when the waiting time delay in the uplink direction is large, the probability that the TCP ACK packet is blocked by the data packet in the uplink direction can be reduced by reducing the TCP ACK notification window in the downlink direction, so as to improve the data transmission performance in the downlink direction; further, when the waiting time delay in the uplink direction is small, the throughput of the TCP layer in the first transmission direction can be improved by increasing the TCP ACK notification window in the downlink direction, and the data transmission efficiency is further improved.
For the embodiment of the apparatus of the present invention, the implementation, interaction mode, and the like of each module and unit can be referred to the description of the relevant part of the method embodiment.
In addition, the data transmission control apparatus in the embodiment of the present invention may be a terminal, and may also be a network side device, and the network side device may be a radio network controller or an eNodeB, and the like.
The above-described embodiments of the apparatus or system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The term "comprising", without further limitation, means that the element so defined is not excluded from the group consisting of additional identical elements in the process, method, article, or apparatus that comprises the element.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware that is instructed to implement by a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (14)
1. A data transmission control method, characterized in that the method comprises:
acquiring a data volume to be sent in a first transmission direction according to cache information in the first transmission direction, wherein the first transmission direction comprises an uplink transmission direction or a downlink transmission direction;
acquiring waiting time delay in the first transmission direction according to the data volume to be sent in the first transmission direction and the speed in the first transmission direction;
determining the size of a Transmission Control Protocol (TCP) Acknowledgement (ACK) notification window in the direction opposite to the first transmission direction according to the acquired size relationship between the waiting time delay in the first transmission direction and a corresponding preset threshold; wherein, the determining the size of the TCP ACK announcement window in the opposite direction to the first transmission direction according to the obtained size relationship between the waiting time delay in the first transmission direction and the corresponding preset threshold includes:
if the waiting time delay in the first transmission direction is greater than or equal to a first preset threshold, reducing a TCP ACK notification window in the direction opposite to the first transmission direction, and taking the reduced TCP ACK notification window as a determined TCP ACK notification window in the direction opposite to the first transmission direction; or,
and if the waiting time delay in the first transmission direction is greater than or equal to a first preset threshold, reducing the TCP ACK notification window in the direction opposite to the first transmission direction, and taking the larger value of the reduced TCP ACK notification window and the lower limit of the notification window as the finally determined TCP ACK notification window in the direction opposite to the first transmission direction.
2. The method of claim 1,
if the first transmission direction is an uplink transmission direction, the obtaining of the data volume to be sent in the first transmission direction according to the cache information in the first transmission direction includes:
acquiring the data volume to be sent in the uplink direction according to the cache information of the wireless link control layer at the terminal side; and/or the presence of a gas in the gas,
if the first transmission direction is a downlink transmission direction, the obtaining the data volume to be sent in the first transmission direction according to the cache information in the first transmission direction includes:
and acquiring the data volume to be sent in the uplink direction according to the cache information of the wireless link control layer of the network side.
3. The method of claim 1, wherein obtaining the waiting delay in the first transmission direction according to the amount of data to be sent in the first transmission direction and the rate in the first transmission direction comprises:
and taking the quotient obtained by dividing the data volume to be sent in the first transmission direction by the speed in the first transmission direction as the waiting time delay in the first transmission direction.
4. The method of claim 1, wherein the reducing the TCP ACK advertisement window in a direction opposite the first transmission direction comprises:
the modification ratio is reduced.
5. The method of claim 4,
the taking the reduced TCP ACK advertised window as the determined TCP ACK advertised window in the opposite direction to the first transmission direction includes: taking the reduced modification proportion as a determined modification proportion, wherein the TCP ACK notification window in the direction opposite to the first transmission direction is equal to a reference value multiplied by the determined modification proportion; or,
taking the larger value of the reduced TCP ACK advertised window and the preset advertised window lower limit as the finally determined TCP ACK advertised window in the direction opposite to the first transmission direction includes: and taking the larger value of the reduced modification proportion and the modification proportion lower limit as the determined modification proportion, wherein the TCP ACK notice window in the direction opposite to the first transmission direction is equal to the reference value multiplied by the determined modification proportion.
6. A data transmission control method, characterized in that the method comprises:
acquiring a data volume to be sent in a first transmission direction according to cache information in the first transmission direction, wherein the first transmission direction comprises an uplink transmission direction or a downlink transmission direction;
acquiring waiting time delay in the first transmission direction according to the data volume to be sent in the first transmission direction and the speed in the first transmission direction;
determining the size of a Transmission Control Protocol (TCP) Acknowledgement (ACK) notification window in the direction opposite to the first transmission direction according to the acquired size relationship between the waiting time delay in the first transmission direction and a corresponding preset threshold; wherein, the determining the size of the TCP ACK announcement window in the opposite direction to the first transmission direction according to the obtained size relationship between the waiting time delay in the first transmission direction and the corresponding preset threshold includes:
if the waiting time delay in the first transmission direction is smaller than a second preset threshold, increasing a TCP ACK notification window in the direction opposite to the first transmission direction, and taking the increased TCP ACK notification window as a determined TCP ACK notification window in the direction opposite to the first transmission direction; or,
and if the waiting time delay in the first transmission direction is smaller than a second preset threshold, increasing a TCP ACK notification window in the direction opposite to the first transmission direction, and taking the smaller value of the increased TCP ACK notification window and the upper limit of the notification window as the determined TCP ACK notification window in the direction opposite to the first transmission direction.
7. The method of claim 6, wherein the increasing the TCP ACK advertisement window opposite the first transmission direction comprises:
the modification ratio is increased.
8. The method of claim 7,
the taking the increased TCP ACK advertised window as the determined TCP ACK advertised window in the opposite direction to the first transmission direction includes: taking the increased modification proportion as a determined modification proportion, wherein the TCP ACK notification window in the direction opposite to the first transmission direction is equal to a reference value multiplied by the determined modification proportion; or,
the step of taking the smaller value of the increased TCP ACK advertised window and the preset advertised window upper limit as the finally determined TCP ACK advertised window in the direction opposite to the first transmission direction includes: and taking the smaller value of the increased modification proportion and the modification proportion upper limit as the determined modification proportion, wherein the TCP ACK notice window in the direction opposite to the first transmission direction is equal to the reference value multiplied by the determined modification proportion.
9. A data transmission control apparatus, characterized in that the apparatus comprises:
a data amount obtaining module, configured to obtain, according to cache information in a first transmission direction, a data amount to be sent in the first transmission direction, where the first transmission direction includes an uplink transmission direction or a downlink transmission direction;
a delay obtaining module, configured to obtain a waiting delay in a first transmission direction according to the data amount to be sent in the first transmission direction and the rate in the first transmission direction, which are obtained by the data amount obtaining module;
a notification window determining module, configured to determine, according to a size relationship between the waiting time delay in the first transmission direction obtained by the time delay obtaining module and a corresponding preset threshold, a size of a Transmission Control Protocol (TCP) Acknowledgement (ACK) notification window in a direction opposite to the first transmission direction; wherein the advertised window determining module includes:
a reducing submodule, configured to reduce a TCP ACK advertised window in a direction opposite to the first transmission direction if the waiting time delay in the first transmission direction is greater than or equal to a first preset threshold, and use the reduced TCP ACK advertised window as a determined TCP ACK advertised window in the direction opposite to the first transmission direction; or,
if the waiting time delay in the first transmission direction is greater than or equal to a first preset threshold, reducing the TCP ACK notice window in the direction opposite to the first transmission direction, and taking the larger value of the reduced TCP ACK notice window and the lower limit of the notice window as the finally determined TCP ACK notice window in the direction opposite to the first transmission direction
An ACK announcement window.
10. The apparatus of claim 9, wherein the reduction submodule comprises:
a first reducing unit, configured to reduce a modification ratio, where the reduced modification ratio is used as a determined modification ratio, and the TCP ACK notification window in the direction opposite to the first transmission direction is equal to the reference value × the determined modification ratio; or,
and a second reducing unit, configured to reduce the modification ratio, and use a larger value of the reduced modification ratio and a lower limit of the modification ratio as the determined modification ratio, where the TCP ACK notification window in the direction opposite to the first transmission direction is equal to the reference value × the determined modification ratio.
11. The apparatus according to claim 9 or 10, wherein the data transmission control apparatus is a terminal or a network side device.
12. A data transmission control apparatus, characterized in that the apparatus comprises:
a data amount obtaining module, configured to obtain, according to cache information in a first transmission direction, a data amount to be sent in the first transmission direction, where the first transmission direction includes an uplink transmission direction or a downlink transmission direction;
a delay obtaining module, configured to obtain a waiting delay in a first transmission direction according to the data amount to be sent in the first transmission direction and the rate in the first transmission direction, which are obtained by the data amount obtaining module;
a notification window determining module, configured to determine, according to a size relationship between the waiting time delay in the first transmission direction obtained by the time delay obtaining module and a corresponding preset threshold, a size of a Transmission Control Protocol (TCP) Acknowledgement (ACK) notification window in a direction opposite to the first transmission direction; wherein the advertised window determining module includes:
the increasing submodule is used for increasing a TCP ACK notification window in the direction opposite to the first transmission direction if the waiting time delay in the first transmission direction is smaller than a second preset threshold, and taking the increased TCP ACK notification window as the determined TCP ACK notification window in the direction opposite to the first transmission direction; or,
and if the waiting time delay in the first transmission direction is smaller than a second preset threshold, increasing a TCP ACK notification window in the direction opposite to the first transmission direction, and taking the smaller value of the increased TCP ACK notification window and the upper limit of the notification window as the determined TCP ACK notification window in the direction opposite to the first transmission direction.
13. The apparatus of claim 12, wherein the augmentation submodule comprises:
a first increasing unit, configured to increase a modification ratio, where the increased modification ratio is used as a determined modification ratio, and the TCP ACK notification window in the direction opposite to the first transmission direction is equal to the reference value × the determined modification ratio; or,
and a second increasing unit, configured to increase the modification ratio, and use the smaller value of the increased modification ratio and the modification ratio upper limit as the determined modification ratio, where the TCP ACK notification window in the direction opposite to the first transmission direction is equal to the reference value × the determined modification ratio.
14. The apparatus according to claim 12 or 13, wherein the data transmission control apparatus is a terminal or a network side device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101552063A CN101867512B (en) | 2010-04-15 | 2010-04-15 | Data transmission control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101552063A CN101867512B (en) | 2010-04-15 | 2010-04-15 | Data transmission control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101867512A CN101867512A (en) | 2010-10-20 |
CN101867512B true CN101867512B (en) | 2012-08-08 |
Family
ID=42959083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101552063A Active CN101867512B (en) | 2010-04-15 | 2010-04-15 | Data transmission control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101867512B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101982951B (en) * | 2010-11-19 | 2012-07-11 | 华为技术有限公司 | Data transmission control method and intermediate node |
EP2530898B1 (en) * | 2011-06-03 | 2014-02-12 | Alcatel Lucent | Method and apparatus for mitigating buffering delay at a network edge |
CN103428240B (en) * | 2012-05-18 | 2016-06-22 | 深圳市腾讯计算机系统有限公司 | Data transmission method and data transmission terminal |
CN104661240B (en) * | 2013-11-19 | 2018-07-31 | 成都鼎桥通信技术有限公司 | Send method and the base station of system information |
CN108023686B (en) * | 2016-11-02 | 2022-03-25 | 中兴通讯股份有限公司 | TCP (Transmission control protocol) delay processing method, device and system |
CN107819853B (en) * | 2017-11-13 | 2019-08-16 | 中国联合网络通信集团有限公司 | A kind of data transmission method and device |
WO2019210509A1 (en) * | 2018-05-04 | 2019-11-07 | 华为技术有限公司 | Acknowledgment message sending method and apparatus |
CN111372283B (en) * | 2020-03-10 | 2023-04-14 | 中国联合网络通信集团有限公司 | Congestion control method, base station and user plane functional entity |
CN111328106B (en) * | 2020-03-10 | 2023-04-18 | 中国联合网络通信集团有限公司 | Congestion control method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004040861A1 (en) * | 2002-11-01 | 2004-05-13 | Matsushita Electric Industrial Co., Ltd. | Communication system and method |
CN1556629A (en) * | 2004-01-06 | 2004-12-22 | �����ʵ��ѧ | Method for regulating congest window in communication network |
CN1592299A (en) * | 2003-09-05 | 2005-03-09 | 华为技术有限公司 | Method for improving wireless network transmission performance |
WO2006096037A1 (en) * | 2005-03-10 | 2006-09-14 | Samsung Electronics Co., Ltd. | Transmission control method for tcp bi-directional transmission in asymmetric bandwidth pre-allocated subscriber network and apparatus therefor |
CN101162971A (en) * | 2007-10-30 | 2008-04-16 | 华为技术有限公司 | Data transmitting method, equipment and system |
-
2010
- 2010-04-15 CN CN2010101552063A patent/CN101867512B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004040861A1 (en) * | 2002-11-01 | 2004-05-13 | Matsushita Electric Industrial Co., Ltd. | Communication system and method |
CN1592299A (en) * | 2003-09-05 | 2005-03-09 | 华为技术有限公司 | Method for improving wireless network transmission performance |
CN1556629A (en) * | 2004-01-06 | 2004-12-22 | �����ʵ��ѧ | Method for regulating congest window in communication network |
WO2006096037A1 (en) * | 2005-03-10 | 2006-09-14 | Samsung Electronics Co., Ltd. | Transmission control method for tcp bi-directional transmission in asymmetric bandwidth pre-allocated subscriber network and apparatus therefor |
CN101162971A (en) * | 2007-10-30 | 2008-04-16 | 华为技术有限公司 | Data transmitting method, equipment and system |
Also Published As
Publication number | Publication date |
---|---|
CN101867512A (en) | 2010-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101867512B (en) | Data transmission control method and device | |
EP3162127B1 (en) | Node and method for buffering downlink data | |
JP5583975B2 (en) | Method and apparatus for providing efficient discontinuous communication | |
US9474067B2 (en) | WLAN uplink scheduler for LTE-WLAN aggregation | |
CN102387563B (en) | Service control method of machine type communication equipment, and related device and system | |
CN102104908B (en) | Data transmission control method and equipment | |
CN102415197B (en) | Method and device of changes to access procedure for asc 0 for umts | |
CN101911567B (en) | Method and arrangement in a wireless communication network | |
US20140328258A1 (en) | Dynamic resource allocation method | |
CN102201997A (en) | Data transmission control method and equipment | |
CN101982951B (en) | Data transmission control method and intermediate node | |
US20140126362A1 (en) | Communication system and base station device | |
EP3363134B1 (en) | Method and network node for managing harq attempts parameter for d2d links | |
JP6244741B2 (en) | Buffer control device, buffer control method, and base station device | |
US20190223165A1 (en) | Method for Transmitting Control Information, User Equipment, and Network Device | |
US8942092B2 (en) | Gateway data transmission method, device and system | |
JP2022542017A (en) | Sidelink resource selection method and device | |
CN105517047A (en) | Base station traffic shaping method and system | |
TWI829704B (en) | An information transmission method and device, a terminal device, and a network device | |
US9246817B1 (en) | System and method of managing traffic flow in a communication network | |
CN104219656A (en) | Service control method for machine type communication equipment, related devices and service control systems | |
CN104243055A (en) | Method and device for correcting multi-antenna-channel and base station system | |
CN103384395B (en) | Upstream bandwidth configuration method and device | |
CN102340508B (en) | Data transmission method and equipment | |
US9088959B1 (en) | Paging back-off timer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |