Network congestion processing method and device and related equipment

The controller receives and processes network congestion information for AI large model training tasks from the perspective of the entire network, determines and optimizes the forwarding path, solves the problem of low AI training network throughput, and achieves efficient network congestion processing and throughput improvement.

CN118714084AActive Publication Date: 2024-09-27NEW H3C TECH CO LTD

Patent Information

Application Number
CN202410997624.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-09-27
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

The existing technology for handling network congestion for large AI model training tasks lacks forwarding path optimization from a network-wide perspective, resulting in reduced AI training network throughput and low efficiency.

Method used

The controller receives target flow information from the perspective of the entire network, determines the optimal forwarding path based on link quality and topology information, and delivers the forwarding flow table to network devices to achieve efficient forwarding of AI large model training task traffic.

Benefits of technology

Effectively sense and quickly eliminate congested traffic, avoid single-switch congestion, and improve the overall throughput and network performance of AI large model training tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714084A
    Figure CN118714084A
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent computing centers, in particular to a network congestion processing method and device and related equipment. The method is applied to a controller, and comprises the following steps: receiving target flow information reported by a target end, the target flow information comprising a source network address and a target network address of a target flow, and sending the target flow to the target end after the target end receives a target message carrying a congestion mark, reporting target flow information corresponding to the target message to the controller; determining a forwarding path for forwarding the target flow based on the source network address and the destination network address of the target flow, the link quality information required by the target flow, the whole network topology and the link quality of each link; and issuing a corresponding forwarding flow table to each target network device included in the forwarding path, so that each target network device forwards the target flow based on the received forwarding flow table.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent computing centers, and in particular to a network congestion processing method, device and related equipment. Background Art

[0002] With the release of various AI (Artificial Intelligence) large models, the demand for intelligent computing centers has exploded rapidly, and a new wave of development of artificial intelligence technology has been quickly set off. The industry has an increasingly urgent demand for larger-scale AI model training. This puts forward new requirements for the performance of data center networks that support basic training. It is necessary to provide a high-performance network with no packet loss, large bandwidth, and high throughput. However, the communication relationship of AI training tasks is complex, and many-to-one traffic models or uneven link HASH (hash) can cause network congestion.

[0003] At present, the AI ​​large model training network uses explicit congestion notification (ECN) to sense and handle switch congestion. When the switch is congested, the destination GPU (Graphics Processing Unit) server senses the congestion and notifies the source GPU server. After receiving the notification, the source GPU server will reduce the message sending rate to avoid aggravating congestion. Summary of the invention

[0004] The present application provides a network congestion processing method, apparatus and related equipment.

[0005] In a first aspect, the present application provides a network congestion processing method, which is applied to a controller, and the method includes:

[0006] Receive target flow information reported by the destination end, wherein the target flow information includes the source network address and the destination network address of the target flow, and after receiving the target message carrying the congestion mark, the destination end reports the target flow information corresponding to the target message to the controller;

[0007] Determine a forwarding path for forwarding the target flow based on the source network address and the destination network address of the target flow, the link quality information required by the target flow, the entire network topology and the link quality of each link;

[0008] A corresponding forwarding flow table is respectively issued to each target network device included in the forwarding path, so that each target network device forwards the target flow based on the received forwarding flow table.

[0009] Optionally, based on the source network address and the destination network address of the target flow, the path quality information required by the target flow, the whole network topology and the link quality of each link, the step of determining the forwarding path for forwarding the target flow includes:

[0010] Based on the whole network topology and the link quality of each link, determine at least one end-to-end path from the source end to the destination end, whose path quality meets the path quality required by the target flow;

[0011] A shortest path among the at least one end-to-end path is determined as a forwarding path for forwarding the target flow.

[0012] Optionally, if the shortest path among the at least one end-to-end path includes multiple paths, the step of determining the shortest path among the at least one end-to-end path as the forwarding path for forwarding the target flow includes:

[0013] The path with the largest remaining bandwidth among the shortest paths is determined as a forwarding path for forwarding the target flow.

[0014] Optionally, the target flow is AI large model training task flow; and the step of receiving target flow information reported by the destination terminal includes:

