Congestion configuration adjustment method, congestion control method, system, product and device

The convolutional neural network model is used to analyze the time and spatial correlation of network device port status information, and extract the target hidden state features. This solves the problem of detail loss in the fully connected neural network model during ECN configuration adjustment, and improves the data center network transmission performance and Configuration adjustment efficiency.

CN118449913BActive Publication Date: 2024-10-01INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410921091.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-10-01
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

The existing ECN configuration adjustment method based on the fully connected neural network model loses a large number of useful details in the hidden state initialization process, resulting in poor accuracy of ECN configuration adjustment and affecting data center network transmission performance.

Method used

The convolutional neural network model is used to analyze the time correlation and spatial correlation of the port status information of the network device, and the target hidden state features are extracted through the pre-trained convolutional neural network model to reduce the decision-making loss in the hidden state initialization process, and Adjust explicit congestion notification configuration parameters.

Benefits of technology

It improves the accuracy of ECN configuration adjustment and data center network transmission performance, reduces the need for pre-filling zeros in the input data of the fully connected neural network model, and improves the efficiency of configuration adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118449913B_ABST
    Figure CN118449913B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a congestion configuration adjustment method, a congestion control method, a system, a product and a device, which relate to the field of communication technology and can improve the accuracy of ECN configuration adjustment, thereby improving the network transmission performance of the data center. The method includes: obtaining the port status information of the network device within a set time period; analyzing the time correlation and spatial correlation of the port status information within the set time period through a pre-trained convolutional neural network model to obtain the target hidden state characteristics; determining the explicit congestion notification configuration information that matches the target hidden state characteristics; and adjusting the explicit congestion notification configuration parameters of the network device according to the determined explicit congestion notification configuration information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a congestion configuration adjustment method, a congestion control method, a system, a product and a device. Background Art

[0002] As one of the key technologies to ensure the stability and efficiency of data center networks, the congestion control algorithm based on explicit congestion notification (ECN) marking can effectively alleviate network congestion and ensure the network transmission performance of data centers by controlling the packet sending rate of sending devices.

[0003] The rise of artificial intelligence technology has brought new directions for the adjustment of congestion configuration (i.e., ECN configuration). Currently, a fully connected neural network model is mainly used to initialize the hidden state of the network device port, and then the ECN configuration parameters are determined and adjusted based on the initialized hidden state.

[0004] However, the above-mentioned method of initializing the hidden state based on the fully connected neural network model will lose a large number of useful details, resulting in poor accuracy of the current ECN configuration adjustment, which greatly affects the network transmission performance of the data center. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a congestion configuration adjustment method, a congestion control method, a system, a product and a device, which can improve the accuracy of ECN configuration adjustment, thereby improving the network transmission performance of the data center.

[0006] To solve the above technical problems, in a first aspect, an embodiment of the present application provides a congestion configuration adjustment method, the method comprising:

[0007] Obtain port status information of network devices within a set time period;

[0008] By using a pre-trained convolutional neural network model, the time correlation and spatial correlation of the port state information within the set time period are analyzed to obtain the target hidden state feature, wherein the time correlation is used to characterize the law of the port state information changing over time within the set time period, and the spatial correlation is used to characterize the deep coupling relationship between different types of information contained in the port state information at the same time;

[0009] Determining explicit congestion notification configuration information matching the target hidden state characteristics;

[0010] According to the determined explicit congestion notification configuration information, an explicit congestion notification configuration parameter of the network device is adjusted.

[0011] In a second aspect, an embodiment of the present application further provides a congestion control method, the method comprising:

[0012] Determining whether to perform an explicit congestion notification mark on a data packet currently required to be forwarded to a receiving device according to the adjusted explicit congestion notification configuration parameter, wherein the explicit congestion notification mark is used to adjust a rate at which a sending device sends data packets;

[0013] The explicit congestion notification configuration parameters are adjusted according to the congestion configuration adjustment method described in the first aspect.

[0014] In a third aspect, an embodiment of the present application further provides a congestion control system, the system comprising a network device, a receiving device and a sending device, wherein:

[0015] The network device is used to obtain its own port status information within a set time period;

[0016] The network device is further used to analyze the time correlation and spatial correlation of the port state information within the set time period through a pre-trained convolutional neural network model to obtain target hidden state features, wherein the time correlation is used to characterize the law of the port state information within the set time period changing over time, and the spatial correlation is used to characterize the deep coupling relationship between different types of information contained in the port state information at the same time;

[0017] The network device is further configured to determine explicit congestion notification configuration information matching the target hidden state characteristic;

[0018] The network device is further configured to adjust its own explicit congestion notification configuration parameters according to the determined explicit congestion notification configuration information;

[0019] The network device is further used to determine whether to perform explicit congestion notification marking on the data packet currently required to be forwarded to the receiving device according to the adjusted explicit congestion notification configuration parameters;

[0020] The receiving device is configured to send a congestion notification packet to the sending device in response to receiving a data packet carrying an explicit congestion notification tag;

[0021] The sending device is used to reduce the rate at which it sends data packets to the network device in response to receiving the congestion notification packet.

[0022] In a fourth aspect, an embodiment of the present application further provides a computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the congestion configuration adjustment method as described in the first aspect, or implements the congestion control method as described in the second aspect.

[0023] In a fifth aspect, an embodiment of the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored on the memory, wherein the processor executes the computer program to implement the congestion configuration adjustment method as described in the first aspect, or to implement the congestion control method as described in the second aspect.

[0024] It can be seen from the above technical solution that the embodiment of the present application, with the help of the feature extraction capability of the convolutional neural network model, conducts targeted analysis on the law of changes of the port status information over time within the set time period and the deep coupling relationship between different types of information contained in the same port status information, and determines the target hidden state characteristics to reduce the loss of useful details related to the congestion configuration decision in the hidden state initialization link, thereby improving the accuracy of ECN configuration adjustment and improving the network transmission performance of the data center. Compared with the fully connected neural network model, the input data of the convolutional neural network model does not need to be padded with 0 in advance, which is conducive to improving the efficiency of ECN configuration adjustment. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0026] Figure 1 A flowchart of a congestion configuration adjustment method provided in an embodiment of the present application;

[0027] Figure 2 A schematic diagram of a target map provided in an embodiment of the present application;

[0028] Figure 3 A schematic diagram of a temporal convolution kernel and a convolution operation process provided in an embodiment of the present application;

[0029] Figure 4 A schematic diagram of a spatial convolution kernel and a convolution operation process provided in an embodiment of the present application;

[0030] Figure 5 A schematic diagram of the structure of a congestion control system provided in an embodiment of the present application;

[0031] Figure 6 A schematic diagram of the structure of a congestion configuration adjustment device provided in an embodiment of the present application;

[0032] Figure 7 A schematic diagram of an electronic device provided in an embodiment of the present application;

[0033] Figure 8A schematic diagram of a computer-readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0035] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.

[0036] With the widespread application of new technologies such as Artificial Intelligence Graphics Computing (AIGC), the data transmission and processing capabilities of data center networks face greater challenges.

[0037] As one of the key technologies to ensure the stability and efficiency of data center networks, the ECN-marking-based congestion control algorithm can effectively alleviate network congestion by controlling the packet sending rate of the sending device, ensuring the smooth operation of the data center network, thereby ensuring the network transmission performance of the data center.

