Congestion control method and device based on reinforcement learning

Through the congestion control method based on reinforcement learning, the neural network is used to adjust the length of the congestion window, which solves the problems of slow convergence and multiple congestion points in the traditional method, achieves fast convergence and low-latency network transmission, and improves network efficiency and stability. .

CN118555250AInactive Publication Date: 2024-08-27BEIJING GUODIANTONG NETWORK TECH CO LTD +1

Patent Information

Application Number
CN202410461492.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-17
Publication Date
2024-08-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traditional congestion control method is implemented on the device side, has slow convergence speed, and cannot effectively deal with the problem of multiple congestion points. In high-load network environments, it may lead to increased network congestion and insufficient real-time performance.

Method used

A congestion control method based on reinforcement learning is adopted, using the neural network as a policy function to input network status information into the agent, adjust the length of the congestion window, and optimize the agent model parameters through the reward function to achieve more precise congestion control.

Benefits of technology

It achieves fast convergence, low latency, and fairness-optimized network transmission, improves network transmission efficiency, avoids instantaneous large changes in windows, and ensures the smooth operation of the network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555250A
    Figure CN118555250A
Patent Text Reader

Abstract

The invention relates to the technical field of computer network performance optimization, and particularly provides a congestion control method and device based on reinforcement learning, and the method comprises the steps: taking the state information of a network as the input of an intelligent agent, and obtaining a congestion window length update value outputted by the intelligent agent; adjusting the congestion window length of the network to be the congestion window length update value; wherein the intelligent agent uses a neural network as a strategy function. According to the technical scheme provided by the invention, congestion control is supported by introducing the reinforcement learning algorithm, historical experience is fully utilized, the current network information state is considered, and more accurate measures are taken to adjust the size of the congestion control window, so that instantaneous large increase or decrease of the window is prevented, and stable operation of the network is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer network performance optimization, and in particular to a congestion control method and device based on reinforcement learning. Background Art

[0002] With the continuous improvement of computing power and the increasing number of network applications, network traffic is also increasing. In this case, network congestion will become a serious problem, affecting the performance and reliability of the network. On the one hand, congestion may lead to instability of network performance, such as increased latency, data loss and other problems. On the other hand, congestion may create conditions for network security problems, such as hacker attacks or malware using network congestion to confuse security systems. Network congestion control is an important means to ensure the normal operation of the network, improve performance and user experience, maintain security, and effectively use resources. By adopting appropriate congestion control strategies, we can better adapt to the growing network traffic and complex application scenarios.

[0003] However, traditional congestion control is mainly based on passive congestion control, that is, passive detection adjustment of the rate after receiving the congestion signal. A typical example is the DCOCN algorithm. The sender uses the AIMD mechanism (additive-increase / multiplicative-decrease) to adjust the sending rate according to the received ECN marked message. Since the 1-bit ECN signal cannot quantitatively represent the degree of congestion, the sender device can only adjust the sending rate in a detection manner, resulting in slow convergence and poor performance. At present, the typical optimization ideas in the industry are divided into two categories: one is a more refined passive control, such as HPCC (High Precision Congestion Control), which uses more refined information than ECN to improve the accuracy of speed regulation and avoid long-term probing; the second is active control of advance reservation / active allocation, such as HOMA (a receiving end congestion control algorithm), which actively reserves and allocates resources for subsequent packets to avoid congestion. However, the current mainstream optimization idea is still implemented on the end side, and still requires a response time of at least 1 RTT. At the same time, in order to address the problem of multiple congestion points in the network, it still takes multiple cycles to converge. Therefore, a new end-to-network collaborative congestion control algorithm is needed, with more detailed information and more proactive control provided by the network, and more precise rate regulation on the end side to achieve full bandwidth, low latency, fast convergence, and excellent fairness, effectively improve the transmission efficiency of the network, and ensure the efficient completion of various services in the network. DPU has powerful information collection capabilities and programmable congestion control algorithm development capabilities, and is the first choice for achieving end-to-network collaboration and fine-grained scheduling and management of network traffic.

[0004] In order to understand the development status of the prior art, we searched, compared and analyzed the existing patents and screened out the following technical information that is highly relevant to the present invention: Existing technical solution 1: The patent "A network congestion control method and related devices" with patent number CN116346740A discloses a network congestion control method and related devices. During the transmission of the first business flow, the first network device obtains a measurement message, which contains multiple groups of measurement results corresponding to the first business flow, and each group of results includes a device identifier on the forwarding path of the first business flow and the measurement value of the device. The first network device determines the second network device where congestion occurs based on these measurement results, and formulates a control strategy based on the location information of the second network device. This strategy is used to solve the congestion problem of the first business flow. Through this solution, it is possible to determine which devices on the forwarding path corresponding to the first business flow are congested, and then adopt different control strategies for congestion at different locations to ensure the transmission performance of the first business flow.