[0015] Receive the AI ​​large model training task traffic information reported by the destination GPU server network card through the agent program, wherein the AI ​​large model training task traffic information includes the network address of the source GPU server network card of the AI ​​large model training task and the network address of the destination GPU server network card; after the destination GPU server network card receives the traffic message of the AI ​​large model training task carrying the congestion mark sent by the source GPU server, the AI ​​large model training task traffic information is reported to the controller through the agent program running on the destination GPU server.

[0016] In a second aspect, the present application provides a network congestion processing device, applied to a controller, the device comprising:

[0017] A receiving unit, configured to receive target flow information reported by a destination end, wherein the target flow information includes a source network address and a destination network address of the target flow, and after receiving a target message carrying a congestion mark, the destination end reports the target flow information corresponding to the target message to the controller;

[0018] A determination unit, configured to determine a forwarding path for forwarding the target flow based on a source network address and a destination network address of the target flow, link quality information required by the target flow, a full network topology and link quality of each link;

[0019] The sending unit is used to send the corresponding forwarding flow table to each target network device included in the forwarding path, so that each target network device forwards the target flow based on the received forwarding flow table.

[0020] Optionally, when determining a forwarding path for forwarding the target flow based on the source network address and the destination network address of the target flow, the path quality information required by the target flow, the entire network topology and the link quality of each link, the determining unit is specifically used to:

[0021] Based on the whole network topology and the link quality of each link, determine at least one end-to-end path from the source end to the destination end, whose path quality meets the path quality required by the target flow;

[0022] A shortest path among the at least one end-to-end path is determined as a forwarding path for forwarding the target flow.

[0023] Optionally, if the path with the shortest path in the at least one end-to-end path includes multiple paths; when determining the path with the shortest path in the at least one end-to-end path as the forwarding path for forwarding the target flow, the determining unit is specifically used to:

[0024] The path with the largest remaining bandwidth among the shortest paths is determined as a forwarding path for forwarding the target flow.

[0025] Optionally, the target flow is AI large model training task traffic; when receiving the target flow information reported by the destination end, the receiving unit is specifically used to:

[0026] Receive the AI ​​large model training task traffic information reported by the destination GPU server network card through the agent program, wherein the AI ​​large model training task traffic information includes the network address of the source GPU server network card of the AI ​​large model training task and the network address of the destination GPU server network card; after the destination GPU server network card receives the traffic message of the AI ​​large model training task carrying the congestion mark sent by the source GPU server, the AI ​​large model training task traffic information is reported to the controller through the agent program running on the destination GPU server.

[0027] In a third aspect, an embodiment of the present application provides a network congestion processing device, the network congestion processing device comprising:

[0028] A memory for storing program instructions;

[0029] The processor is used to call the program instructions stored in the memory, and execute the steps of the method as described in any one of the first aspects above according to the obtained program instructions.

[0030] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method described in any one of the first aspects above.

[0031] In summary, the network congestion processing method provided in the embodiment of the present application is applied to a controller, and the method includes: receiving target flow information reported by the destination end, wherein the target flow information includes the source network address and the destination network address of the target flow, and after the destination end receives the target message carrying the congestion mark, the target flow information corresponding to the target message is reported to the controller; based on the source network address and the destination network address of the target flow, the link quality information required for the target flow, the entire network topology and the link quality of each link, determine the forwarding path for forwarding the target flow; and respectively send corresponding forwarding flow tables to each target network device included in the forwarding path, so that each target network device forwards the target flow based on the received forwarding flow table.

[0032] By adopting the network congestion handling method provided in the embodiment of the present application, based on end-to-network collaboration, the controller adjusts the congested traffic from the perspective of the entire network, calculates the optimal forwarding path and allocates it to the AI ​​large model training task traffic, thereby achieving efficient perception and rapid elimination of congested traffic, and avoiding the AI ​​large model training task traffic sender from slowing down the transmission speed due to congestion caused by a single switch, thereby reducing the overall throughput of the AI ​​large model training task traffic in the entire network. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments of the present application or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings of the embodiments of the present application.

[0034] Figure 1 A detailed flow chart of a network congestion processing method provided in an embodiment of the present application;