[0038] Taking the Data Center Quantized CongestionNotification (DCQCN) algorithm as an example, the implementation process of the DCQCN algorithm mainly includes: the network device (i.e. the congested end) is responsible for ECN marking the forwarded data packets; when the receiving device (i.e. the receiving end) receives the data packet carrying the ECN mark, the receiving end will send a congestion notification packet (CNP) to the sending device (i.e. the sending end); after receiving the CNP, the sending end executes the speed reduction logic and starts to reduce the speed in units of queue pairs (QP), that is, the sending queue (SQ) will be reduced accordingly.

[0039] From the above example, we can see that the ECN marking frequency will directly affect the SQ speed reduction frequency. In the current execution logic of network devices (such as commercial switches), the ECN marking frequency is directly affected by the queue length Que_length of the current forwarding port and three hyperparameters, where the three hyperparameters are the lower limit of the ECN marking threshold Kmin, the upper limit of the ECN marking threshold Kmax, and the maximum value of the ECN marking probability Pmax.

[0040] When Que_length is less than Kmin, the network device does not perform ECN marking.

[0041] When Que_length is greater than Kmax, the ECN marking probability is 1, that is, the network device performs ECN marking.

[0042] When Que_length is between Kmin and Kmax, the marking probability p = (Que_length-Kmin) / (Kmax-Kmin) Pmax, that is, the network device performs ECN marking on some forwarded data packets.

[0043] It is understandable that the data center network topology scenarios are diverse, and the traffic patterns are even more dynamic. For example, multiple servers may suddenly send traffic to one server (which can be called many-to-one or Incast). Therefore, in order to ensure that the data center network can always be at the best performance, it is necessary to dynamically adjust the ECN configuration of the network equipment in the data center network.

[0044] The rise of artificial intelligence technology provides a technical basis for the dynamic adjustment of ECN configuration. Taking reinforcement learning (RL) as an example, RL is a dynamic decision-making technology that determines what decision the intelligent agent should make based on its state in the environment.

[0045] If the network device outbound port is regarded as an agent, the joint decision-making process of all agents in the entire data center network can be regarded as a multi-agent reinforcement learning (MARL) process. However, if the state of all agents in the entire data center network is set as a joint environment, the dimension of the joint state space will become extremely large. Therefore, in order to simplify the execution, the decentralized execution setting should be used to achieve the purpose of centralized decision-making.

[0046] To achieve the above purpose, the fully connected neural network model is currently mainly used to initialize the hidden state, that is, the fully connected neural network model is used to transmit information between the upstream and downstream ports of the network equipment, and the purpose of centralized features is indirectly achieved through multiple information transmissions and updates of state features. Finally, the Deep Q-Network (DQN) is used to make decisions on ECN configuration parameters based on the initialized hidden state, thereby realizing dynamic parameter adjustment of ECN configuration.

[0047] However, due to the structural characteristics of the fully connected network model, the port status information of the network device needs to be padded with 0 before being input into the fully connected neural network model. Then, the initial state transmitted by the upstream neighbor interacts with its own port state through the fully connected neural network model, and its own state is updated according to the interaction result. Finally, the updated self-state is used as the initialized hidden state. This makes the current hidden state initialization link have at least the following problems:

