CN114095126A - Method, system and device for adjusting data sending rate - Google Patents

Method, system and device for adjusting data sending rate Download PDF

Info

Publication number
CN114095126A
CN114095126A CN202111331449.2A CN202111331449A CN114095126A CN 114095126 A CN114095126 A CN 114095126A CN 202111331449 A CN202111331449 A CN 202111331449A CN 114095126 A CN114095126 A CN 114095126A
Authority
CN
China
Prior art keywords
sending
connection
window value
data
receiving end
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.)
Pending
Application number
CN202111331449.2A
Other languages
Chinese (zh)
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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN202111331449.2A priority Critical patent/CN114095126A/en
Publication of CN114095126A publication Critical patent/CN114095126A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing

Abstract

The embodiment of the invention provides a method, a system and a device for adjusting data sending rate, relating to the field of data processing. The method comprises the following steps: under the condition that the network congestion of the connection between the sending end and the receiving end is determined, the congestion position of the network congestion in the connection is determined, and the calculation mode of the sending window value is determined based on the congestion position, wherein the sending window value is as follows: and the sending end calculates a sending window value based on the determined calculation mode according to the maximum rate of the data sent by the connection, and sends the sending window value to the sending end, so that the sending end adjusts the sending rate of the data sent by the sending end through the connection based on the sending window value. The technical scheme provided by the embodiment of the invention can improve the accuracy of adjusting the data sending rate.

Description

