Congestion control methods, devices, electronic equipment and readable storage media
By rationally allocating bandwidth resources according to the priority of service requests, the problem of poor congestion control caused by inflexible bandwidth allocation in existing technologies is solved, thereby improving network fairness and efficiency, ensuring the normal operation of high-priority services, and improving user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-29
- Publication Date
- 2026-03-10
AI Technical Summary
Existing congestion control methods take a connection-centric approach, assuming that each connection has equal bandwidth and resource allocation in the network. This results in poor congestion control performance, especially in scenarios such as multimedia resource playback, where stuttering and slow loading speeds are common.
By analyzing the priority of service requests, the service priorities corresponding to various services are pre-configured, and bandwidth resources are reasonably allocated based on the priority information carried by the service requests, including probe frequency, initial congestion window and retransmission frequency, to ensure that high-priority service requests get more bandwidth resources and avoid network congestion.
This system enables the rational allocation of bandwidth resources based on business priorities, improving network fairness and efficiency, ensuring the normal processing of high-priority business requests, avoiding network congestion, and enhancing user experience.
Smart Images

Figure CN115941614B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and more particularly to a congestion control method, apparatus, electronic device, and readable storage medium. Background Technology
[0002] With the rapid development of internet technology, a large amount of information flows through the internet. To avoid network congestion caused by excessive information at the network layer, congestion control is usually implemented at the network layer.
[0003] Currently, congestion control algorithms typically take a connection-centric approach, assuming that each connection in the network is independent and receives equal bandwidth and resource allocation. However, these congestion control methods are inflexible and ineffective. Summary of the Invention
[0004] To address, or at least partially address, the aforementioned technical problems, this disclosure provides a congestion control method, apparatus, electronic device, and readable storage medium.
[0005] In a first aspect, this disclosure provides a congestion control method, including:
[0006] Obtain a service request, the service request including information indicating service priority;
[0007] Based on the service priority, obtain the bandwidth resource configuration information corresponding to the service request;
[0008] Configure the target bandwidth resource corresponding to the service request based on the bandwidth resource configuration information corresponding to the service request.
[0009] In some possible designs, the bandwidth resource configuration information includes configuration information for one or more of the following: probe frequency, initial congestion window, and retransmission frequency.
[0010] In some possible designs, the service priority is proportional to the detection frequency.
[0011] In some possible designs, if the bandwidth resource configuration information includes probe frequency configuration information, obtaining the bandwidth resource configuration information corresponding to the service request based on the service priority includes:
[0012] Based on the aforementioned service priority, obtain the detection frequency adjustment coefficient;
[0013] Based on the product of the detection frequency adjustment coefficient and the reference detection frequency, the configuration information of the detection frequency corresponding to the service request is obtained.
[0014] In some possible designs, business priority is directly proportional to the initial congestion window.
[0015] In some possible designs, if the bandwidth resource configuration information includes the configuration information of the initial congestion window, obtaining the bandwidth resource configuration information corresponding to the service request based on the service priority includes:
[0016] Based on the aforementioned service priority, obtain the initial congestion window adjustment factor;
[0017] Based on the sum of the initial congestion window adjustment factor and the reference initial congestion window, the configuration information of the initial congestion window corresponding to the service request is obtained.
[0018] In some possible designs, the service priority is proportional to the retransmission frequency.
[0019] In some possible designs, if the bandwidth resource configuration information includes retransmission frequency configuration information, obtaining the bandwidth resource configuration information corresponding to the service request based on the service priority information includes:
[0020] Based on the aforementioned service priority, obtain the retransmission cycle adjustment factor;
[0021] Based on the difference between the reference retransmission period and the retransmission period adjustment factor, the configuration information of the retransmission frequency corresponding to the service request is obtained.
[0022] Secondly, this disclosure provides a congestion control device, comprising:
[0023] The acquisition module is used to acquire business requests, wherein the business requests include information indicating business priority;
[0024] The processing module is used to obtain the bandwidth resource configuration information corresponding to the service request based on the service priority.
[0025] The resource configuration module is used to configure the target bandwidth resource corresponding to the service request based on the bandwidth resource configuration information corresponding to the service request.
[0026] In some possible implementations, the bandwidth resource configuration information mentioned above includes configuration information for one or more of the following: probe frequency, initial congestion window, and retransmission frequency.
[0027] In some possible implementations, service priority is proportional to the detection frequency.
[0028] In some possible implementations, if the bandwidth resource configuration information includes probe frequency configuration information, the processing module is specifically used to obtain a probe frequency adjustment coefficient according to the service priority; and to obtain the probe frequency configuration information corresponding to the service request according to the product of the probe frequency adjustment coefficient and the reference probe frequency.
[0029] In some possible implementations, the service priority is proportional to the initial congestion window.
[0030] In some possible implementations, if the bandwidth resource configuration information includes configuration information for an initial congestion window, the processing module is specifically used to obtain an initial congestion window adjustment factor based on the service priority; and to obtain configuration information for the initial congestion window corresponding to the service request based on the sum of the initial congestion window adjustment factor and the reference initial congestion window.
[0031] In some possible implementations, service priority is directly proportional to retransmission frequency.
[0032] In some possible implementations, if the bandwidth resource configuration information includes retransmission frequency configuration information, the processing module is specifically used to obtain a retransmission period adjustment factor according to the service priority; and to obtain the retransmission frequency configuration information corresponding to the service request according to the difference between the reference retransmission period and the retransmission period adjustment factor.
[0033] Thirdly, this disclosure provides an electronic device, including: a memory and a processor;
[0034] The memory is configured to store computer program instructions;
[0035] The processor is configured to execute the computer program instructions to implement the congestion control method according to any one of the first aspects.
[0036] Fourthly, this disclosure provides a readable storage medium comprising: computer program instructions; the computer program instructions being executed by at least one processor of an electronic device, causing the electronic device to implement the congestion control method according to any one of the first aspects.
[0037] Fifthly, this disclosure provides a computer program product, comprising: computer program instructions stored in a readable storage medium, at least one processor of an electronic device reading the computer program instructions from the readable storage medium; the at least one processor executing the computer program instructions to implement the congestion control method as described in any of the first aspects.
[0038] This disclosure provides a congestion control method, apparatus, electronic device, and readable storage medium. In order to allocate more bandwidth to connections that have a significant impact on user performance based on the actual situation of service requests, the method pre-configures the service priorities corresponding to various types of services. When a service request is received, the method can reasonably allocate bandwidth resources for the service request based on the information carrying the service priority in the service request, thereby ensuring the normal operation of the service request and avoiding network congestion. Attached Figure Description
[0039] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0040] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.
[0041] Figure 1 A schematic diagram illustrating an application scenario provided by an embodiment of this disclosure;
[0042] Figure 2 A flowchart illustrating a congestion control method provided in an embodiment of this disclosure;
[0043] Figure 3 This is a schematic diagram illustrating the effect of bandwidth resource allocation when implementing congestion control based on connections, as provided in this disclosure.
[0044] Figure 4 This is a schematic diagram illustrating the effect of bandwidth resource allocation when implementing congestion control based on services, as provided in this disclosure.
[0045] Figure 5 This is a schematic diagram of the structure of a congestion control device provided in an embodiment of the present disclosure;
[0046] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. Detailed Implementation
[0047] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0048] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0049] Currently, congestion control is approached from a connection-centric perspective, assuming each connection in the network is independent and receives equal bandwidth and resource allocation. However, this approach to congestion control is ineffective in some scenarios.
[0050] For example, in multimedia resource playback scenarios, the client needs to establish a connection with the server and retrieve multimedia resources from the server through this connection. For some connections, buffering may occur soon without new data input; while other connections can utilize idle time to preload multimedia resources. If either of these connections experiences loading failure or slow loading speed, the impact on the user will be completely different.
[0051] Therefore, this disclosure provides a congestion control method, apparatus, electronic device, readable storage medium, and computer program product. The method analyzes the impact of actual services on user performance and the bandwidth resource requirements of actual services, pre-configures corresponding service priorities for each type of service, and when a service request is received, it can reasonably configure bandwidth resources for the service request based on the information carrying the service request to indicate the service priority, thereby ensuring the normal execution of the service request and avoiding network congestion.
[0052] For example, the congestion control method provided in this disclosure can be executed by the congestion control device provided in this disclosure, which can be implemented in any software and / or hardware manner. For example, when the congestion control device is an electronic device, the electronic device may include, but is not limited to, servers, server clusters, cloud servers, gateways, and other electronic devices.
[0053] Figure 1 An exemplary application scenario diagram of the congestion control method provided in this disclosure is shown. (Refer to...) Figure 1 The application scenario 100 shown includes: terminal device 101 and server device 102, wherein terminal device 101 and server device 102 can communicate via wired or wireless network.
[0054] In this scheme, terminal device 101 can send a service request to server device 102. Server device 102 is used to configure corresponding bandwidth resources for the service request based on the information carried in the service request that indicates the service priority.
[0055] The terminal device 101 may include, but is not limited to, electronic devices such as smartphones, laptops, iPads, smart wearable devices, and Internet of Things devices.
[0056] The server device 102 may, but is not limited to, electronic devices such as servers, server clusters, cloud servers, and gateways.
[0057] exist Figure 1 The illustrated embodiment shows a scenario with one terminal device and one server device. In a real-world scenario, there may be multiple terminal devices and multiple server devices, and each server device can handle service requests sent by multiple terminal devices.
[0058] The following embodiments use an electronic device as an example to describe in detail the congestion control method provided in this disclosure.
[0059] Figure 2 A flowchart illustrating a congestion control method provided in one embodiment of this disclosure. (See also...) Figure 2 As shown, the congestion control method provided in this embodiment includes:
[0060] S201. Obtain a business request, which includes information indicating the business priority.
[0061] Electronic devices can receive service requests. For example, a service request may include a multimedia resource request, which may include, but is not limited to, video resources, audio resources, image resources, etc.
[0062] The service request includes information indicating the service priority. Electronic devices can obtain the service priority corresponding to the service request by parsing the service request.
[0063] For example, a specific field can be configured in the service request to indicate the service priority, and the electronic device obtains the service priority by parsing the specific field.
[0064] In this solution, services need to be pre-defined into multiple different service priorities based on their impact on user performance. In real-world scenarios, a service priority may correspond to one or more types of services, and this disclosure does not impose any limitations on this. Optionally, the number of services corresponding to each service priority can also be considered to ensure overall network fairness.
[0065] For example, in a short video playback scenario, suppose there are two business priorities: a first business priority and a second business priority, where the first business priority is higher than the second business priority. The first business priority may, for example, include the first multimedia resource request when a user first logs into the short video playback client (hereinafter referred to as the "client"), and multimedia resource requests when the user's cache is below a preset value; the second business priority may, for example, include the preload request furthest from the multimedia resource currently being played by the client.
[0066] Among them, the preload request is a request sent by the client to the server device in the short video playback scenario to preload subsequent short videos while the current short video is playing.
[0067] S202. Based on the service priority, obtain the bandwidth resource configuration information corresponding to the service request.
[0068] The bandwidth resource configuration information corresponding to a service request may include one or more of the following: probe frequency, initial congestion window, and retransmission frequency. The following section details how to obtain the bandwidth resource configuration information corresponding to a service request.
[0069] (I) Detection Frequency
[0070] Taking the BBR algorithm as an example, currently, within a probe cycle, the pacing gain array is [1.25, 0.75, 1, 1, 1, 1, 1, 1]. This means that first, a gain of 1.25 is used to probe the currently available bandwidth, then the gain is reduced to 0.75 to clear the accumulated queues on the link, and finally, there is a stable phase with a gain of 1 for six consecutive rounds. To ensure fairness, BBR cannot preempt bandwidth during the stable phase; that is, the time interval between two adjacent probes within this probe cycle is fixed, allowing other links sharing resources sufficient time to converge to a fair state. However, this comes at the cost of sacrificing the flexibility of bandwidth resource allocation. Furthermore, the current BBR algorithm uses a multiplicative increase method for bandwidth probing. However, when network bandwidth decreases, it cannot actively reduce the gain. Only when entering the PROBEround-trip-time (PROBE_RTT) period will it have the opportunity to actively clear the accumulated queues on the link. If the sending rate is higher than the current actual bandwidth of the link during the process of actively clearing the accumulated queues, congestion or even packet loss can easily occur.
[0071] For example, in live video streaming scenarios, users may experience video playback stuttering, resulting in a relatively poor user experience.
[0072] Therefore, the congestion control method provided in this disclosure configures the detection frequency based on the service priority corresponding to the service request, so that high-priority service requests can be detected more actively, and low-priority service requests can have their detection frequency reduced, that is, the time interval between two adjacent detections within the detection period is increased, so that low-priority service requests are detected more slowly.
[0073] In this scheme, there is a direct correlation between service priority and detection frequency. The higher the service priority, the higher the detection frequency, meaning the shorter the time interval between two adjacent detections within the detection period; the lower the service priority, the lower the detection frequency, meaning the longer the time interval between two adjacent detections within the detection period.
[0074] One possible implementation is to query the first mapping table according to the business priority to obtain the probe frequency adjustment coefficient corresponding to the business request; and obtain the configuration information of the probe frequency corresponding to the business request based on the product of the probe frequency adjustment coefficient and the reference probe frequency.
[0075] For example, the first mapping table may include the mapping relationship between different service priorities and the detection frequency adjustment coefficient.
[0076] For example, there are three business priorities: first priority a1, second priority a2, and third priority a3, and the order of priority from high to low is: a1>a2>a3.
[0077] The first mapping relationship table is exemplarily shown in Table 1 below:
[0078] Table 1
[0079] Business Priority Detection frequency adjustment coefficient a1 b a2 1 a3 1 / b
[0080] In Table 1, b is greater than 0 and less than 1.
[0081] For example, if the service priority corresponding to the service request is a1, and the detection frequency adjustment coefficient is determined to be b by looking up Table 1, then the detection frequency corresponding to the service request is a1*b; if the service priority corresponding to the service request is a2, and the detection frequency adjustment coefficient is determined to be 1 by looking up Table 1, then the detection frequency corresponding to the service request is a2*1; if the service priority corresponding to the service request is a3, and the detection frequency adjustment coefficient is determined to be 1 / b by looking up Table 1, then the detection frequency corresponding to the service request is a3 / b.
[0082] In practical applications, more priorities can be assigned to services, and different detection frequency adjustment coefficients can be configured for different service priorities to ensure that the service priority and detection frequency are proportional.
[0083] Another possible implementation is to query the correspondence between business priority and detection frequency based on business priority, and obtain the detection frequency value corresponding to the business priority.
[0084] After obtaining the detection frequency value corresponding to the service priority through the above two methods, the time point of each detection within the detection cycle can be determined according to the detection frequency, and then detection can be carried out at the determined time point of each detection.
[0085] Another possible implementation is to determine the detection time point corresponding to the business priority by querying the correspondence between the business priority and the time interval between each detection and the previous detection within the detection period.
[0086] (ii) Initial congestion window
[0087] Taking the BBR algorithm as an example, during bandwidth probing, there is an initial congestion control window in the initial stage. In the BBR algorithm, for all initially started connections, including a slow-start node, assuming the size of the congestion control window is A at the slow-start node, the size of the congestion control window needs to be continuously adjusted as ACK information is received.
[0088] Based on the business priority classification in this scheme, the size of the initial congestion control window needs to be adjusted according to the business priority.
[0089] In this scheme, the service priority is directly proportional to the size of the initial congestion control window; the higher the service priority, the larger the initial congestion control window; the lower the service priority, the smaller the initial congestion control window.
[0090] One possible implementation is to query the second mapping table according to the business priority to obtain the initial congestion window adjustment factor corresponding to the business request; and obtain the configuration information of the initial congestion control window corresponding to the business request based on the sum of the initial congestion window adjustment factor and the reference initial congestion control window.
[0091] For example, the second mapping table may include the mapping relationship between different service priorities and the initial congestion window adjustment factor.
[0092] For example, there are three business priorities: first priority a1, second priority a2, and third priority a3, and the order of priority from high to low is: a1>a2>a3.
[0093] The second mapping relationship table is exemplarily shown in Table 2 below:
[0094] Table 2
[0095]
[0096] In Table 2, x is a positive number greater than 0.
[0097] For example, if the service priority corresponding to the service request is a1, and the initial congestion control window adjustment factor is determined to be x by looking up table 2, then the initial congestion window corresponding to the service request is y+x; if the service priority corresponding to the service request is a2, and the initial congestion control window adjustment factor is determined to be 0 by looking up table 2, then the initial congestion control window corresponding to the service request is y; if the service priority corresponding to the service request is a3, and the initial congestion control window adjustment factor is determined to be -x by looking up table 2, then the initial congestion control window corresponding to the service request is yx.
[0098] In practical applications, more priorities can be assigned to services, and different initial congestion control window factors can be configured for different service priorities to ensure that the service priority is proportional to the initial congestion control window.
[0099] Another possible implementation is to query the correspondence between business priorities and initial congestion control windows based on business priorities, and obtain the value of the initial congestion control window corresponding to the business priority.
[0100] (III) Retransmission Frequency
[0101] The retransmission is defined as follows: The elapsed time since the request packet was sent is periodically calculated. If it exceeds a preset number of round-trip times (RTTs), the request is considered lost and retransmission is required. Since different services have varying impacts on user performance, this solution configures different retransmission frequencies for service requests with different priorities, thereby ensuring the recovery capability of high-priority service requests in the event of congestion.
[0102] Among them, link round-trip time can also be called round-trip delay.
[0103] Specifically, in this scheme, there is a direct correlation between service priority and retransmission frequency. That is, the higher the service priority, the higher the retransmission frequency; the lower the service priority, the lower the retransmission frequency.
[0104] One possible implementation is to query a third mapping table based on the service priority to obtain the retransmission period adjustment factor corresponding to the service request; and obtain the configuration information of the retransmission frequency corresponding to the service request based on the difference between the reference retransmission period and the retransmission period adjustment factor.
[0105] For example, the third mapping table may include the mapping relationship between different service priorities and retransmission cycle adjustment factors.
[0106] For example, there are three business priorities: first priority a1, second priority a2, and third priority a3, and the order of priority from high to low is: a1>a2>a3.
[0107] The third mapping relationship table is exemplified as shown in Table 3 below:
[0108] Table 3
[0109] Business Priority Retransmission cycle adjustment factor a1 t a2 0 a3 -t
[0110] In Table 3, t represents a positive number greater than 0.
[0111] For example, suppose the reference retransmission period corresponding to the service request is n RTTs; if the service priority corresponding to the service request is a1, and the retransmission period adjustment factor is determined to be t by looking up table 3, then the retransmission frequency corresponding to the service request is the difference between n RTTs and t RTTs; if the service priority corresponding to the service request is a2, and the retransmission period adjustment factor is determined to be 0 by looking up table 3, then the retransmission frequency corresponding to the service request is n RTTs; if the service priority corresponding to the service request is a3, and the retransmission period adjustment factor is determined to be -t by looking up table 3, then the retransmission frequency corresponding to the service request is the sum of n RTTs and t RTTs.
[0112] In practical applications, more priorities can be assigned to services, and different retransmission cycle adjustment factors can be configured for different service priorities to ensure that the service priority and retransmission frequency are proportional.
[0113] Another possible implementation is to query the correspondence between service priority and retransmission frequency based on service priority, and obtain the retransmission frequency value corresponding to the service priority.
[0114] Using the above method, one or more of the configuration information of the probe frequency, initial congestion window, and retransmission frequency can be obtained according to the service priority. Based on the above one or more configuration information, the bandwidth resource configuration information corresponding to the service request can be generated.
[0115] It should be noted that in some cases, if the configuration information corresponding to the probe frequency is determined according to the service priority, the initial congestion window and / or retransmission frequency can also be set to the corresponding preset values, that is, the default configuration is adopted.
[0116] In practical applications, bandwidth resource configuration information may also include configuration information for other resources besides the aforementioned detection frequency, initial congestion window, and retransmission frequency; this disclosure does not limit this.
[0117] S203. Configure the bandwidth resources corresponding to the service request according to the bandwidth resource configuration information corresponding to the service request.
[0118] Electronic devices perform bandwidth detection based on the bandwidth resource configuration information corresponding to the service request, and allocate bandwidth resources reasonably for the service request.
[0119] The method provided in this embodiment analyzes the impact of actual services on user performance and the bandwidth resource requirements of actual services, pre-configures corresponding service priorities for each type of service, and when a service request is received, it can reasonably configure bandwidth resources for the service request based on the information carried in the service request to indicate the service priority, thereby ensuring the normal operation of the service request and avoiding network congestion.
[0120] Figure 3 and Figure 4 The diagrams show a comparison of bandwidth resource allocation results when congestion control is performed based on connections and services, respectively.
[0121] in, Figure 3 This diagram illustrates bandwidth resource allocation during connection-based congestion control. (Refer to...) Figure 3 As shown, assume there are service request 1 and service request 2, where connection 1 carries service request 1 and connection 2 carries service request 2. From the perspective of connections, we consider connections 1 and 2 to be independent and to have equal bandwidth resource allocation. Therefore, the bandwidth resources allocated to connections 1 and 2 are the same. (Refer to...) Figure 3 As shown, the widths of the output arrows on the right are the same, indicating that the bandwidth resources allocated to service request 1 and service request 2 are the same.
[0122] Figure 4 This diagram illustrates bandwidth resource allocation when performing congestion control based on service requirements. (Refer to...) Figure 4 As shown, assuming that the service priority of service request 1 is higher than that of service request 2, then the bandwidth resources allocated to service request 1 are greater than those allocated to service request 2. That is, the bandwidth resources allocated to connection 1 carrying service request 1 are greater than the bandwidth resources allocated to connection 2 carrying service request 2. (Refer to...) Figure 4 As shown, the different widths of the output arrows on the right indicate that the bandwidth resources allocated to service request 1 and service request 2 are different according to the service priority.
[0123] As can be seen from the foregoing embodiments, this disclosure proposes a fairness guarantee for convergence to priority from a business perspective, ensuring that high-priority business requests have more opportunities for efficiency affinity, especially for high-priority business requests triggered by users with poor network quality, enabling them to be allocated more network resources. Furthermore, in the process of transitioning from fairness to efficiency probing, different bandwidth probing capabilities are given according to business priority, ensuring that convergence to each business priority is proportional under different business priority ratios.
[0124] By way of example, this disclosure also provides a congestion control device.
[0125] Figure 5 This is a schematic diagram of a congestion control device provided according to an embodiment of the present disclosure. (Refer to...) Figure 5 As shown, the congestion control device 500 provided in this embodiment includes:
[0126] The acquisition module 501 is used to acquire a service request, the service request including information indicating the service priority.
[0127] The processing module 502 is used to obtain the bandwidth resource configuration information corresponding to the service request according to the service priority.
[0128] The resource configuration module 503 is used to configure the target bandwidth resource corresponding to the service request based on the bandwidth resource configuration information corresponding to the service request.
[0129] In some possible implementations, the bandwidth resource configuration information mentioned above includes configuration information for one or more of the following: probe frequency, initial congestion window, and retransmission frequency.
[0130] In some possible implementations, service priority is proportional to the detection frequency.
[0131] In some possible implementations, if the bandwidth resource configuration information includes probe frequency configuration information, the processing module 502 is specifically used to obtain a probe frequency adjustment coefficient according to the service priority; and to obtain the probe frequency configuration information corresponding to the service request according to the product of the probe frequency adjustment coefficient and the reference probe frequency.
[0132] In some possible implementations, the service priority is proportional to the initial congestion window.
[0133] In some possible implementations, if the bandwidth resource configuration information includes the configuration information of the initial congestion window, the processing module 502 is specifically used to obtain the initial congestion window adjustment factor according to the service priority; and to obtain the configuration information of the initial congestion window corresponding to the service request according to the sum of the initial congestion window adjustment factor and the reference initial congestion window.
[0134] In some possible implementations, service priority is directly proportional to retransmission frequency.
[0135] In some possible implementations, if the bandwidth resource configuration information includes retransmission frequency configuration information, the processing module 502 is specifically used to obtain a retransmission period adjustment factor according to the service priority; and to obtain the retransmission frequency configuration information corresponding to the service request according to the difference between the reference retransmission period and the retransmission period adjustment factor.
[0136] The congestion control device provided in this embodiment can be used to execute the congestion control method provided in any of the above method embodiments. Its implementation principle and technical effect are similar, and can be referred to the detailed description of the foregoing method embodiments. For the sake of brevity, it will not be repeated here.
[0137] By way of example, this disclosure also provides an electronic device.
[0138] Figure 6 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present disclosure. (Refer to...) Figure 6 As shown, the electronic device 600 provided in this embodiment includes a memory 601 and a processor 602.
[0139] The memory 601 can be a separate physical unit, connected to the processor 602 via a bus 603. Alternatively, the memory 601 and processor 602 can be integrated together, implemented in hardware, etc.
[0140] The memory 601 is used to store program instructions, and the processor 602 calls the program instructions to execute the operations of any of the above method embodiments.
[0141] Optionally, when some or all of the methods in the above embodiments are implemented by software, the electronic device 600 may also include only the processor 602. The memory 601 for storing programs is located outside the electronic device 600, and the processor 602 is connected to the memory via circuits / wires for reading and executing the programs stored in the memory.
[0142] The processor 602 can be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP.
[0143] The processor 602 may further include a hardware chip. This hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0144] The memory 601 may include volatile memory, such as random-access memory (RAM); the memory may also include non-volatile memory, such as flash memory, hard disk drive (HDD), or solid-state drive (SSD); the memory may also include combinations of the above types of memory.
[0145] This disclosure also provides a computer-readable storage medium (also referred to as a readable storage medium) including computer program instructions, which, when executed by at least one processor of an electronic device, cause the electronic device to perform the congestion control method provided in any of the above method embodiments.
[0146] This disclosure also provides a computer program product including computer program instructions stored in a readable storage medium. At least one processor of the electronic device can read the computer program instructions from the readable storage medium, and the at least one processor executes the computer program instructions to cause the electronic device to perform the congestion control method provided in any of the above method embodiments.
[0147] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0148] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A congestion control method characterized by, The method comprises: obtaining a service request, wherein the service request comprises information indicating a service priority; obtaining bandwidth resource configuration information corresponding to the service request according to the service priority, wherein the bandwidth resource configuration information comprises configuration information of one or more of a probe frequency, an initial congestion window, and a retransmission frequency; configuring target bandwidth resources corresponding to the service request according to the bandwidth resource configuration information corresponding to the service request; if the bandwidth resource configuration information comprises configuration information of the retransmission frequency, the obtaining of the bandwidth resource configuration information corresponding to the service request according to the service priority information comprises: obtaining a retransmission period adjustment factor according to the service priority; obtaining configuration information of the retransmission frequency corresponding to the service request according to a difference between a reference retransmission period and the retransmission period adjustment factor.
2. The method of claim 1, wherein, The service priority is in a proportional relationship with the probe frequency.
3. The method according to claim 1 or 2, characterized in that, if the bandwidth resource configuration information comprises configuration information of the probe frequency, the obtaining of the bandwidth resource configuration information corresponding to the service request according to the service priority comprises: obtaining a probe frequency adjustment coefficient according to the service priority; obtaining configuration information of the probe frequency corresponding to the service request according to a product of the probe frequency adjustment coefficient and a reference probe frequency.
4. The method of claim 1, wherein, The service priority is in a proportional relationship with the initial congestion window.
5. The method according to claim 1 or 4, characterized in that, if the bandwidth resource configuration information comprises configuration information of the initial congestion window, the obtaining of the bandwidth resource configuration information corresponding to the service request according to the service priority comprises: obtaining an initial congestion window adjustment factor according to the service priority; obtaining configuration information of the initial congestion window corresponding to the service request according to a sum of the initial congestion window adjustment factor and a reference initial congestion window.
6. The method of claim 1, wherein, The service priority is in a proportional relationship with the retransmission frequency.
7. A congestion control apparatus characterized by comprising: The method comprises: a obtaining module configured to obtain a service request, wherein the service request comprises information indicating a service priority; a processing module configured to obtain bandwidth resource configuration information corresponding to the service request according to the service priority, wherein the bandwidth resource configuration information comprises configuration information of one or more of a probe frequency, an initial congestion window, and a retransmission frequency; a resource configuration module configured to configure target bandwidth resources corresponding to the service request according to the bandwidth resource configuration information corresponding to the service request; if the bandwidth resource configuration information comprises configuration information of the retransmission frequency, the obtaining of the bandwidth resource configuration information corresponding to the service request according to the service priority information comprises: obtaining a retransmission period adjustment factor according to the service priority; obtaining configuration information of the retransmission frequency corresponding to the service request according to a difference between a reference retransmission period and the retransmission period adjustment factor.
8. An electronic device, comprising: The service priority is in a proportional relationship with the probe frequency. if the bandwidth resource configuration information comprises configuration information of the probe frequency, the obtaining of the bandwidth resource configuration information corresponding to the service request according to the service priority comprises: obtaining a probe frequency adjustment coefficient according to the service priority; obtaining configuration information of the probe frequency corresponding to the service request according to a product of the probe frequency adjustment coefficient and a reference probe frequency.
9. A readable storage medium, characterized by, The service priority is in a proportional relationship with the initial congestion window. if the bandwidth resource configuration information comprises configuration information of the initial congestion window, the obtaining of the bandwidth resource configuration information corresponding to the service request according to the service priority comprises: obtaining an initial congestion window adjustment factor according to the service priority; obtaining configuration information of the initial congestion window corresponding to the service request according to a sum of the initial congestion window adjustment factor and a reference initial congestion window. The service priority is in a proportional relationship with the retransmission frequency. The method comprises: a memory, a processor, and computer program instructions; the memory is configured to store the computer program instructions; the processor is configured to execute the computer program instructions to implement the congestion control method according to any one of claims 1 to 6. The method comprises: computer program instructions; The computer program instructions are executed by at least one processor of the electronic device to implement the congestion control method according to any one of claims 1 to 6.
10. A computer program product, characterised in that, comprise: computer program instructions; The computer program instructions are stored in a readable storage medium, and at least one processor of the electronic device reads the computer program instructions from the readable storage medium; the at least one processor executes the computer program instructions to implement the congestion control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
A method of allocating service bandwidth and associated equipment
CN108989238A
System for bandwidth optimization with traffic priority determination
US20160255009A1