Congestion management method and device, equipment and storage medium
By collecting and processing a variety of congestion feedback signals, extracting information from unidentified fields, and performing congestion management, it solves the problems of congestion control algorithm deployment flexibility and CPU overhead in the existing technology, and improves the performance and throughput of the data center.
Patent Information
- Application Number
- CN202411179765.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-10-29
AI Technical Summary
Existing congestion control algorithms are difficult to flexibly deploy and adapt to the needs of different scenarios in large-scale networks, and the software solution cannot meet the hardware transmission protocol, resulting in throughput loss and high CPU overhead, and cannot meet the low latency and high bandwidth requirements of modern data centers. performance requirements.
By collecting multiple congestion feedback signals, including packet-driven and time-driven signals, it extracts feedback information of unidentified fields and performs congestion management based on signal types, reducing CPU overhead and adapting to different network scenarios.
It achieves saving CPU overhead while ensuring the effectiveness of congestion management, adapts to the evolving network needs, and improves the performance and throughput of the data center.
Smart Images

Figure CN118869602A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly to congestion management methods, devices, apparatuses, and computer-readable storage media. Background Art
[0002] In modern data centers, emerging applications such as distributed memory and large language models place increasing demands on networks. However, large-scale networks are prone to long queues, fluctuating processing delays, and even packet loss, which inevitably lead to increased latency and reduced throughput. Therefore, congestion control has become a key transmission function to ensure excellent performance of these applications. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for congestion management is provided. The method includes: collecting multiple congestion feedback signals, the multiple congestion feedback signals including a first type of congestion feedback signal driven by a data packet and a second type of congestion feedback signal driven by time; in response to determining that the multiple congestion feedback signals include at least one unrecognized field, extracting feedback information associated with the at least one unrecognized field from the multiple congestion feedback signals by configuring field extraction parameters; and performing congestion management based at least on the types of the multiple congestion feedback signals, the corresponding predefined fields in the multiple congestion feedback signals, and the extracted feedback information.
[0004] In a second aspect of the present disclosure, a device for congestion management is provided. The device includes: a signal collection module configured to collect multiple congestion feedback signals, the multiple congestion feedback signals including a first type of congestion feedback signal driven by a data packet and a second type of congestion feedback signal driven by time; an information extraction module configured to extract feedback information associated with at least one unrecognized field from the multiple congestion feedback signals by configuring field extraction parameters in response to determining that the multiple congestion feedback signals include at least one unrecognized field; and an execution module configured to perform congestion management based at least on the types of the multiple congestion feedback signals, the corresponding predefined fields in the multiple congestion feedback signals, and the extracted feedback information.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram showing an example environment in which embodiments according to the present disclosure may be implemented;
[0010] Figure 2 A schematic diagram showing an exemplary architecture for congestion management according to some embodiments of the present disclosure;
[0011] Figure 3 A schematic diagram showing a congestion signal feedback process according to some embodiments of the present disclosure is shown;
[0012] Figure 4 An exemplary schematic diagram for congestion signal processing according to some embodiments of the present disclosure is shown;
[0013] Figure 5 An exemplary schematic diagram for congestion signal processing according to some embodiments of the present disclosure is shown;
[0014] Figure 6 An exemplary schematic diagram for congestion signal processing according to some embodiments of the present disclosure is shown;
[0015] Figure 7 A flowchart illustrating an example process of interaction for congestion management according to some embodiments of the present disclosure is shown;
[0016] Figure 8 A schematic structural block diagram showing an example apparatus for congestion management according to some embodiments of the present disclosure; and
[0017] Fig. 9 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0019] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0020] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0021] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0022] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0023] As mentioned above, emerging applications such as distributed memory and large language models (LLM) place increasing demands on data center networks, requiring them to provide ultra-low latency (e.g., 3 to 5 microseconds) and increasing bandwidth (e.g., 40 to 100 Gbps). However, large-scale networks are prone to long queues, fluctuating processing delays, and even packet loss, which inevitably leads to increased tail latency and reduced throughput. Therefore, congestion control (CC) has become a key transmission function to ensure excellent performance of these applications.
[0024] Congestion control algorithms are commonly used to implement congestion control and management. Deploying different congestion control algorithms often requires complex modifications, which is difficult to implement for inflexible hardware network interface cards (NICs). This is because different congestion control algorithms may use different congestion signals to design various control decisions for network congestion. For a specific congestion control algorithm, careful hardware design and a series of complete testing processes based on its characteristics are required before deployment, which may require a great deal of time and labor costs, thus becoming an obstacle to large-scale deployment of the algorithm.
[0025] Different scenarios usually require different network topologies, adopt different communication modes, and generate different traffic characteristics. For them, to achieve the best performance, the CC algorithm needs to be constantly changed according to the underlying scenario. Currently, there is no unified CC mechanism that can meet the needs of all scenarios. At the same time, the continuous development of the network has put forward many new features and requirements for CC. For example, the increase in bandwidth delay product (BDP) requires CC to have shorter and shorter decision cycles, while the in-network telemetry technology can provide CC with detailed characteristics within the network. Therefore, even if the optimal model is established based on the current situation, it is difficult to meet the evolving algorithms applicable to various scenarios.
[0026] Existing software solutions cannot take into account the transmission protocol (RDMA) on the hardware. Therefore, this software solution will result in throughput loss (20% to 70%) and excessive CPU overhead, making it difficult to meet performance requirements. The hardware framework needs to rely on the underlying programmable resources, but not all network cards are configured with these programmable resources, and these resource configurations require a high cost. At the same time, congestion in the software data path cannot be perceived, so the versatility of the hardware framework is limited.
[0027] An embodiment of the present disclosure proposes a scheme for congestion management. According to the scheme, multiple congestion feedback signals are collected, which may include a first type of congestion feedback signal driven by a data packet and a second type of congestion feedback signal driven by time. If it is determined that the multiple congestion feedback signals include at least one unrecognized field, feedback information associated with the at least one unrecognized field is extracted from the multiple congestion feedback signals by configuring field extraction parameters. Congestion management is performed based at least on the types of the multiple congestion feedback signals, the corresponding predefined fields in the multiple congestion feedback signals, and the extracted feedback information.
[0028] In this way, the embodiments of the present disclosure can save CPU overhead while ensuring the effectiveness of congestion management.
[0029] Various example implementations of the solution are described in detail below in conjunction with the accompanying drawings.
[0030] Example Environment
[0031] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, environment 100 includes congestion management device 110 and hosts 130 and 150. Host 130 and host 150 communicate with each other via communication network 140.
[0032] Host 130 and host 150 may be any two hosts in a host cluster, and communication network 140 may be an internal communication network in the host cluster that connects host 130 and host 150. It is understandable that, although only hosts 130 and 150 are shown in environment 100, in actual applications, the host cluster may include far more than two hosts, for example, the host cluster may include hundreds, thousands, or tens of thousands of hosts.
[0033] like Figure 1 As shown, the host 130 may include one or more network cards 131 (e.g., network card 131-1, network card 131-2, network card 131-3, ..., network card 131-N, etc.). The host 150 may also include one or more network cards 151 (e.g., network card 151-1, network card 151-2, network card 151-3, ..., network card 151-N, etc.). The network card 131 and the network card 151 may be remote direct memory access (RDMA) network cards, and the RDMA network card may perform RDMA read operations or RDMA write operations, and exchange data without any kernel memory involvement. Thus, the data transmission efficiency of the RDMA network card is improved.
[0034] The communication network 140 may include multiple switches 141 (e.g., switch 141-1, switch 141-2, ..., switch 141-N, etc.). The host 130 and the host 150 may be connected through one or more switches 141. One or more network cards 131 of the host 130 may be connected to the same switch 141, or may be connected to multiple switches 141 respectively. For example, multiple network cards 131 may be connected to the switch 141-1, so that the multiple network cards 131 may communicate via the switch 141-1. One or more network cards 151 of the host 150 may be connected to the same switch 141, or may be connected to multiple switches 141 respectively. It is understandable that although the communication network 140 in the environment 100 only shows the switch 141, in actual application, the communication network 140 may also include other network devices, and it should not be understood that the communication network 140 is limited to including only the switch 141.
[0035] In some embodiments, the host 130 can communicate with the host 150, other hosts or other electronic devices through the RDMA network card 141 to achieve data transmission. The hosts 130 and 150 can be any type of mobile terminal, fixed terminal or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication systems (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio broadcast receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the hosts 130 and 150 can support any type of interface for the user (such as "wearable" circuits, etc.). In some embodiments, the hosts 130 and 150 can also be various types of computing systems / servers that can provide computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, and the like.
[0036] In an embodiment of the present disclosure, a host in a host cluster can send data to another host via a switch. The host that sends data can be called a transmitting host, and the host that receives data can be called a receiving host. For example, if host 150 receives a data packet from host 130, host 130 is a transmitting host, and host 150 is a receiving host. In some embodiments, host 150 can also be a transmitting host, and host 130 can also be a receiving host.
[0037] After receiving the data packet from the transmitting host, the receiving host or the switch 140 may feed back the congestion information in the data transmission path to the transmitting host so that the transmitting host side implements congestion control according to the congestion feedback information.
[0038] The congestion management device 110 here may be formed by a software program or by a hardware device. In the case where the congestion management device 110 is formed by a software program, the congestion management device 110 may be deployed on the same host in the host cluster or on different hosts. The congestion management device 110 may perform congestion task management and congestion control decisions through congestion feedback signals collected from the host and / or switch.
[0039] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.
[0040] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0041] Congestion Management Example Architecture and Process
[0042] Figure 2 An example architecture 200 for congestion management according to some embodiments of the present disclosure is shown. Figure 1 An example architecture 200 is described.
[0043] like Figure 2 As shown, data can be transmitted between the transmitter 210 and the receiver 230. The transmitter 210 can be Figure 1 The host 130 or 150 in FIG. 10A . Accordingly, the receiver may be Figure 1 The data transmission between the transmitter 210 and the receiver 230 may be via a switch 220, which may be, for example, the switch 140.
[0044] The congestion management device 110 may be at least partially deployed inside the transmitter 210 and / or the receiver 230, or deployed separately as an independent device.
[0045] The congestion management device 110 may collect congestion feedback signals from the transmitter 210 and / or the receiver 230. The congestion feedback information may include different types of congestion feedback signals, for example, feedback signals driven by data packets, feedback signals driven by time, etc. Different types of feedback signals differ in triggering mechanisms, signal sources, and signal generation time periods.
[0046] The congestion management device 110 may include a first signal collection unit 112, a second signal collection unit 114, and a congestion task processing unit 116. The first signal collection unit 112 may efficiently extract congestion-related signals and provide them to the second signal collection unit 114 to obtain necessary information for decision making.
[0047] The congestion task processing unit 116 may implement decisions of congestion control behavior and feed the decisions back to the transmitter 210 and / or the receiver 230. For example, data 231 associated with the decisions of congestion control behavior may be fed back from the receiver 230 to the transmitter 210 via the switch 220.
[0048] In an embodiment of the present disclosure, the first signal collecting unit 112 may be formed by a hardware device, while the second signal collecting unit 114 and the congestion task processing unit 116 may be at least partially formed by a software program.
[0049] Figure 3 Yet another example architecture of the congestion management device 110 according to an embodiment of the present disclosure is shown.
[0050] like Figure 3 As shown, the first signal collection unit 112 can collect congestion feedback signals from the transmit (TX) pipeline and the receive (RX) pipeline, and transmit the collected signals to the second signal collection unit 114. The second signal collection unit 114 can parse the congestion feedback signal transmitted by the first signal collection unit 112.
[0051] The first signal collection unit 112 may include two main components, namely, a signal collection module 210 (Signal Collection) and an information generation module 220 (Message Generation). The signal collection module is responsible for extracting various feedback signals required for congestion control from various data paths, including the amount of data in the sending direction, congestion feedback information in the receiving direction, and local time information. Since these signals directly sent to the software will cause excessive software processing pressure, the information generation module can provide aggregation and merging functions to perform different processing on different signals.
[0052] The second signal collection unit 114 can parse the message transmitted by the first signal collection unit 112, and perform congestion control calculations according to the algorithm design. The driver part 230 of the second signal collection unit 114 is responsible for parsing various messages and putting them into a unified memory, and handing them over to the agent part 240 through memory mapping. The agent part 240 is encapsulated through a unified algorithm 106 to provide users with a simpler and unified interface for programming. The processing of congestion tasks can be implemented by a variety of algorithms 106. These algorithms can be selected according to actual needs.
[0053] For example, there are two basic ways to feed back congestion information to the first signal collection unit 112, namely, feeding back the original data packet and feeding back the processed congestion signal. The rate of the original data packet is very high (such as 80-148Mpps / 100GE), which will bring pressure to the subsequent software processing, and the transmitted data also contains a lot of redundant information. If the processed congestion signal is fed back, more valid data is transmitted and the transmission rate can be adjusted.
[0054] As described above, the congestion feedback information may include different types of congestion feedback signals, for example, a feedback signal driven by a data packet and a feedback signal driven by time, etc. These feedback signals may be extracted by defining corresponding extraction logic.
[0055] For the processed congestion signal, there may be custom fields in such a congestion signal that cannot be extracted according to general logic. For example, after the first signal collection unit 112 feeds back the collected congestion feedback signal to the second signal collection unit 114, for the custom fields that cannot be identified in the signal, the second signal collection unit 114 will configure corresponding field extraction parameters and send the field extraction parameters to the first signal collection unit 112 to extract feedback information associated with the unidentified fields from the congestion feedback signal.
[0056] Figure 4 A schematic diagram showing a process of extracting feedback information associated with an unrecognized field according to an embodiment of the present disclosure is shown.
[0057] like Figure 4 As shown, the congestion feedback signals collected by the first signal collecting unit 112 may include an RX packet driven congestion feedback signal 410 , a time driven congestion feedback signal 420 , and an RX packet driven congestion feedback signal 430 .
[0058] There are unrecognized custom fields in these congestion feedback signals. For example, the congestion feedback signal 410 driven by the RX packet includes a custom field 411, the congestion feedback signal 420 driven by the time includes a custom field 421, and the congestion feedback signal 430 driven by the RX packet includes a custom field 431. When the second signal collection unit 114 determines that the custom field 411, the custom field 421 and the custom field 431 cannot be identified by the general extraction logic, the respective field extraction parameters 440 of the congestion feedback signal 410 driven by the RX packet, the congestion feedback signal 420 driven by the time and the congestion feedback signal 430 driven by the RX packet are issued. The parameter may include, for example, an offset and a size, which may indicate the field position and field size and / or length of the field in the entire signal. Based on the configured field extraction parameter 440, the first signal collection unit 112 may report the extracted feedback information associated with the unrecognized field to the second signal collection unit 114, so that the second signal collection unit 114 performs further congestion management decisions based on the feedback information. Thereby, the evolving and changing needs of new congestion feedback signals can be supported.
[0059] In some cases, if the original congestion feedback signal is directly fed to the second signal collection unit 114, it may cause excessive consumption of PCIe bus bandwidth, thereby affecting data plane transmission. This is because the feedback frequency of some original signals (such as packet-by-packet ACK) is very high, and in some scenarios, it can reach a processing time frequency of >100Mpps. Such a high processing requirement poses a great challenge to the software processing capability, and also occupies shared PCIe bus bandwidth resources.
[0060] Therefore, in some embodiments, the congestion management device 110 may identify multiple congestion events based on the types of the multiple congestion feedback signals and the feedback information extracted from the multiple congestion feedback signals. The congestion management device 110 may perform an accumulation operation or a merging operation on the multiple congestion feedback signals based on the identified multiple congestion events.
[0061] For example, if a first congestion feedback signal associated with a first congestion event and a second congestion feedback signal associated with a second congestion event both involve a first congestion management object, the congestion management device 110 may determine that the first congestion event is associated with the second congestion event. After determining the association, if it is determined that the second state of the first congestion management object indicated by the second congestion feedback signal is an updated state of the first state of the first congestion management object indicated by the first congestion feedback signal, the congestion management device 110 may perform the merging operation on the first congestion feedback signal and the second congestion feedback signal and determine the second congestion feedback signal as a processed congestion feedback signal obtained through the merging operation.
[0062] For example, after determining the association, if it is determined that the first state of the first congestion management object indicated by the first congestion feedback signal and the second state of the first congestion management object indicated by the second congestion feedback signal represent the cumulative state of the first congestion management object in different time intervals, the congestion management device 110 can perform the accumulation operation on the first congestion feedback signal and the second congestion feedback signal, and determine the accumulated first congestion feedback signal and the second congestion feedback signal as the processed congestion feedback signals obtained after the accumulation operation.
[0063] Figure 5 A schematic diagram showing a process of processing a congestion feedback signal according to an embodiment of the present disclosure is shown.
[0064] For example, the congestion feedback signal can be divided into three types via the type scheduling unit 510, such as accumulative signals (accumulate), coalescent signals (coalescent), and raw types (Raw). Accumulative signals can perform an accumulation operation 520 on the input signals to prevent all of them from being sent to the second signal collection unit 114. Common signals such as the number of bytes of sent data packets, the total number of ACK or ECE marked data packets received, and the cumulative number of time intervals can all be classified into this category. Such signals are generally very frequent, and the specific accumulation period is configured by the user. Coalescent signals refer to the merging operation 530 of the occurrence of multiple signals, so that only the latest status information needs to be sent to avoid excessive control. For example, disordered and timeout signals only need to be sent once in a single cycle. The original type information 540 will not be specially processed and will be accumulated in the buffer 560 first.
[0065] These signals are constructed into specific messages and sent to the second signal collection unit 114 through the DMA module. Since the bit width of a single DMA transmission (512 bits) is higher than the width of the message (32 bits), the efficiency of a single transmission is only 6% of the valid data. In order to improve the efficiency of transmitting valid data, these messages will be cached in batches and sent up after the DMA bus bit width is completed. However, this method may cause the messages to be sent untimely. Therefore, two thresholds, message threshold and deadline threshold, are configured for the buffer 560 to ensure that this cache meets the timeliness requirements of the software algorithm. Specifically, the user configures the threshold of the number of messages and the threshold of the deadline. As long as one of the two thresholds is reached, the information is sent immediately to avoid excessive waiting.
[0066] The above-mentioned merging, accumulation operations and control of the cache semaphore can be at least partially performed by, for example, Figure 3 It is implemented by the information generating module 220 in the first signal collecting unit 112 shown in FIG.
[0067] In some embodiments, the sent congestion feedback signal can be provided to the congestion task processing unit 116 for congestion processing in a variety of ways. The general data plane usually sets up multiple queues for transmission to ensure isolation. When this design is used to divide messages into different queues and then assign them to the congestion task processing unit 116 through the scheduling module, different events will conflict. For example, a packet loss message announces that the network is congested, but before that, a non-congested message may have been sent to the software, so incorrect control may occur.
[0068] Therefore, the embodiment of the present disclosure also provides a message conflict handling mechanism of the congestion management device 110. The congestion feedback signal to be sent up can be parsed by the second signal collection unit 114, such as the driver part 230 in the second signal collection unit 114, from the unified queue. For example, the second signal collection unit 114 can judge the conflict type of messages within a period of time, and only after resolving the conflicting events and processing logic, will the congestion-related information be put into the context required for congestion control (for example, Figure 3 The congestion control context shown in FIG. 1 is handed over to the congestion task processing unit 116. After receiving the congestion task processing unit 116, it can perform subsequent processing according to its own logic without considering conflicts. Figure 6 As shown, once a conflict is found in the message queue 610, the conflict resolver 620 (eg, the driver part 230 that may be included in the second signal collecting unit 114) may resolve the conflict by defining conflicting events and conflict handling logic.
[0069] The solution proposed in the embodiments of the present disclosure can save processor overhead while achieving a higher congestion control level.
[0070] Example Process
[0071] Figure 7 FIG. 7 is a flow chart showing an example congestion management process 700 according to some embodiments of the present disclosure. The process 700 may be implemented at the congestion management device 110. Figure 1 700 is described below.
[0072] like Figure 7 As shown, in block 710, the congestion management device 110 collects a plurality of congestion feedback signals, where the plurality of congestion feedback signals include a first type of congestion feedback signal driven by a data packet and a second type of congestion feedback signal driven by time.
[0073] At block 720 , in response to determining that the plurality of congestion feedback signals include at least one unrecognized field, the congestion management device 110 extracts feedback information associated with the at least one unrecognized field from the plurality of congestion feedback signals by configuring field extraction parameters.
[0074] At block 730 , the congestion management device 110 performs congestion management based at least on the types of the plurality of congestion feedback signals, the corresponding predefined fields in the plurality of congestion feedback signals, and the extracted feedback information.
[0075] In some embodiments, process 700 also includes: collecting multiple congestion feedback signals by configuring at least one of the following parameters: a signal source associated with the multiple congestion feedback signals, a period for triggering collection, a data volume associated with the collected trigger, or a data transmission direction associated with the collected trigger.
[0076] In some embodiments, extracting feedback information includes: after multiple congestion feedback signals are provided to a second signal collection unit in the management device via a first signal collection unit in the management device, in response to the second signal collection unit detecting that an unrecognized field is included in a first congestion feedback signal of the multiple congestion feedback signals, determining the field position and field size of the unrecognized field in the first congestion feedback signal; the second signal collection unit sends a field extraction parameter generated based on the field position and field size to the first signal collection unit to extract feedback information from the first signal collection unit.
[0077] In some embodiments, performing congestion management includes: identifying multiple congestion events based on types of multiple congestion feedback signals, corresponding predefined fields in the multiple congestion feedback signals, and extracted feedback information; in response to determining that a first congestion event among the multiple congestion events is associated with a second congestion event, generating a processed congestion feedback signal by performing an accumulation operation or a merging operation on a first congestion feedback signal associated with the first congestion event and a second congestion feedback signal associated with the second congestion event; and performing congestion management based on the processed congestion feedback signal.
[0078] In some embodiments, process 700 also includes: in response to a first congestion feedback signal associated with the first congestion event and a second congestion feedback signal associated with the second congestion event both involving a first congestion management object, determining that the first congestion event is associated with the second congestion event; in response to determining that the second state of the first congestion management object indicated by the second congestion feedback signal is an updated state of the first state of the first congestion management object indicated by the first congestion feedback signal, performing a merge operation on the first congestion feedback signal and the second congestion feedback signal; and determining the second congestion feedback signal as a processed congestion feedback signal obtained after the merge operation.
[0079] In some embodiments, process 700 also includes: in response to a first congestion feedback signal associated with the first congestion event and a second congestion feedback signal associated with the second congestion event both involving the first congestion management object, determining that the first congestion event is associated with the second congestion event; in response to determining that a first state of the first congestion management object indicated by the first congestion feedback signal and a second state of the first congestion management object indicated by the second congestion feedback signal represent cumulative states of the first congestion management object in different time intervals, performing an accumulation operation on the first congestion feedback signal and the second congestion feedback signal; and determining the accumulated first congestion feedback signal and the second congestion feedback signal as processed congestion feedback signals obtained through the accumulation operation.
[0080] In some embodiments, performing congestion management includes: dividing multiple congestion feedback signals into multiple groups of congestion feedback signals based on the collection time of the multiple congestion feedback signals; preprocessing corresponding congestion events indicated by a group of congestion feedback signals to remove at least part of the congestion feedback signals in the group of congestion feedback signals; and performing congestion management based on the preprocessed multiple groups of congestion feedback signals.
[0081] In some embodiments, process 700 further includes: in response to determining that a second congestion feedback signal in the set of congestion feedback signals indicates that a congestion event indicated by a first congestion feedback signal in the set of congestion feedback signals has failed, removing the first congestion feedback signal.
[0082] Example devices and equipment
[0083] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 8 A schematic structural block diagram of an example apparatus 800 for congestion management according to some embodiments of the present disclosure is shown. The apparatus 800 may be implemented as or included in the congestion management device 110. Each module / component in the apparatus 800 may be implemented by hardware, software, firmware, or any combination thereof.
[0084] like Figure 8 As shown, the apparatus 800 includes a signal collection module 810, configured to collect a plurality of congestion feedback signals, the plurality of congestion feedback signals including a first type of congestion feedback signal driven by a data packet and a second type of congestion feedback signal driven by time; an information extraction module 820, configured to extract feedback information associated with at least one unrecognized field from the plurality of congestion feedback signals by configuring field extraction parameters in response to determining that the plurality of congestion feedback signals include at least one unrecognized field; and an execution module 830, configured to perform congestion management based at least on the types of the plurality of congestion feedback signals, the corresponding predefined fields in the plurality of congestion feedback signals, and the extracted feedback information.
[0085] In some embodiments, the signal collection module 810 can also be configured to collect multiple congestion feedback signals by configuring at least one of the following parameters: a signal source associated with the multiple congestion feedback signals, a period for triggering collection, a data volume associated with the collected trigger, or a data transmission direction associated with the collected trigger.
[0086] In some embodiments, extracting feedback information includes: after multiple congestion feedback signals are provided to a second signal collection unit in the management device via a first signal collection unit in the management device, in response to the second signal collection unit detecting that an unrecognized field is included in a first congestion feedback signal of the multiple congestion feedback signals, determining the field position and field size of the unrecognized field in the first congestion feedback signal; the second signal collection unit sends a field extraction parameter generated based on the field position and field size to the first signal collection unit to extract feedback information from the first signal collection unit.
[0087] In some embodiments, the execution module 830 is further configured to: identify multiple congestion events based on types of multiple congestion feedback signals, corresponding predefined fields in the multiple congestion feedback signals, and the extracted feedback information; in response to determining that a first congestion event among the multiple congestion events is associated with a second congestion event, generate a processed congestion feedback signal by performing an accumulation operation or a merging operation on a first congestion feedback signal associated with the first congestion event and a second congestion feedback signal associated with the second congestion event; and perform congestion management based on the processed congestion feedback signal.
[0088] In some embodiments, the device 800 also includes a determination module configured to: determine that the first congestion event is associated with the second congestion event in response to a first congestion feedback signal associated with the first congestion event and a second congestion feedback signal associated with the second congestion event both involving a first congestion management object; perform a merge operation on the first congestion feedback signal and the second congestion feedback signal in response to determining that the second state of the first congestion management object indicated by the second congestion feedback signal is an updated state of the first state of the first congestion management object indicated by the first congestion feedback signal; and determine the second congestion feedback signal as a processed congestion feedback signal obtained after the merge operation.
[0089] In some embodiments, the determination module is further configured to: determine that the first congestion event is associated with the second congestion event in response to a first congestion feedback signal associated with the first congestion event and a second congestion feedback signal associated with the second congestion event both involving the first congestion management object; perform an accumulation operation on the first congestion feedback signal and the second congestion feedback signal in response to determining that the first state of the first congestion management object indicated by the first congestion feedback signal and the second state of the first congestion management object indicated by the second congestion feedback signal represent the accumulated states of the first congestion management object in different time intervals; and determine the accumulated first congestion feedback signal and the second congestion feedback signal as processed congestion feedback signals obtained after the accumulation operation.
[0090] In some embodiments, performing congestion management includes: dividing multiple congestion feedback signals into multiple groups of congestion feedback signals based on the collection time of the multiple congestion feedback signals; preprocessing corresponding congestion events indicated by a group of congestion feedback signals to remove at least part of the congestion feedback signals in the group of congestion feedback signals; and performing congestion management based on the preprocessed multiple groups of congestion feedback signals.
[0091] In some embodiments, the apparatus 800 further comprises a removal module configured to: in response to determining that a second congestion feedback signal in a group of congestion feedback signals indicates that a congestion event indicated by a first congestion feedback signal in a group of congestion feedback signals has failed, remove the first congestion feedback signal.
[0092] Fig. 9 900 is a block diagram of an electronic device in which one or more embodiments of the present disclosure may be implemented. It should be understood that Fig. 9 The electronic device 900 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Fig. 9 The electronic device 900 shown can be used to implement Figure 1 terminal device 110 and / or congestion management device 110.
[0093] like Fig. 9 As shown, the electronic device 900 is in the form of a general electronic device. The components of the electronic device 900 may include, but are not limited to, one or more processors or processing units 910, a memory 920, a storage device 930, one or more communication units 940, one or more input devices 950, and one or more output devices 960. The processing unit 910 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 920. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 900.
[0094] The electronic device 900 typically includes a plurality of computer storage media. Such media can be any accessible media that can be obtained by the electronic device 900, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 920 can be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory) or some combination thereof. The storage device 930 can be a removable or non-removable medium, and can include a machine-readable medium, such as a flash drive, a disk, or any other medium, which can be used to store information and / or data and can be accessed within the electronic device 900.
[0095] The electronic device 900 may further include additional removable / non-removable, volatile / non-volatile storage media. Fig. 9 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. Memory 920 may include a computer program product 925 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0096] The communication unit 940 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 900 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 900 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0097] The input device 950 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 960 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 900 may also communicate with one or more external devices (not shown) through the communication unit 940 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 900, or communicate with any device that allows the electronic device 900 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0098] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0099] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0100] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0101] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0102] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0103] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A method for congestion management, comprising: The management device collects a plurality of congestion feedback signals, wherein the plurality of congestion feedback signals include a first type of congestion feedback signal driven by a data packet and a second type of congestion feedback signal driven by time; In response to determining that the plurality of congestion feedback signals include at least one unrecognized field, extracting feedback information associated with the at least one unrecognized field from the plurality of congestion feedback signals by configuring field extraction parameters; as well as The congestion management is performed based at least on the types of the plurality of congestion feedback signals, corresponding predefined fields in the plurality of congestion feedback signals, and the extracted feedback information.
2. The method according to claim 1, further comprising: The multiple congestion feedback signals are collected by configuring at least one of the following parameters: a signal source associated with the plurality of congestion feedback signals, The cycle used to trigger the collection, the amount of data associated with the trigger of the collection, or The data transfer direction associated with the collected trigger.
3. The method according to claim 1, wherein extracting the feedback information comprises: After the plurality of congestion feedback signals are provided to a second signal collecting unit in the management device via the first signal collecting unit in the management device, in response to the second signal collecting unit detecting that a first congestion feedback signal of the plurality of congestion feedback signals includes an unrecognized field, determining a field position and a field size of the unrecognized field in the first congestion feedback signal; The second signal collecting unit transmits the field extraction parameter generated based on the field position and the field size to the first signal collecting unit to extract the feedback information from the first signal collecting unit.
4. The method of claim 1 , wherein performing the congestion management comprises: identifying a plurality of congestion events based on types of the plurality of congestion feedback signals, corresponding predefined fields in the plurality of congestion feedback signals, and the extracted feedback information; In response to determining that a first congestion event of the plurality of congestion events is associated with a second congestion event, generating a processed congestion feedback signal by performing an accumulation operation or a merging operation on a first congestion feedback signal associated with the first congestion event and a second congestion feedback signal associated with the second congestion event; as well as The congestion management is performed based on the processed congestion feedback signal.
5. The method according to claim 4, further comprising: In response to a first congestion feedback signal associated with the first congestion event and a second congestion feedback signal associated with the second congestion event both involving a first congestion management object, determining that the first congestion event is associated with the second congestion event; in response to determining that the second state of the first congestion management object indicated by the second congestion feedback signal is an updated state of the first state of the first congestion management object indicated by the first congestion feedback signal, performing the merging operation on the first congestion feedback signal and the second congestion feedback signal; as well as The second congestion feedback signal is determined as the processed congestion feedback signal obtained through the merging operation.
6. The method according to claim 4, further comprising: In response to a first congestion feedback signal associated with the first congestion event and a second congestion feedback signal associated with the second congestion event both involving a first congestion management object, determining that the first congestion event is associated with the second congestion event; In response to determining that a first state of the first congestion management object indicated by the first congestion feedback signal and a second state of the first congestion management object indicated by the second congestion feedback signal represent cumulative states of the first congestion management object in different time intervals, performing the accumulation operation on the first congestion feedback signal and the second congestion feedback signal; as well as The accumulated first congestion feedback signal and the second congestion feedback signal are determined as the processed congestion feedback signal obtained through the accumulation operation.
7. The method of claim 1 , wherein performing the congestion management comprises: dividing the plurality of congestion feedback signals into a plurality of groups of congestion feedback signals based on collection times of the plurality of congestion feedback signals; Preprocessing corresponding congestion events indicated by a set of congestion feedback signals to remove at least part of the congestion feedback signals in the set of congestion feedback signals; as well as The congestion management is performed based on the pre-processed sets of congestion feedback signals.
8. The method according to claim 7, further comprising: In response to determining that a second congestion feedback signal in the set of congestion feedback signals indicates that a congestion event indicated by a first congestion feedback signal in the set of congestion feedback signals has failed, removing the first congestion feedback signal.
9. An apparatus for congestion management, comprising: A signal collection module, configured to collect a plurality of congestion feedback signals, wherein the plurality of congestion feedback signals include a first type of congestion feedback signal driven by a data packet and a second type of congestion feedback signal driven by time; an information extraction module, configured to extract feedback information associated with the at least one unrecognizable field from the multiple congestion feedback signals by configuring field extraction parameters in response to determining that the multiple congestion feedback signals include at least one unrecognizable field; as well as An execution module is configured to execute the congestion management based at least on types of the multiple congestion feedback signals, corresponding predefined fields in the multiple congestion feedback signals, and the extracted feedback information.
10. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 8 when executed by the at least one processing unit.
11. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 8.