Method, system and device for adjusting data sending rate
Technical Field
The present invention relates to the field of data processing, and in particular, to a method, a system, and an apparatus for adjusting a data transmission rate.
Background
In the process of network data transmission, if network congestion occurs in the connection between the sending end and the receiving end, the time for the connection between the sending end and the receiving end to be transmitted is too long, and thus the delay of data transmission is too high. In this case, if the transmitting end continues to transmit data to the receiving end at a high transmission rate, a large amount of data is affected by network congestion in the link, and the transmission delay is too high.
The sending end can adjust the sending rate of the sending end by using the size relation between the actual required time for sending the measured data from the sending end to the receiving end and the preset reference time. If the actual required time is longer than the reference time, it indicates that the transmission rate of the data between the sending end and the receiving end is slow, and the sending end can reduce the sending rate, and conversely, if the actual required time is shorter than the reference time, the sending end can improve the sending rate. In the prior art, the method for adjusting the sending rate of the sending end is relatively fixed, and is difficult to adjust aiming at different network congestion conditions, so that the accuracy of the result of adjusting the sending rate of the sending end is relatively low.
Disclosure of Invention
Embodiments of the present invention provide a method, a system, and a device for adjusting a data sending rate, so as to improve accuracy of a result of adjusting a sending rate of a sending end. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for adjusting a data sending rate, where the method is applied to a receiving end, and the method includes:
under the condition that the network congestion of the connection between a sending end and a receiving end is determined, determining the congestion position of the network congestion in the connection, wherein the connection is as follows: a channel for transmitting data, created based on a physical link between the transmitting end and the receiving end;
determining a calculation mode of a sending window value based on the congestion position, wherein the sending window value is as follows: the maximum rate at which the sender sends data over the connection;
calculating a transmission window value based on the determined calculation manner;
and sending the sending window value to the sending end so that the sending end adjusts the sending rate of sending data through the connection based on the sending window value.
In a second aspect, an embodiment of the present invention provides a method for adjusting a data sending rate, where the method is applied to a sending end, and the method includes:
receiving a sending window value of a connection sent by a receiving end, wherein the sending window value is as follows: the maximum rate at which the sender sends data over the connection;
and adjusting the sending rate of sending data through the connection according to the sending window value.
In a third aspect, an embodiment of the present invention provides a system for adjusting a data transmission rate, where the system includes: a sending end and a receiving end;
the receiving end is used for determining the congestion position of the network congestion in the connection under the condition that the network congestion of the connection between the sending end and the receiving end is determined; determining a calculation mode of a sending window value based on the congestion position; calculating a transmission window value based on the determined calculation manner; sending the sending window value to the sending end; wherein the connection is: a channel for transmitting data, which is created based on a physical link between the transmitting end and the receiving end, where the value of the transmission window is: the maximum rate at which the sender sends data over the connection;
and the sending end is used for adjusting the sending rate of sending data through the connection according to the sending window value.
In a fourth aspect, an embodiment of the present invention provides a data sending rate adjustment apparatus, which is applied to a receiving end, and the apparatus includes:
a congestion position determining module, configured to determine, when it is determined that network congestion occurs in a connection between a sending end and a receiving end, a congestion position where the network congestion occurs in the connection, where the connection is: a channel for transmitting data, created based on a physical link between the transmitting end and the receiving end;
a calculation mode determination module, configured to determine a calculation mode of a sending window value based on the congestion position, where the sending window value is: the maximum rate at which the sender sends data over the connection;
a window value calculation module for calculating a send window value based on the determined calculation mode;
and the window value sending module is used for sending the sending window value to the sending end so that the sending end adjusts the sending rate of sending data through the connection based on the sending window value.
In a fifth aspect, an embodiment of the present invention provides a data sending rate adjustment apparatus, which is applied to a sending end, and the apparatus includes:
a window value receiving module, configured to receive a connected sending window value sent by a receiving end, where the sending window value is: the maximum rate at which the sender sends data over the connection;
and the sending rate adjusting module is used for adjusting the sending rate of the data sent by the sending window through the connection according to the sending window value.
In a sixth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor configured to implement the method steps of any one of the first or second aspects when executing a program stored in the memory.
In a seventh aspect, the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, where the computer program is executed by a processor, and the method steps in any of the first aspect or the second aspect are implemented.
In an eighth aspect, embodiments of the present invention also provide a computer program product including instructions, which, when executed on a computer, cause the computer to perform the method steps of any one of the first or second aspects.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a data sending rate adjusting method, which is applied to a receiving end and used for determining the congestion position of network congestion in connection under the condition that the network congestion occurs in the connection between the sending end and the receiving end, wherein the connection comprises the following steps: determining a calculation mode of a sending window value based on a channel which is created on the basis of a physical link between a sending end and a receiving end and is used for transmitting data and a congestion position, wherein the sending window value is as follows: and the sending end calculates a sending window value based on the determined calculation mode according to the maximum rate of the data sent by the connection, and sends the sending window value to the sending end, so that the sending end adjusts the sending rate of the data sent by the sending end through the connection based on the sending window value.
As can be seen from the above, in the embodiment of the present invention, after determining that network congestion occurs in a connection, a receiving end determines a location where the network congestion occurs, calculates a maximum rate, that is, a sending window value, at which a sending end sends data through the connection according to different locations by using different calculation methods, and sends the calculated sending window value to the sending end, so that the sending end can adjust the sending rate, at which the sending end sends data through the connection, to be lower than the sending window value based on the sending window value, thereby adjusting the sending rate of the sending end. When the receiving end determines the sending window value, the calculation mode of the sending window value can be adjusted and calculated based on the actual position of the occurrence of network congestion, so that the calculated sending window value is matched with the actual network congestion situation, the accuracy of the calculation result of the sending window value is high, and the adjustment result of the sending rate of the sending end is adjusted based on the sending window value with high accuracy is accurate.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by referring to these drawings.
Fig. 1 is a schematic flow chart of a first data sending rate adjustment method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a second method for adjusting a data transmission rate according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a third method for adjusting a data transmission rate according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a fourth method for adjusting a data transmission rate according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a fifth method for adjusting a data sending rate according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data transmission rate adjustment system according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a sixth method for adjusting a data sending rate according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a first data transmission rate adjustment apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a second data transmission rate adjustment apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived from the embodiments given herein by one of ordinary skill in the art, are within the scope of the invention.
In the prior art, when network congestion occurs, the method for adjusting the sending rate of the sending end is relatively fixed, and adjustment aiming at different network congestion conditions is difficult, so that the accuracy for adjusting the sending rate of the sending end is relatively low. In order to improve the accuracy of adjusting the sending rate of a sending end, embodiments of the present invention provide a method, a system, and a device for adjusting the sending rate of data.
The embodiment of the invention provides a data sending rate adjusting method, which is applied to a receiving end and comprises the following steps:
determining a congestion position of a network congestion occurring in a connection between a sending end and a receiving end under the condition that the network congestion occurring in the connection, wherein the connection is as follows: a channel for transmitting data, which is created based on the physical link between the transmitting end and the receiving end;
determining a calculation mode of a sending window value based on the congestion position, wherein the sending window value is as follows: the maximum rate at which the sending end sends data through the connection;
calculating a transmission window value based on the determined calculation manner;
and sending the sending window value to the sending end so that the sending end adjusts the sending rate of sending data through the connection based on the sending window value.
It can be seen from the above that, after determining that the network congestion occurs in the connection, the receiving end determines the location where the network congestion occurs, then calculates the maximum rate of sending data through the connection, that is, the sending window value, by the sending end according to different locations by using different calculation methods, and then sends the calculated sending window value to the sending end, so that the sending end can adjust the sending rate of sending data through the connection to be lower than the sending window value based on the sending window value, thereby realizing the adjustment of the sending rate of the sending end. When the receiving end determines the sending window value, the calculation mode of the sending window value can be adjusted and calculated based on the actual position of the occurrence of network congestion, so that the calculated sending window value is matched with the actual network congestion situation, the accuracy of the calculation result of the sending window value is high, and the adjustment result of the sending rate of the sending end is adjusted based on the sending window value with high accuracy is accurate.
Referring to fig. 1, a schematic flow chart of a first data sending rate adjustment method provided in an embodiment of the present invention is applied to a receiving end, and the method includes the following steps S101 to S104.
S101: and under the condition that the network congestion of the connection between the sending end and the receiving end is determined, determining the congestion position of the network congestion in the connection.
Wherein, the connection is as follows: and a channel for transmitting data, which is created based on the physical link between the transmitting end and the receiving end.
Specifically, the physical link is a data transmission channel formed by network devices, and the network devices may include: switches, routers, etc. may create multiple virtual connections between the sender and receiver based on the physical link.
In an embodiment of the present invention, for each connection, a time length required for transmitting data, which is sent by a sending end through the connection, to a receiving end may be counted, where the time length may be referred to as a one-way delay, and if the one-way delay is too large, it may be considered that network congestion occurs in the connection.
Specifically, the sending end may add data to the packet and send the packet carrying the data to the receiving end to implement data transmission with the receiving end, the sending end may add a time identifier indicating a packet sending time to the packet, and the receiving end may subtract the packet sending time indicated by the time identifier from the time when the packet is received, to obtain the one-way delay of the connection.
In one embodiment of the invention, data transmission needs to go through three locations: the method comprises the steps of a sending end, a receiving end and a physical link between the sending end and the receiving end, wherein the physical link is called as an in-network position; in an embodiment of the present invention, the congestion location may be divided into a receiving end and an in-network location, and the in-network location may be subdivided into any network device in the physical link.
In one embodiment of the present invention, it can be determined whether the connection is congested by the following steps a-B. In addition, step S101 can be realized through steps S101A-S101C, which will not be detailed here for the moment.
S102: and determining a calculation mode of the sending window value based on the congestion position.
Wherein, the sending window value is: and the sending end sends the maximum rate of the data through the connection.
The step S101 determines the congestion position, and if the congestion position is the receiving end, the possible reasons for causing the network congestion are: the actual data volume sent by the sending end is larger than the receivable data volume of the receiving end, the receiving end is difficult to completely receive all the data sent by the sending end, and the receiving end has data accumulation, so that network congestion is caused.
If the congestion position is a position in the network other than the receiving end, the possible reasons for causing the network congestion are: the performance of the network device in the physical link is poor, the network device is difficult to complete data forwarding in a short time, and data is accumulated in the network device, thereby causing network congestion.
Therefore, the network congestion is caused by different reasons due to different positions of the network congestion, so that the sending window value needs to be calculated in different calculation modes according to different congestion positions, and the network congestion is relieved based on the sending window value.
S103, based on the determined calculation mode, the sending window value is calculated.
In an embodiment of the present invention, if the congestion position is a receiving end in the connection, the step S103 may be implemented based on the following steps S103A-S103D, and if the congestion position is a position in the connection other than the receiving end in the network, the step S103 may be implemented based on the following steps S103E-S103F, which will not be described in detail herein.
S104: and sending the sending window value to the sending end so that the sending end adjusts the sending rate of sending data through the connection based on the sending window value.
In an embodiment of the present invention, after the receiving end calculates the sending window value of the sending end, the sending window value is sent to the sending end. In one implementation, after receiving data, the receiving end may send an acknowledgement message carrying a sending window value to the sending end, indicating that it has received the data, and may send the sending window value to the sending end. In another implementation, the receiving end may also send the send window value to the sending end separately.
The sending window value is the maximum sending rate of the sending end sending data, and after the sending end receives the sending window value sent by the receiving end, the sending end can continue to send the data at the sending rate less than or equal to the sending window value according to the sending window value. Specifically, see the following steps S501-S502, which are not detailed here.
It can be seen from the above that, after determining that the network congestion occurs in the connection, the receiving end determines the location where the network congestion occurs, then calculates the maximum rate of sending data through the connection, that is, the sending window value, by the sending end according to different locations by using different calculation methods, and then sends the calculated sending window value to the sending end, so that the sending end can adjust the sending rate of sending data through the connection to be lower than the sending window value based on the sending window value, thereby realizing the adjustment of the sending rate of the sending end. When the receiving end determines the sending window value, the calculation mode of the sending window value can be adjusted and calculated based on the actual position of the occurrence of network congestion, so that the calculated sending window value is matched with the actual network congestion situation, the accuracy of the calculation result of the sending window value is high, and the adjustment result of the sending rate of the sending end is adjusted based on the sending window value with high accuracy is accurate.
In one embodiment of the present invention, whether network congestion occurs may be determined by the following steps a-B.
Step A: the one-way delay of the connection is continuously obtained.
Specifically, the one-way delay is obtained once every preset time period, the one-way delays of the preset number of times are continuously obtained, and the one-way delay can also be continuously obtained within the preset time duration. The manner of obtaining the one-way delay is referred to the foregoing step S101, and is not described herein again.
And B: and if the one-way time delay obtained for a plurality of continuous preset times is larger than the second preset time delay, determining that the network congestion occurs in the connection.
Specifically, when the unidirectional time delay is determined to be greater than the second preset time delay for the first time, the unidirectional time delay of the connection is continuously monitored, and if the unidirectional time delays obtained by continuously presetting the connection for a plurality of times are greater than the second preset time delay since the unidirectional time delay is determined to be greater than the second preset time delay for the first time, the connection is determined to have network congestion.
As can be seen from the above, a connection may transmit a large amount of data in a short time, and the large amount of data consumes a large amount of transmission resources of a network device in the connection in a short time, or is affected by network fluctuation, resulting in a long one-way delay of the connection in a short time. In the above case, although the one-way delay is excessively large in a short time, network congestion does not actually occur, and the one-way delay of the connection naturally decreases after a while. Therefore, if the unidirectional time delay is determined to be larger than the second preset time delay, the judgment error may be caused by directly judging that the network congestion occurs in the connection. In the embodiment of the invention, when the one-way time delay obtained for a plurality of continuous preset times is larger than the second preset time delay, namely the one-way time delay is larger in a longer time, the connection is determined to generate network congestion, and the accuracy of the scheme for judging the network congestion is improved.
Referring to fig. 2, a flowchart of a second data sending rate adjustment method according to an embodiment of the present invention is shown, where, when a congestion position where network congestion occurs is a position in the connection other than the receiving end and the network, corresponding to the embodiment shown in fig. 1, the step S103 may be implemented by the following steps S103A-S103D.
S103A: a one-way delay of the connection is obtained.
S103B: and calculating to obtain a difference value between the one-way time delay and the first preset time delay.
Specifically, the first preset time delay is an ideal value of the one-way time delay in the scheme, and a difference value between the one-way time delay and the first preset time delay is positive, which indicates that the one-way time delay is high, the data transmission speed is low, and the network congestion is serious; the difference between the one-way delay and the first preset delay is negative, which indicates that the one-way delay is small, the data transmission speed is high, and the network congestion is not serious. The difference may reflect a network congestion condition in the connection. The data transmission process between the sending end and the receiving end may be affected by the performance of the network device in the physical link, the bandwidth of the physical link, and other factors, and the first preset time delay, that is, the ideal value of the one-way time delay, may be a parameter set by comprehensively referring to the performance of the network device, the bandwidth of the physical link, and other physical factors.
S103C: and calculating a control factor for representing the network congestion condition of the connection according to the difference.
In an embodiment of the present invention, since the difference may reflect a network congestion condition in a connection, the difference may be used to calculate a control factor, and the difference may be directly added to the current control factor to obtain a new control factor.
In another embodiment of the present invention, a difference between the current difference and the difference calculated last time may also be calculated, which is referred to as a difference change amount. The difference can reflect the network congestion condition in the connection, and the difference variation can reflect the change of the network congestion condition, so the difference variation can also be used for calculating the control factor, and specifically, the difference variation can be directly added on the basis of the current control factor to obtain a new control factor.
In another embodiment of the present invention, the control factor may be calculated based on the difference and the difference variation, and specifically, the difference variation and the difference may be directly added to the current control factor to obtain a new control factor.
The calculation of the control factor can be referred to the following formula:
ui(t)=ui(t-1)+M×ei(t)+N×(ei(t)-ei(t-1));t≥1;
wherein u isi(t) denotes the control factor for the t-th calculation in connection i, ui(t-1) represents the control factor of the t-1 th calculation in the connection i, M and N are preset parameters, ei(t) is the difference between the t-th calculated one-way delay in connection i and a first predetermined delay, eiAnd (t-1) is the difference value between the t-1 calculated unidirectional time delay in the connection i and the first preset time delay.
S103D: and adjusting the original sending window value based on the control factor, and calculating to obtain a new sending window value.
In an embodiment of the present invention, since the control factor can reflect the network congestion condition of the connection, the larger the control factor is, the more serious the network congestion is, when the control factor is greater than or equal to the preset value, the network congestion condition is more serious, the amount of data that can be transmitted by the physical link is smaller than the amount of data sent by the sending end, and the sending window value of the sending end should be reduced; specifically, the first window value may be reduced based on the current transmission window value, or multiplied by a first ratio value, where the first ratio value is any one of 0 to 1, based on the current transmission window value.
When the control factor is smaller than the preset value, the network congestion condition is not serious, the data volume which can be transmitted by the physical link is larger than or equal to the data volume sent by the sending end, and the sending window value of the sending end can be increased; specifically, the second window value may be increased based on the current transmission window value, or multiplied by a second ratio value, where the second ratio value is greater than 1, based on the current transmission window value.
In another embodiment of the present invention, the transmit window value is calculated as follows:
Wi(t)=Wi(t-1)×(1-K(ui(t)));
wherein, Wi(t) is the transmission window value calculated t-th time in connection i, Wi(t-1) is the transmission window value calculated t-1 in connection i, uiAnd (t) is a control factor, and K is a preset coefficient.
When u isi(t) is less than 0, and W is obtained by calculationi(t) is greater than Wi(t-1) corresponding to increasing the transmission window value; when u isi(t) is greater than 0, and W is calculatedi(t) is less than Wi(t-1), which corresponds to reducing the value of the transmission window.
As can be seen from the above, when it is determined that the congestion position is a position in the network other than the receiving end, the control factor is calculated based on the one-way delay, and then the transmission window value is calculated based on the control factor. The one-way time delay represents the transmission time length of data in a physical link, so the one-way time delay can reflect the network congestion situation of the position in the network, and the sending window value obtained based on the one-way time delay is matched with the network congestion occurring at the position in the network, so the sending window value obtained by calculation is more accurate.
Referring to fig. 3, a flowchart of a third method for calculating a sending window value according to an embodiment of the present invention is applied to a receiving end, and after determining that a congestion location of network congestion is the receiving end, the method includes the following steps S103E-S103F.
S103E, counting a first data amount of data being transmitted in the connection.
In an embodiment of the present invention, IB BTH (InfiniBand Base Transport Header) technology may be adopted to mark network data, and count the first data volume according to the mark.
S103F, calculating the sending window value according to the first bandwidth of the receiving end and the first data volume.
In theory, the larger the first bandwidth is, the faster the receiving end receives data, and correspondingly, the sending end may also send data at a higher rate, so that the larger the first bandwidth is, the larger the sending window value may be, and the first bandwidth is proportional to the sending window value.
In addition, the larger the first data amount is, the more data is being transmitted in the connection, and if the sending end continues to send data at a higher rate, the data included in the connection may gradually increase, thereby causing network congestion.
Specifically, the following formula is used for calculating the sending window value:
Figure BDA0003349031280000111
w (i) is a transmission window value of connection i, C is the first bandwidth, and X is the first data size.
As can be seen from the above, after it is determined that the congestion position is the receiving end, the occurrence of network congestion at the receiving end may be caused by the fact that the receiving end is difficult to completely receive the data sent by the sending end, and at this time, the connection may include a large amount of data that is not received by the receiving end, that is, the first data amount is large. In this embodiment, the sending window value is calculated based on the first bandwidth and the first data amount, the first bandwidth of the data received by the receiving end is considered, and the problem that the first data amount is large when the congestion position is the receiving end is considered, the calculated sending window value is matched with the congestion position when the receiving end is the congestion position, and the calculated sending window value is accurate.
Referring to fig. 4, a flow chart of a fourth data transmission rate adjustment method according to an embodiment of the present invention is schematically shown, and compared with the foregoing embodiment shown in fig. 1, the foregoing step S101 may be implemented by the following steps S101A-S101C.
S101A: and under the condition that the network congestion of the connection between the sending end and the receiving end is determined, counting a second data volume of the data received by the receiving end through the connection within a preset basic time.
The second data size is a data size that has been received by the receiving end through the connection within a preset basic time, and the statistical method of the data size is referred to as step S201, which is not described in detail herein.
S101B: a first bandwidth at a receiving end in a connection is determined.
S101C: and determining the congestion position of the network congestion in the connection according to the second data volume, the first bandwidth and the basic time length.
Specifically, the first bandwidth represents the data size that the receiving end can theoretically receive in a unit time, and therefore, based on the first bandwidth and the basic time length, the third data size that the receiving end can theoretically receive in the basic time length can be calculated. If the second data volume is larger than the third data volume, the receiving end receives data volume exceeding the data volume which can be received by the receiving end, the congestion position is at the receiving end, otherwise, the congestion position is at the position in the network.
In one embodiment of the present invention, the congestion location for determining network congestion is defined by the following formula:
D>C×Rtt
wherein D is the second data amount, C is the first bandwidth, Rtt is the basic duration, and cxrtt is the third data amount.
In another embodiment of the present invention, the bandwidth utilization of the receiving end is not one hundred percent, so when calculating the third data amount, the bandwidth utilization of the receiving end may be referred to, and the above relation may also be written as:
D>C×Rtt×v,0<v<1,
wherein v represents the bandwidth utilization rate, and the meanings of the rest parameters are unchanged.
As can be seen from the above, the congestion position where the network congestion occurs in the connection is determined by the second data volume, the first bandwidth and the basic time length, so that the calculation manner of the sending window of the sending end is determined according to the congestion position in other subsequent steps, and therefore, different adjustments can be made for different congestion situations, other nodes for data transmission are not affected, and the accuracy of controlling the network congestion is improved.
Referring to fig. 5, a flow chart of a fifth data sending rate adjustment method provided by the present invention is schematically illustrated, and is applied to a sending end, where the method includes the following steps S501 to S502.
S501, receiving the sending window value of the connection sent by the receiving end.
Wherein, the sending window value is: the maximum rate at which the sender sends data over the connection.
And S502, adjusting the sending rate of the data sent by the self through the connection according to the sending window value.
Specifically, after receiving the sending window value, the sending end may adjust its sending rate to the sending window value, or to any value smaller than the sending window value, so that the sending rate is smaller than or equal to the sending window value.
Therefore, the sending end receives the sending window value sent by the receiving end, and adjusts the sending rate of the data sent by the sending end to be less than or equal to the sending window value according to the sending window value, so that the sending rate of the sending end adapts to the requirements of the receiving end, and the purpose of adjusting the sending rate of the data is achieved.
Corresponding to the aforementioned method for adjusting data sending rate, an embodiment of the present invention further provides a system for adjusting data sending rate, where the system includes a sending end and a receiving end.
Referring to fig. 6, a schematic structural diagram of a data transmission rate adjustment system according to an embodiment of the present invention is shown, where the system includes a receiving end 601 and a transmitting end 602.
Referring to fig. 7, a flowchart of a sixth data sending rate adjustment method according to an embodiment of the present invention is shown. The method includes steps S701 to S705.
S701: when the receiving side 601 determines that a network congestion occurs in a connection between the transmitting side 602 and the receiving side 601, it determines a congestion position where the network congestion occurs in the connection.
Wherein, the connection is as follows: and a channel for transmitting data, which is created based on the physical link between the transmitting end and the receiving end.
S702: the receiving end 601 determines a calculation method of the transmission window value based on the congestion position.
S703: the receiving end 601 calculates the transmission window value based on the determined calculation method.
Wherein, the sending window value is: the maximum rate at which the sender sends data over the connection.
S704: the receiving end 601 transmits the transmission window value to the transmitting end 602.
S705: the sending end 602 adjusts the sending rate of sending data through the connection according to the sending window value.
It can be seen from the above that, after determining that the network congestion occurs in the connection, the receiving end determines the location where the network congestion occurs, then calculates the maximum rate of sending data through the connection, that is, the sending window value, by the sending end according to different locations by using different calculation methods, and then sends the calculated sending window value to the sending end, so that the sending end can adjust the sending rate of sending data through the connection to be lower than the sending window value based on the sending window value, thereby realizing the adjustment of the sending rate of the sending end. When the receiving end determines the sending window value, the calculation mode of the sending window value can be adjusted and calculated based on the actual position of the occurrence of network congestion, so that the calculated sending window value is matched with the actual network congestion situation, the accuracy of the calculation result of the sending window value is high, and the adjustment result of the sending rate of the sending end is adjusted based on the sending window value with high accuracy is accurate.
In an embodiment of the present invention, when a congestion position where network congestion occurs is an in-network device other than a receiving end in connection, the receiving end 601 is specifically configured to:
obtaining a one-way time delay of a connection, wherein the one-way time delay is as follows: time required for data to be sent from a sending end to a receiving end;
calculating to obtain a difference value between the one-way time delay and a first preset time delay;
calculating a control factor representing a network congestion condition of the connection based on the difference;
and adjusting the original sending window value based on the control factor, and calculating to obtain a new sending window value.
As can be seen from the above, when it is determined that the congestion position is a position in the network other than the receiving end, the control factor is calculated based on the one-way delay, and then the transmission window value is calculated based on the control factor. The one-way time delay represents the transmission time length of data in a physical link, so the one-way time delay can reflect the network congestion situation of the position in the network, and the sending window value obtained based on the one-way time delay is matched with the network congestion occurring at the position in the network, so the sending window value obtained by calculation is more accurate.
In an embodiment of the present invention, when a congestion position where network congestion occurs is a receiving end in the connection, the receiving end 601 is specifically configured to:
counting a first data amount of data being transmitted in the connection;
and calculating a sending window value according to the first bandwidth and the first data volume of the receiving end.
As can be seen from the above, after it is determined that the congestion position is the receiving end, the occurrence of network congestion at the receiving end may be caused by the fact that the receiving end is difficult to completely receive the data sent by the sending end, and at this time, the connection may include a large amount of data that is not received by the receiving end, that is, the first data amount is large. In this embodiment, the sending window value is calculated based on the first bandwidth and the first data amount, the first bandwidth of the data received by the receiving end is considered, and the problem that the first data amount is large when the congestion position is the receiving end is considered, the calculated sending window value is matched with the congestion position when the receiving end is the congestion position, and the calculated sending window value is accurate.
In an embodiment of the present invention, the receiving end 601 is specifically configured to:
counting a second data volume of the data received by the receiving end through the connection within a preset basic time;
determining a first bandwidth of a receiving end in a connection;
and determining the congestion position of the network congestion in the connection according to the second data volume, the first bandwidth and the basic time length.
As can be seen from the above, the congestion position where the network congestion occurs in the connection is determined by the second data volume, the first bandwidth and the basic time length, so that the calculation manner of the sending window of the sending end is determined according to the congestion position in other subsequent steps, and therefore, different adjustments can be made for different congestion situations, other nodes for data transmission are not affected, and the accuracy of controlling the network congestion is improved.
In an embodiment of the present invention, the receiving end 601 is specifically configured to determine whether the connection has network congestion by:
continuously obtaining the one-way time delay of the connection;
and if the unidirectional time delays obtained for a plurality of continuous preset times are all larger than a second preset time delay, determining that the network congestion occurs in the connection.
As can be seen from the above, a connection may transmit a large amount of data in a short time, and the large amount of data consumes a large amount of transmission resources of a network device in the connection in a short time, or is affected by network fluctuation, resulting in a long one-way delay of the connection in a short time. In the above case, although the one-way delay is excessively large in a short time, network congestion does not actually occur, and the one-way delay of the connection naturally decreases after a while. Therefore, if the unidirectional time delay is determined to be larger than the second preset time delay, the judgment error may be caused by directly judging that the network congestion occurs in the connection. In the embodiment of the invention, when the one-way time delay obtained for a plurality of continuous preset times is larger than the second preset time delay, namely the one-way time delay is larger in a longer time, the connection is determined to generate network congestion, and the accuracy of the scheme for judging the network congestion is improved.
Corresponding to the aforementioned method for adjusting the data sending rate applied to the receiving end, the embodiment of the present invention further provides a device for adjusting the data sending rate applied to the receiving end.
Referring to fig. 8, an embodiment of the present invention provides a schematic structural diagram of a first data sending rate adjusting apparatus, where the apparatus includes:
a congestion position determining module 801, configured to determine, when it is determined that a network congestion occurs in a connection between a sending end and a receiving end, a congestion position where the network congestion occurs in the connection;
wherein, the connection is as follows: a channel for transmitting data created based on a physical link between a transmitting end and a receiving end;
a calculation mode determination module 802, configured to determine a calculation mode of the sending window value based on the congestion position;
wherein, the sending window value is: the maximum rate of data transmission by the transmitting end through connection;
a window value calculation module 803, configured to calculate a sending window value based on the determined calculation manner;
a window value sending module 804, configured to send a sending window value to the sending end, so that the sending end adjusts, based on the sending window value, a sending rate at which the sending end sends data through the connection.
As can be seen from the above, in the embodiment of the present invention, after determining that network congestion occurs in a connection, a receiving end determines a location where the network congestion occurs, calculates a maximum rate, that is, a sending window value, at which a sending end sends data through the connection according to different locations by using different calculation methods, and sends the calculated sending window value to the sending end, so that the sending end can adjust the sending rate, at which the sending end sends data through the connection, to be lower than the sending window value based on the sending window value, thereby adjusting the sending rate of the sending end. When the receiving end determines the sending window value, the calculation mode of the sending window value can be adjusted and calculated based on the actual position of the occurrence of network congestion, so that the calculated sending window value is matched with the actual network congestion situation, the accuracy of the calculation result of the sending window value is high, and the adjustment result of the sending rate of the sending end is adjusted based on the sending window value with high accuracy is accurate.
In an embodiment of the present invention, in a case that a congestion position where network congestion occurs is an in-network device other than a receiving end in a connection, the window value calculating module 803 is specifically configured to:
obtaining a one-way time delay of the connection, where the one-way time delay is: time required for data to be sent from a sending end to a receiving end;
calculating to obtain a difference value between the one-way time delay and a first preset time delay;
calculating a control factor representing a network congestion condition of the connection based on the difference;
and adjusting the original sending window value based on the control factor, and calculating to obtain a new sending window value.
As can be seen from the above, when it is determined that the congestion position is a position in the network other than the receiving end, the control factor is calculated based on the one-way delay, and then the transmission window value is calculated based on the control factor. The one-way time delay represents the transmission time length of data in a physical link, so the one-way time delay can reflect the network congestion situation of the position in the network, and the sending window value obtained based on the one-way time delay is matched with the network congestion occurring at the position in the network, so the sending window value obtained by calculation is more accurate.
In an embodiment of the present invention, when the congestion position where the network congestion occurs is a receiving end in the connection, the window value calculating module 803 is specifically configured to:
counting a first data amount of data being transmitted in the connection;
and calculating a sending window value according to the first bandwidth and the first data volume of the receiving end.
As can be seen from the above, after it is determined that the congestion position is the receiving end, the occurrence of network congestion at the receiving end may be caused by the fact that the receiving end is difficult to completely receive the data sent by the sending end, and at this time, the connection may include a large amount of data that is not received by the receiving end, that is, the first data amount is large. In this embodiment, the sending window value is calculated based on the first bandwidth and the first data amount, the first bandwidth of the data received by the receiving end is considered, and the problem that the first data amount is large when the congestion position is the receiving end is considered, the calculated sending window value is matched with the congestion position when the receiving end is the congestion position, and the calculated sending window value is accurate.
In an embodiment of the present invention, the congestion position determining module 801 is specifically configured to, when determining that a network congestion occurs in a connection between a sending end and a receiving end:
counting a second data volume of the data received by the receiving end through the connection within a preset basic time;
determining a first bandwidth of a receiving end in a connection;
and determining the congestion position of the network congestion in the connection according to the second data volume, the first bandwidth and the basic time length.
As can be seen from the above, the congestion position where the network congestion occurs in the connection is determined by the second data volume, the first bandwidth and the basic time length, so that the calculation manner of the sending window of the sending end is determined according to the congestion position in other subsequent steps, and therefore, different adjustments can be made for different congestion situations, other nodes for data transmission are not affected, and the accuracy of controlling the network congestion is improved.
In an embodiment of the present invention, the apparatus further includes a congestion determining module, specifically configured to determine whether the connection is congested in a network by:
continuously obtaining the one-way time delay of the connection;
and if the unidirectional time delays obtained for a plurality of continuous preset times are all larger than a second preset time delay, determining that the network congestion occurs in the connection.
As can be seen from the above, a connection may transmit a large amount of data in a short time, and the large amount of data consumes a large amount of transmission resources of a network device in the connection in a short time, or is affected by network fluctuation, resulting in a long one-way delay of the connection in a short time. In the above case, although the one-way delay is excessively large in a short time, network congestion does not actually occur, and the one-way delay of the connection naturally decreases after a while. Therefore, if the unidirectional time delay is determined to be larger than the second preset time delay, the judgment error may be caused by directly judging that the network congestion occurs in the connection. In the embodiment of the invention, when the one-way time delay obtained for a plurality of continuous preset times is larger than the second preset time delay, namely the one-way time delay is larger in a longer time, the connection is determined to generate network congestion, and the accuracy of the scheme for judging the network congestion is improved.
Corresponding to the aforementioned method for adjusting the data sending rate applied to the sending end, the embodiment of the present invention further provides a device for adjusting the data sending rate applied to the sending end.
Referring to fig. 9, a schematic structural diagram of a second data sending rate adjusting apparatus according to an embodiment of the present invention is provided, where the apparatus includes:
a window value receiving module 901, configured to receive a sending window value sent by a receiving end, where the sending window value is: the maximum rate at which the sender sends data over the connection;
a sending rate adjusting module 902, configured to adjust a sending rate at which the sending window sends data through the connection according to the sending window value.
Therefore, the sending end receives the sending window value sent by the receiving end, and adjusts the sending rate of the data sent by the sending end to be less than or equal to the sending window value according to the sending window value, so that the sending rate of the sending end adapts to the requirements of the receiving end, and the purpose of adjusting the sending rate of the data is achieved.
Referring to fig. 10, a schematic structural diagram of an electronic device according to an embodiment of the present invention is provided
Comprises a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002 and the memory 1003 are communicated with each other through the communication bus 1004,
a memory 1003 for storing a computer program;
the processor 1001 is configured to implement any of the above-described method steps of the data transmission rate adjustment method applied to the receiving end when executing the program stored in the memory 1003.
When the electronic equipment provided by the embodiment of the invention is applied to adjust the data sending rate, after the receiving end determines that the network congestion occurs in the connection, the receiving end firstly determines the position where the network congestion occurs, then calculates the maximum rate of sending data through the connection, namely the sending window value, of the sending end by adopting different calculation modes according to different positions, and then sends the calculated sending window value to the sending end, so that the sending end can adjust the sending rate of sending data through the connection to be lower than the sending window value based on the sending window value, and the adjustment of the sending rate of the sending end is realized. When the receiving end determines the sending window value, the calculation mode of the sending window value can be adjusted and calculated based on the actual position of the occurrence of network congestion, so that the calculated sending window value is matched with the actual network congestion situation, the accuracy of the calculation result of the sending window value is high, and the adjustment result of the sending rate of the sending end is adjusted based on the sending window value with high accuracy is accurate.
Fig. 11 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Comprises a processor 1101, a communication interface 1102, a memory 1103 and a communication bus 1104, wherein the processor 1101, the communication interface 1102 and the memory 1103 are communicated with each other through the communication bus 1104,
a memory 1103 for storing a computer program;
the processor 1101 is configured to implement any of the above-described method steps of the data transmission rate adjustment method applied to the transmitting end when executing the program stored in the memory 1103.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
An embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements any one of the method steps of the above-mentioned data transmission rate adjustment method applied to a receiving end.
When a computer program stored in a computer-readable storage medium provided in an embodiment of the present invention is used to adjust a data transmission rate, a congestion position where network congestion occurs in a connection is determined when it is determined that the network congestion occurs in the connection between a sending end and a receiving end, where the connection is: determining a calculation mode of a sending window value based on a channel which is created on the basis of a physical link between a sending end and a receiving end and is used for transmitting data and a congestion position, wherein the sending window value is as follows: and the sending end calculates a sending window value based on the determined calculation mode according to the maximum rate of the data sent by the connection, and sends the sending window value to the sending end, so that the sending end adjusts the sending rate of the data sent by the sending end through the connection based on the sending window value.
An embodiment of the present invention provides another computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements any of the method steps of the above-mentioned data transmission rate adjustment method applied to a transmitting end.
When a computer program stored in a computer-readable storage medium provided in an embodiment of the present invention is used to adjust a data transmission rate, a congestion position where network congestion occurs in a connection is determined when it is determined that the network congestion occurs in the connection between a sending end and a receiving end, where the connection is: determining a calculation mode of a sending window value based on a channel which is created on the basis of a physical link between a sending end and a receiving end and is used for transmitting data and a congestion position, wherein the sending window value is as follows: and the sending end calculates a sending window value based on the determined calculation mode according to the maximum rate of the data sent by the connection, and sends the sending window value to the sending end, so that the sending end adjusts the sending rate of the data sent by the sending end through the connection based on the sending window value.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
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. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system, the apparatus, the electronic device, the computer-readable storage medium, and the computer program product are substantially similar to the method embodiments, so that the description is simple, and the relevant points can be referred to only part of the description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method for adjusting data transmission rate, which is applied to a receiving end, the method comprising:
under the condition that the network congestion of the connection between a sending end and a receiving end is determined, determining the congestion position of the network congestion in the connection, wherein the connection is as follows: a channel for transmitting data, created based on a physical link between the transmitting end and the receiving end;
determining a calculation mode of a sending window value based on the congestion position, wherein the sending window value is as follows: the maximum rate at which the sender sends data over the connection;
calculating a transmission window value based on the determined calculation manner;
and sending the sending window value to the sending end so that the sending end adjusts the sending rate of sending data through the connection based on the sending window value.
2. The method of claim 1, wherein in the case that the congestion location where the network congestion occurs is a location in the network other than the receiving end in the connection, the calculating a value of the send window based on the determined calculation manner comprises:
obtaining a one-way time delay of a connection, wherein the one-way time delay is as follows: time required for data to be sent from a sending end to a receiving end;
calculating to obtain a difference value between the one-way time delay and a first preset time delay;
calculating a control factor representing a network congestion condition of the connection based on the difference;
and adjusting the original sending window value based on the control factor, and calculating to obtain a new sending window value.
3. The method of claim 1, wherein in a case that a congestion location where network congestion occurs is a receiving end in the connection, the calculating a sending window value based on the determined calculation manner comprises:
counting a first data amount of data being transmitted in the connection;
and calculating a sending window value according to the first bandwidth and the first data volume of the receiving end.
4. The method of claim 1, wherein the determining a congestion location of the connection where network congestion occurs comprises:
counting a second data volume of the data received by the receiving end through the connection within a preset basic time;
determining a first bandwidth of a receiving end in a connection;
and determining the congestion position of the network congestion in the connection according to the second data volume, the first bandwidth and the basic time length.
5. The method according to any of claims 1-4, wherein determining whether the connection is congested is performed by:
continuously obtaining the one-way time delay of the connection;
and if the unidirectional time delays obtained for a plurality of continuous preset times are all larger than a second preset time delay, determining that the network congestion occurs in the connection.
6. A data sending rate adjusting method is applied to a sending end, and comprises the following steps:
receiving a sending window value of a connection sent by a receiving end, wherein the sending window value is as follows: the maximum rate at which the sender sends data over the connection;
and adjusting the sending rate of sending data through the connection according to the sending window value.
7. A data transmission rate adjustment system, comprising: a sending end and a receiving end;
the receiving end is used for determining the congestion position of the network congestion in the connection under the condition that the network congestion of the connection between the sending end and the receiving end is determined; determining a calculation mode of a sending window value based on the congestion position; calculating a transmission window value based on the determined calculation manner; sending the sending window value to the sending end; wherein the connection is: a channel for transmitting data, which is created based on a physical link between the transmitting end and the receiving end, where the value of the transmission window is: the maximum rate at which the sender sends data over the connection;
and the sending end is used for adjusting the sending rate of sending data through the connection according to the sending window value.
8. A data transmission rate adjustment apparatus, applied to a receiving end, the apparatus comprising:
a congestion position determining module, configured to determine, when it is determined that network congestion occurs in a connection between a sending end and a receiving end, a congestion position where the network congestion occurs in the connection, where the connection is: a channel for transmitting data, created based on a physical link between the transmitting end and the receiving end;
a calculation mode determination module, configured to determine a calculation mode of a sending window value based on the congestion position, where the sending window value is: the maximum rate at which the sender sends data over the connection;
a window value calculation module for calculating a send window value based on the determined calculation mode;
and the window value sending module is used for sending the sending window value to the sending end so that the sending end adjusts the sending rate of sending data through the connection based on the sending window value.
9. A data transmission rate adjustment apparatus, applied to a transmitting end, the apparatus comprising:
a window value receiving module, configured to receive a connected sending window value sent by a receiving end, where the sending window value is: the maximum rate at which the sender sends data over the connection;
and the sending rate adjusting module is used for adjusting the sending rate of the data sent by the sending window through the connection according to the sending window value.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method of any one of claims 1 to 5 or 6 when executing a program stored in a memory.
CN202111331449.2A 2021-11-11 2021-11-11 Method, system and device for adjusting data sending rate Pending CN114095126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111331449.2A CN114095126A (en) 2021-11-11 2021-11-11 Method, system and device for adjusting data sending rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111331449.2A CN114095126A (en) 2021-11-11 2021-11-11 Method, system and device for adjusting data sending rate