[0005] This solution needs to ensure data security in the process of transmitting measurement messages and control policies to prevent information leakage or malicious tampering. At the same time, in large-scale networks, this method involves operations such as transmitting measurement messages between network devices, processing measurement results, and determining control policies. These operations may introduce additional network overhead and performance overhead.

[0006] Existing technical solution 2: Patent number CN115119068B, "Network congestion processing method and system", relates to a network congestion processing method and system. The method includes sending a network detection packet to the receiving end and obtaining a response packet fed back by the receiving end. The network status of the sending end is determined by comparing the difference between the first timestamp of the receiving end and the first timestamp of the sending end, as well as the relative change of the difference. At the same time, the congestion processing status of the receiving end is determined in combination with the number of unprocessed data packets in the receiving cache of the receiving end and the speed of the application layer processing packets. Finally, based on the network status and congestion processing status, the data sending strategy of the sending end is determined, and the sending method of the video frame is adjusted. This method comprehensively considers the network status and congestion processing status, effectively reduces the video transmission freeze time, and can quickly respond to network congestion to ensure normal transmission.

[0007] In this method, sending network detection packets and receiving response packets may increase the network load. In a high-load network environment, these additional control information may cause network congestion. In addition, the method involves the difference calculation of timestamps, which takes a certain amount of time. When the network is congested, real-time performance is very critical because the congestion problem needs to be solved as soon as possible to avoid affecting network performance and user experience.

[0008] Existing technical solution 3: Patent number CN111614572A, "A TCP network congestion control method based on RTT", discloses a TCP network congestion control method based on RTT. This method relies on the ratio of the congestion window change rate to the RTT change rate to determine whether the current network data volume is saturated. The congestion window size is adaptively adjusted according to the network status, reducing the possibility of cliff-like changes based on traditional algorithms. Through this method, we can judge the network status more accurately and avoid sudden performance changes.

[0009] However, this method requires appropriate settings for the congestion window change rate, RTT change rate, and thresholds. Determining appropriate parameter values ​​may require complex tuning, especially in different network scenarios. In addition, this method is highly dependent on the rate of change of RTT. Fluctuations in RTT in the network may be caused by a variety of factors, including network congestion, topology changes, router load, etc. If the fluctuation of RTT is not caused by congestion, but by other reasons, it may lead to inaccurate congestion judgment. Summary of the invention

[0010] In order to overcome the above defects, the present invention proposes a congestion control method and device based on reinforcement learning.

[0011] In a first aspect, a congestion control method based on reinforcement learning is provided, and the congestion control method based on reinforcement learning includes: The network status information is used as the input of the intelligent agent to obtain the updated value of the congestion window length output by the intelligent agent; Adjusting the congestion window length of the network to the congestion window length update value; Wherein, the intelligent agent uses a neural network as a strategy function.

[0012] Preferably, the status information includes at least one of the following: the time it takes for a data packet to be sent and the confirmation packet to be received, the sending packet time slot, the ACK time slot, the throughput, the packet loss rate, the current congestion window length, the average link delay, and the service flow completion time.

[0013] Preferably, the step of adjusting the congestion window length of the network to the congestion window length update value includes: Collecting state information of the current network, and determining a reward value for a current action based on the state information of the current network; Based on the reward value of the current action, a proximal strategy optimization algorithm is used to update the neural network model parameters of the agent.

[0014] Furthermore, if the currently collected receiving end throughput is less than its corresponding minimum value, the currently collected link packet loss rate is greater than its corresponding maximum value, the average delay of the data flow during the information collection period is greater than its corresponding maximum value, or the currently collected average completion time of the service flow is greater than its corresponding maximum value, then the reward value for the current action is determined to be a preset negative number; otherwise, the reward value for the current action is determined using a reward function.

[0015] Furthermore, the preset negative number is -20.

[0016] Furthermore, the reward function is as follows: In the above formula, r t is the reward value of the current action, O is the currently collected receiving end throughput, O max is the maximum throughput observed historically, LP is the currently collected link packet loss rate, LP min is the minimum packet loss rate observed historically, l is the average delay of the data stream during information collection, l min The lowest latency ever observed. FCT is the average completion time of the currently collected business flow, FCT min is the lowest business flow completion time observed in history, and a is the weight factor.