[0035] Figure 2 A schematic diagram of a controller intelligent routing process provided in an embodiment of the present application;

[0036] Figure 3 An architecture diagram of active perception of network congestion and dynamic optimization of forwarding paths for end-to-end collaboration provided in an embodiment of the present application;

[0037] Figure 4 A flow chart of active perception of network congestion and dynamic optimization control of forwarding paths for end-to-end collaboration provided in an embodiment of the present application;

[0038] Figure 5 A schematic diagram of the structure of a network congestion processing device provided in an embodiment of the present application;

[0039] Figure 6 A schematic diagram of the hardware architecture of a network congestion processing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, rather than limiting the present application. The singular forms of "a", "said" and "the" used in the present application and claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to any or all possible combinations of one or more associated listed items.

[0041] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, in addition, the word "if" used may be interpreted as "at..." or "when..." or "in response to determination".

[0042] At present, the ECN-based congestion control solution is to notify the sending GPU server to reduce the rate of sending messages through CNP messages, thereby alleviating congestion. This mechanism of reducing the sending rate of the sending end message is a congestion handling method based on the perspective of a single device. From the perspective of the entire AI training network, there are multiple paths to the destination GPU server. A single switch device lacks the perspective of the entire network and the means of global forwarding path tuning, which reduces the throughput of the entire AI training network and the efficiency and performance of AI training.

[0043] The embodiment of the present application provides a solution for end-to-network collaborative processing of network congestion. From a global perspective, the controller accurately collects the topology, paths, and bandwidth occupancy of the entire network, and combines the congested traffic re-optimization routing algorithm to re-select an optimized forwarding path for the congested traffic, thereby achieving high throughput for the entire network.

[0044] For example, see Figure 1 , which is a detailed flow chart of a congested network processing method provided by an embodiment of the present application, the method is applied to a controller, and the method includes the following steps:

[0045] Step 100: Receive target flow information reported by the destination end.

[0046] In the embodiment of the present application, after receiving the target message carrying the congestion mark, the destination end reports the target flow information corresponding to the target message to the controller.

[0047] The Artificial Intelligence Data Center (AIDC) is the most important computing power production center in the intelligent era. It uses a converged architecture computing system as a platform and data as a resource. It can use powerful computing power to drive AI models to deeply process data, continuously generate various intelligent computing services, and supply them to organizations and individuals in the form of cloud services through the network.

[0048] Source and destination: GPU servers that perform AI large model training tasks. The source and destination transmit AI large model training task traffic through networking. At this time, the AI ​​large model training task can be a task for training the text / voice / image / video recognition or generation function of the AI ​​large model.

[0049] In an embodiment of the present application, in an AI large model training task scenario, the AI ​​large model training task traffic information reported by the destination GPU server network card through a proxy program is received, wherein the above-mentioned AI large model training task traffic information includes the network address of the source GPU server network card of the above-mentioned AI large model training task and the network address of the above-mentioned destination GPU server network card; after the above-mentioned destination GPU server network card receives the traffic message of the above-mentioned AI large model training task carrying a congestion mark sent by the above-mentioned source GPU server, the above-mentioned AI large model training task traffic information is reported to the above-mentioned controller through the proxy program running on the above-mentioned destination GPU server.

[0050] In an embodiment of the present application, when the destination GPU server network card receives the AI ​​large model training task traffic message sent by the source GPU server through the network, it can identify whether the traffic message carries a congestion mark (e.g., a traffic message with ECN=11). If it is determined that a certain AI large model training task traffic message carries a congestion mark, the session information corresponding to the traffic is reported to the networking controller (e.g., a software defined network (SDN) controller), wherein the session information corresponding to a traffic reported to the controller may include the source network address of the traffic (e.g., IP address), the destination network address (e.g., IP address), source QP (Queue Pair), destination QP and ECN number.

[0051] In actual applications, the GPU server network card notifies the collected traffic information of the ECN=11 marked messages to the Agent (agent program) running on the GPU server through the RestAPI method, and the Agent reports it to the controller through the RestAPI method.