Publications (1)

Publication Number Publication Date
CN114095126A true CN114095126A (en) 2022-02-25

Family

ID=80299941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111331449.2A Pending CN114095126A (en) 2021-11-11 2021-11-11 Method, system and device for adjusting data sending rate

Country Status (1)

Country Link
CN (1) CN114095126A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115665059A (en) * 2022-11-17 2023-01-31 北京润泽云溪科技有限公司 Data transmission hierarchical storage system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014086154A1 (en) * 2012-12-06 2014-06-12 惠州Tcl移动通信有限公司 Traffic control method for near-field communication software stack logic link layer
WO2017161566A1 (en) * 2016-03-25 2017-09-28 华为技术有限公司 Congestion control method, apparatus, and related device
CN113329413A (en) * 2021-04-15 2021-08-31 清华大学 Multipath transmission data pre-scheduling method and system for high-speed rail scene
CN113438181A (en) * 2021-08-26 2021-09-24 北京邮电大学 Network congestion control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014086154A1 (en) * 2012-12-06 2014-06-12 惠州Tcl移动通信有限公司 Traffic control method for near-field communication software stack logic link layer
WO2017161566A1 (en) * 2016-03-25 2017-09-28 华为技术有限公司 Congestion control method, apparatus, and related device
CN113329413A (en) * 2021-04-15 2021-08-31 清华大学 Multipath transmission data pre-scheduling method and system for high-speed rail scene
CN113438181A (en) * 2021-08-26 2021-09-24 北京邮电大学 Network congestion control method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115665059A (en) * 2022-11-17 2023-01-31 北京润泽云溪科技有限公司 Data transmission hierarchical storage system
CN115665059B (en) * 2022-11-17 2023-02-28 北京润泽云溪科技有限公司 Data transmission hierarchical storage system