[0048] 1. The port updates its own state based on the interaction results with the initial state transmitted from the upstream neighbor without considering the temporal and spatial correlations between the state characteristics (i.e., the port's own state), resulting in the loss of a large number of useful details, which greatly affects the accuracy of subsequent ECN configuration decisions and adjustments, and leads to poor network transmission performance in the data center.

[0049] 2. The zero-padding operation will add a large amount of redundant information, affecting the final convergence speed and performance of the network, thereby affecting the efficiency of ECN configuration adjustment.

[0050] In response to the problems existing in the above-mentioned related technologies, the present application proposes a congestion configuration adjustment method, a congestion control method, a system, a product and a device. With the help of the feature extraction capability of the convolutional neural network model, the target hidden state features are determined by conducting targeted analysis on the law of the change of the port state information over time within the set time period (i.e., the time correlation between the port state information) and the deep coupling relationship between different types of information contained in the same port state information (i.e., the spatial correlation between the port state information), so as to reduce the loss of useful details related to the congestion configuration decision in the hidden state initialization link. This can improve the accuracy of ECN configuration adjustment and improve the network transmission performance of the data center. Compared with the fully connected neural network model, the input data of the convolutional neural network model does not need to be pre-padded with 0, which is conducive to improving the efficiency of ECN configuration adjustment.

[0051] In combination with the accompanying drawings, a congestion configuration adjustment method, a congestion control method, a system, a product and a device provided by an embodiment of the present application are described in detail through some embodiments and their application scenarios.

[0052] First, see Figure 1 As shown, it is a flowchart of an implementation method of a congestion configuration adjustment method provided in an embodiment of the present application, and the method may include the following steps:

[0053] Step S101: Acquire port status information of a network device within a set time period.

[0054] The network device may be a switch or a router with ECN marking capability.

[0055] In specific implementation, the network device can obtain information that can characterize the port status (such as whether it is congested or whether the congestion is serious, etc.), such as the number of bytes sent by its own port (i.e., the outbound port) within a set time period, the number of data packets sent, and the number of data packets carrying ECN marks in the sent data packets, to obtain the port status information of the network device within the set time period.

[0056] Step S102: Analyze the time correlation and spatial correlation of the port status information within the set time period through a pre-trained convolutional neural network model to obtain target hidden state features.

[0057] The time correlation is used to characterize the rule of the port status information changing over time within the set time period, and the spatial correlation is used to characterize the deep coupling relationship between different types of information included in the port status information at the same time.

[0058] In a specific implementation, the convolution kernel of a convolutional neural network (CNN) model can be adjusted or an attention mechanism can be introduced to enable the CNN model to have the ability to analyze the temporal changes of the port status information within the set time period (i.e., the temporal correlation between the port status information) and the deep coupling relationship between different types of information contained in the same port status information (i.e., the spatial correlation between the port status information), thereby obtaining target hidden state features containing detailed information such as the temporal correlation and spatial correlation between the port status information.

[0059] It should be noted that the time correlation between the port status information is analyzed in the hidden state initialization stage, so that the decision-making stage can achieve more accurate ECN configuration adjustment decisions based on the law of port status information changing over time. For example, by analyzing the trend of packet rate or number of packets changing over time in the hidden state initialization stage, the subsequent decision-making can be based on the change trend to accurately identify the current traffic mode of the network device port (such as the occurrence of burst traffic, large data flow or small data flow, etc.), and achieve ECN configuration adjustments that are more suitable for the current traffic mode, thereby improving the accuracy of ECN configuration adjustments.

[0060] By analyzing the spatial correlation between port status information during the hidden state initialization phase, the decision-making phase can achieve more accurate ECN configuration adjustment decisions based on the deep coupling relationship between different types of information. For example, by analyzing the negative correlation between the packet rate and queue length contained in the same port status information during the hidden state initialization phase, it is easier to find an ECN configuration that can balance the packet rate and queue length in subsequent decisions, avoiding extreme situations (such as extremely high packet rate and extremely small queue length) after ECN configuration adjustment that affect network transmission performance, thereby improving the accuracy of ECN configuration adjustment.

[0061] Step S103: Determine explicit congestion notification configuration information that matches the target hidden state feature.

[0062] The explicit congestion notification configuration information (ie, ECN configuration information) includes relevant configuration parameters that can affect the ECN marking frequency, such as the lower limit of the ECN marking threshold, the upper limit of the ECN marking threshold, or the maximum value of the ECN marking probability.

[0063] In specific implementation, a matching table between different target hidden state features and different ECN configuration information can be pre-established, and the network device queries the matching table according to the currently determined target hidden state feature to obtain the explicit congestion notification configuration information matching it.

[0064] Alternatively, the network device can directly input the target hidden state features into a pre-trained reinforcement learning model such as DQN to obtain explicit congestion notification configuration information that matches the target hidden state features.

[0065] As a possible implementation method, the network device can extract the target hidden state features and preset configuration schemes through a pre-trained reinforcement learning model to determine the reward of the network device port selecting each preset configuration scheme at the current moment (i.e., in the current state, described by the target hidden state features). The reward can be the weighted sum of the packet sending rate at the next moment after the network device port selects each preset configuration scheme and the queue length corresponding to the port.

[0066] According to the rewards of the network device port for selecting each preset configuration scheme at the current moment, a target preset scheme is determined, and then according to the target preset scheme, explicit congestion notification configuration information matching the target hidden state characteristics is determined.

[0067] Specifically, the network device may select the rewards of each preset configuration scheme at the current moment according to the network device port, and determine the evaluation results corresponding to each preset configuration scheme. The evaluation results corresponding to each preset configuration scheme are compared, or the evaluation results are compared with the preset evaluation result threshold. According to the comparison result, a candidate preset scheme that meets the set conditions (such as the best evaluation result or meets the preset evaluation result threshold, etc.) is selected.

[0068] If there is one candidate preset solution, the candidate preset solution is determined as the target preset solution; if there are multiple candidate preset solutions, one candidate preset solution is randomly selected from the candidate preset solutions as the target preset solution.

[0069] After determining the target preset scheme, the target explicit congestion notification marking threshold lower limit, the target explicit congestion notification marking threshold upper limit, and the target explicit congestion notification marking probability maximum value included in the target scheme can be determined as explicit congestion notification configuration information matching the target hidden state characteristics; or, based on the target explicit congestion notification marking threshold lower limit, the target explicit congestion notification marking threshold lower limit, and the target explicit congestion notification marking probability maximum value, the probability of performing explicit congestion notification marking on the forwarded data packet can be calculated and determined as the explicit congestion notification configuration information matching the target hidden state characteristics.

[0070] Step S104: adjusting the explicit congestion notification configuration parameters of the network device according to the determined explicit congestion notification configuration information.

[0071] In a specific implementation, the explicit congestion notification configuration information may be used to indicate an expected ECN marking frequency, and the network device adjusts the ECN configuration parameters of the corresponding egress port to enable itself to achieve the expected ECN marking frequency (eg, 1).

[0072] Alternatively, the explicit congestion notification configuration information may be used to directly indicate the values ​​of ECN configuration parameters such as the lower limit of the ECN marking threshold, the upper limit of the ECN marking threshold or the maximum value of the ECN marking probability, and the network device adjusts the ECN configuration parameters of its own egress port accordingly according to the indicated values.

[0073] It can be seen from the above technical solution that the embodiment of the present application, with the help of the feature extraction capability of the convolutional neural network model, conducts targeted analysis on the law of changes of the port status information over time within the set time period and the deep coupling relationship between different types of information contained in the same port status information, and determines the target hidden state characteristics to reduce the loss of useful details related to the congestion configuration decision in the hidden state initialization link, thereby improving the accuracy of ECN configuration adjustment and improving the network transmission performance of the data center. Compared with the fully connected neural network model, the input data of the convolutional neural network model does not need to be padded with 0 in advance, which is conducive to improving the efficiency of ECN configuration adjustment.

[0074] Optionally, obtaining the port status information of the network device within a set time period includes:

[0075] Acquiring, at a set time interval, a packet sending rate, an explicit congestion notification marking rate, and a queue length corresponding to a port of the network device;

[0076] The obtained packet sending rate, explicit congestion notification marking rate and queue length are combined at each time to obtain the port status information at each time.

[0077] The port status information within the set time period is filtered out from the port status information at each time.

[0078] In specific implementation, the length of the outbound port queue of the network device can be obtained at a set time interval. The packet sending rate and explicit congestion notification marking rate at a certain moment can be calculated based on the number of sent bytes, the number of sent data packets, and the number of data packets carrying ECN markings in the set time interval before the moment.

[0079] For example, the number of sent bytes Tx_Bytes, the number of sent data packets Tx_Packets, and the number of data packets carrying ECN marks ECN_Packets within the set time interval Time_interval from the sampling time T can be counted. Then, the packet sending rate Tx_rate and the explicit congestion notification marking rate Marking_rate of the network device port at the sampling time T+Time_interval can be determined by the following formulas:

[0080] Tx_rate=Tx_Bytes / Time_interval

[0081] Marking_rate=ECN_Pakets / Tx_Packets

[0082] In this embodiment, considering that when making an ECN configuration decision at the current moment, it is necessary not only to pay attention to the port status information of the network device at the current moment, but also to know the previous port status information, because compared with knowing the port status information of the network device at the current moment, it is also very important to know the change process that the network device port has gone through in this state. Therefore, this application obtains the port status information including the current moment and the previous moment (that is, the port status information within the set time period), and obtains the packet sending rate, explicit congestion notification marking rate and queue length that are closely related to the ECN configuration decision as the port status information, so that the convolutional neural network model can more accurately analyze the law of port status information changing over time in the recent period of time, and the deep coupling relationship between different types of information contained in the same port status information, thereby further improving the accuracy of ECP configuration adjustment.

[0083] Optionally, the explicit congestion notification configuration information matching the target hidden state feature is determined by a pre-trained reinforcement learning model (such as QCN, etc.);

[0084] The convolutional neural network model and the reinforcement learning model are trained by the following steps:

[0085] Constructing a combined model by using the output data of the convolutional neural network model as input data of the reinforcement learning model;

[0086] The port status information sequences corresponding to different time periods and the explicit congestion notification configuration information matched by each of the port status information sequences are used as training samples to train the combined model until the combined model meets the training end conditions (such as the loss function value is lower than the preset value or the number of iterations is reached), and the training is terminated to obtain a trained convolutional neural network model and reinforcement learning model.

[0087] Optionally, in one embodiment, the pre-trained convolutional neural network model is used to analyze the temporal correlation and spatial correlation of the port status information within the set time period to obtain the target hidden state feature, including:

[0088] Step S201: inputting the port status information within the set time period into the convolutional neural network model in a set graph format.

[0089] In specific implementation, the port status information within a set time period can be arranged (such as arranged in 1 row or 1 column in a certain time sequence or information type sequence, etc.) to conform to the set graph format and then input into the CNN model to ensure that the CNN model can process the input data normally.

[0090] Step S202: Using the first convolution kernel in the convolutional neural network model, a convolution operation is performed on the port status information at different times within the set time period input in a set graph format (i.e., the port status information at different times in the input graph) to obtain a first hidden state feature corresponding to the time correlation, that is, a first hidden state feature used to characterize the law of how the port status information within the set time period changes over time.

[0091] In a specific implementation, the first convolution kernel (which may be called the time convolution kernel) can be designed according to the position of the port state information at different times in the set graph format, so that it can perform convolution operations on the port state information at different times, that is, it can multiply its different elements with the port state information at different times and then sum them up to obtain the first hidden state feature.

[0092] Step S203: Using the second convolution kernel in the convolutional neural network model, a convolution operation is performed on the port state information at the same time within the set time period input in a set graph format to obtain a second hidden state feature corresponding to the spatial correlation, that is, a second hidden state feature for characterizing the deep coupling relationship between different types of information contained in the same port state information.

[0093] The first convolution kernel and the second convolution kernel can perform convolution operations on the input graph in parallel.

[0094] In specific implementation, the second convolution kernel (which may be called a spatial convolution kernel) may be designed according to the positions of different types of information contained in the same port state information in the set graph format, so that it can perform convolution operations on different types of information contained in the same port state information. For example, for the port state information at each moment in the set time period, it is ensured that the second convolution kernel can multiply different elements of itself with the different types of information contained in the port state information and then sum them to obtain the second hidden state feature.

[0095] Step S204: Determine a combination of the first hidden state feature and the second hidden state feature as the target hidden state feature.

[0096] In a specific implementation, the first hidden state feature and the second hidden state feature may be arranged in a set order according to subsequent matching requirements, such as arranging the first hidden state feature and the second hidden state feature in sequence into a row or a column, and using the arranged first hidden state feature and the second hidden state feature as target hidden state features, so as to perform subsequent matching of ECN configuration information.

[0097] In this embodiment, by fixing the format of the input graph and using different convolution kernels to analyze the time correlation and spatial correlation between port status information, the difficulty of designing related convolution kernels can be reduced, the feature extraction effects in the time and space dimensions can be improved, and it is beneficial to realize parallel operations of different convolution kernels, thereby further improving the adjustment efficiency of the ECM configuration.

[0098] Optionally, inputting the port status information within the set time period into the convolutional neural network model in a set graph format includes:

[0099] Arranging the port status information within the set time period in a first direction according to the chronological order, and arranging the information contained in different port status information in a second direction according to the information type, to obtain a target graph conforming to the set graph format, wherein the first direction and the second direction are different arrangement directions;

[0100] The target map is input into the convolutional neural network model.

[0101] In specific implementation, the port status information within the set time period may be arranged horizontally (or vertically) according to chronological order, and the information contained in different port status information may be arranged vertically (or horizontally) according to information type to obtain a target map.

[0102] For example, assume that the set time period includes three sampling moments, the sampling time interval is Time_interval, and the three sampling moments are T0, T1 and T2 in chronological order. The type of information contained in the port status information at each sampling moment is the same, including the packet sending rate Tx_rate of the network device egress port, the explicit congestion notification marking rate Marking_rate and the queue length QL.

[0103] In order to eliminate the influence of different dimensions, the above port status information may be normalized first, and then the target graph may be constructed using the normalized port status information.

[0104] Specifically, the packet rate Tx_rate can be divided by the port bandwidth Bandwidth (ie, Tx_rate / Bandwidth) to obtain the normalized packet rate, and the normalized packet rate is used as the new packet rate Tx_rate to construct the target graph. The queue length can be normalized by the following formula:

[0105]

[0106] Where F(QL) represents the normalized queue length; QL represents the queue length before normalization; N represents the order; n represents the order of the queue length. Express satisfaction The minimum value of n.

[0107] The normalized port status information corresponding to the sampling times T0, T1 and T2 are arranged from top to bottom (i.e., arranged vertically), and the normalized different types of information corresponding to the same sampling time, i.e., the Tx_rate, F(QL) and Marking_rate are arranged from left to right (i.e., arranged horizontally) in the order of packet sending rate, queue length and explicit congestion notification marking rate, to obtain a target graph that conforms to the set graph format. The target graph is as follows: Figure 2 shown.

[0108] In this embodiment, the present application provides a target graph, which arranges information of different times and different types in different directions to more explicitly characterize the temporal correlation and spatial correlation between port state information, so that the convolutional neural network model can more quickly and accurately extract hidden state features that can characterize the temporal correlation and spatial correlation between port state information when extracting high-dimensional features from the input graph.

[0109] Optionally, the first convolution kernel in the convolutional neural network model performs a convolution operation on the port state information at different times within the set time period input in a set graph format to obtain a first hidden state feature corresponding to the time correlation, including:

[0110] According to the element values ​​in one or more channels of the first convolution kernel, the weighted sums of the same type of information in the port state information at different times within the set time period are calculated respectively to obtain the first hidden state features corresponding to each of the one or more channels of the first convolution kernel.

[0111] In specific implementation, the number of channels of the first convolution kernel can be determined according to the complexity of the network environment in which the network device is located. If the network environment (such as network topology) is relatively simple, a single-channel first convolution kernel can be used to perform convolution processing on the input map to extract high-dimensional features in the time dimension (i.e., first hidden state features) while ensuring feature extraction efficiency; if the network environment (such as network topology) is relatively complex, a multi-channel first convolution kernel can be used to perform convolution processing on the input map to extract high-dimensional features in the time dimension while reducing the loss of useful details in the feature extraction process.

[0112] Optionally, the element setting information of the first convolution kernel is determined by the following steps:

[0113] Determine the number of time instants of different port state information in the set graph format as the number of elements required to be set in a single channel of the first convolution kernel;

[0114] The arrangement direction of the port status information at different times in the set graph format is determined as the element arrangement direction required to be set in a single channel of the first convolution kernel.

[0115] In a specific implementation, by determining the number of elements required to be set in a single channel of the first convolution kernel according to the number of time instants at which different port status information is located in a set graph format, the number of elements required to be set in a single channel of the first convolution kernel can be minimized under the premise of ensuring that the port status information at different time instants in the set graph format have their corresponding elements respectively; by determining the arrangement direction of the elements required to be set in a single channel of the first convolution kernel according to the arrangement direction of the port status information at different time instants in the set graph format, it can be ensured that different elements in the channel can be multiplied correspondingly with the port status information at different time instants in the set graph format, that is, it can be ensured that the first convolution kernel can normally perform convolution operations on the port status information at different time instants in the channel, thereby realizing high-dimensional feature extraction in the time dimension.

[0116] For example, refer to Figure 3 The schematic diagram of the time convolution kernel and the convolution operation process shown in FIG. Figure 2 The target graph shown is designed to conform to the set graph format, and the elements in one channel of the time convolution kernel are set to a vertically arranged element matrix of size 3x1. The three elements are C11, C21 and C31, which correspond to the port status information at sampling times T0, T1 and T2 respectively.

[0117] If the step size of the temporal convolution kernel is 1, the 3x1 element matrix performs a convolution operation on the target map by moving from left to right, and finally outputs a 1x3 output result, which are output1, output2 and output3. The corresponding operation rules are as follows:

[0118]

[0119] in, represents the normalized queue length F (QL) at sampling times T0, T1, and T2, Indicates the updated (normalized) packet transmission rate Tx_rate at sampling times T0, T1, and T2. represents the explicit congestion notification marking rate Marking_rate at T0, T1 and T2, and C represents the convolution kernel (here it corresponds to the time convolution kernel).

[0120] It is understandable that if the number of channels of the time convolution kernel is K, then a Kx1x3 output result will be output in the end, that is, each channel will output a 1x3 output result. The above-mentioned time convolution kernel can be used to deeply extract the law of each port status information changing over time, and compared with the fully connected neural network, the number of parameters can be greatly reduced, thereby reducing the complexity of the model.

[0121] Optionally, the second convolution kernel in the convolutional neural network model performs a convolution operation on the port state information at the same time in the set time period input in a set graph format to obtain a second hidden state feature corresponding to the spatial correlation, including:

[0122] According to the element values ​​in one or more channels of the second convolution kernel, the weighted sums of different types of information contained in the port state information at the same time within the set time period are calculated respectively to obtain the second hidden state features corresponding to each of the one or more channels of the second convolution kernel.

[0123] In specific implementation, the number of channels of the second convolution kernel can be determined according to the complexity of the network environment in which the network device is located. If the network environment (such as network topology) is relatively simple, a single-channel second convolution kernel can be used to perform convolution processing on the input map to extract high-dimensional features in the spatial dimension (i.e., second hidden state features) while ensuring feature extraction efficiency; if the network environment (such as network topology) is relatively complex, a multi-channel second convolution kernel can be used to perform convolution processing on the input map to extract high-dimensional features in the spatial dimension while reducing the loss of useful details in the feature extraction process.

[0124] Optionally, the element setting information of the second convolution kernel is determined by the following steps:

[0125] Determine the number of different types of information contained in the single port state information in the set graph format as the number of elements required to be set in a single channel of the second convolution kernel;

[0126] The arrangement direction of different types of information contained in the single port state information in the set graph format is determined as the element arrangement direction required to be set in a single channel of the second convolution kernel.

[0127] In a specific implementation, by determining the number of elements required to be set in a single channel of the second convolution kernel according to the number of different types of information contained in a single port state information in a set graph format, the number of elements required to be set in a single channel of the second convolution kernel can be minimized under the premise that the different types of information contained in the single port state information in the set graph format have their corresponding elements respectively; by determining the arrangement direction of the elements required to be set in a single channel of the second convolution kernel according to the arrangement direction of the different types of information contained in the single port state information in the set graph format, it can be ensured that the different elements in the channel can be multiplied correspondingly with the different types of information contained in the single port state information in the set graph format, that is, it can be ensured that the second convolution kernel can normally perform convolution operations on the different types of information contained in the single port state information under the channel, thereby realizing high-dimensional feature extraction in the spatial dimension.

[0128] For example, refer to Figure 4 The schematic diagram of the spatial convolution kernel and the convolution operation process shown in FIG. Figure 2 The target graph shown is designed to conform to the set graph format, and the elements in one channel of the spatial convolution kernel are set to a horizontally arranged element matrix of size 3x1. The three elements are C11, C12 and C13, which correspond to the packet sending rate, queue length and explicit congestion notification marking rate at the same time, respectively.

[0129] If the stride of the spatial convolution kernel is 1, the 3x1 element matrix performs a convolution operation on the target map by moving from top to bottom, and finally outputs a 1x3 output result, which are output4, output5 and output6. The corresponding operation rules are as follows:

[0130]

[0131] in, represents the normalized queue length F (QL) at sampling times T0, T1, and T2, Indicates the updated (normalized) packet transmission rate Tx_rate at sampling times T0, T1, and T2. represents the explicit congestion notification marking rate Marking_rate at T0, T1 and T2, C represents the convolution kernel (corresponding to the spatial convolution kernel), Indicates the normalized port status information at sampling times T0, T1, and T2.

[0132] It is understandable that if the number of channels of the spatial convolution kernel is K, then a Kx1x3 output result will be output in the end, that is, each channel will output a 1x3 output result. The above spatial convolution kernel can be used to deeply extract the deep coupling relationship between different types of information at each moment (i.e. sampling moment), and compared with the fully connected neural network, the number of parameters can be greatly reduced, thereby reducing the complexity of the model.

[0133] Optionally, to facilitate the subsequent matching of ECN configuration information, the network device can automatically splice the determined first hidden state feature and the second hidden state feature into a one-dimensional vector, such as splicing and flattening the output results of the above-mentioned time dimension and space dimension into a 6Kx1 one-dimensional vector, and use the one-dimensional vector as the target hidden state feature for table lookup or input into the reinforcement learning model to make ECN configuration adjustment decisions.

[0134] It should be noted that in the above example, the network device can sample the state data at multiple timestamps through the state database (such as State_DB, which is used to store the switch state information), obtain the port state information at three sampling moments in the set time period (a total of 9 pieces of information), and establish Figure 2 Target map shown.

[0135] Assuming that the dimension of the initial state space is 24, if a fully connected neural network model is used to initialize the hidden state based on the above 9 information, the corresponding connection parameter quantity of the model is 24x9=216 weight parameters. Figure 3 and Figure 4 The CNN model with the temporal convolution kernel and the spatial convolution kernel shown in the figure requires Parameters=2 K 1 3, where when the dimension of the initial state space is 24, the number of channels K is equal to 4, that is, the number of parameters required for the model will be reduced to 24.

[0136] In the hidden state initialization link, the embodiment of the present application uses the three port state information at three timestamps obtained by sampling the network device to form a feature map using the correlation in time series and the correlation in spatial position. The CNN model is set with a time convolution kernel and a space convolution kernel. By using this time-space double convolution operation, a large amount of information redundancy introduced by directly filling in 0 can be avoided. The high-dimensional features of the feature changes of the same state in the time series can be extracted through the time convolution kernel, and the deep coupling relationship between different feature sequences at the same timestamp can be extracted through the space convolution kernel. This can obtain an initialization hidden state that is more suitable for ECN configuration adjustment decisions, and compared with the fully connected neural network model, the number of parameters required for the model can be reduced by 88.9%.

[0137] In a second aspect, an embodiment of the present application further provides a congestion control method, the method comprising:

[0138] Determining whether to perform an explicit congestion notification mark on a data packet currently required to be forwarded to a receiving device according to the adjusted explicit congestion notification configuration parameter, wherein the explicit congestion notification mark is used to adjust a rate at which a sending device sends data packets;

[0139] The explicit congestion notification configuration parameters are adjusted according to the congestion configuration adjustment method described in the first aspect.

[0140] It can be seen from the above technical solution that the embodiment of the present application, with the help of the feature extraction capability of the convolutional neural network model, conducts targeted analysis on the law of the change of the port status information over time within the set time period, and the deep coupling relationship between the different types of information contained in the same port status information, and determines the target hidden state characteristics, so as to reduce the loss of useful details related to the congestion configuration decision in the hidden state initialization link, thereby improving the accuracy of ECN configuration adjustment and improving the network transmission performance of the data center. Compared with the fully connected neural network model, the input data of the convolutional neural network model does not need to be pre-filled with 0, which is conducive to improving the efficiency of ECN configuration adjustment. In the third aspect, see Figure 5 FIG. 1 is a schematic diagram of a congestion control system provided in an embodiment of the present application, wherein the system includes a network device, a receiving device, and a sending device, wherein:

[0141] The network device is used to obtain its own port status information within a set time period;

[0142] The network device is further used to analyze the time correlation and spatial correlation of the port state information within the set time period through a pre-trained convolutional neural network model to obtain target hidden state features, wherein the time correlation is used to characterize the law of the port state information within the set time period changing over time, and the spatial correlation is used to characterize the deep coupling relationship between different types of information contained in the port state information at the same time;

[0143] The network device is further configured to determine explicit congestion notification configuration information matching the target hidden state characteristic;

[0144] The network device is further configured to adjust its own explicit congestion notification configuration parameters according to the determined explicit congestion notification configuration information;

[0145] The network device is further used to determine whether to perform explicit congestion notification marking on the data packet currently required to be forwarded to the receiving device according to the adjusted explicit congestion notification configuration parameters;

[0146] The receiving device is configured to send a congestion notification packet to the sending device in response to receiving a data packet carrying an explicit congestion notification tag;

[0147] The sending device is used to reduce the rate at which it sends data packets to the network device in response to receiving the congestion notification packet.

[0148] It can be seen from the above technical solution that the embodiment of the present application, with the help of the feature extraction capability of the convolutional neural network model, conducts targeted analysis on the law of changes of the port status information over time within the set time period and the deep coupling relationship between different types of information contained in the same port status information, and determines the target hidden state characteristics to reduce the loss of useful details related to the congestion configuration decision in the hidden state initialization link, thereby improving the accuracy of ECN configuration adjustment and improving the network transmission performance of the data center. Compared with the fully connected neural network model, the input data of the convolutional neural network model does not need to be padded with 0 in advance, which is conducive to improving the efficiency of ECN configuration adjustment.

[0149] Optionally, the network device is further configured to perform the following steps:

[0150] Inputting the port status information within the set time period into the convolutional neural network model in a set graph format;

[0151] By using the first convolution kernel in the convolutional neural network model, a convolution operation is performed on the port state information at different times within the set time period input in a set graph format to obtain a first hidden state feature corresponding to the time correlation;

[0152] By using the second convolution kernel in the convolutional neural network model, a convolution operation is performed on the port state information at the same time in the set time period input in a set graph format to obtain a second hidden state feature corresponding to the spatial correlation;

[0153] A combination of the first hidden state feature and the second hidden state feature is determined as the target hidden state feature.

[0154] Optionally, the network device is further configured to perform the following steps:

[0155] Arranging the port status information within the set time period in a first direction according to the chronological order, and arranging the information contained in different port status information in a second direction according to the information type, to obtain a target graph conforming to the set graph format, wherein the first direction and the second direction are different arrangement directions;

[0156] The target map is input into the convolutional neural network model.

[0157] Optionally, the network device is further configured to perform the following steps:

[0158] According to the element values ​​in one or more channels of the first convolution kernel, the weighted sums of the same type of information in the port state information at different times within the set time period are calculated respectively to obtain the first hidden state features corresponding to each of the one or more channels of the first convolution kernel.

[0159] Optionally, the network device is further configured to perform the following steps:

[0160] Determine the number of time instants of different port state information in the set graph format as the number of elements required to be set in a single channel of the first convolution kernel;

[0161] The arrangement direction of the port status information at different times in the set graph format is determined as the element arrangement direction required to be set in a single channel of the first convolution kernel.

[0162] Optionally, the network device is further configured to perform the following steps:

[0163] According to the element values ​​in one or more channels of the second convolution kernel, the weighted sums of different types of information contained in the port state information at the same time within the set time period are calculated respectively to obtain the second hidden state features corresponding to each of the one or more channels of the second convolution kernel.

[0164] Optionally, the network device is further configured to perform the following steps:

[0165] Determine the number of different types of information contained in the single port state information in the set graph format as the number of elements required to be set in a single channel of the second convolution kernel;

[0166] The arrangement direction of different types of information contained in the single port state information in the set graph format is determined as the element arrangement direction required to be set in a single channel of the second convolution kernel.

[0167] Optionally, the network device is further configured to perform the following steps:

[0168] The first hidden state feature and the second hidden state feature are concatenated into a one-dimensional vector to obtain the target hidden state feature.

[0169] Optionally, the explicit congestion notification configuration information matching the target hidden state feature is determined by a pre-trained reinforcement learning model; and the network device is further configured to perform the following steps:

[0170] Constructing a combined model by using the output data of the convolutional neural network model as input data of the reinforcement learning model;

[0171] The combined model is trained by using the port status information sequences corresponding to different time periods and the explicit congestion notification configuration information matched by each of the port status information sequences as training samples.

[0172] Optionally, the network device is further configured to perform the following steps:

[0173] Collecting the packet sending rate, explicit congestion notification marking rate and queue length corresponding to the port of the network device at a set time interval;

[0174] By combining the collected packet sending rate, explicit congestion notification marking rate and queue length at each time, the port status information at each time is obtained;

[0175] The port status information within the set time period is filtered out from the port status information at each time.

[0176] Optionally, the network device is further configured to perform the following steps:

[0177] Determine the rewards of each preset configuration scheme according to the target hidden state characteristics through a pre-trained reinforcement learning model;

[0178] According to the rewards of the various preset configuration schemes, determining a target preset scheme from the various preset configuration schemes;

[0179] According to the target preset scheme, explicit congestion notification configuration information matching the target hidden state characteristics is determined.

[0180] In a fourth aspect, an embodiment of the present application provides a congestion configuration adjustment device, such as Figure 6 As shown, the device comprises:

[0181] An information acquisition module is used to acquire the port status information of the network device within a set time period;

[0182] A state initialization module is used to analyze the time correlation and spatial correlation of the port state information within the set time period through a pre-trained convolutional neural network model to obtain target hidden state features, wherein the time correlation is used to characterize the law of the port state information within the set time period changing over time, and the spatial correlation is used to characterize the deep coupling relationship between different types of information contained in the port state information at the same time;

[0183] An information determination module, configured to determine explicit congestion notification configuration information matching the target hidden state feature;

[0184] The configuration adjustment module is used to adjust the explicit congestion notification configuration parameters of the network device according to the determined explicit congestion notification configuration information.

[0185] Optionally, the state initialization module includes:

[0186] A first initialization module, used for inputting the port status information within the set time period into the convolutional neural network model in a set graph format;

[0187] A second initialization module is used to perform a convolution operation on the port state information at different times within the set time period input in a set graph format through a first convolution kernel in the convolutional neural network model to obtain a first hidden state feature corresponding to the time correlation;

[0188] A third initialization module is used to perform a convolution operation on the port state information at the same time in the set time period input in a set graph format through a second convolution kernel in the convolutional neural network model to obtain a second hidden state feature corresponding to the spatial correlation;

[0189] The fourth initialization module is used to determine the combination of the first hidden state feature and the second hidden state feature as the target hidden state feature.

[0190] Optionally, the first initialization module includes:

[0191] A first input module is used to arrange the port status information within the set time period in a first direction according to the chronological order, and to arrange the information contained in different port status information in a second direction according to the information type, so as to obtain a target map conforming to the set map format, wherein the first direction and the second direction are different arrangement directions;

[0192] The second input module is used to input the target map into the convolutional neural network model.

[0193] Optionally, the second initialization module includes:

[0194] The first calculation module is used to calculate the weighted sum of the same type of information in the port state information at different times within the set time period according to the element values ​​in one or more channels of the first convolution kernel, so as to obtain the first hidden state features corresponding to each of the one or more channels of the first convolution kernel.

[0195] Optionally, the device further comprises:

[0196] A first processing module, used for determining the number of time instants of different port state information in the set graph format as the number of elements required to be set in a single channel of the first convolution kernel;

[0197] The second processing module is used to determine the arrangement direction of the port status information at different times in the set graph format as the element arrangement direction required to be set in a single channel of the first convolution kernel.

[0198] Optionally, the third initialization module includes:

[0199] The second calculation module is used to calculate the weighted sum of different types of information contained in the port state information at the same time within the set time period according to the element values ​​in one or more channels of the second convolution kernel, so as to obtain the second hidden state features corresponding to each of the one or more channels of the second convolution kernel.

[0200] Optionally, the device further comprises:

[0201] A third processing module is used to determine the number of different types of information contained in the single port state information in the set graph format as the number of elements required to be set in a single channel of the second convolution kernel;

[0202] The fourth processing module is used to determine the arrangement direction of different types of information contained in the single port state information in the set graph format as the element arrangement direction required to be set in a single channel of the second convolution kernel.

[0203] Optionally, the fourth initialization module includes:

[0204] The feature concatenation module is used to concatenate the first hidden state feature and the second hidden state feature into a one-dimensional vector to obtain the target hidden state feature.

[0205] Optionally, the explicit congestion notification configuration information matching the target hidden state feature is determined by a pre-trained reinforcement learning model;

[0206] The device also includes:

[0207] A model building module, used to build a combined model by using the output data of the convolutional neural network model as the input data of the reinforcement learning model;

[0208] The model training module is used to train the combined model by using the port status information sequences corresponding to different time periods and the explicit congestion notification configuration information matched by each of the port status information sequences as training samples.

[0209] Optionally, the information acquisition module includes:

[0210] A first acquisition module, used to acquire the packet sending rate, explicit congestion notification marking rate and queue length corresponding to the port of the network device according to a set time interval;

[0211] The second acquisition module is used to obtain the port status information at each time by combining the acquired packet sending rate, explicit congestion notification marking rate and queue length at each time;

[0212] The third acquisition module is used to filter out the port status information within the set time period from the port status information at each time.

[0213] Optionally, the information determination module includes:

[0214] A first determination submodule is used to determine the reward of each preset configuration scheme according to the target hidden state characteristics through a pre-trained reinforcement learning model;

[0215] A second determination submodule, configured to determine a target preset solution from the preset configuration solutions according to the rewards of the preset configuration solutions;

[0216] The third determination submodule is used to determine, according to the target preset scheme, explicit congestion notification configuration information that matches the target hidden state characteristics.

[0217] It can be seen from the above technical solution that the embodiment of the present application, with the help of the feature extraction capability of the convolutional neural network model, conducts targeted analysis on the law of changes of the port status information over time within the set time period and the deep coupling relationship between different types of information contained in the same port status information, and determines the target hidden state characteristics to reduce the loss of useful details related to the congestion configuration decision in the hidden state initialization link, thereby improving the accuracy of ECN configuration adjustment and improving the network transmission performance of the data center. Compared with the fully connected neural network model, the input data of the convolutional neural network model does not need to be padded with 0 in advance, which is conducive to improving the efficiency of ECN configuration adjustment.

[0218] It should be noted that the device embodiment is similar to the method embodiment, so the description is relatively simple, and the relevant parts can be referred to the method embodiment.

[0219] The present application also provides an electronic device, referring to Figure 7 , Figure 7 Schematic diagram of an electronic device proposed in an embodiment of the present application. Figure 7As shown, the electronic device 100 includes: a memory 110 and a processor 120. The memory 110 and the processor 120 are connected via a bus communication. A computer program is stored in the memory 110. The computer program can be run on the processor 120 to implement the steps in the congestion configuration adjustment method or the congestion control method disclosed in the embodiments of the present application.

[0220] The present application also provides a computer-readable storage medium. Figure 8 , Figure 8 Schematic diagram of a computer-readable storage medium proposed in an embodiment of the present application. Figure 8 As shown, a computer program / instruction 210 is stored on the computer-readable storage medium 200. When the computer program / instruction 210 is executed by the processor, the steps in the congestion configuration adjustment method or the congestion control method disclosed in the embodiments of the present application are implemented.

[0221] The embodiment of the present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps in the congestion configuration adjustment method or the congestion control method disclosed in the embodiment of the present application.

[0222] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0223] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt 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.