[0017] In a second aspect, a congestion control device based on reinforcement learning is provided, wherein the congestion control device based on reinforcement learning comprises: An analysis module is used to use the network status information as the input of the intelligent agent to obtain the updated value of the congestion window length output by the intelligent agent; An adjustment module, used for adjusting the congestion window length of the network to the congestion window length update value; Wherein, the intelligent agent uses a neural network as a strategy function.

[0018] In a third aspect, a computer device is provided, comprising: one or more processors; The processor is used to store one or more programs; When the one or more programs are executed by the one or more processors, the congestion control method based on reinforcement learning is implemented.

[0019] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed, the congestion control method based on reinforcement learning is implemented.

[0020] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects: The present invention provides a congestion control method and device based on reinforcement learning, including: using the state information of the network as the input of the intelligent agent to obtain the congestion window length update value output by the intelligent agent; adjusting the congestion window length of the network to the congestion window length update value; wherein the intelligent agent uses a neural network as a policy function. The technical solution provided by the present invention supports congestion control by introducing a reinforcement learning algorithm, makes full use of historical experience and considers the current network information state, and takes more accurate measures to adjust the congestion control window size, thereby preventing the instantaneous large-scale increase or decrease of the window and ensuring the smooth operation of the network. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 1 is a flow chart of main steps of a congestion control method based on reinforcement learning according to an embodiment of the present invention; Figure 2 This is a scenario of performing congestion control in a data center direct connection network topology scenario according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] The specific implementation modes of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] As disclosed in the background technology, with the continuous improvement of computing power and the continuous increase of network applications, network traffic is also increasing. In this case, network congestion will become a serious problem, affecting the performance and reliability of the network. On the one hand, congestion may lead to instability of network performance, such as increased latency, data loss and other problems. On the other hand, congestion may create conditions for network security problems, such as hacker attacks or malware using network congestion to confuse security systems. Network congestion control is an important means to ensure the normal operation of the network, improve performance and user experience, maintain security, and effectively use resources. By adopting appropriate congestion control strategies, it is possible to better adapt to the growing network traffic and complex application scenarios.

[0025] However, traditional congestion control is mainly based on passive congestion control, that is, passive detection adjustment of the rate after receiving the congestion signal. A typical example is the DCOCN algorithm. The sender uses the AIMD mechanism (additive-increase / multiplicative-decrease) to adjust the sending rate according to the received ECN marked message. Since the 1-bit ECN signal cannot quantitatively represent the degree of congestion, the sender device can only adjust the sending rate in a detection manner, resulting in slow convergence and poor performance. At present, the typical optimization ideas in the industry are divided into two categories: one is a more refined passive control, such as HPCC (High Precision Congestion Control), which uses more refined information than ECN to improve the accuracy of speed regulation and avoid long-term probing; the second is active control of advance reservation / active allocation, such as HOMA (a receiving end congestion control algorithm), which actively reserves and allocates resources for subsequent packets to avoid congestion. However, the current mainstream optimization idea is still implemented on the end side, and still requires a response time of at least 1 RTT. At the same time, in order to address the problem of multiple congestion points in the network, it still takes multiple cycles to converge. Therefore, a new end-to-network collaborative congestion control algorithm is needed, with more detailed information and more proactive control provided by the network, and more precise rate regulation on the end side to achieve full bandwidth, low latency, fast convergence, and excellent fairness, effectively improve the transmission efficiency of the network, and ensure the efficient completion of various services in the network. DPU has powerful information collection capabilities and programmable congestion control algorithm development capabilities, and is the first choice for achieving end-to-network collaboration and fine-grained scheduling and management of network traffic.

[0026] In order to understand the development status of the prior art, we searched, compared and analyzed the existing patents and screened out the following technical information that is highly relevant to the present invention: Existing technical solution 1: The patent "A network congestion control method and related devices" with patent number CN116346740A discloses a network congestion control method and related devices. During the transmission of the first business flow, the first network device obtains a measurement message, which contains multiple groups of measurement results corresponding to the first business flow, and each group of results includes a device identifier on the forwarding path of the first business flow and the measurement value of the device. The first network device determines the second network device where congestion occurs based on these measurement results, and formulates a control strategy based on the location information of the second network device. This strategy is used to solve the congestion problem of the first business flow. Through this solution, it is possible to determine which devices on the forwarding path corresponding to the first business flow are congested, and then adopt different control strategies for congestion at different locations to ensure the transmission performance of the first business flow.