[0052] Step 110: Determine a forwarding path for forwarding the target flow based on the target flow information including the source network address and destination network address of the target flow, the link quality information required by the target flow, the entire network topology and the link quality of each link.

[0053] In practical applications, the forwarding path may include M target network devices and multiple target links formed by the M target network devices.

[0054] In the embodiment of the present application, the controller collects information such as the whole network topology, links, and bandwidth occupancy of each link in advance through a preset protocol (such as SNMP (Simple Network Management Protocol), telemetry (a network equipment monitoring technology)). The user can also configure the link quality information (such as the required bandwidth size) required for each AI large model training task in the controller, then the controller can determine the forwarding path for forwarding the above target flow based on the source network address of the target flow, the destination network address, the bandwidth size required for the target flow, the whole network topology information and the remaining available bandwidth size of each link. The forwarding path consists of several links.

[0055] In the embodiment of the present application, when determining the forwarding path for forwarding the target flow based on the source network address and the destination network address of the target flow included in the target flow information, the path quality information required by the target flow, the whole network topology and the link quality of each link, a preferred implementation method is:

[0056] Based on the whole network topology and the link quality of each link, at least one end-to-end path from the source end to the above-mentioned destination end is determined, and the path quality meets the path quality required by the above-mentioned target flow; the shortest path among the above-mentioned at least one end-to-end path is determined as the forwarding path for forwarding the above-mentioned target flow.

[0057] Specifically, the controller finds all paths that can meet the bandwidth requirements from the source end to the destination end, except for the current congested path, based on the source IP address and destination IP address of the target flow, combined with the network topology and each link information, and then selects the path with the least number of network devices (switching devices) from the source end (source GPU server) to the destination end (destination GPU server) from all the found paths. That is, the forwarding path for forwarding the target flow is determined from the shortest path.

[0058] Furthermore, if the shortest path in the at least one end-to-end path includes multiple paths, when the shortest path in the at least one end-to-end path is determined as the forwarding path for forwarding the target flow, a preferred implementation method is:

[0059] The path with the largest remaining bandwidth among the shortest paths is determined as the forwarding path for forwarding the target flow.

[0060] For example, if the shortest paths finally selected include path 1 and path 2, and the remaining available bandwidth of path 1 is greater than the remaining available bandwidth of path 2, path 1 may be determined as the forwarding path for forwarding the target flow.

[0061] Step 120: Sending a corresponding forwarding flow table to each target network device included in the forwarding path, so that each target network device forwards the target flow based on the received forwarding flow table.

[0062] Specifically, the controller determines the network devices included in the selected path based on the selected path, and then generates and sends corresponding forwarding table entries to each network device respectively. The forwarding priority of flow table forwarding is higher than route forwarding. Therefore, after receiving the forwarding table entries sent by the controller, each network device forwards the target flow based on the forwarding table entries.

[0063] In practical applications, a forwarding flow table may include the source network address, destination network address, outbound interface and next-hop device information of the target flow.

[0064] For example, assuming that the selected path includes network device 1, network device 2 and network device 3, a corresponding forwarding table entry 1 is generated for network device 1, and the matching items of forwarding table entry 1 include: source IP address and destination IP address, and the execution items include: the outgoing interface information is the interface directly connected to network device 2, and the next-hop device is network device 2; similarly, a corresponding forwarding table entry 2 is generated for network device 2, and the matching items of forwarding table entry 2 include: source IP address and destination IP address, and the execution items include: the outgoing interface information is the interface directly connected to network device 3, and the next-hop device is network device 3; network device 3 is directly connected to the destination GPU server, and a corresponding forwarding table entry 3 is generated for network device 3, and the matching items of forwarding table entry 3 include source IP address and destination IP address, and the execution items include: the outgoing interface information is the interface directly connected to the destination GPU server, and the next-hop device information may not be included.