Similar Documents

Publication Publication Date Title
US8493859B2 (en) Method and apparatus for adaptive bandwidth control with a bandwidth guarantee
US9985908B2 (en) Adaptive bandwidth control with defined priorities for different networks
US7474614B2 (en) Method and apparatus for adaptive bandwidth control with user settings
US11558302B2 (en) Data transmission method and apparatus
CN106301684B (en) Media data transmission method and device
US10594568B2 (en) Method and apparatus for measuring a data transmission speed, device and computer readable medium
CN107624232B (en) Apparatus and method for controlling downlink throughput in communication system
US20080212480A1 (en) Communication terminal which perform low-delay communication by using a broadband line
WO2017000719A1 (en) Congestion control method and device based on queue delay
Gao et al. A state feedback control approach to stabilizing queues for ECN-enabled TCP connections
CN110677355A (en) Packet loss coping method and device, electronic equipment and storage medium
JP4402619B2 (en) Multicast communication flow control method and apparatus
CN114157603A (en) Congestion control method, device, equipment and storage medium
CN113014505B (en) Transmission control method for time delay differentiation in high dynamic topology satellite network
CN114095126A (en) Method, system and device for adjusting data sending rate
US11115308B2 (en) System and method for congestion control using time difference congestion notification
Jamali et al. An improvement over random early detection algorithm: a self-tuning approach
Abdel-Jaber et al. Random early dynamic detection approach for congestion control
CN112019443B (en) Multipath data transmission method and device
CN109039900B (en) Method and device for sending stop signal of credit packet
Santhi et al. Active Queue Management Algorithm for TCP Networks Congestion Control
CN116527585B (en) Congestion control method for stream length perception
CN117692396B (en) TCP unilateral acceleration method and device in complex network environment
US11824792B2 (en) Method and system for dynamic quota-based congestion management
US20230254229A1 (en) Network delay estimation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220225