[0224] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, systems, devices, storage media, and program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal 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 1A device that provides the functions specified in a block or multiple blocks.

[0225] The above is a detailed introduction to a congestion configuration adjustment method, congestion control method, system, product and device provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A congestion configuration adjustment method, characterized in that: The method comprises: Obtain port status information of network devices within a set time period; The port status information within the set time period is input into a pre-trained convolutional neural network model in a set graph format, and the time correlation and spatial correlation of the port status information within the set time period are analyzed by the convolutional neural network model to obtain the target hidden state feature, wherein the time correlation is used to characterize the law of the port status information within the set time period changing over time, and the spatial correlation is used to characterize the deep coupling relationship between different types of information contained in the port status information at the same time; Determining explicit congestion notification configuration information matching the target hidden state characteristics; According to the determined explicit congestion notification configuration information, an explicit congestion notification configuration parameter of the network device is adjusted.

2. The congestion configuration adjustment method according to claim 1, characterized in that: The convolutional neural network model is used to analyze the temporal correlation and spatial correlation of the port status information within the set time period to obtain target hidden state features, including: By using the first convolution kernel in the convolutional neural network model, a convolution operation is performed on the port state information at different times within the set time period input in a set graph format to obtain a first hidden state feature corresponding to the time correlation; By using the second convolution kernel in the convolutional neural network model, a convolution operation is performed on the port state information at the same time in the set time period input in a set graph format to obtain a second hidden state feature corresponding to the spatial correlation; A combination of the first hidden state feature and the second hidden state feature is determined as the target hidden state feature.