[0065] After network device 1 receives the target flow message, it matches the locally maintained forwarding flow table according to the source IP address and the destination IP address of the target flow message, determines that it matches forwarding table item 1, and the corresponding outgoing interface is the interface directly connected to network device 2, and sends the target flow message from the interface directly connected to network device 2 to network device 2; after network device 2 receives the target flow message, it still matches the locally maintained forwarding flow table according to the source IP address and the destination IP address of the target flow message, determines that it matches forwarding table item 2, and the corresponding outgoing interface is the interface directly connected to network device 3, and sends the target flow message from the interface directly connected to network device 3 to network device 3; after network device 3 receives the target flow message, it still matches the locally maintained forwarding flow table according to the source IP address and the destination IP address of the target flow message, determines that it matches forwarding table item 3, and the corresponding outgoing interface is the interface directly connected to the destination GPU server, and sends the target flow message from the interface directly connected to the destination GPU server to the destination GPU.

[0066] For example, see Figure 2 FIG. 1 is a schematic diagram of a controller intelligent routing process provided by an embodiment of the present application, comprising the following steps:

[0067] Step 1: Determine the source and destination IP addresses of the traffic that is causing congestion.

[0068] Step 2: Find multiple reachable paths from the source IP to the destination IP based on the entire network topology and link information.

[0069] Step 3: Eliminate the reachable path that currently carries the congested traffic, and find a reachable path that meets the bandwidth requirement of the congested traffic from multiple reachable paths.

[0070] Step 4: Select the shortest path from the reachable paths.

[0071] Step 5: Determine whether there are multiple shortest paths; if so, execute step 6; otherwise, execute step 7.

[0072] Step 6: Find the shortest path with the largest remaining bandwidth, and then proceed to step 7.

[0073] Step 7: The shortest path found is determined as the target path to be optimized.

[0074] The following describes in detail the controller intelligent routing process provided by the embodiment of the present application in combination with specific application scenarios. Figure 3As shown, it is an architecture diagram of active perception of network congestion and dynamic optimization of forwarding paths for end-to-network collaboration provided by an embodiment of the present application; specifically, on the end side (GPU server side): the GPU server network card collects ECN=11 marked message information and reports it to the SDN controller; on the network side (SDN controller side): the SDN controller reselects the optimal forwarding path for congested traffic based on an intelligent routing algorithm. The end side and the network side realize end-to-network collaboration.

[0075] Specifically, in the embodiment of the present application, the detailed process of the end-network collaborative processing of network congestion is described in detail in Figure 4 As shown, for example, see Figure 4 As shown, it is a flow chart of active perception of network congestion and dynamic optimization control of forwarding paths for end-to-end collaboration provided in an embodiment of the present application; specifically, it includes:

[0076] 1. Network-wide information collection: The SDN controller collects information such as network-wide topology, links, and bandwidth usage of each link through SNMP and telemetry technologies.

[0077] 2. Congestion traffic perception: The RoCEv2 network card of the GPU server can collect ECN=11 marked message information, including source IP, destination IP, source QP, destination QP, and ECN number.

[0078] 3. Reporting of session information corresponding to congested traffic: The RoCEv2 network card notifies the collected ECN=11 marked message information (including source IP, destination IP, source QP, destination QP, ECN number, etc.) to the Agent through the RestAPI method, and the Agent reports it to the SDN controller through the RestAPI method.

[0079] In the embodiment of the present application, Agent refers to an application running on the GPU server, which is responsible for communicating with the GPU network card, receiving information reported by the network card, and then reporting it to the SDN controller. The configuration sent by the SDN controller to the network card can also be transferred through the Agent and then passed to the network card.

[0080] 4. The controller re-optimizes the forwarding path: Based on a global perspective, the SDN controller uses information such as the entire network topology, links, and bandwidth occupancy of each link as input to the intelligent routing algorithm to re-select an end-to-end optimized forwarding path for congested traffic.

[0081] 5. Send new path configuration information: The SDN controller sends the newly selected routing configuration information to the network device (such as a switch) corresponding to the forwarding path through the TafficMatrix flow table. Since the TafficMatrix flow table forwarding priority is higher than the routing forwarding, after optimization, the network device will give priority to forwarding according to the path corresponding to the TafficMatrix flow table.

[0082] In the embodiment of the present application, the TafficMatrix flow table refers to a technology for guiding traffic forwarding that is provided by network devices (such as switches) based on ACL (Access Control Lists) resources specifically for the construction of intelligent computing centers and is superior to routing forwarding.