[0027] This solution needs to ensure data security in the process of transmitting measurement messages and control policies to prevent information leakage or malicious tampering. At the same time, in large-scale networks, this method involves operations such as transmitting measurement messages between network devices, processing measurement results, and determining control policies. These operations may introduce additional network overhead and performance overhead.

[0028] Existing technical solution 2: Patent number CN115119068B, "Network congestion processing method and system", relates to a network congestion processing method and system. The method includes sending a network detection packet to the receiving end and obtaining a response packet fed back by the receiving end. The network status of the sending end is determined by comparing the difference between the first timestamp of the receiving end and the first timestamp of the sending end, as well as the relative change of the difference. At the same time, the congestion processing status of the receiving end is determined in combination with the number of unprocessed data packets in the receiving cache of the receiving end and the speed of the application layer processing packets. Finally, based on the network status and congestion processing status, the data sending strategy of the sending end is determined, and the sending method of the video frame is adjusted. This method comprehensively considers the network status and congestion processing status, effectively reduces the video transmission freeze time, and can quickly respond to network congestion to ensure normal transmission.

[0029] In this method, sending network detection packets and receiving response packets may increase the network load. In a high-load network environment, these additional control information may cause network congestion. In addition, the method involves the difference calculation of timestamps, which takes a certain amount of time. When the network is congested, real-time performance is very critical because the congestion problem needs to be solved as soon as possible to avoid affecting network performance and user experience.

[0030] Existing technical solution 3: Patent number CN111614572A, "A TCP network congestion control method based on RTT", discloses a TCP network congestion control method based on RTT. This method relies on the ratio of the congestion window change rate to the RTT change rate to determine whether the current network data volume is saturated. The congestion window size is adaptively adjusted according to the network status, reducing the possibility of cliff-like changes based on traditional algorithms. Through this method, we can judge the network status more accurately and avoid sudden performance changes.

[0031] However, this method requires appropriate settings for the congestion window change rate, RTT change rate, and thresholds. Determining appropriate parameter values ​​may require complex tuning, especially in different network scenarios. In addition, this method is highly dependent on the rate of change of RTT. Fluctuations in RTT in the network may be caused by a variety of factors, including network congestion, topology changes, router load, etc. If the fluctuation of RTT is not caused by congestion, but by other reasons, it may lead to inaccurate congestion judgment.

[0032] In order to improve the above problems, the present invention provides a congestion control method and device based on reinforcement learning, including: using the state information of the network as the input of the intelligent agent to obtain the congestion window length update value output by the intelligent agent; adjusting the congestion window length of the network to the congestion window length update value; wherein the intelligent agent uses a neural network as a strategy function. The technical solution provided by the present invention supports congestion control by introducing a reinforcement learning algorithm, making full use of historical experience and considering the current network information status, taking more accurate measures to adjust the congestion control window size, preventing the instantaneous large-scale increase or decrease of the window, and ensuring the smooth operation of the network.

[0033] The above scheme is described in detail below.

[0034] Example 1 See attached Figure 1 , Figure 1 FIG. 1 is a flow chart of the main steps of a congestion control method based on reinforcement learning according to an embodiment of the present invention. Figure 1 As shown, the congestion control method based on reinforcement learning in the embodiment of the present invention mainly includes the following steps: Step S101: taking the network status information as the input of the agent, and obtaining the congestion window length update value output by the agent; Step S102: adjusting the congestion window length of the network to the congestion window length update value; Wherein, the intelligent agent uses a neural network as a strategy function.

[0035] The status information includes at least one of the following: the time it takes for a data packet to be sent and received, the time slot for sending packets, the time slot for ACK, the throughput, the packet loss rate, the current congestion window length, the average link delay, and the service flow completion time. Send packet time slot: The frequency at which the sender sends data packets.

[0036] ACK timeslot: The frequency at which the sender receives ACK packets, indirectly reflecting Throughput: The number of bytes of data determined by the receiver per second.

[0037] Packet loss rate: The number of lost packets can effectively indicate the congestion status of the network.

[0038] Current congestion window length: The congestion control algorithm needs to adjust the new window value according to the current congestion window length. If the current congestion window length is small, the window length can be increased at a faster rate. If the window is large, stop increasing the window or increase the window length more slowly.

[0039] Average link delay: reflects the overall congestion status of the link.

[0040] Service flow completion time: reflects the degree of impact on network services.