3. The congestion configuration adjustment method according to claim 2, characterized in that: The step of inputting the port status information within the set time period into a pre-trained convolutional neural network model in a set graph format includes: Arranging the port status information within the set time period in a first direction according to the chronological order, and arranging the information contained in different port status information in a second direction according to the information type, to obtain a target graph conforming to the set graph format, wherein the first direction and the second direction are different arrangement directions; The target map is input into the convolutional neural network model.

4. The congestion configuration adjustment method according to claim 2, characterized in that: The first convolution kernel in the convolutional neural network model performs a convolution operation on the port state information at different times within the set time period input in a set graph format to obtain a first hidden state feature corresponding to the time correlation, including: According to the element values ​​in one or more channels of the first convolution kernel, the weighted sums of the same type of information in the port state information at different times within the set time period are calculated respectively to obtain the first hidden state features corresponding to each of the one or more channels of the first convolution kernel.

5. The congestion configuration adjustment method according to claim 4, characterized in that: The element setting information of the first convolution kernel is determined by the following steps: Determine the number of time instants of different port state information in the set graph format as the number of elements required to be set in a single channel of the first convolution kernel; The arrangement direction of the port status information at different times in the set graph format is determined as the element arrangement direction required to be set in a single channel of the first convolution kernel.

6. The congestion configuration adjustment method according to claim 2, characterized in that: The second convolution kernel in the convolutional neural network model performs a convolution operation on the port state information at the same time in the set time period input in a set graph format to obtain a second hidden state feature corresponding to the spatial correlation, including: According to the element values ​​in one or more channels of the second convolution kernel, the weighted sums of different types of information contained in the port state information at the same time within the set time period are calculated respectively to obtain the second hidden state features corresponding to each of the one or more channels of the second convolution kernel.

