BBRv3 congestion control algorithm window adjustment optimization method and related device
By analyzing round-trip delay data and status turning points, the BBRv3 congestion control algorithm window is optimized, which solves the problem of BBRv3 overreacting in the face of random packet loss and improves network stability and data transmission efficiency.
Patent Information
- Application Number
- CN202410906222.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-11
AI Technical Summary
BBRv3 reacts too violently when faced with random packet loss, which may lead to a decrease in network stability and may be mistaken for network congestion, thereby reducing the sending rate, network utilization and data transmission efficiency.
By determining the round-trip delay data of the current and previous rounds, calculating the deterministic smooth running length data, judging the status turning point, determining the network status information, adjusting the network window to handle packet loss, and optimizing the congestion control algorithm.
It improves data transmission performance, avoids reduced network utilization and transmission efficiency due to misjudgment of congestion, and enhances network stability.
Smart Images

Figure CN118764434A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of TCP congestion control, and in particular to an optimization method and related device for adjusting the window of a BBRv3 congestion control algorithm. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the disclosure that are recited in the claims. No description herein is admitted to be prior art by inclusion in this section.
[0003] BBR dynamically adjusts the sending rate by measuring the network's bandwidth and round-trip time to achieve the goal of maximizing throughput and minimizing latency. BBRv3 implements a friendly congestion control mechanism through hard response to packet loss and a longer bandwidth detection cycle, and reduces the probability of packet retransmission.
[0004] However, BBRv3 reacts too violently to packet loss, which may cause the network stability to decrease. When random packet loss occurs in the network, BBRv3 will mistakenly believe that it is network congestion and reduce the sending rate, which may reduce the utilization of the network and affect the data transmission efficiency. Summary of the invention
[0005] In view of this, the purpose of the present disclosure is to propose an optimization method and related device for window adjustment of the BBRv3 congestion control algorithm, so as to at least solve one of the technical problems in the related technology to a certain extent.
[0006] Based on the above purpose, the first aspect of the exemplary embodiment of the present disclosure provides an optimization method for adjusting the window of the BBRv3 congestion control algorithm, the method comprising:
[0007] Determine the round trip delay data of the current round, and obtain the first deterministic stable running length data based on the round trip delay data of the current round;
[0008] Determine the round trip delay data of the previous round, and obtain the second deterministic stable running length data based on the round trip delay data of the previous round;
[0009] Based on the first deterministic stable running length data and the second deterministic stable running length data, obtaining state turning point data;
[0010] Determine initialization network state information, and obtain current network state information based on the initialization network state information and the state turning point data;
[0011] Determine current transmission phase information, and obtain path parameter data based on the current transmission phase information and the current network status information; the path parameter data is used to adjust the network window.
[0012] Based on the same inventive concept, the second aspect of the exemplary embodiment of the present disclosure provides an optimization device for adjusting the window of a BBRv3 congestion control algorithm, including:
[0013] A first length determination module is configured to determine the round trip delay data of the current round, and obtain first deterministic stable running length data based on the round trip delay data of the current round;
[0014] A second length determination module is configured to determine the round trip delay data of the previous round, and obtain second deterministic stable running length data based on the round trip delay data of the previous round;
[0015] A turning point determination module, configured to obtain state turning point data based on the first deterministic stable running length data and the second deterministic stable running length data;
[0016] A network state determination module is configured to determine initialization network state information, and obtain current network state information based on the initialization network state information and the state turning point data;
[0017] The path parameter determination module is configured to determine the current transmission phase information, and obtain path parameter data based on the current transmission phase information and the current network status information; the path parameter data is used to adjust the network window.
[0018] Based on the same inventive concept, a third aspect of the exemplary embodiment of the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the first aspect is implemented.
[0019] Based on the same inventive concept, a fourth aspect of the exemplary embodiments of the present disclosure provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method described in the first aspect.
[0020] Based on the same inventive concept, a fifth aspect of the exemplary embodiments of the present disclosure provides a computer program product, including computer program instructions. When the computer program instructions are executed on a computer, the computer executes the method described in the first aspect.
[0021] From the above, it can be seen that the embodiments of the present disclosure provide for determining the round-trip delay data of the current round, obtaining the first deterministic smooth running length data based on the round-trip delay data of the current round, determining the round-trip delay data of the previous round, obtaining the second deterministic smooth running length data based on the round-trip delay data of the previous round, obtaining the state turning point data based on the first deterministic smooth running length data and the second deterministic smooth running length data, determining the initialization network state information, obtaining the current network state information based on the initialization network state information and the state turning point data, determining the current transmission stage information, obtaining the path parameter data based on the current transmission stage information and the current network state information, and the path parameter data is used to adjust the network window. The present disclosure determines whether the network state at the current moment has changed through state turning point analysis, determines the network state at the current moment by whether the network state has changed, and determines how to adjust the network window to handle packet loss based on the current network state to achieve optimal data transmission performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 A schematic diagram of an application scenario of the optimization method for adjusting the window of the BBRv3 congestion control algorithm provided in an embodiment of the present disclosure;
[0024] Figure 2 A flow chart of an optimization method for adjusting the window of a BBRv3 congestion control algorithm provided in an embodiment of the present disclosure;
[0025] Figure 3 A structural schematic diagram of a method for optimizing window adjustment of a BBRv3 congestion control algorithm provided in an embodiment of the present disclosure;
[0026] Figure 4 A schematic diagram of the hardware structure of an electronic device according to an embodiment of the present disclosure;
[0027] Figure 5 A schematic diagram showing the throughput comparison between the optimized method for adjusting the window of the BBRv3 congestion control algorithm (aBBR) provided in the embodiment of the present disclosure and the Cubic algorithm and the BBRv3 algorithm;
[0028] Figure 6A schematic diagram comparing the retransmission rates of the optimized method for window adjustment of the BBRv3 congestion control algorithm (aBBR) provided in an embodiment of the present disclosure and the Cubic algorithm and the BBRv3 algorithm. DETAILED DESCRIPTION
[0029] It is understandable that before using the technical solutions disclosed in the embodiments of this application, the type, scope of use, usage scenarios, etc. of the personal information involved in this application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0030] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present application according to the prompt message.
[0031] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0032] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation method of the present application. Other methods that meet relevant laws and regulations may also be applied to the implementation method of the present application.
[0033] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0034] In order to make the purpose, technical solutions and advantages of the present disclosure more clear, the principles and spirit of the present disclosure will be described with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0035] It should be understood herein that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction rather than having any limiting meaning.
[0036] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connecting" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly. The article "one" or "a" before an element does not exclude the existence of multiple such elements.
[0037] The principle and spirit of the present disclosure are explained in detail below with reference to several representative embodiments of the present disclosure.
[0038] As described in the background technology, BBRv3 reacts too violently when faced with packet loss, which may cause the stability of the network to decrease. When random packet loss occurs in the network, BBRv3 will mistake it for network congestion, thereby reducing the sending rate, which may reduce the utilization of the network and affect the data transmission efficiency. Specifically:
[0039] The inventors of the present disclosure have found that BBRv3 reacts too violently when facing packet loss, which may cause the stability of the network to decrease. With the rapid development of wireless network technologies such as 5G, the network environment is becoming more and more complex. In this complex network environment, random packet loss and congestion packet loss have become the norm. In particular, random packet loss is a common problem that may occur for various reasons, such as signal interference, hardware failure, etc. When random packet loss occurs in the network, BBRv3 will mistake it for network congestion, thereby reducing the sending rate, which may cause the utilization of the network to decrease and affect the transmission efficiency of data. Although BBRv3 performs well in some cases, such as reducing the packet retransmission rate and slightly improving latency, its overly sensitive reaction in the face of random packet loss may still cause network performance to decrease. In addition, there are many reasons for random packet loss, including too long processing time at the receiving end, device cache overflow, traffic bursts, etc. These factors may cause packet loss in the network without actual congestion, thereby triggering the speed reduction mechanism of BBRv3, further reducing network utilization and transmission efficiency.
[0040] In order to solve the above problems, the present disclosure provides a BBRv3 congestion control algorithm window adjustment optimization method and related device solutions, specifically including:
[0041] Determine the round-trip delay data of the current round, obtain the first deterministic smooth running length data based on the round-trip delay data of the current round, determine the round-trip delay data of the previous round, obtain the second deterministic smooth running length data based on the round-trip delay data of the previous round, obtain the state turning point data based on the first deterministic smooth running length data and the second deterministic smooth running length data, determine the initialization network state information, obtain the current network state information based on the initialization network state information and the state turning point data, determine the current transmission stage information, obtain the path parameter data based on the current transmission stage information and the current network state information, and the path parameter data is used to adjust the network window. The benefit of this solution is to determine whether the network state at the current moment has changed through state turning point analysis, determine the network state at the current moment by whether the network state has changed, and decide how to adjust the network window to handle packet loss based on the current network state to achieve the best data transmission performance.
[0042] After introducing the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below.
[0043] refer to Figure 1 , which is a schematic diagram of an application scenario of the optimization method for window adjustment of the BBRv3 congestion control algorithm provided by an exemplary embodiment of the present disclosure.
[0044] This application scenario includes a terminal device 101 and a server 102, wherein the terminal device 101 and the server 102 can be connected via a wired or wireless communication network to achieve data interaction.
[0045] The terminal device 101 may be an electronic device with data transmission and multimedia input / output functions close to the user side, including but not limited to a desktop computer, a mobile phone, a mobile computer, a tablet computer, a media player, a smart wearable device, a personal digital assistant (PDA) or other electronic devices capable of realizing the above functions. The electronic device may include a processor and a display screen with a touch input function, the display screen is used to present a graphical user interface, the graphical user interface can display an application interface, and the processor is used to process application data, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0046] Server 102 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.
[0047] In some exemplary embodiments, the optimization method for adjusting the window of the BBRv3 congestion control algorithm may be run on the terminal device 101 or the server 102 .
[0048] When the optimization method for adjusting the window of the BBRv3 congestion control algorithm runs on the server 102 , the server 102 is used to provide the optimization service for adjusting the window of the BBRv3 congestion control algorithm to the user of the terminal device 101 .
[0049] The server 102 determines the round trip delay data of the current round, and the server 102 obtains the first deterministic stable running length data based on the round trip delay data of the current round;
[0050] The server 102 determines the round trip delay data of the previous round, and the server 102 obtains the second deterministic stable running length data based on the round trip delay data of the previous round;
[0051] The server 102 obtains state turning point data based on the first deterministic stable running length data and the second deterministic stable running length data;
[0052] The server 102 determines the initialization network state information, and the server 102 obtains the current network state information based on the initialization network state information and the state turning point data;
[0053] The server 102 determines the current transmission phase information, and based on the current transmission phase information and the current network status information, the server 102 obtains path parameter data; the path parameter data is used to adjust the network window.
[0054] refer to Figure 2 , an optimization method for window adjustment of a BBRv3 congestion control algorithm, applied to a server, the method comprising the following steps:
[0055] Step S210: determine the round trip delay data of the current round, and obtain first deterministic stable running length data based on the round trip delay data of the current round.
[0056] Next, we will first introduce the round-trip delay data:
[0057] Round-trip time (RTT) refers to the time it takes for data to travel from the sender to the receiver and back to the sender. It is an important performance indicator in computer networks and is often used to measure network latency.
[0058] In the above exemplary embodiment, round trip delay data is introduced. The following describes a method for obtaining the first deterministic stable running length data based on the current round round delay data:
[0059] In this exemplary embodiment, obtaining the first deterministic stable running length data based on the current round round delay data includes:
[0060] Determine the round-trip delay data of the current round, obtain the first minimum transmission delay data of the round-trip delay data of the current round based on the round-trip delay data, obtain first a priori parameter data based on the first minimum transmission delay data, iteratively calculate the first a priori parameter data to obtain first a posteriori probability data, determine the first cumulative stable run length data of the current round round-trip delay data, iteratively calculate the first a posteriori probability data and the first cumulative stable run length data to obtain first joint probability density data, obtain second a posteriori probability data based on the first joint probability density data, and obtain the first deterministic stable run length data based on the second a posteriori probability data.
[0061] In a specific implementation, obtaining the first minimum transmission delay data of the current round of round-trip delay data based on the current round of round-trip delay data includes:
[0062] The minimum transmission delay of the current round (i-th round) is calculated as follows:
[0063]
[0064] Among them, round i is the rtt set in the i-th RTT round, R i is the i-th RTT round i The minimum value in a collection.
[0065] In a specific implementation, obtaining first a priori parameter data based on the first minimum transmission delay data includes:
[0066] Introducing μ i0 , σ i0 Variables, initialize model parameters
[0067] μ i0 =RTprop,σ i0 =2;
[0068] RTprop is the minimum RTT of the entire connection phase maintained by the BBRv3 algorithm, and μi0 is R i Prior on the mean of the distribution of the mean in the prior distribution, σ i0 For R i The prior on the variance of the mean in the prior distribution.
[0069] In a specific implementation, the first a priori parameter data is iteratively calculated to obtain first a posteriori probability data, including:
[0070]
[0071] The update method is as follows:
[0072]
[0073]
[0074] Among them, σ i For R i Variance of the prior distribution, σ i =1, is the symbol of the Gaussian normal distribution, and its mean is The variance is
[0075] In a specific implementation, determining the first cumulative stable running length data of the current round of round-trip delay data, iteratively calculating the first posterior probability data and the first cumulative stable running length data, and obtaining the first joint probability density data, includes:
[0076] Define the cumulative stable running length of the i-th RTT round as C i , C i , R 1:i The joint probability density P(C i , R 1:i )The iterative calculation method is as follows:
[0077]
[0078] P(C i |C i-1 ) is as follows:
[0079]
[0080] Where P(C i0 =0, R io )=1,λ i =1 / 1000.
[0081] In a specific implementation, obtaining second posterior probability data based on the first joint probability density data includes:
[0082] Calculate C i The posterior probability P(C i = l i |R 1:i ):
[0083]
[0084] Among them, 0≤l i ≤i.
[0085] In a specific implementation, obtaining the first deterministic stable running length data based on the second posterior probability data includes:
[0086] Calculate the deterministic stable run length C(R i ):
[0087]
[0088] Step S220: Determine the round-trip delay data of the previous round, and obtain second deterministic stable running length data based on the round-trip delay data of the previous round.
[0089] Next, a method for obtaining the second deterministic stable running length data based on the round-trip delay data of the previous round will be introduced:
[0090] In this exemplary embodiment, obtaining the second deterministic stable running length data based on the round trip delay data of the previous round includes:
[0091] Determine the round-trip delay data of the previous round, obtain the second minimum transmission delay data of the previous round of round-trip delay data based on the previous round of round-trip delay data, obtain second a priori parameter data based on the second minimum transmission delay data, iteratively calculate the second a priori parameter data to obtain third a posteriori probability data, determine the second cumulative stable run length data of the previous round of round-trip delay data, iteratively calculate the third a posteriori probability data and the second cumulative stable run length data to obtain second joint probability density data, obtain fourth a posteriori probability data based on the second joint probability density data, and obtain the second deterministic stable run length data based on the fourth a posteriori probability data.
[0092] In a specific implementation, based on the round-trip delay data of the previous round, obtaining the second minimum transmission delay data of the round-trip delay data of the previous round includes:
[0093] The minimum transmission delay of the previous round (i-1th round) is calculated as follows:
[0094]
[0095] Among them, round i-1 is the rtt set in the i-1th RTT round, R i-1 For the i -1 RTT round i-1 The minimum value in a collection.
[0096] In a specific implementation, obtaining second a priori parameter data based on the second minimum transmission delay data includes:
[0097] Introducing μ i-10 , σ i-10 Variables, initialize model parameters
[0098] μ i-10 =RTprop,σ i-10 =2;
[0099] RTprop is the minimum RTT of the entire connection phase maintained by the BBRv3 algorithm, μ i-10 For R i-1 Prior on the mean of the distribution of the mean in the prior distribution, σ i-10 For R i-1 The variance prior for the mean of the prior distribution.
[0100] In a specific implementation, the second a priori parameter data is iteratively calculated to obtain third a posteriori probability data, including:
[0101]
[0102] The update method is as follows:
[0103]
[0104]
[0105] Among them, σ i-1 For R i-1 Variance of the prior distribution, σ i-1 =1, is the symbol of the Gaussian normal distribution, and its mean is The variance is
[0106] In a specific implementation, determining the second cumulative stable run length data of the previous round of round-trip delay data, iteratively calculating the third posterior probability data and the second cumulative stable run length data, and obtaining the second joint probability density data, includes:
[0107] Define the cumulative stable running length of the i-th RTT round as C i , C i , R 1:i The joint probability density P(C i ,R 1:i )The iterative calculation method is as follows:
[0108]
[0109] P(C i-1 |C i-2 ) is as follows:
[0110]
[0111] Where P(C i-10 =0,R i-10 )=1,λ i-1 =1 / 1000.
[0112] In a specific implementation, obtaining fourth posterior probability data based on the second joint probability density data includes:
[0113] Calculate C i The posterior probability P(C i-1 = l i-1 |R 1:i-1 ):
[0114]
[0115] Among them, 0≤l i-1 ≤i-1.
[0116] In a specific implementation, obtaining the second deterministic stationary running length data based on the fourth posterior probability data includes:
[0117] Calculate the deterministic stable run length C(R i-1 ):
[0118]
[0119] Step S230: Obtain state turning point data based on the first deterministic smooth run length data and the second deterministic smooth run length data.
[0120] Next, a method for obtaining state turning point data based on the first deterministic stable running length data and the second deterministic stable running length data will be introduced:
[0121] In this exemplary embodiment, based on the first deterministic stable running length data and the second deterministic stable running length data, the state turning point data is obtained, including:
[0122] Determine whether the first deterministic smooth running length data and the second deterministic smooth running length data are within a preset indicator value range. In response to the first deterministic smooth running length data and the second deterministic smooth running length data being within the preset indicator value range, use the first minimum transmission delay data as the state turning point data.
[0123] In a specific implementation, judging whether the first deterministic smooth running length data and the second deterministic smooth running length data are within a preset index value range, and in response to the first deterministic smooth running length data and the second deterministic smooth running length data being within the preset index value range, using the first minimum transmission delay data as the state turning point data, includes:
[0124] If C(R i )≤2 and C(R i-1 )>3, then R i is a state turning point, Noticeflag = 1, otherwise R i Not a state turning point, Noticeflag = 0.
[0125] Step S240: Determine the initialization network state information, and obtain the current network state information based on the initialization network state information and the state turning point data.
[0126] Next, we will introduce the initialization of network status information:
[0127] The initialized network status information includes: a good network status (emptying) and a network congested status (queuing).
[0128] In a specific implementation, the current network state information is obtained based on the initialization network state information and the state turning point data, including:
[0129] When Noticeflag = 1, when the i-th RTT round state is emptying, when R i >R i-1 When Noticeflag = 1, when the i-th RTT round state is queuing, when Ri <R i-1 When established, the current state is converted to emptying.
[0130] Step S250: determine the current transmission phase information, and obtain path parameter data based on the current transmission phase information and the current network status information; the path parameter data is used to adjust the network window.
[0131] Below, the current transmission stage information is introduced:
[0132] The current transmission phase information includes: cruise phase information or non-cruise phase information.
[0133] In the above exemplary embodiment, the current transmission phase information is introduced. The following will introduce determining the current transmission phase information and obtaining the path parameter data based on the current transmission phase information and the current network status information:
[0134] In this exemplary embodiment, determining the current transmission phase information, and obtaining the path parameter data based on the current transmission phase information and the current network state information, includes:
[0135] Determine the cruise phase information, and obtain the path parameter data based on the cruise phase information and the current network status information, or determine the non-cruise phase information, and obtain the path parameter data based on the non-cruise phase information and the current network status information.
[0136] In the above exemplary embodiment, a method of determining the current transmission phase information and obtaining the path parameter data based on the current transmission phase information and the current network status information is introduced. The following will introduce a method of determining the cruise phase information and obtaining the path parameter data based on the cruise phase information and the current network status information:
[0137] In this exemplary embodiment, determining the cruise phase information, and obtaining the path parameter data based on the cruise phase information and the current network status information, includes:
[0138] Determine maximum bottleneck bandwidth information, use the maximum bottleneck bandwidth information as first path parameter data, determine maximum in-transit flight data volume information, and use the maximum in-transit flight data volume information as second path parameter data.
[0139] In a specific implementation, determining the maximum bottleneck bandwidth information, using the maximum bottleneck bandwidth information as the first path parameter data, determining the maximum in-transit flight data volume information, and using the maximum in-transit flight data volume information as the second path parameter data, includes:
[0140] If statecurr =emptying and BBRv3 is in the Cruise phase, then bw_lo and inflight_lo are updated as follows:
[0141] bw_lo = maxBW;
[0142] inflight_lo=swnd;
[0143] bw_lo and inflight_lo are the path parameters of BBRv3. curr =emptying is the current network status information, Cruise phase is the cruising phase, maxBW is the maximum bottleneck bandwidth measured recently, and swnd is the maximum amount of in-flight data measured recently. Both values are provided by the BBRv3 algorithm.
[0144] In the above exemplary embodiment, it is introduced that the cruise phase information is determined, and the path parameter data is obtained based on the cruise phase information and the current network status information. The following will introduce a method for determining the non-cruise phase information and obtaining the path parameter data based on the non-cruise phase information and the current network status information:
[0145] In this example embodiment, determining the non-cruise phase information, and obtaining the path parameter data based on the non-cruise phase information and the current network state information, includes:
[0146] Determine preset coefficient data, use the product of the preset coefficient data and the maximum bottleneck bandwidth information as the first path parameter data, and use the product of the preset coefficient data and the maximum in-flight data volume information as the second path parameter data.
[0147] In a specific implementation, the preset coefficient data is determined, and the product of the preset coefficient data and the maximum bottleneck bandwidth information is used as the first path parameter data, and the product of the preset coefficient data and the maximum in-transit flight data volume information is used as the second path parameter data, including:
[0148] If state curr = emptying and BBRv3 is in the Cruise phase, both are not true, then bw_lo and inflight_lo are updated as follows:
[0149] bw_lo = 0.7*maxBW;
[0150] inflight_lo=0.7*swnd;
[0151] bw_lo and inflight_lo are the path parameters of BBRv3. curr =emptying is the current network status information, Cruise phase is the cruising phase, 0.7 is a manually preset parameter, maxBW is the maximum bottleneck bandwidth measured recently, and swnd is the maximum amount of in-flight data measured recently. Both values are provided by the BBRv3 algorithm.
[0152] In this exemplary embodiment, the path parameter data includes: the second path parameter data and the second path parameter data.
[0153] As a specific example, see Figure 5 , the throughput of the optimized method (aBBR) for window adjustment of the BBRv3 congestion control algorithm disclosed in the present invention is compared with that of the Cubic algorithm and the BBRv3 algorithm.
[0154] As a specific example, see Figure 6 , the retransmission rate of the optimized method (aBBR) for window adjustment of the BBRv3 congestion control algorithm disclosed in the present invention is compared with that of the Cubic algorithm and the BBRv3 algorithm.
[0155] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0156] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0157] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides an optimization device for adjusting the window of a BBRv3 congestion control algorithm.
[0158] refer to Figure 3 , the optimization device for adjusting the window of the BBRv3 congestion control algorithm comprises:
[0159] A first length determination module is configured to determine the round trip delay data of the current round, and obtain first deterministic stable running length data based on the round trip delay data of the current round;
[0160] A second length determination module is configured to determine the round trip delay data of the previous round, and obtain second deterministic stable running length data based on the round trip delay data of the previous round;
[0161] A turning point determination module, configured to obtain state turning point data based on the first deterministic stable running length data and the second deterministic stable running length data;
[0162] A network state determination module is configured to determine initialization network state information, and obtain current network state information based on the initialization network state information and the state turning point data;
[0163] The path parameter determination module is configured to determine the current transmission phase information, and obtain path parameter data based on the current transmission phase information and the current network status information; the path parameter data is used to adjust the network window.
[0164] In this exemplary embodiment, the first length determination module 310 is specifically configured as follows:
[0165] Determine the round-trip delay data of the current round, obtain the first minimum transmission delay data of the round-trip delay data of the current round based on the round-trip delay data, obtain first a priori parameter data based on the first minimum transmission delay data, iteratively calculate the first a priori parameter data to obtain first a posteriori probability data, determine the first cumulative stable run length data of the current round round-trip delay data, iteratively calculate the first a posteriori probability data and the first cumulative stable run length data to obtain first joint probability density data, obtain second a posteriori probability data based on the first joint probability density data, and obtain the first deterministic stable run length data based on the second a posteriori probability data.
[0166] In this exemplary embodiment, the second length determination module 320 is specifically configured as follows:
[0167] Determine the round-trip delay data of the previous round, obtain the second minimum transmission delay data of the previous round of round-trip delay data based on the previous round of round-trip delay data, obtain second a priori parameter data based on the second minimum transmission delay data, iteratively calculate the second a priori parameter data to obtain third a posteriori probability data, determine the second cumulative stable run length data of the previous round of round-trip delay data, iteratively calculate the third a posteriori probability data and the second cumulative stable run length data to obtain second joint probability density data, obtain fourth a posteriori probability data based on the second joint probability density data, and obtain the second deterministic stable run length data based on the fourth a posteriori probability data.
[0168] In this exemplary embodiment, the turning point determination module 330 is specifically configured as follows:
[0169] Determine whether the first deterministic smooth running length data and the second deterministic smooth running length data are within a preset indicator value range. In response to the first deterministic smooth running length data and the second deterministic smooth running length data being within the preset indicator value range, use the first minimum transmission delay data as the state turning point data.
[0170] In this exemplary embodiment, the network status determination module 340 is specifically configured as follows:
[0171] Initialized network state information is determined, and current network state information is obtained based on the initialized network state information and the state turning point data.
[0172] In this exemplary embodiment, the path parameter determination module 350 is specifically configured as follows:
[0173] Determine the cruise phase information, determine the maximum bottleneck bandwidth information based on the cruise phase information and the current network status information, use the maximum bottleneck bandwidth information as the first path parameter data, determine the maximum in-transit flight data volume information, and use the maximum in-transit flight data volume information as the second path parameter data, or determine the non-cruise phase information, determine the preset coefficient data based on the non-cruise phase information and the current network status information, use the product of the preset coefficient data and the maximum bottleneck bandwidth information as the first path parameter data, and use the product of the preset coefficient data and the maximum in-transit flight data volume information as the second path parameter data, the path parameter data includes: the second path parameter data and the second path parameter data.
[0174] For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0175] The device of the above embodiment is used to implement the optimization method of the BBRv3 congestion control algorithm window adjustment corresponding to any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0176] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the optimization method for window adjustment of the BBRv3 congestion control algorithm described in any of the above embodiments is implemented.
[0177] Figure 4 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0178] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0179] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0180] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0181] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0182] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0183] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0184] The electronic device of the above embodiment is used to implement the optimization method of the BBRv3 congestion control algorithm window adjustment corresponding to any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0185] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the optimization method for adjusting the BBRv3 congestion control algorithm window as described in any of the above embodiments.
[0186] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0187] The above-mentioned non-transitory computer-readable storage medium can be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.
[0188] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the optimization method for adjusting the window of the BBRv3 congestion control algorithm as described in any embodiment in the above exemplary method part, and have the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0189] Based on the same inventive concept, corresponding to the optimization method for adjusting the window of the BBRv3 congestion control algorithm described in any of the above embodiments, the present disclosure also provides a computer program product, which includes computer program instructions. In some embodiments, the computer program instructions can be executed by one or more processors of a computer so that the computer and / or the processor execute the optimization method for adjusting the window of the BBRv3 congestion control algorithm. Corresponding to the execution subject corresponding to each step in each embodiment of the optimization method for adjusting the window of the BBRv3 congestion control algorithm, the processor that executes the corresponding step may belong to the corresponding execution subject.
[0190] The computer program product of the above embodiment is used to enable the computer and / or the processor to execute the optimization method for adjusting the window of the BBRv3 congestion control algorithm as described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0191] Those skilled in the art will appreciate that the embodiments of the present disclosure may be implemented as a system, method, or computer program product. Therefore, the present disclosure may be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." In addition, in some embodiments, the present disclosure may also be implemented in the form of a computer program product in one or more computer-readable media, which contains computer-readable program code.
[0192] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive examples) of computer-readable storage media may include, for example: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device.
[0193] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0194] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0195] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0196] It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine, and these computer program instructions are executed by a computer or other programmable data processing device to produce a device that implements the functions / operations specified in the boxes in the flowchart and / or block diagram.
[0197] These computer program instructions may also be stored in a computer-readable medium that enables a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable medium produce a product that includes an instruction device that implements the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0198] Computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable device to provide a process for implementing the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0199] In addition, although the operations of the disclosed method are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted in the flow chart can be performed in a different order. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.
[0200] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0201] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0202] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0203] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0204] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0205] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
[0206] Although the spirit and principle of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims. The scope of the attached claims conforms to the broadest interpretation, thereby including all such modifications and equivalent structures and functions.
Claims
1. A method for optimizing window adjustment of a BBRv3 congestion control algorithm, characterized in that: include: Determine the round trip delay data of the current round, and obtain the first deterministic stable running length data based on the round trip delay data of the current round; Determine the round trip delay data of the previous round, and obtain the second deterministic stable running length data based on the round trip delay data of the previous round; Based on the first deterministic stable running length data and the second deterministic stable running length data, obtaining state turning point data; Determine initialization network state information, and obtain current network state information based on the initialization network state information and the state turning point data; Determine current transmission phase information, and obtain path parameter data based on the current transmission phase information and the current network status information; the path parameter data is used to adjust the network window.
2. The method according to claim 1, characterized in that The determining of the current round-trip delay data, and obtaining first deterministic stable running length data based on the current round-trip delay data, includes: Determine the round-trip delay data of the current round, and obtain first minimum transmission delay data of the round-trip delay data of the current round based on the round-trip delay data of the current round; Based on the first minimum transmission delay data, obtaining first a priori parameter data; Iteratively calculating the first a priori parameter data to obtain first a posteriori probability data; Determine first cumulative stable run length data of the current round of round-trip delay data, iteratively calculate the first posterior probability data and the first cumulative stable run length data, and obtain first joint probability density data; Based on the first joint probability density data, obtaining second posterior probability data; Based on the second posterior probability data, the first deterministic stationary run length data is obtained.
3. The method according to claim 2, characterized in that The determining of the round trip delay data of the previous round, and obtaining the second deterministic stable running length data based on the round trip delay data of the previous round, comprises: Determine the round-trip delay data of the previous round, and obtain the second minimum transmission delay data of the round-trip delay data of the previous round based on the round-trip delay data of the previous round; Based on the second minimum transmission delay data, obtaining second a priori parameter data; Iteratively calculating the second priori parameter data to obtain third posterior probability data; Determine the second cumulative stable run length data of the previous round of round-trip delay data, iteratively calculate the third posterior probability data and the second cumulative stable run length data, and obtain second joint probability density data; Based on the second joint probability density data, obtaining fourth posterior probability data; Based on the fourth posterior probability data, the second deterministic stationary run length data is obtained.
4. The method according to claim 3, characterized in that The step of obtaining state turning point data based on the first deterministic stable running length data and the second deterministic stable running length data comprises: Determine whether the first deterministic smooth running length data and the second deterministic smooth running length data are within a preset indicator value range. In response to the first deterministic smooth running length data and the second deterministic smooth running length data being within the preset indicator value range, use the first minimum transmission delay data as the state turning point data.
5. The method according to claim 1, characterized in that The current transmission phase information includes: cruise phase information or non-cruise phase information; The determining the current transmission phase information, and obtaining the path parameter data based on the current transmission phase information and the current network state information, includes: Determine the cruise phase information, and obtain the path parameter data based on the cruise phase information and the current network status information; or, The non-cruise phase information is determined, and the path parameter data is obtained based on the non-cruise phase information and the current network status information.
6. The method according to claim 5, characterized in that The determining the cruise phase information, and obtaining the path parameter data based on the cruise phase information and the current network status information, comprises: Determine maximum bottleneck bandwidth information, and use the maximum bottleneck bandwidth information as first path parameter data; Determine the maximum amount of in-transit flight data, and use the maximum amount of in-transit flight data as the second path parameter data; The determining the non-cruise phase information, and obtaining the path parameter data based on the non-cruise phase information and the current network status information, comprises: Determine preset coefficient data, and use the product of the preset coefficient data and the maximum bottleneck bandwidth information as the first path parameter data; The product of the preset coefficient data and the maximum in-flight data volume information is used as the second path parameter data; The path parameter data includes: the second path parameter data and the second path parameter data.
7. An optimization device for window adjustment of BBRv3 congestion control algorithm, characterized in that: include; A first length determination module is configured to determine the round trip delay data of the current round, and obtain first deterministic stable running length data based on the round trip delay data of the current round; A second length determination module is configured to determine the round trip delay data of the previous round, and obtain second deterministic stable running length data based on the round trip delay data of the previous round; A turning point determination module, configured to obtain state turning point data based on the first deterministic stable running length data and the second deterministic stable running length data; A network state determination module is configured to determine initialization network state information, and obtain current network state information based on the initialization network state information and the state turning point data; The path parameter determination module is configured to determine the current transmission phase information, and obtain path parameter data based on the current transmission phase information and the current network status information; the path parameter data is used to adjust the network window.
8. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The method comprises computer program instructions, which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 6.