[0041] In this embodiment, the adjusting the congestion window length of the network to the congestion window length update value includes: Collecting state information of the current network, and determining a reward value for a current action based on the state information of the current network; Based on the reward value of the current action, a proximal strategy optimization algorithm is used to update the neural network model parameters of the agent.

[0042] In this embodiment, if the currently collected receiving end throughput is less than its corresponding minimum value, the currently collected link packet loss rate is greater than its corresponding maximum value, the average delay of the data flow during the information collection period is greater than its corresponding maximum value, or the currently collected service flow average completion time is greater than its corresponding maximum value, then the reward value for the current action is determined to be a preset negative number; otherwise, the reward value for the current action is determined using a reward function.

[0043] The preset negative number is -20, which prevents the agent from falling into overfitting.

[0044] In one embodiment, the reward function is as follows: In the above formula, r t is the reward value of the current action, O is the currently collected receiving end throughput, O max is the maximum throughput observed historically, LP is the currently collected link packet loss rate, LP min is the minimum packet loss rate observed historically, l is the average delay of the data stream during information collection, l min The lowest latency ever observed. FCT is the average completion time of the currently collected business flow, FCT min is the lowest business flow completion time observed in history, and a is the weight factor.

[0045] In a specific embodiment, Figure 2 The present invention demonstrates the scenario of traffic congestion control in a data center direct network topology scenario. The basic process of congestion control is as follows: 1. The network devices in the data link cooperate to send measurement data packets according to the measurement plan issued by the network measurement controller to complete the collection and caching of network status information.

[0046] 2. The data processing unit (DPU) sends network status information to the AI ​​engine of the directly connected graphics processing unit (GPU) through the ROCE protocol. The AI ​​engine runs a congestion control method based on reinforcement learning to find the optimal congestion control behavior under the current network status.

[0047] 3. The DPU returns the congestion control window adjustment decision to the terminal, senses the network status information again, and sends the perception result to the GPU AI engine.

[0048] 4. The GPU's AI engine uses the gradient algorithm to obtain the reward value based on the perception results and updates the BP neural network parameters in real time.

[0049] Specifically, the high-performance network protocol processing capability of the FPGA in the DPU is used to complete the encapsulation and parsing of the detection packet, and the flexible programmable chip in the DPU is used to complete the self-combination, adaptive sampling adjustment, and coding optimization of the measurement task, thereby improving the network measurement efficiency. Secondly, a deep reinforcement learning algorithm for congestion control is proposed, which takes network information (RTT, link throughput, TCP connection relative time, ACK round-trip time, packet loss rate, transmission rate, RTT deviation, etc.) as the state space, adjusts the current congestion window as the dynamic space, and takes greater throughput, low latency, low packet loss rate, low business flow completion time, etc. as reward values. Compared with the current congestion control scheme based on reinforcement learning, the network information collected in the present invention is more complete, so the congestion control action performed is more accurate. Finally, the deep reinforcement learning algorithm is integrated into the GPU AI engine directly connected to the DPU, and the information interaction rate is improved through the ROCE protocol, further accelerating the decision-making efficiency and congestion window adjustment.

[0050] At present, as the parameters of artificial intelligence models continue to grow and their structures become more and more complex, it is urgent to use distributed collaborative training to iteratively optimize the models, which leads to a sharp increase in the scale and number of traffic in data centers, resulting in more frequent network congestion and affecting the model training effect. To this end, the network congestion control mechanism proposed in the present invention can be applied to the data center direct network topology scenario, through more comprehensive network status information collection, more efficient network information interaction, more accurate congestion window adjustment, improve network congestion control effect, ensure data center network performance, improve data center network bandwidth utilization, and ensure the fairness of multiple business flows, and improve the speed and reliability of data interaction during distributed collaborative training.

[0051] Example 2 Based on the same inventive concept, the present invention also provides a congestion control device based on reinforcement learning, and the congestion control device based on reinforcement learning includes: An analysis module is used to use the network status information as the input of the intelligent agent to obtain the updated value of the congestion window length output by the intelligent agent; An adjustment module, used for adjusting the congestion window length of the network to the congestion window length update value; Wherein, the intelligent agent uses a neural network as a strategy function.

[0052] Preferably, the status information includes at least one of the following: the time it takes for a data packet to be sent and the confirmation packet to be received, the sending packet time slot, the ACK time slot, the throughput, the packet loss rate, the current congestion window length, the average link delay, and the service flow completion time.