7. The congestion configuration adjustment method according to claim 6, characterized in that: The element setting information of the second convolution kernel is determined by the following steps: Determine the number of different types of information contained in the single port state information in the set graph format as the number of elements required to be set in a single channel of the second convolution kernel; The arrangement direction of different types of information contained in the single port state information in the set graph format is determined as the element arrangement direction required to be set in a single channel of the second convolution kernel.

8. The congestion configuration adjustment method according to claim 2, characterized in that: The step of determining a combination of the first hidden state feature and the second hidden state feature as the target hidden state feature includes: The first hidden state feature and the second hidden state feature are concatenated into a one-dimensional vector to obtain the target hidden state feature.

9. The congestion configuration adjustment method according to any one of claims 1 to 8, characterized in that: The explicit congestion notification configuration information matching the target hidden state feature is determined by a pre-trained reinforcement learning model; The convolutional neural network model and the reinforcement learning model are trained by the following steps: Constructing a combined model by using the output data of the convolutional neural network model as the input data of the reinforcement learning model; The combined model is trained by using the port status information sequences corresponding to different time periods and the explicit congestion notification configuration information matched by each of the port status information sequences as training samples.

10. The congestion configuration adjustment method according to any one of claims 1 to 8, characterized in that: The obtaining of the port status information of the network device within a set time period includes: Acquiring, at a set time interval, a packet sending rate, an explicit congestion notification marking rate, and a queue length corresponding to a port of the network device; The obtained packet sending rate, explicit congestion notification marking rate and queue length are combined at each time to obtain the port status information at each time. The port status information within the set time period is filtered out from the port status information at each time.