[0083] Based on the same inventive concept as the above-mentioned embodiment of the invention, for example, refer to Figure 5 FIG. 1 is a schematic diagram of a network congestion processing device provided in an embodiment of the present application. The device is applied to a controller and includes:

[0084] The receiving unit 50 is used to receive the target flow information reported by the destination end, wherein the target flow information includes the source network address and the destination network address of the target flow, and after receiving the target message carrying the congestion mark, the destination end reports the target flow information corresponding to the target message to the controller;

[0085] A determination unit 51, configured to determine a forwarding path for forwarding the target flow based on a source network address and a destination network address of the target flow, link quality information required by the target flow, a full network topology and link quality of each link;

[0086] The sending unit 52 is used to send the corresponding forwarding flow table to each target network device included in the forwarding path, so that each target network device forwards the target flow based on the received forwarding flow table.

[0087] Optionally, when determining a forwarding path for forwarding the target flow based on the source network address and the destination network address of the target flow, the path quality information required by the target flow, the entire network topology and the link quality of each link, the determining unit 51 is specifically used to:

[0088] Based on the whole network topology and the link quality of each link, determine at least one end-to-end path from the source end to the destination end, whose path quality meets the path quality required by the target flow;

[0089] A shortest path among the at least one end-to-end path is determined as a forwarding path for forwarding the target flow.

[0090] Optionally, if the path with the shortest path in the at least one end-to-end path includes multiple paths; when the path with the shortest path in the at least one end-to-end path is determined as the forwarding path for forwarding the target flow, the determining unit 51 is specifically used to:

[0091] The path with the largest remaining bandwidth among the shortest paths is determined as a forwarding path for forwarding the target flow.

[0092] Optionally, the target flow is AI large model training task flow; when receiving the target flow information reported by the destination end, the receiving unit 50 is specifically used to:

[0093] Receive the AI ​​large model training task traffic information reported by the destination GPU server network card through the agent program, wherein the AI ​​large model training task traffic information includes the network address of the source GPU server network card of the AI ​​large model training task and the network address of the destination GPU server network card; after the destination GPU server network card receives the traffic message of the AI ​​large model training task carrying the congestion mark sent by the source GPU server, the AI ​​large model training task traffic information is reported to the controller through the agent program running on the destination GPU server.

[0094] The above units may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a certain unit is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0095] Furthermore, the network congestion processing device provided in the embodiment of the present application, from the hardware level, the hardware architecture diagram of the network congestion processing device can be seen in Figure 6 As shown, the network congestion processing device may include: a memory 60 and a processor 61,

[0096] The memory 60 is used to store program instructions; the processor 61 calls the program instructions stored in the memory 60 and executes the above method embodiment according to the obtained program instructions. The specific implementation method and technical effect are similar and will not be repeated here.

[0097] Optionally, the present application also provides a controller, comprising at least one processing element (or chip) for executing the above method embodiment.

[0098] Optionally, the present application also provides a program product, such as a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the above method embodiments.

[0099] Here, the machine-readable storage medium may be any electronic, magnetic, optical or other physical storage device that may contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium may be: RAM (RadomAccess Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as optical disk, DVD, etc.), or similar storage medium, or a combination thereof.

[0100] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0101] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0102] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0103] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer 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 device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0104] Moreover, these computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

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

[0106] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for handling network congestion, characterized in that: Applied to a controller, the method includes: receiving target flow information reported by a destination end, wherein the target flow information includes a source network address and a destination network address of the target flow, and after receiving a target message carrying a congestion mark, the destination end reports the target flow information corresponding to the target message to the controller; Determining a forwarding path for forwarding the target flow based on the source network address and the destination network address of the target flow, link quality information required by the target flow, the entire network topology and the link quality of each link; A corresponding forwarding flow table is respectively issued to each target network device included in the forwarding path, so that each target network device forwards the target flow based on the received forwarding flow table.

2. The method according to claim 1, wherein The step of determining a forwarding path for forwarding the target flow based on the source network address and the destination network address of the target flow, the path quality information required by the target flow, the entire network topology and the link quality of each link includes: Determine, based on the entire network topology and the link quality of each link, at least one end-to-end path from the source end to the destination end, the path quality of which meets the path quality required by the target flow; A shortest path among the at least one end-to-end path is determined as a forwarding path for forwarding the target flow.