[0053] Preferably, the step of adjusting the congestion window length of the network to the congestion window length update value includes: Collecting state information of the current network, and determining a reward value for a current action based on the state information of the current network; Based on the reward value of the current action, a proximal strategy optimization algorithm is used to update the neural network model parameters of the agent.

[0054] Preferably, if the currently collected receiving end throughput is less than its corresponding minimum value, the currently collected link packet loss rate is greater than its corresponding maximum value, the average delay of the data flow during the information collection period is greater than its corresponding maximum value, or the currently collected average completion time of the service flow is greater than its corresponding maximum value, then the reward value for determining the current action is a preset negative number; otherwise, the reward value for the current action is determined using a reward function.

[0055] Furthermore, the preset negative number is -20.

[0056] Furthermore, the reward function is as follows: In the above formula, r t is the reward value of the current action, O is the currently collected receiving end throughput, O max is the maximum throughput observed historically, LP is the currently collected link packet loss rate, LP min is the minimum packet loss rate observed historically, l is the average delay of the data stream during information collection, l min The lowest latency ever observed. FCTis the average completion time of the currently collected business flow, FCT min is the lowest business flow completion time observed in history, and a is the weight factor.

[0057] Example 3 Based on the same inventive concept, the present invention also provides a computer device, which includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding function, so as to implement the steps of a congestion control method based on reinforcement learning in the above embodiment.

[0058] Example 4 Based on the same inventive concept, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It can be understood that the computer-readable storage medium here can include both built-in storage media in a computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the steps of a congestion control method based on reinforcement learning in the above embodiment.

[0059] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0060] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0061] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0062] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A congestion control method based on reinforcement learning, characterized in that: The method comprises: The network status information is used as the input of the agent to obtain the updated value of the congestion window length output by the agent; Adjusting the congestion window length of the network to the congestion window length update value; Wherein, the intelligent agent uses a neural network as a strategy function.

2. The method according to claim 1, characterized in that The status information includes at least one of the following: the time taken for a data packet to be sent and received to receive an acknowledgment packet, a sending packet time slot, an ACK time slot, throughput, a packet loss rate, a current congestion window length, an average link delay, and a service flow completion time.

3. The method according to claim 1, characterized in that The method of adjusting the congestion window length of the network to the congestion window length update value includes: Collecting state information of the current network, and determining a reward value for a current action based on the state information of the current network; Based on the reward value of the current action, a proximal strategy optimization algorithm is used to update the neural network model parameters of the agent.

4. The method according to claim 3, characterized in that If the currently collected receiving end throughput is less than its corresponding minimum value, the currently collected link packet loss rate is greater than its corresponding maximum value, the average delay of the data flow during the information collection period is greater than its corresponding maximum value, or the currently collected average completion time of the service flow is greater than its corresponding maximum value, then the reward value for the current action is determined to be a preset negative number; otherwise, the reward value for the current action is determined using a reward function.

5. The method according to claim 4, characterized in that The preset negative number is -20.

6. The method according to claim 4, characterized in that The reward function is as follows: In the above formula, r t is the reward value of the current action, O is the currently collected receiving end throughput, O max is the maximum throughput observed historically, LP is the currently collected link packet loss rate, LP min is the minimum packet loss rate observed historically, l is the average delay of the data stream during information collection, l min The lowest latency ever observed. FCT is the average completion time of the currently collected business flow, FCT min is the lowest business flow completion time observed in history, and a is the weight factor.

7. A device for the congestion control method based on reinforcement learning according to any one of claims 1 to 6, characterized in that: The device comprises: An analysis module is used to use the network status information as the input of the intelligent agent to obtain the updated value of the congestion window length output by the intelligent agent; An adjustment module, used for adjusting the congestion window length of the network to the congestion window length update value; Wherein, the intelligent agent uses a neural network as a strategy function.

8. A computer device, characterized in that: include: one or more processors; The processor is configured to execute one or more programs; When the one or more programs are executed by the one or more processors, the congestion control method based on reinforcement learning as described in any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed, the congestion control method based on reinforcement learning as described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Network congestion control method, device, equipment and medium

    CN113825171A

  • Real-time congestion control method based on deep reinforcement learning

    CN114745337A

  • Congestion control method and device and training method and device of congestion control model

    CN114866489A

  • Method, device and apparatus for optimizing grant free uplink transmission of machine to machine (M2M) type devices

    WO2022130254A1

Cited By

  • Congestion window length adjusting method and device and nonvolatile storage medium

    CN119155254A

  • Data center network congestion control method based on data model dual drive

    CN120017597A