11. The congestion configuration adjustment method according to any one of claims 1 to 8, characterized in that: The determining of explicit congestion notification configuration information matching the target hidden state characteristic comprises: Determine the rewards of each preset configuration scheme according to the target hidden state characteristics through a pre-trained reinforcement learning model; According to the rewards of the various preset configuration schemes, determining a target preset scheme from the various preset configuration schemes; According to the target preset scheme, explicit congestion notification configuration information matching the target hidden state characteristics is determined.

12. A congestion control method, characterized in that: The method comprises: Determining whether to perform an explicit congestion notification mark on a data packet currently required to be forwarded to a receiving device according to the adjusted explicit congestion notification configuration parameter, wherein the explicit congestion notification mark is used to adjust a rate at which a sending device sends data packets; The explicit congestion notification configuration parameters are adjusted according to the congestion configuration adjustment method according to any one of claims 1-11.

13. A congestion control system, characterized in that: The system includes a network device, a receiving device and a sending device, wherein: The network device is used to obtain its own port status information within a set time period; The network device is further used to input the port status information within the set time period into a pre-trained convolutional neural network model in a set graph format, and analyze the time correlation and spatial correlation of the port status information within the set time period through the convolutional neural network model to obtain the target hidden state feature, wherein the time correlation is used to characterize the law of the port status information within the set time period changing over time, and the spatial correlation is used to characterize the deep coupling relationship between different types of information contained in the port status information at the same time; The network device is further configured to determine explicit congestion notification configuration information matching the target hidden state characteristic; The network device is further configured to adjust its own explicit congestion notification configuration parameters according to the determined explicit congestion notification configuration information; The network device is further used to determine whether to perform explicit congestion notification marking on the data packet currently required to be forwarded to the receiving device according to the adjusted explicit congestion notification configuration parameters; The receiving device is configured to send a congestion notification packet to the sending device in response to receiving a data packet carrying an explicit congestion notification tag; The sending device is used to reduce the rate at which it sends data packets to the network device in response to receiving the congestion notification packet.