3. The method according to claim 2, wherein If the shortest path among the at least one end-to-end path includes multiple paths, the step of determining the shortest path among the at least one end-to-end path as the forwarding path for forwarding the target flow includes: The path with the largest remaining bandwidth among the shortest paths is determined as the forwarding path for forwarding the target flow.

4. The method according to any one of claims 1 to 3, wherein The target flow is the AI ​​large model training task flow; The steps of receiving target flow information reported by the destination end include: Receive the AI ​​large model training task traffic information reported by the destination GPU server network card through the agent program, wherein the AI ​​large model training task traffic information includes the network address of the source GPU server network card of the AI ​​large model training task and the network address of the destination GPU server network card. After the destination GPU server network card receives the traffic message of the AI ​​large model training task carrying the congestion mark sent by the source GPU server, it reports the AI ​​large model training task traffic information to the controller through the agent program running on the destination GPU server.

5. A network congestion processing device, characterized in that: Applied to a controller, the device comprises: a receiving unit, configured to receive target flow information reported by a destination end, wherein the target flow information includes a source network address and a destination network address of the target flow, and after receiving a target message carrying a congestion mark, the destination end reports the target flow information corresponding to the target message to the controller; a determining unit, configured to determine a forwarding path for forwarding the target flow based on the source network address and the destination network address of the target flow, link quality information required by the target flow, the entire network topology and the link quality of each link; The sending unit is configured to send a corresponding forwarding flow table to each target network device included in the forwarding path, so that each target network device forwards the target flow based on the received forwarding flow table.

6. The device according to claim 5, characterized in that When determining a forwarding path for forwarding the target flow based on the source network address and destination network address of the target flow, path quality information required by the target flow, the entire network topology, and the link quality of each link, the determining unit is specifically configured to: Determine, based on the entire network topology and the link quality of each link, at least one end-to-end path from the source end to the destination end, the path quality of which meets the path quality required by the target flow; A shortest path among the at least one end-to-end path is determined as a forwarding path for forwarding the target flow.

7. The device according to claim 6, characterized in that If the shortest path among the at least one end-to-end path includes multiple paths, when determining the shortest path among the at least one end-to-end path as the forwarding path for forwarding the target flow, the determining unit is specifically configured to: The path with the largest remaining bandwidth among the shortest paths is determined as the forwarding path for forwarding the target flow.

8. The device according to any one of claims 5 to 7, characterized in that The target flow is the AI ​​large model training task traffic; when receiving the target flow information reported by the destination end, the receiving unit is specifically used to: Receive the AI ​​large model training task traffic information reported by the destination GPU server network card through the agent program, wherein the AI ​​large model training task traffic information includes the network address of the source GPU server network card of the AI ​​large model training task and the network address of the destination GPU server network card. After the destination GPU server network card receives the traffic message of the AI ​​large model training task carrying the congestion mark sent by the source GPU server, it reports the AI ​​large model training task traffic information to the controller through the agent program running on the destination GPU server.

9. A network congestion processing device, characterized in that: The network congestion processing device includes: a memory for storing program instructions; The processor is configured to call the program instructions stored in the memory, and execute the steps of the method according to any one of claims 1 to 4 according to the obtained program instructions.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method and controller capable of avoiding network congestion in software defined network

    CN104618254A

  • Determining method and device of congestion window in network

    CN105099938A

  • Congestion control method, device and equipment, and computer readable storage medium

    CN112787951A

  • Flow congestion control method and device

    CN115037688A

  • Method for realizing path calculation of multi-domain cloud network based on closed-loop congestion feedback and detection

    CN117811991A

Cited By

  • Network sharing method and device, equipment, storage medium and computer program product

    CN119341979A

  • Traffic forwarding scheduling method and device

    CN119583435A

  • Traffic forwarding method and device and related equipment

    CN119835219A

  • Data transmission method and system and electronic equipment

    CN120200961A

  • Data transmission system and method

    CN120200974A