Flow congestion control method, device and system
By disconnecting the BFD session in the network device and reselecting the data transmission path, the problem of congestion notification delay of ECN technology is solved, fast response and efficient traffic path update are achieved, and network transmission efficiency and link reliability are improved.
Patent Information
- Application Number
- CN202410635496.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-05-22
AI Technical Summary
When existing technologies deal with network traffic congestion, the congestion notification message forwarding delay and redundancy of ECN technology prevent the sending server from reducing the sending rate in time, and the effect of optimizing PFC triggering is limited.
After receiving traffic congestion indication information in the routing device or switch, the BFD session with the upstream device is disconnected and the data transmission path is reselected through the dynamic routing protocol to avoid waiting for PFC message delivery and quickly update the traffic path to regulate the link. congestion.
Effectively avoid the original congested link, reduce the number of triggers of PFC PAUSE frames, improve network transmission efficiency, ensure that the link does not suffer from traffic congestion, and avoid device isolation status.
Smart Images

Figure CN118573631A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a traffic congestion control method, device and system. Background Art
[0002] At present, the basic technology of Ethernet fusion RDMA technology RoCEv2 to ensure lossless network is priority-based flow control PFC technology, which relieves congestion by stopping the flow of congestion source. In the Ethernet link, the first device sends data to the second device. When the forwarding capacity of the second device is insufficient, the message sending rate of a certain priority in the link will exceed the receiving rate of the second device, which will lead to insufficient buffer space of the second device. When the buffer space is lower than the threshold, the second device will feedback to the first device through the PFC pause frame (PFC PAUSE frame). After the first device receives the PFC PAUSE frame, it will immediately stop sending data. After the first device receives the data later, it will cache the data locally, but as the time of stopping sending accumulates, the local buffer space of the first device will eventually be consumed, and the buffer space will be lower than the threshold. Therefore, it will continue to send PFC PAUSE frames to the upstream device (third device) of the first device for back pressure, and so on. The back pressure is hop by hop until the sending server stops sending data after receiving the PFC PAUSE frame, and then the restriction is lifted hop by hop, and the congestion in the network is relieved.
[0003] PFC technology directly stops upstream traffic, which may cause some tasks to time out. Therefore, the industry generally uses it in combination with explicit congestion notification (ECN) technology.
[0004] ECN technology is an end-to-end congestion control technology that can reduce the sending rate of the sending server to alleviate congestion in the network before PFC is triggered. When the second device detects traffic congestion, the second device sends a message carrying a traffic congestion mark to the receiving server. When the receiving server receives the message carrying the traffic congestion mark sent by the second device, it knows that congestion has occurred in the transmission link, generates a CNP congestion notification message, and sends the message to the sending server. When the sending server receives the CNP message, it reduces the corresponding data flow sending rate to alleviate the congestion in the network. Therefore, the number of PFC triggering in the network is reduced through ECN end-to-end early congestion traffic control means.
[0005] However, since the network is already congested, the time it takes for the CNP congestion notification message corresponding to the ECN technology to be forwarded to the receiving server is greatly increased, which will trigger PFC. Moreover, due to the redundancy of the network, the congestion notification message CNP sent by the receiving server may be forwarded to the sending server from another congested path, which will cause the sending server to be unable to reduce the sending rate in time and unable to optimize the triggering of PFC.
[0006] Therefore, how to effectively control traffic congestion remains to be solved. Summary of the invention
[0007] The present application provides a traffic congestion control method, device and system, which can effectively control traffic congestion.
[0008] In the first aspect, an embodiment of the present application provides a traffic congestion control method, which can be executed by a traffic congestion control device, and the traffic congestion control device can be a routing device or a module for a routing device, or a switch or a module for a switch. The present application does not limit the execution subject of the method. The method includes: after the first device receives the traffic congestion indication information sent by the second device, it stops sending data to the second device; wherein the second device is the downstream device of the first device; the traffic congestion indication information is a priority-based traffic control PFC pause frame; the first device determines at least one third device with which there is traffic transmission with the second device; the third device is the upstream device of the first device; the first device sends a first bidirectional forwarding monitoring BFD message to the at least one third device, and the first BFD message carries indication information for requesting to disconnect the BFD session with the third device; after the first device receives the second BFD message sent by the at least one third device, it disconnects the BFD session with the at least one third device; the second BFD message carries indication information for indicating that the third device agrees to disconnect the BFD session with the first device.
[0009] In the above scheme, when the first device receives the traffic congestion indication information sent by the second device, it determines that the link between the first device and the second device has traffic congestion; at this time, the first device immediately sends the first BFD message to the multiple upstream devices corresponding to the first device, disconnects the BFD session with the multiple upstream devices, and based on the dynamic routing protocol, the upstream device, that is, the third device, will reselect the routing path for data transmission and forward the data to the second device via the reselected routing path. Therefore, the original congested link is avoided in time, and there is no need to wait for the PFC message to be delivered to the sending server and wait for the sending server to stop traffic transmission; the PFC PAUSE frame can be terminated at the first hop, and the traffic path can be quickly updated to regulate the congestion of the link.
[0010] In a possible implementation method, the first device sends the first BFD message to N-1 third devices respectively; wherein, the number of third devices having traffic transmission with the second device is N, and N is an integer greater than or equal to 2.
[0011] In the above scheme, if there are N upstream devices for the first device, it only disconnects the BFD sessions with N-1 upstream devices, and the remaining one flow can still maintain the transmission of a single flow along the original path. This can ensure that there is no traffic congestion between the first device and the second device, and the first device is not in an isolated state, thereby improving the efficiency of network transmission.
[0012] In a possible implementation method, stop sending BFD Hello messages to the N-1 third devices and start a first timer; after the first timer expires, send the BFD Hello messages to the N-1 third devices to establish BFD sessions with the N-1 third devices respectively.
[0013] In the above scheme, after a period of time, the BFD session between the first device and N-1 third devices is re-established, and based on the dynamic routing protocol, the interrupted link is restored. The link between the first device and N-1 third devices will be added to the multi-link load sharing group, and the N-1 third devices can still forward data to the first device, and then forward it to the second device via the first device.
[0014] In a possible implementation method, the first device sets the Diag field of the BFD message to a first value, thereby generating the first BFD message.
[0015] The above solution, by newly defining the Diag field of the BFD message, enables it to adapt to generating corresponding marked BFD messages based on the received PFC messages, and then adjust the recalculation of ECMP path selection of network devices through the dynamic routing protocol linked to the BFD session state.
[0016] In a second aspect, an embodiment of the present application provides a traffic congestion control method, which can be executed by a traffic congestion control device, which can be a routing device or a module for a routing device, or a switch or a module for a switch. The present application does not limit the execution subject of the method. The method includes: a third device receives a first bidirectional forwarding monitoring BFD message sent by a first device; wherein the first BFD message is a message sent by the first device to the third device after receiving a priority-based flow control PFC pause frame from the second device; the second device is a downstream device of the first device; the third device is an upstream device of the first device and has flow transmission with the second device; the first BFD message carries indication information for requesting to disconnect the BFD session with the third device; the third device sends a second BFD message to the first device, and the second BFD message carries indication information for indicating that the third device agrees to disconnect the BFD session with the first device; the third device revokes the routing information with the first device from the routing forwarding table, and determines a fourth device based on recalculating the route; the fourth device is a downstream device of the third device, and the fourth device is an upstream device of the second device; the third device transmits flow with the second device via the fourth device.
[0017] In the above scheme, when the first device receives the traffic congestion indication information sent by the second device, it determines that the link between the first device and the second device has traffic congestion; at this time, the first device immediately sends the first BFD message to the multiple upstream devices corresponding to the first device, disconnects the BFD session with the multiple upstream devices, and based on the dynamic routing protocol, the upstream device, that is, the third device, will withdraw the routing information with the first device from the routing forwarding table, and determine the fourth device based on the recalculated route, and the third device transmits traffic with the second device via the fourth device. Therefore, the original congested link is avoided in time, and there is no need to wait for the PFC message to be delivered to the sending end server and wait for the sending end server to stop traffic transmission; the PFCPAUSE frame can be terminated at the first hop, and the traffic path can be quickly updated to regulate the congestion of the link.
[0018] In one possible implementation method, the third device stops sending BFD Hello messages to the first device and starts a second timer; after the second timer expires, the third device sends a BFD Hello message to the first device to establish a BFD session with the first device; and the third device adds routing information with the first device to the routing forwarding table.
[0019] In the above scheme, after a period of time, the BFD session between the first device and the third device is re-established, and based on the dynamic routing protocol, the interrupted link is restored. The link between the first device and the third device will be added to the multi-link load sharing group, and the third device can still forward data to the first device, and forward it to the second device via the first device.
[0020] In a possible implementation method, the third device sets the Diag field of the BFD message to a second value, thereby generating the second BFD message.
[0021] The above solution, by newly defining the Diag field of the BFD message, enables it to adapt to generating corresponding marked BFD messages based on the received PFC messages, and then adjust the recalculation of ECMP path selection of network devices through the dynamic routing protocol linked to the BFD session state.
[0022] In the third aspect, an embodiment of the present application provides a traffic congestion control device, which is applied to a first device, wherein the first device is included in a traffic congestion control system, and the traffic congestion control system further includes a second device and a third device, wherein the second device is a downstream device of the first device, and the third device is an upstream device of the first device, and the first device includes: a transceiver unit and a processing unit. The transceiver unit is used to stop sending data to the second device after receiving the traffic congestion indication information sent by the second device; wherein the traffic congestion indication information is a priority-based traffic control PFC pause frame; send a first bidirectional forwarding monitoring BFD message to the at least one third device, wherein the first BFD message carries indication information for requesting to disconnect the BFD session with the third device; after receiving the second BFD message sent by the at least one third device, disconnect the BFD session with the at least one third device; the second BFD message carries indication information for indicating that the third device agrees to disconnect the BFD session with the first device; the processing unit is used to determine at least one third device with which traffic transmission exists.
[0023] In a possible implementation method, the transceiver unit is used to send the first BFD message to N-1 third devices respectively; wherein, the number of third devices having traffic transmission with the second device is N, and N is an integer greater than or equal to 2.
[0024] In a possible implementation method, the transceiver unit is used to stop sending BFD Hello messages to the N-1 third devices and start a first timer; after the first timer expires, the BFD Hello messages are sent to the N-1 third devices to establish BFD sessions with the N-1 third devices respectively.
[0025] In a possible implementation method, the processing unit is used for the first device to set the Diag field of the BFD message to a first value, thereby generating the first BFD message.
[0026] In a fourth aspect, an embodiment of the present application provides a traffic congestion control device, which is applied to a third device. The third device is included in a traffic congestion control system. The traffic congestion control system also includes a first device and a second device. The second device is a downstream device of the first device, and the third device is an upstream device of the first device. The third device includes: a transceiver unit and a processing unit. A transceiver unit, used to receive a first bidirectional forwarding monitoring BFD message sent by a first device; wherein the first BFD message is a message sent by the first device to the third device after receiving a priority-based flow control PFC pause frame from the second device; the second device is a downstream device of the first device; the third device is an upstream device of the first device and has traffic transmission with the second device; the first BFD message carries indication information for requesting to disconnect the BFD session with the third device; a second BFD message is sent to the first device, and the second BFD message carries indication information for indicating that the third device agrees to disconnect the BFD session with the first device; a processing unit, used to revoke the routing information with the first device from the routing forwarding table, and determine a fourth device based on recalculating the route; the fourth device is a downstream device of the third device, and the fourth device is an upstream device of the second device; the third device transmits traffic with the second device via the fourth device.
[0027] In a possible implementation method, the transceiver unit is used to stop sending BFD Hello messages to the first device and start a second timer; after the second timer expires, the transceiver sends a BFD Hello message to the first device to establish a BFD session with the first device; and the third device adds routing information with the first device in the routing forwarding table.
[0028] In a possible implementation method, the processing unit is configured to set the Diag field of the BFD message to a second value, thereby generating the second BFD message.
[0029] In a fifth aspect, an embodiment of the present application further provides a computing device, including:
[0030] A memory for storing program instructions;
[0031] The processor is used to call the program instructions stored in the memory, and execute any method of the first aspect or any method of the second aspect according to the obtained program instructions.
[0032] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which computer-readable instructions are stored. When a computer reads and executes the computer-readable instructions, any method of the above-mentioned first aspect or any method of the above-mentioned second aspect is implemented.
[0033] In the seventh aspect, an embodiment of the present application provides a computer program product, including a computer program executable by a computer device, when the program is run on the computer device, the computer device executes any method of the above-mentioned first aspect or any method of the above-mentioned second aspect.
[0034] In an eighth aspect, an embodiment of the present application provides a traffic congestion control system, which includes a first device for executing any method of the above-mentioned first aspect, and a third device for executing any method of the above-mentioned second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 An architectural diagram of a traffic congestion control system provided in an embodiment of the present application;
[0036] Figure 2 A flow chart of a traffic congestion control method provided in an embodiment of the present application;
[0037] Figure 3 A flow chart of a traffic congestion control method provided in an embodiment of the present application;
[0038] Figure 4 A BFD message format diagram provided in an embodiment of the present application;
[0039] Figure 5 A flow chart of a traffic congestion control method provided in an embodiment of the present application;
[0040] Figure 6 A flow chart of a traffic congestion control method provided in an embodiment of the present application;
[0041] Figure 7 A schematic diagram of the structure of a traffic congestion control device provided in an embodiment of the present application;
[0042] Figure 8 A schematic diagram of the structure of a traffic congestion control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] The following is a brief explanation of several professional terms.
[0044] Remote Direct Memory Access (RDMA): To solve the delay caused by kernel copying in network data transmission in the traditional TCP / IP network protocol stack, RDMA technology can access memory data directly through the network interface without the intervention of the operating system kernel. This allows high-throughput, low-latency network communication, which is particularly suitable for use in large-scale parallel computer clusters.
[0045] RDMA over Converged Ethernet (RoCEv2): This is an Ethernet RDMA technology defined by the IBTA standard. Because the RoCEv2 protocol uses the Ethernet bearer of the UDP / IP protocol, it can be deployed in traditional three-layer Ethernet. It has gradually become the mainstream RDMA network technology in the industry. RoCEv2 adds UDP, IP, and Layer 2 Ethernet message headers to the original IB message header, and identifies the RoCE message through the UDP destination port number 4791. ECMP multi-path load balancing is performed through hashing of the source port number to improve network utilization.
[0046] Priority Flow Control (PFC): It is the most widely used Ethernet flow control technology. When the network of the queue with PFC function is congested, the downstream device sends PFCPAUSE frame to notify the upstream device to stop sending the traffic of the congested queue until the ingress port buffer of the downstream device reaches below the set congestion waterline, and then resends the notification to the upstream device to start transmission.
[0047] Explicit Congestion Notification (ECN): is an end-to-end network congestion notification mechanism defined in RFC3168. When a network device detects congestion, it sends a message carrying a congestion marker to the receiving server. The receiving server then sends CNP congestion notification packets (CNP packets for short) to the sending server to notify the sending server to reduce the rate of sending messages, thereby alleviating congestion.
[0048] Bidirectional Forwarding Detection (BFD): is a high-speed fault detection mechanism based on the RFC5880 standard. After two systems establish a BFD session, they periodically send BFD packets on the channel between them. If one party does not receive a BFD packet within the negotiated detection time, it is considered that a fault has occurred on the bidirectional channel. After the previous-hop routing protocol senses the link failure through BFD, it can take timely measures to recover from the fault.
[0049] Most of the business traffic carried by the RoCEv2 network is "elephant flow", that is, the number of communication flows is small, but the traffic of each flow is large. Therefore, the traditional multi-path load sharing (ECMP) technology using flow-by-flow hashing will cause a large amount of traffic on a single path among multiple paths. In large-scale networking, when multiple elephant flows are hashed to the same link, the link will be congested and packet loss will occur. Since RDMA technology is extremely sensitive to network packet loss, packet loss will cause a large number of retransmissions and thus cause a sharp drop in network throughput performance. Therefore, appropriate traffic congestion control technology is essential in RoCEv2 networks.
[0050] At present, the industry's basic technology for RoCEv2 network losslessness is PFC technology, which relieves congestion by stopping the traffic from the congestion source. However, PFC directly stops the traffic of upstream devices, which will cause some training tasks to time out and stop directly. Therefore, the industry generally uses it in combination with the explicit congestion notification ECN technology, and reduces the number of PFC triggers in the network through ECN end-to-end early congestion traffic control means.
[0051] PFC technology can provide priority-based flow control line by line. In an Ethernet link, the first device sends data to the second device. When the forwarding capacity of the second device is insufficient, the message sending rate of a certain priority in the link will exceed the receiving rate of the second device, which will lead to insufficient buffer space of the second device. When the buffer space is lower than the threshold, the second device will feedback to the first device through a PFC pause frame (PFC PAUSE frame). After the first device receives the PFC PAUSE frame, it will immediately stop sending data. After the first device receives the data later, it will cache the data locally. However, as the time of stopping sending accumulates, the local buffer space of the first device will eventually be consumed, and the buffer space will be lower than the threshold. Therefore, it will continue to send PFC PAUSE frames to the upstream device (third device) of the first device for back pressure, and the back pressure will be performed hop by hop until the sending server stops sending data after receiving the PFC PAUSE frame, and then the restriction is lifted hop by hop, and the congestion in the network is relieved.
[0052] Since traffic back pressure needs to be performed hop by hop, the efficiency is low. Therefore, in the RoCEv2 RDMA network that requires high throughput and no packet loss, end-to-end flow control technology can effectively improve the effect of flow control.
[0053] ECN technology is an end-to-end congestion control technology. Before PFC is triggered, it can reduce the sending rate through the sending server to alleviate congestion in the network. When congestion occurs in the second device, the second device sets the ECN flag field in the IP header and forwards it normally to the receiving server. When the receiving server receives a data packet with the ECN flag field in the IP header set, it knows that congestion has occurred in the transmission link. At this time, a CNP congestion notification message will be immediately generated and sent to the sending server. When the sending server receives the CNP message, it reduces the corresponding data flow sending rate to alleviate the congestion in the network. Although ECN can effectively reduce the number of PFC triggers, the following reasons also make ECN technology have limited optimization of the number of PFC triggers in some scenarios:
[0054] (1) After the outbound queue is congested, the second device sets the ECN field in the IP header of the message to be sent, and then puts the message into the outbound queue to wait for sending. However, since the outbound queue is already congested at this time, when the congestion is severe, the forwarding time will be greatly increased, which will cause PFC to be triggered.
[0055] (2) Due to the redundancy of the network, the CNP congestion notification message sent by the receiving server may be forwarded to the sending server from another congested path, which makes it impossible for the sending server to reduce the sending rate in time and optimize the triggering of PFC.
[0056] The method provided by the embodiments of the present application is introduced below.
[0057] Figure 1 An architecture diagram of a traffic congestion control system provided for an embodiment of the present application, the traffic congestion control system includes a first device, a second device, and a third device. Among them, the second device is a downstream device of the first device, and the third device is an upstream device of the first device; the first device, the second device, and the third device can be routers or switches. The traffic congestion control system can also include a first terminal, a second terminal, and other routing devices or switch devices in addition to the above three devices. Since the data transmission is bidirectional, the first terminal and the second terminal can both be a sending server or a receiving server, and the corresponding first device, second device, and third device are also converted accordingly, which is not limited in the present application. In the following embodiments, the first terminal is explained as a sending server and the second terminal is explained as a receiving server.
[0058] In a possible implementation method, there are multiple first devices, namely, first device 1 to first device n, where n is an integer greater than or equal to 2, and the third device can forward data to the second device through the first device 1, and can also forward data to the second device through the first device n.
[0059] In a possible implementation method, the first terminal sends data to the second terminal, and the data is sent to the receiving end server via the third device, the first device, and the second device. Of course, multiple routers or switches may be included between the third device and the first terminal, and multiple routers or switches may be included between the second device and the second terminal, which is not limited in this application. Exemplarily, the first terminal sends data to the third device, and after the third device receives the data, based on the dynamic routing protocol, the first device is selected as the routing forwarding point to send the data, and the third device forwards the data to the first device. After the first device receives the data, the second device is selected as the routing forwarding point to send the data based on the dynamic routing protocol, and the first device forwards the data to the second device. After the second device receives the data, it forwards the data to the second terminal. In this application, the first terminal and the second terminal can be converted to each other, that is, the second terminal can also serve as a sending end server to send data to the first terminal, which is not limited in this application.
[0060] Figure 2 A flow chart of a traffic congestion control method provided in an embodiment of the present application, the method is executed by a first device or a module of the first device. The present application does not limit the execution subject of the method.
[0061] The method comprises the following steps:
[0062] Step 201: After receiving traffic congestion indication information sent by a second device, the first device stops sending data to the second device.
[0063] The second device is a downstream device of the first device; and the traffic congestion indication information is a priority-based traffic control PFC pause frame.
[0064] In a possible implementation method, when multiple sending end servers send data to multiple receiving end servers respectively, traffic congestion occurs. Exemplarily, the sending end includes a sending end server A and a sending end server B, and the receiving end includes a receiving end server A and a receiving end server B; the link for sending data from the sending end server A to the receiving end server A is: sending end server A-third device A-first device A-second device A-receiving end server A; the link for sending data from the sending end server B to the receiving end server B is: sending end server B-third device B-first device A-second device A-receiving end server B; it can be seen that the third device A and the third device B both send data to the second device A through the first device A. If the data received by the second device A exceeds the threshold that it can bear, it sends traffic congestion indication information to the first device A to inform the first device A that the link has sent traffic congestion.
[0065] In a possible implementation method, when multiple sending end servers send data to a receiving end server respectively, traffic congestion occurs. Exemplarily, the sending end includes a sending end server A and a sending end server B, and the receiving end includes a receiving end server A; that is, both the sending end server A and the sending end server B send data to the receiving end server A, and the link for sending data from the sending end server A to the receiving end server A is: sending end server A-third device A-first device A-second device A-receiving end server A; the link for sending data from the sending end server B to the receiving end server A is: sending end server B-third device B-first device A-second device A-receiving end server A; it can be seen that both the third device A and the third device B send data to the second device A through the first device A. If the data received by the second device A exceeds the threshold that it can bear, the traffic congestion indication information is sent to the first device A to inform the first device A that the link has sent traffic congestion.
[0066] A possible implementation method is that each device includes multiple ports. Since the ports are duplex, that is, each port can be used as both an input port and an output port; when the port is used as an input port, the device connected to the input port is an upstream device; when the port is used as an output port, the device connected to the output port is a downstream device; the input port of each device is used to receive data sent by the upstream device, and the output port of each device is used to send data to the downstream device.
[0067] In a possible implementation method, multiple input ports of a first device are respectively connected to multiple third devices, a first output port of the first device is connected to a first input port of a second device, and the first device needs to forward data sent by multiple third devices to the first input port of the second device through the first output port. Exemplarily, input port 1 of the first device is connected to third device 1, input port 2 of the first device is connected to third device 2, and input port 3 of the first device is connected to third device 3. The first device receives data sent by third device 1, third device 2, and third device 3, and sends the data sent by the above three third devices to the first input port of the second device through the first output port of the first device.
[0068] In a possible implementation method, the amount of data processed by each device port is a fixed value. For example, the amount of data processed by each port of the first device, the second device, and the third device is 10GB, the third device 1 sends 5GB of data to the ingress port 1 of the first device, the third device 2 sends 2GB of data to the ingress port 2 of the first device, and the third device 3 sends 3GB of data to the ingress port 3 of the first device. Then, the first device receives 10GB of data, and the 10GB of data are all sent to the first ingress port of the second device. After the first ingress port of the second device receives 10GB of data, it is found that the PFC trigger threshold is reached, and the first ingress port of the second device sends traffic congestion indication information to the first device, that is, sends a PFCPAUSE frame to the first device to notify the first device to stop sending data to the first ingress port of the second device.
[0069] Step 202: The first device determines at least one third device that has traffic transmission with the second device.
[0070] The third device is an upstream device of the first device.
[0071] In a possible implementation method, after receiving the traffic congestion indication information sent by the second device, the first device determines at least one third device with which the second device has traffic transmission according to the back pressure rule of PFC, and the third device is the upstream device of the first device. Since PFC has a mechanism of back pressure upward level by level, each device knows its corresponding upstream device.
[0072] Step 203: The first device sends a first bidirectional forwarding monitoring BFD message to at least one third device.
[0073] The first BFD message carries indication information for requesting to disconnect the BFD session with the third device.
[0074] Step 204: After receiving the second BFD message sent by at least one third device, the first device disconnects the BFD session with the at least one third device.
[0075] The second BFD message carries indication information for indicating that the third device agrees to disconnect the BFD session with the first device.
[0076] In the above scheme, when the first device receives the traffic congestion indication information sent by the second device, it determines that the link between the first device and the second device has traffic congestion; at this time, the first device immediately sends the first BFD message to the multiple upstream devices corresponding to the first device, disconnects the BFD session with the multiple upstream devices, and based on the dynamic routing protocol, the upstream device, that is, the third device, will reselect the routing path for data transmission and forward the data to the second device via the reselected routing path. Therefore, the original congested link is avoided in time, and there is no need to wait for the PFC message to be delivered to the sending server and wait for the sending server to stop traffic transmission; the PFC PAUSE frame can be terminated at the first hop, and the traffic path can be quickly updated to regulate the congestion of the link.
[0077] In a possible implementation method, in the above step 203, the first device sends a first BFD message to N-1 third devices respectively; wherein, there are N third devices with which the second device has traffic transmission, and N is an integer greater than or equal to 2. That is, the first device selects N-1 third devices to send the first BFD message, disconnects the BFD session with the N-1 third devices, and retains one BFD session with the third device; the sending end server can still send data to the reserved third device, and the reserved third device forwards the data to the first device, and the first device sends the data to the first input port of the second device via the first output port, and then forwards it to the receiving end server via the second device. In this solution, only the BFD session with N-1 upstream devices is disconnected, and the remaining 1 flow can still maintain the transmission of a single flow along the original path, which can not only ensure that there is no traffic congestion between the first device and the second device, but also prevent the first device from being in an isolated state, thereby improving the efficiency of network transmission.
[0078] In a possible implementation method, after the above step 204, it further includes: stopping sending BFD Hello messages to the N-1 third devices and starting a first timer; after the first timer expires, sending the BFD Hello messages to the N-1 third devices to establish BFD sessions with the N-1 third devices respectively. That is, after a certain period, reestablishing the BFD session with the N-1 third devices.
[0079] Figure 3 A flow chart of a traffic congestion control method provided in an embodiment of the present application, the method is executed by a third device or a module of a third device. The present application does not limit the execution subject of the method.
[0080] The method comprises the following steps:
[0081] Step 301: A third device receives a first bidirectional forwarding monitoring BFD message sent by a first device.
[0082] Among them, the first BFD message is a message sent by the first device to the third device after receiving the priority-based flow control PFC pause frame of the second device; the second device is a downstream device of the first device; the third device is an upstream device of the first device and there is traffic transmission between the third device and the second device; the first BFD message carries indication information for requesting to disconnect the BFD session with the third device.
[0083] Step 302: The third device sends a second BFD message to the first device.
[0084] The second BFD message carries indication information for indicating that the third device agrees to disconnect the BFD session with the first device;
[0085] Step 303: The third device removes the routing information with the first device from the routing forwarding table, and determines the fourth device based on recalculating the route.
[0086] The fourth device is a downstream device of the third device, and the fourth device is an upstream device of the second device.
[0087] In a possible implementation method, after the BFD session between the third device and the first device is disconnected, BFD quickly senses the link change and promptly notifies the routing management module. When the link is interrupted, the static route bound to the BFD session is promptly revoked from the forwarding table, the active route is recalculated, and a new routing path is selected, namely the fourth device. The third device forwards the data to the fourth device, and the first egress port of the fourth device forwards the data to the second ingress port of the second device, and the second ingress port of the second device forwards the data to the receiving server. When traffic congestion occurs at the first ingress port of the second device, the data is forwarded to the second ingress port of the second device via the fourth device, thereby promptly avoiding the original congested link.
[0088] Step 304: The third device transmits traffic to the second device via the fourth device.
[0089] In the above scheme, when the first device receives the traffic congestion indication information sent by the second device, it determines that the link between the first device and the second device has traffic congestion; at this time, the first device immediately sends the first BFD message to the multiple upstream devices corresponding to the first device, disconnects the BFD session with the multiple upstream devices, and based on the dynamic routing protocol, the upstream device, that is, the third device, will withdraw the routing information with the first device from the routing forwarding table, and determine the fourth device based on the recalculated route, and the third device transmits traffic with the second device via the fourth device. Therefore, the original congested link is avoided in time, and there is no need to wait for the PFC message to be delivered to the sending end server and wait for the sending end server to stop traffic transmission; the PFCPAUSE frame can be terminated at the first hop, and the traffic path can be quickly updated to regulate the congestion of the link.
[0090] In one possible implementation method, static routing is configured to be linked with dynamic BFD in the initial stage of routing. After being optimized, static routing is sent to the forwarding table to guide packet forwarding, but the static routing itself cannot detect whether the link to the next hop is normal. By binding the static routing to the BFD session, BFD can quickly sense link changes and notify the routing management module in time. When the link is interrupted, the static routing bound to the BFD session is promptly removed from the forwarding table and the active routing is recalculated to achieve the effect of rapid convergence.
[0091] In a possible implementation method, traditional BFD packets cannot indicate that the BFD session between two devices is disconnected. Traditional BFD packets are mainly used for liveness detection. That is, after a BFD session is established between two devices, BFDHello packets are periodically sent to each other for liveness detection. If one party does not receive a BFD packet within the negotiated detection time, it is considered that a fault has occurred on this bidirectional channel. After the previous-hop routing protocol senses the link failure through BFD, it can take timely measures to recover from the fault.
[0092] In one possible implementation method, the format of the BFD message is as follows: Figure 4As shown in the figure, each BFD message carries a diagnostic code value (DIAG) flag. The RFC (Request For Comments) protocol stipulates that when the DIAG value is 0, it means no diagnosis: No Diagnostic; when the DIAG value is 1, it means control detection timeout: Control Detection TimeExpired; when the DIAG value is 2, it means echo function failure: Echo Function Failed; when the DIAG value is 3, it means the neighbor signaled session is DOWN: Neighbor Signaled Session Down; when the DIAG value is 4, it means the forwarding plane is reset: Forwarding Plane Reset; when the DIAG value is 5, it means the path is DOWN: Path Down; when the DIAG value is 6, it means the connected path is DOWN: Concatenated Path Down; when the DIAG value is 7, it means that the system management makes it DOWN: Administratively Down; when the DIAG value is 8, it means the reverse link is DOWN: Reverse Concatenated PathDown; when the DIAG value is 9-31, it means reserved for future use: Reserved for future use.
[0093] In a possible implementation method, when the DIAG value of the BFD message is 9-31, it is reserved for future use. The present application adds a new definition for the DIAG value so that the BFD message can indicate the disconnection of the BFD session between two devices.
[0094] In a possible implementation method, the Diag field of the BFD message is set to a first value, thereby generating a first BFD message; the Diag field of the BFD message is set to a second value, thereby generating a second BFD message. The present application does not limit the specific numerical values of the first value and the second value, which can be any numerical value from 9 to 31. By newly defining the Diag field of the BFD message, it can adapt to the generation of corresponding marked BFD messages based on the received PFC message, and then adjust the recalculation of ECMP routing of network devices through the dynamic routing protocol linked to the BFD session state.
[0095] In a possible implementation method, the Diag field of the BFD message is set to 01001, that is, the Diag field identifier is 9, which is defined as the sending node of the BFD message carrying this identifier receives a PFC PAUSE frame and needs to close the BFD session, which is identified as PFC_Received.
[0096] In a possible implementation method, the Diag field of the BFD message is set to 01010, that is, the Diag field identifier is 10, which is defined as the sending node of the BFD message carrying this identifier receives the BFD message carrying the PFC_Received flag and agrees to close the BFD session, which is identified as PFC_AdminDown.
[0097] The above scheme generates a BFDDown notification message carrying PFC_Received on the network device that receives the PFC PAUSE frame, and sends it to the part of the inbound interface (corresponding to the part of the previous hop device that is about to be back-pressured) that causes the traffic of the queue identified by the received PFC frame to continue to grow. After the previous hop device receives the BFD AdminDown message with the PFC_Received flag, the device replies with the BFD AdminDown message marked as PFC_AdminDown, and the routing protocol associated with the BFD session converges and recalculates the multi-path load sharing ECMP path, so that the previous hop device no longer transmits traffic to the device that receives the PFCPAUSE frame. In this way, the congested path can be avoided at the device that receives the PFC PAUSE frame, without the need for hop-by-hop back pressure, which greatly saves the time from the generation of the first PFC frame to the back pressure on the server that sends the traffic. Since the congested link is avoided by re-ECMP routing at the previous hop of the device that receives the PFC frame, the upstream device will not continue to send PFC frames, and ultimately will not cause the sending server to stop sending traffic, and the cluster task in the RDMA network will not stop.
[0098] The following is a specific example to explain the specific process of the traffic congestion control method. Figure 5As shown, terminal server c and terminal server d are sending servers, terminal server a and terminal server b are receiving servers, spineA node is the first device, leaf A node is the downstream device of spineA, that is, the second device, leaf X node and leafY node are the upstream devices of spineA, that is, the third device; terminal server c sends data to terminal server a, and the routing devices through are leaf X node, spineA node and leaf A node; terminal server d sends data to terminal server b, and the routing devices through are leaf Y node, spineA node and leaf A node; spineA node and spineY node are the first devices of the same layer, that is, leaf X node and leaf Y node can also forward data to spineY node, and spineY node forwards it to leaf A node. However, due to the selection of dynamic routing protocol, the data of leaf X node and leaf Y node are currently forwarded by spineA to leaf A node. The process is as follows Figure 6 As shown, the following steps are included:
[0099] Step 601: The first device spineA receives a PFC PAUSE frame sent by the first egress port of the second device leafA, and stops sending data to leafA.
[0100] In a possible implementation method, when terminal server a and terminal server b under leaf A node communicate with terminal server c under leafX node and terminal server d under leaf Y node at the same time, the traffic after multi-link load sharing may be forwarded through the link between spain A node and leaf A node. At this time, if the sum of the traffic of the two flows exceeds the link bandwidth of the first egress port of spainA node and leafA node, link congestion will occur. As the in-queue buffer of the second device port gradually decreases to the threshold due to the accumulation of data packets, the PFC mechanism will take effect. The in-queue buffer of leaf A node is full due to the converged traffic of the two flows and reaches the PFC trigger threshold. The first egress port of leaf A node will send a PFC PAUSE frame to the upstream device spain A node to notify the queue to stop data transmission.
[0101] Step 602: The first device spineA sends a first BFD message to N-1 third devices.
[0102] In a possible implementation method, after receiving the PFC PAUSE frame sent by the first egress port of the second device leaf A, the spain A node stops forwarding the queue according to the rules of the PFC mechanism. And according to the PFC back pressure rules, the upstream device interface to be back pressured (the interface from spain A to leaf X and to leaf Y) is found, and then the corresponding BFD session information is found from the interface.
[0103] In one possible implementation method, N-1 BFD sessions are randomly selected (the session with the largest BFD session ID is selected by default), where N is the number of PFC back pressure upstream interfaces, and a BFDAdminDown message carrying PFC_Received is generated according to the corresponding session information, and sent to the upstream device (such as leaf Y node) along the PFC back pressure interface. Here, only N-1 traffic paths need to be adjusted, and the remaining 1 flow can still maintain single flow transmission according to the original path, that is, leaf X node can still send data to the first ingress port of leafA node through spine A node. Since it is a single data flow, the first ingress port of leafA node will not experience flow congestion.
[0104] Step 603: The third device leaf Y receives the first BFD packet sent by the first device spain A, and sends a second BFD packet to the first device spain A.
[0105] In a possible implementation method, after receiving the first BFD message sent by the first device spain A, the third device leaf Y replies with a BFD AdminDown message carrying PFC_AdminDown according to the received BFD AdminDown message to notify the first device spain A to start the first timer.
[0106] In a possible implementation method, after receiving the first BFD message sent by the first device spain A, the third device leaf Y stops sending the BFD Hello message to the first device spain A and starts the second timer locally. This application does not limit the specific time of the first timer and the second timer, which can be set according to the actual duration of a single service flow in the environment.
[0107] In a possible implementation method, after the third device leaf Y receives the first BFD message sent by the first device spain A, the third device leaf Y sets the BFD session to the Down state, and the dynamic routing protocol associated with it converges, and the PFC upstream link, that is, the link between leaf Y and spain A, is removed from the ECMP path. The forwarding table of the leaf Y node is updated due to the recalculation of the routing protocol. The original communication flow from b to d is hashed to a different spain node as a result of the leaf Y node re-calculating the multipath sharing. For example, the spainY node forwards, that is, the leaf Y node forwards the data to the spine Y node, and the spine Y node forwards the data to the second ingress port of leaf X (different from the previous spine X node forwarding the data to the first ingress port of leaf X). At this time, the two originally congested elephant flows are therefore split on different links, thereby resolving the original congested link situation.
[0108] In a possible implementation method, after the second timer expires, the third device leaf Y resends the BFD Hello message to the first device spainA and re-establishes the BFD session with the first device spainA. At this time, the dynamic routing protocol accepts it and the path is re-added to the ECMP group.
[0109] Step 604: After receiving the second BFD message sent by the third device, the first device, spain A, disconnects the BFD session with the third device.
[0110] In a possible implementation method, after receiving the BFD AdminDown message carrying PFC_AdminDown sent by the upstream device leaf Y, the spain A node starts the first timer and stops sending the BFD Hello message to the leaf Y node, sets the BFD session between the spain A node and the leaf Y node to the Down state, and the corresponding dynamic link protocol converges, and the upstream interface link, that is, the link between the spain A node and the leaf Y node, is removed from the multipath load sharing ECMP group.
[0111] Step 605: After the first timer expires, the first device, spain A, sends a BFD Hello message to the third device to re-establish the BFD session with the third device.
[0112] In one possible implementation method, after the first timer expires, the spain A node and the upstream node leaf Y resume sending BFD Hello messages, the BFD session is reestablished, the corresponding dynamic link protocol is reconverged, the link interrupted by the original protocol is restored, added to the multi-link load sharing group, and restored to the state before the link congestion.
[0113] Based on the same technical concept, Figure 7 A traffic congestion control device 700 provided in an embodiment of the present application is exemplarily shown. The traffic congestion control device 700 includes a transceiver unit 701 and a processing unit 702 .
[0114] In one embodiment, when the traffic congestion control device 700 is applied to a first device, the transceiver unit 701 is used to stop sending data to the second device after receiving the traffic congestion indication information sent by the second device; wherein the traffic congestion indication information is a priority-based traffic control PFC pause frame; send a first bidirectional forwarding monitoring BFD message to the at least one third device, the first BFD message carries indication information for requesting to disconnect the BFD session with the third device; after receiving the second BFD message sent by the at least one third device, disconnect the BFD session with the at least one third device; the second BFD message carries indication information for indicating that the third device agrees to disconnect the BFD session with the first device; the processing unit 702 is used to determine at least one third device that has traffic transmission with the second device.
[0115] In a possible implementation method, the transceiver unit 701 is used to send the first BFD message to N-1 third devices respectively; wherein, the number of third devices having traffic transmission with the second device is N, and N is an integer greater than or equal to 2.
[0116] In a possible implementation method, the transceiver unit 701 is used to stop sending BFD Hello messages to the N-1 third devices and start a first timer; after the first timer expires, the BFD Hello messages are sent to the N-1 third devices to establish BFD sessions with the N-1 third devices respectively.
[0117] In a possible implementation method, the processing unit 702 is configured to, by the first device, set the Diag field of the BFD message to a first value, thereby generating the first BFD message.
[0118] In another embodiment, when the traffic congestion control device 700 is applied to a third device, the transceiver unit 701, the transceiver unit 701, is used to receive a first bidirectional forwarding monitoring BFD message sent by the first device; wherein the first BFD message is a message sent by the first device to the third device after receiving the priority-based flow control PFC pause frame of the second device; the second device is a downstream device of the first device; the third device is an upstream device of the first device and there is traffic transmission between the third device and the second device; the first BFD message carries indication information for requesting to disconnect the BFD session with the third device; a second BFD message is sent to the first device, and the second BFD message carries indication information for indicating that the third device agrees to disconnect the BFD session with the first device; the processing unit 702 is used to revoke the routing information with the first device from the routing forwarding table, and determine the fourth device based on recalculating the route; the fourth device is a downstream device of the third device, and the fourth device is an upstream device of the second device; the third device transmits traffic with the second device via the fourth device.
[0119] In a possible implementation method, the transceiver unit 701 is used to stop sending BFD Hello messages to the first device and start a second timer; after the second timer expires, a BFD Hello message is sent to the first device to establish a BFD session with the first device; and the third device adds routing information with the first device in the routing forwarding table.
[0120] In a possible implementation method, the processing unit 702 sets the Diag field of the BFD message to a second value, thereby generating the second BFD message.
[0121] Based on the same technical concept, the embodiment of the present application provides a traffic congestion control device 800, which can be, for example, a routing device or a switch device. Figure 8 As shown, a traffic congestion control device 800 includes at least one processor 801 and a memory 802 connected to the at least one processor. The specific connection medium between the processor 801 and the memory 802 is not limited in the embodiment of the present application. Figure 8 For example, the processor 801 and the memory 802 are connected via a bus. The bus can be divided into an address bus, a data bus, a control bus, etc.
[0122] In the embodiment of the present application, the memory 802 stores instructions that can be executed by at least one processor 801, and the at least one processor 801 can execute the above-mentioned traffic congestion control method by executing the instructions stored in the memory 802.
[0123] Among them, the processor 801 is a control center of the traffic congestion control device 800, which can use various interfaces and lines to connect various parts of the computer equipment, and perform resource settings by running or executing instructions stored in the memory 802 and calling data stored in the memory 802. Optionally, the processor 801 may include one or more determination units, and the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 801. In some embodiments, the processor 801 and the memory 802 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on independent chips.
[0124] Processor 801 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware processor for execution, or can be executed by a combination of hardware and software modules in the processor.
[0125] The memory 802 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 802 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 802 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 802 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0126] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer-executable program. The computer-executable program is used to enable a computer to execute a traffic congestion control method listed in any of the above methods.
[0127] An embodiment of the present application provides a computer program product, including a computer program executable by a computer device. When the program is run on the computer device, the computer device executes a traffic congestion control method listed in any of the above-mentioned ways.
[0128] 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 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 include computer-usable program code.
[0129] 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 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 produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0130] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0131] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0132] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A traffic congestion control method, characterized in that: include: After receiving the traffic congestion indication information sent by the second device, the first device stops sending data to the second device; wherein the second device is a downstream device of the first device; the traffic congestion indication information is a priority-based traffic control PFC pause frame; The first device determines at least one third device that has traffic transmission with the second device; the third device is an upstream device of the first device; The first device sends a first bidirectional forwarding monitoring BFD message to the at least one third device, where the first BFD message carries indication information for requesting to disconnect the BFD session with the third device; After receiving the second BFD message sent by the at least one third device, the first device disconnects the BFD session with the at least one third device; the second BFD message carries indication information for indicating that the third device agrees to disconnect the BFD session with the first device.
2. The method according to claim 1, characterized in that The first device sends a first bidirectional forwarding monitoring BFD message to the at least one third device, including: The first device sends the first BFD message to N-1 third devices respectively; wherein, there are N third devices having traffic transmission with the second device, and N is an integer greater than or equal to 2.
3. The method according to claim 2, characterized in that After the first device receives the second BFD message sent by the at least one third device, the method further includes: Stop sending BFD Hello messages to the N-1 third devices, and start a first timer; After the first timer expires, the BFD Hello message is sent to the N-1 third devices to respectively establish a BFD session with the N-1 third devices.
4. The method according to any one of claims 1 to 3, characterized in that Before the first device sends the first bidirectional forwarding monitoring BFD message to the at least one third device, the method further includes: The first device sets the Diag field of the BFD message to a first value, thereby generating the first BFD message.
5. A traffic congestion control method, characterized in that: include: The third device receives a first bidirectional forwarding monitoring BFD message sent by the first device; wherein the first BFD message is a message sent by the first device to the third device after receiving a priority-based flow control PFC pause frame of the second device; the second device is a downstream device of the first device; the third device is an upstream device of the first device and has flow transmission with the second device; the first BFD message carries indication information for requesting to disconnect the BFD session with the third device; The third device sends a second BFD message to the first device, where the second BFD message carries indication information for indicating that the third device agrees to disconnect the BFD session with the first device; The third device removes the routing information with the first device from the routing forwarding table, and determines a fourth device based on recalculating the route; the fourth device is a downstream device of the third device, and the fourth device is an upstream device of the second device; The third device transmits traffic with the second device via the fourth device.
6. The method according to claim 5, characterized in that After the third device receives the first bidirectional forwarding monitoring BFD message sent by the first device, the method further includes: The third device stops sending BFD Hello messages to the first device, and starts a second timer; After the second timer expires, sending a BFD Hello message to the first device to establish a BFD session with the first device; The third device adds routing information about the first device in the routing forwarding table.
7. The method according to claim 5, characterized in that Before the third device sends the second BFD message to the first device, the method further includes: The third device sets the Diag field of the BFD message to a second value, thereby generating the second BFD message.
8. A traffic congestion control device, applied to a first device, the first device is included in a traffic congestion control system, the traffic congestion control system also includes a second device and a third device, the second device is a downstream device of the first device, and the third device is an upstream device of the first device, characterized in that: The first device comprises: A transceiver unit, configured to stop sending data to the second device after receiving traffic congestion indication information sent by the second device; wherein the traffic congestion indication information is a priority-based traffic control PFC pause frame; send a first bidirectional forwarding monitoring BFD message to the at least one third device, wherein the first BFD message carries indication information for requesting to disconnect the BFD session with the third device; after receiving a second BFD message sent by the at least one third device, disconnect the BFD session with the at least one third device; the second BFD message carries indication information for indicating that the third device agrees to disconnect the BFD session with the first device; A processing unit is used to determine at least one third device that has traffic transmission with the second device.
9. A traffic congestion control device, applied to a third device, the third device is included in a traffic congestion control system, the traffic congestion control system also includes a first device and a second device, the second device is a downstream device of the first device, and the third device is an upstream device of the first device, characterized in that: The third device comprises: A transceiver unit, configured to receive a first bidirectional forwarding monitoring BFD message sent by a first device; wherein the first BFD message is a message sent by the first device to the third device after receiving a priority-based flow control PFC pause frame from the second device; the second device is a downstream device of the first device; the third device is an upstream device of the first device and has flow transmission with the second device; the first BFD message carries indication information for requesting to disconnect the BFD session with the third device; a second BFD message is sent to the first device, and the second BFD message carries indication information for indicating that the third device agrees to disconnect the BFD session with the first device; A processing unit, used to withdraw the routing information with the first device from the routing forwarding table, and determine a fourth device based on recalculating the route; the fourth device is a downstream device of the third device, and the fourth device is an upstream device of the second device; the third device transmits traffic with the second device via the fourth device.
10. A traffic congestion control system, characterized in that: The traffic congestion control system comprises a first device for executing the method described in any one of claims 1 to 4, and a third device for executing the method described in any one of claims 5 to 7.
Citation Information
Patent Citations
Method for processing congestion
CN101155125A
Congestion judgment method in loss-free network
CN108540395A
Traffic forwarding control method and traffic forwarding control apparatus
CN109347761A
Method and equipment for controlling message forwarding
CN113872885A
Message forwarding method and related device
CN116346756A
Cited By
Method for determining duration in which data sending is stopped, and related apparatus
WO2026051861A1