14. The congestion control system according to claim 13, characterized in that: The network device is further used to perform the following steps: By using the first convolution kernel in the convolutional neural network model, a convolution operation is performed on the port state information at different times within the set time period input in a set graph format to obtain a first hidden state feature corresponding to the time correlation; By using the second convolution kernel in the convolutional neural network model, a convolution operation is performed on the port state information at the same time in the set time period input in a set graph format to obtain a second hidden state feature corresponding to the spatial correlation; A combination of the first hidden state feature and the second hidden state feature is determined as the target hidden state feature.

15. The congestion control system according to claim 14, characterized in that: The network device is further used to perform the following steps: Arranging the port status information within the set time period in a first direction according to the chronological order, and arranging the information contained in different port status information in a second direction according to the information type, to obtain a target graph conforming to the set graph format, wherein the first direction and the second direction are different arrangement directions; The target map is input into the convolutional neural network model.

16. The congestion control system according to claim 14, characterized in that: The network device is further used to perform the following steps: According to the element values ​​in one or more channels of the first convolution kernel, the weighted sums of the same type of information in the port state information at different times within the set time period are calculated respectively to obtain the first hidden state features corresponding to each of the one or more channels of the first convolution kernel.

17. The congestion control system according to claim 16, characterized in that: The network device is further used to perform the following steps: Determine the number of time instants of different port state information in the set graph format as the number of elements required to be set in a single channel of the first convolution kernel; The arrangement direction of the port status information at different times in the set graph format is determined as the element arrangement direction required to be set in a single channel of the first convolution kernel.

18. The congestion control system according to claim 14, characterized in that: The network device is further used to perform the following steps: According to the element values ​​in one or more channels of the second convolution kernel, the weighted sums of different types of information contained in the port state information at the same time within the set time period are calculated respectively to obtain the second hidden state features corresponding to each of the one or more channels of the second convolution kernel.

19. The congestion control system according to claim 18, characterized in that The network device is further used to perform the following steps: Determine the number of different types of information contained in the single port state information in the set graph format as the number of elements required to be set in a single channel of the second convolution kernel; The arrangement direction of different types of information contained in the single port state information in the set graph format is determined as the element arrangement direction required to be set in a single channel of the second convolution kernel.

20. The congestion control system according to claim 14, characterized in that The network device is further used to perform the following steps: The first hidden state feature and the second hidden state feature are concatenated into a one-dimensional vector to obtain the target hidden state feature.

21. The congestion control system according to any one of claims 13 to 20, characterized in that: The explicit congestion notification configuration information matching the target hidden state feature is determined by a pre-trained reinforcement learning model; the network device is further used to perform the following steps: Constructing a combined model by using the output data of the convolutional neural network model as the input data of the reinforcement learning model; The combined model is trained by using the port status information sequences corresponding to different time periods and the explicit congestion notification configuration information matched by each of the port status information sequences as training samples.

22. The congestion control system according to any one of claims 13 to 20, characterized in that: The network device is further used to perform the following steps: Collecting the packet sending rate, explicit congestion notification marking rate and queue length corresponding to the port of the network device at a set time interval; By combining the collected packet sending rate, explicit congestion notification marking rate and queue length at each time, the port status information at each time is obtained; The port status information within the set time period is filtered out from the port status information at each time.

23. The congestion control system according to any one of claims 13 to 20, characterized in that: The network device is further used to perform the following steps: Determine the rewards of each preset configuration scheme according to the target hidden state characteristics through a pre-trained reinforcement learning model; According to the rewards of the various preset configuration schemes, determining a target preset scheme from the various preset configuration schemes; According to the target preset scheme, explicit congestion notification configuration information matching the target hidden state characteristics is determined.

24. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the congestion configuration adjustment method according to any one of claims 1 to 11 is implemented, or the congestion control method according to claim 12 is implemented.

25. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the congestion configuration adjustment method according to any one of claims 1 to 11, or implements the congestion control method according to claim 12.

Citation Information

Patent Citations

  • TCP congestion dynamic control method and device based on deep learning

    CN113300970A

  • Network traffic prediction model establishment method and device, electronic equipment and storage medium

    CN113743594A

  • Switch link resource prediction method based on spatial-temporal characteristics

    CN114205251A

  • Network traffic prediction method, computer device, product and storage medium

    CN114422382A

  • Feedback control method and apparatus in ATM exchange

    JP2005245034A