End-network cooperative traffic scheduling method, device and equipment
Through the coordinated scheduling of the receiver and the switching network equipment, the bandwidth shaping process the credit trust value based on the active information of the switching network, solving the problem of insufficient viewing angle of the receiver in the data center network, realizing the dynamic scheduling of network capacity and improving data transmission efficiency.
Patent Information
- Application Number
- CN202410011402.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2025-07-04
AI Technical Summary
In the prior art, the Credit-based congestion control scheme driven by the receiving end in the data center network only has the receiving end side view angle and lacks the network view angle, resulting in the inability to avoid network congestion when the network capacity is insufficient.
Through the collaboration between the receiving device and the switching network device, the network acceleration ratio is determined based on the keep-alive information of the switching network. If it is less than the preset value, the credit trust value is bandwidth shaping, and the shaping credit trust value is sent to the sending device to schedule traffic.
It realizes rapid perception of capacity changes in the data center network, avoid network congestion, improve data transmission efficiency, and ensure the stability of data exchange.
Smart Images

Figure CN120263738A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a traffic scheduling method, apparatus, and device for end-network collaboration. Background Art
[0002] In a DCN (Data Center Network), it is usually necessary to respond to congestion using RTT (Round-Trip Time). When congestion occurs, it is difficult for the sending end to adjust the data sending rate in a timely manner. Especially in a high-speed DCN, most data flows can be completed within 1 RTT, resulting in the failure of the scheduling control of the data flow. Under the above-mentioned reactive flow control scheme, a relatively high queue buildup usually occurs in network devices, leading to an increase in delay and even packet loss.
[0003] In related technologies, a receiver-driven Credit-based scheduling scheme has emerged. In this scheme, the sending end sends a credit trust value acquisition request to the receiving end, and the receiving end responds to the credit trust value acquisition request and sends a Credit trust value according to its receiving ability (receiving bandwidth), thereby avoiding network congestion at the receiving end and achieving proactive congestion prevention. However, the receiver-driven Credit-based congestion control scheme has the following problems:
[0004] The receiver-driven Credit-based scheme only has the perspective of the receiving end side and lacks the network perspective. When the network capacity is insufficient, network congestion still cannot be avoided. Summary of the Invention
[0005] The purpose of this application is to provide a traffic scheduling method, apparatus, and device for end-network collaboration, so as to solve the problems in related technologies that only the perspective of the receiving end side is available when scheduling traffic and network congestion cannot be avoided when the network capacity is insufficient.
[0006] In a first aspect, this application provides a traffic scheduling method for end-network collaboration, which is applied to a receiving network device in a data center network. The data center network includes a sending end device, a sending network device, a switching network device, a receiving network device, and a receiving end device. The method includes:
[0007] Receiving the Credit trust value sent by the receiving end device in response to the credit trust value acquisition request, where the credit trust value acquisition request is sent by the sending end device;
[0008] Determining the network acceleration ratio of the switching network according to the keep-alive information of the switching network sent by the switching network device, where the network acceleration ratio is used to characterize the bandwidth situation of the switching network;
[0009] If the network acceleration ratio is less than a preset value, perform bandwidth shaping processing on the credit trust value;
[0010] Send the credit trust value after bandwidth shaping processing to the sending device, so that the sending device sends traffic to the receiving device according to the number of traffic authorization bytes included in the credit trust value after bandwidth shaping processing.
[0011] In a possible implementation manner, the method further includes:
[0012] If the network acceleration ratio is not less than the preset value, send the credit trust value without bandwidth shaping processing to the sending device according to the preset traffic scheduling policy.
[0013] In a possible implementation manner, the performing bandwidth shaping processing on the credit trust value includes:
[0014] Based on the bandwidth of the switching network, shape the bandwidth of the credit trust value to the same bandwidth as the switching network; wherein, the bandwidth of the switching network is the sum of the bandwidths of multiple switching network devices.
[0015] In a possible implementation manner, during the process of sending the credit trust value after bandwidth shaping processing to the sending device, the method further includes:
[0016] If the congestion state of the credit trust value queue does not reach the backpressure waterline, send the credit trust value to the sending device according to the preset scheduling policy;
[0017] If the congestion state of the credit trust value queue reaches the backpressure waterline, send a backpressure frame message to the corresponding receiving device, so that the receiving device stops sending the credit trust value.
[0018] In a second aspect, the present application provides a traffic scheduling method for end-network collaboration, which is applied to a sending device in a data center network. The data center network includes a sending device, a sending network device, a switching network device, a receiving network device, and a receiving device. The method includes:
[0019] Send a credit trust value acquisition request to the receiving device, so that the receiving device responds to the credit trust value acquisition request and sends a credit trust value to the receiving network device;
[0020] Receive the credit trust value after bandwidth shaping processing sent by the receiving network device; wherein, the credit trust value after bandwidth shaping processing is obtained by the receiving network device performing bandwidth shaping processing on the credit trust value; wherein, the receiving network device performing bandwidth shaping processing on the credit trust value includes: the receiving network device determining the network acceleration ratio of the switching network according to the keep-alive information of the switching network sent by the switching network device; if the network acceleration ratio is less than a preset value, then performing bandwidth shaping processing on the credit trust value; wherein, the network acceleration ratio is used to characterize the bandwidth situation of the switching network;
[0021] Send traffic to the receiving end device according to the number of traffic authorization bytes included in the credit trust value after bandwidth shaping processing.
[0022] In a possible implementation manner, the method further includes:
[0023] Receive the credit trust value without bandwidth shaping processing sent by the receiving network device according to a preset traffic scheduling policy.
[0024] In a third aspect, the present application provides a traffic scheduling device for end-network collaboration, which is applied to a receiving network device in a data center network. The data center network includes a sending end device, a sending network device, a switching network device, a receiving network device, and a receiving end device. The device includes:
[0025] A credit trust value receiving module, configured to receive the credit trust value sent by the receiving end device in response to a credit trust value acquisition request, and the credit trust value acquisition request is sent by the sending end device;
[0026] A network acceleration ratio determining module, configured to determine the network acceleration ratio of the switching network according to the keep-alive information of the switching network sent by the switching network device, and the network acceleration ratio is used to characterize the bandwidth situation of the switching network;
[0027] A bandwidth shaping processing module, configured to perform bandwidth shaping processing on the credit trust value if the network acceleration ratio is less than a preset value;
[0028] A credit trust value forwarding module, configured to send the credit trust value after bandwidth shaping processing to the sending end device, so that the sending end device sends traffic to the receiving end device according to the number of traffic authorization bytes included in the credit trust value after bandwidth shaping processing.
[0029] In a possible implementation manner, the credit trust value forwarding module is further configured to:
[0030] If the network acceleration ratio is not less than a preset value, the credit trust value that has not been subject to bandwidth shaping processing is sent to the sending device according to a preset traffic scheduling policy.
[0031] In a possible implementation, when performing the bandwidth shaping processing on the credit trust value, the bandwidth shaping processing module is configured as follows:
[0032] Based on the bandwidth of the switching network, the bandwidth of the credit trust value is shaped to be the same as the bandwidth of the switching network; wherein, the bandwidth of the switching network is the sum of the bandwidths of multiple switching network devices.
[0033] In a possible implementation, during the process of sending the credit trust value after bandwidth shaping processing to the sending device, the credit trust value forwarding module is further configured as follows:
[0034] If the congestion state of the credit trust value queue does not reach the backpressure waterline, the credit trust value is sent to the sending device according to a preset scheduling policy;
[0035] If the congestion state of the credit trust value queue reaches the backpressure waterline, a backpressure frame message is sent to the corresponding receiving device, so that the receiving device stops sending the credit trust value.
[0036] In a fourth aspect, the present application provides a traffic scheduling device for end-network collaboration, which is applied to a sending device in a data center network. The data center network includes a sending device, a sending network device, a switching network device, a receiving network device, and a receiving device. The device includes:
[0037] A credit trust value acquisition request sending module, configured to send a credit trust value acquisition request to the receiving device, so that the receiving device responds to the credit trust value acquisition request and sends the credit trust value to the receiving network device;
[0038] A credit trust value receiving module, configured to receive the credit trust value after bandwidth shaping processing sent by the receiving network device; wherein, the credit trust value after bandwidth shaping processing is obtained by the receiving network device performing bandwidth shaping processing on the credit trust value; wherein, the receiving network device performing bandwidth shaping processing on the credit trust value includes: the receiving network device determining the network acceleration ratio of the switching network according to the keep-alive information of the switching network sent by the switching network device; if the network acceleration ratio is less than a preset value, performing bandwidth shaping processing on the credit trust value; wherein, the network acceleration ratio is used to characterize the bandwidth situation of the switching network.
[0039] A traffic sending module, configured to send traffic to the receiving end device according to the number of traffic authorization bytes included in the credit trust value after the bandwidth shaping process.
[0040] In a possible implementation manner, the credit trust value receiving module is further configured to:
[0041] Receive the credit trust value that has not been processed by bandwidth shaping and is sent by the receiving network device according to a preset traffic scheduling policy.
[0042] In a fifth aspect, the present application provides an electronic device, including:
[0043] A processor and a memory;
[0044] The memory is used to store executable instructions of the processor;
[0045] The processor is used to execute the executable instructions to implement the end-network collaborative traffic scheduling method as described in the first aspect and the second aspect above.
[0046] In a sixth aspect, the present application provides a computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enabling the electronic device to execute the end-network collaborative traffic scheduling method as described in the first aspect and the second aspect above.
[0047] In a seventh aspect, the present application provides a computer program product, including a computer program:
[0048] The computer program, when executed by a processor, implements the end-network collaborative traffic scheduling method as described in the first aspect and the second aspect above.
[0049] The technical solutions provided by the embodiments of the present application at least bring the following beneficial effects:
[0050] In the embodiments of the present application, it is possible to overall schedule the receiving end device and the receiving network device, complement the network perspective during traffic scheduling, quickly sense the capacity change of the switching network (i.e., the data center network), when it is determined that the network acceleration ratio of the switching network is less than a preset value, perform bandwidth shaping processing on the credit trust value, and forward the credit trust value after the bandwidth shaping process to the switching network device, realizing the collaborative scheduling of the receiving end device and the receiving network device, and ensuring data exchange between the sending end and the receiving end in any scenario, which can not only improve data transmission efficiency but also effectively avoid network congestion.
[0051] Other features and advantages of the present application will be described in the following specification, and will, in part, be obvious from the specification, or can be learned by implementing the present application. The objectives and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written specification, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required to be used in the embodiments of the present application. Obviously, the following introduced drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0053] Figure 1 Schematic diagram of the data center network provided for the embodiments of the present application;
[0054] Figure 2 Overall flowchart of the traffic scheduling method for end-network collaboration of the receiving network device applied to the data center network provided for the embodiments of the present application;
[0055] Figure 3 Another schematic diagram of the data center network provided for the embodiments of the present application;
[0056] Figure 4 Another schematic diagram of the data center network provided for the embodiments of the present application;
[0057] Figure 5 Flowchart of the traffic scheduling method for end-network collaboration of the sending end device applied to the data center network provided for the embodiments of the present application;
[0058] Figure 6 Schematic diagram of the structure of the traffic scheduling method device 600 for end-network collaboration of the receiving network device applied to the data center network provided for the embodiments of the present application;
[0059] Figure 7 Schematic diagram of the structure of the traffic scheduling device 700 for end-network collaboration of the sending end device applied to the data center network provided for the embodiments of the present application;
[0060] Figure 8 Schematic diagram of the structure of the electronic device provided for the embodiments of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0061] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this application. Among them, the described embodiments are some but not all of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts shall fall within the scope of protection of this application.
[0062] Moreover, in the description of the embodiments of this application, unless otherwise specified, " / " means "or". For example, A / B may mean A or B; "and / or" in the text is only a description of the association relationship between associated objects, indicating that there can be three relationships. For example, A and / or B may mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of this application, "a plurality of" means two or more than two.
[0063] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of this application, unless otherwise specified, the meaning of "a plurality of" is two or more.
[0064] In a DCN (Data Center Network), it is usually necessary to respond to congestion with RTT (Round-Trip Time). When congestion occurs, it is difficult for the sending end to adjust the data sending rate in a timely manner. Especially in a high-speed DCN, most data flows can be completed within 1 RTT, resulting in the failure of the scheduling control of the data flow. Under the above-mentioned reactive flow control scheme, a relatively high queue buildup usually occurs in network devices, leading to an increase in latency and even packet loss.
[0065] In related technologies, a receiver-driven Credit-based scheduling scheme has emerged. As shown in the data center network Figure 1 in the figure, the network includes a sending end device, a sending network device, a switching network device, a receiving network device, and a receiving end device. In this scheme, the sending end sends a credit trust value acquisition request to the receiving end. In response to the credit trust value acquisition request, the receiving end sends a Credit trust value according to its receiving ability (receiving bandwidth), thereby avoiding network congestion at the receiving end and achieving proactive congestion prevention. However, the receiver-driven Credit-based congestion control scheme has the following problems:
[0066] The receiver-driven Credit-based scheme only has a receiver-side perspective and lacks a network perspective. When the network capacity is insufficient, network congestion cannot be avoided.
[0067] Therefore, how to efficiently and accurately schedule the traffic in the network is an urgent problem to be solved.
[0068] In view of this, the present application provides a traffic scheduling method, device, and equipment for end-network collaboration, which are used to solve the problems in the related art that there is only a receiver-side perspective and lack of a network perspective when scheduling traffic, and network congestion cannot be avoided when the network capacity is insufficient.
[0069] The inventive concept of the present application can be summarized as follows: First, receive the credit trust value from the receiver device, and determine the network acceleration ratio of the switching network according to the keep-alive information of the switching network. If it is determined that the network acceleration ratio is less than the preset value, perform bandwidth shaping on the credit trust value. Finally, forward the bandwidth-shaped credit trust value to the switching network device so that the switching network device sends the bandwidth-shaped credit trust value to the sender device.
[0070] In summary, the embodiments of the present application can overall schedule the receiver device and the receiving network device, complement the network perspective in traffic scheduling, can quickly sense the capacity change of the switching network, perform bandwidth shaping on the credit trust value when it is determined that the network acceleration ratio of the switching network is less than the preset value, and forward the bandwidth-shaped credit trust value to the switching network device, realizing the collaborative scheduling of the receiver device and the receiving network device, and ensuring the data exchange between the sender and the receiver in any scenario, which can not only improve the data transmission efficiency but also effectively avoid network congestion.
[0071] After introducing the main inventive idea of the embodiments of the present application, the following briefly introduces the application scenarios applicable to the technical solutions of the embodiments of the present application. It should be noted that the following introduced application scenarios are only for explaining the embodiments of the present application rather than limiting. In specific implementation, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.
[0072] To facilitate the understanding of the end-network collaborative traffic scheduling method provided by the embodiments of the present application, the following further illustrates this with reference to the accompanying drawings.
[0073] In a possible implementation manner, an end-network collaborative traffic scheduling method provided by the embodiments of the present application is applied to the receiving network device of the data center network. The data center network includes a sender device, a sending network device, a switching network device, a receiving network device, and a receiver device. Its overall process is as Figure 2 shown and includes the following content:
[0074] In step 201, receive the credit trust value sent by the receiving-end device in response to the credit trust value acquisition request, where the credit trust value acquisition request is sent by the sending-end device.
[0075] In step 202, determine the network acceleration ratio of the switching network according to the keep-alive information of the switching network sent by the switching network device.
[0076] The Fabric network device (i.e., the switching network device) periodically sends signaling messages to transmit the keep-alive information to the receiving network device, so that the receiving network device determines the network acceleration ratio of the switching network (i.e., the data center network). The network acceleration ratio is used to characterize the bandwidth situation of the switching network. If the network acceleration ratio is less than the preset value, it indicates that the bandwidth of the switching network is insufficient and network congestion is likely to occur; if the network acceleration ratio is greater than the preset value, it indicates that the bandwidth of the switching network is sufficient and network congestion is not likely to occur.
[0077] In step 203, if the network acceleration ratio is less than the preset value, perform bandwidth shaping on the credit trust value.
[0078] In a possible implementation manner, performing bandwidth shaping on the credit trust value in step 203 can be implemented as:
[0079] Based on the bandwidth of the switching network, shape the bandwidth of the credit trust value to be the same as the bandwidth of the switching network; where the bandwidth of the switching network is the sum of the bandwidths of multiple switching network devices.
[0080] As Figure 3 shown, in the data center network, there are 4 switching network devices and 1 switching network device (i.e., switching network device 4) fails, or the data center network itself includes 3 switching network devices. At this time, the switching network device feeds back the keep-alive information to the receiving network device, and the Credit scheduler of the receiving network device Egress1 senses that the capacity of the switching network device (i.e., the uplink bandwidth of the network) is 3 * 200G = 600G. When the traffic of all 7 receiving-end devices is fully loaded, the sum of the bandwidths of the receiving-end devices (i.e., the downlink bandwidth of the network) is 7 * 100G = 700G. Therefore, the network acceleration ratio of the switching network is 600G / 700G = 0.86, which is less than the preset value of 1. In the embodiment of the present application, the credit trust value will be subjected to bandwidth shaping by the Credit scheduler. Since the total bandwidth of the switching network devices is 600G, the bandwidth of the credit trust value is 600G. Correspondingly, in the embodiment of the present application, the bandwidth of the credit trust value will be shaped from 700G to 600G by the Credit scheduler, so that the total traffic bandwidth allowed to be sent by the receiving-end devices is 600G, ensuring network non-blocking.
[0081] Among them, the Credit scheduler is inside the receiving network device.
[0082] In step 204, the credit trust value after bandwidth shaping processing is sent to the sending device, so that the sending device sends traffic to the receiving device according to the number of traffic authorization bytes included in the credit trust value after bandwidth shaping processing.
[0083] In a possible implementation manner, if the network acceleration ratio is not less than a preset value, the credit trust value that has not undergone bandwidth shaping processing is sent to the sending device according to a preset traffic scheduling policy. Here, the switching network device is an intermediate device, which is used to receive the credit trust value that has not undergone bandwidth shaping processing and send the credit trust value that has not undergone bandwidth shaping processing to the sending device.
[0084] As Figure 4 shown, there are 4 switching network devices in the data center network. At this time, the switching network device feeds back the keep-alive information to the receiving network device, and the Credit scheduler of the receiving network device Egress1 senses that the switching network capacity (i.e., the uplink bandwidth of the network) is 4 * 200G = 800G. When the traffic of all 7 receiving devices is fully loaded, the sum of the bandwidths of the receiving devices (i.e., the downlink bandwidth of the network) is 7 * 100G = 700G. Therefore, the network acceleration ratio of the switching network is 800G / 700G = 1.14. Since 1.14 is greater than the preset value of 1, the switching network can be non-blocking. Therefore, in the embodiment of the present application, the credit trust value that has not undergone bandwidth shaping processing will be forwarded to the switching network device according to a preset traffic scheduling policy (such as RR scheduling, SP scheduling), such as RR (Round Robin) scheduling, SP (Strict Priority) scheduling, so that the switching network device sends the credit trust value that has not undergone bandwidth shaping processing to the sending device.
[0085] In a possible implementation manner, during the process of sending the credit trust value after bandwidth shaping processing to the sending device, the following two situations are included:
[0086] If the congestion state of the credit trust value queue does not reach the backpressure waterline, the credit trust value is sent to the sending device according to a preset scheduling policy;
[0087] If the congestion state of the credit trust value queue reaches the backpressure waterline, it indicates that the credit trust value queue in the receiving network device is congested. Then, a backpressure frame message is sent to the corresponding receiving device, so that the receiving device stops sending the credit trust value, and the receiving network device cannot receive the credit trust value, thereby avoiding packet loss caused by network congestion.
[0088] In another possible implementation, the present application provides a traffic scheduling method for end-network collaboration, which is applied to the sending-end device of a data center network. The data center network includes a sending-end device, a sending network device, a switching network device, a receiving network device, and a receiving-end device. As Figure 5 shown, it includes the following:
[0089] In step 501, a credit trust value acquisition request is sent to the receiving-end device, so that the receiving-end device responds to the credit trust value acquisition request and sends the credit trust value to the receiving network device.
[0090] When the Ingress end device (i.e., the sending-end device) determines that traffic has arrived, it is first stored in the corresponding queue, and then a credit trust value acquisition request Request is initiated to the destination receiving-end device corresponding to the traffic, so as to apply for the credit trust value.
[0091] In step 502, the credit trust value after bandwidth shaping processing sent by the receiving network device is received; among them, the credit trust value after bandwidth shaping processing is obtained by the receiving network device performing bandwidth shaping processing on the credit trust value.
[0092] Among them, the receiving network device performs bandwidth shaping processing on the credit trust value, including: the receiving network device determines the network acceleration ratio of the switching network according to the keep-alive information of the switching network sent by the switching network device; if the network acceleration ratio is less than the preset value, bandwidth shaping processing is performed on the credit trust value; where the network acceleration ratio is used to characterize the bandwidth situation of the switching network.
[0093] In step 503, traffic is sent to the receiving-end device according to the number of traffic authorization bytes included in the credit trust value after bandwidth shaping processing.
[0094] In a possible implementation, when the network acceleration ratio is not less than the preset value, the sending-end device in the embodiment of the present application will also receive the credit trust value that has not been subjected to bandwidth shaping processing sent by the receiving network device according to the preset traffic scheduling policy.
[0095] To sum up, the embodiments of the present application can overall schedule the receiving-end device and the receiving network device, complement the network perspective during traffic scheduling, can quickly sense the capacity change of the switching network (i.e., the data center network), perform bandwidth shaping processing on the credit trust value when it is determined that the network acceleration ratio of the switching network is less than the preset value, and forward the credit trust value after bandwidth shaping processing to the switching network device, realizing the collaborative scheduling of the receiving-end device and the receiving network device, and ensuring data exchange between the sending end and the receiving end in any scenario, which can not only improve data transmission efficiency but also effectively avoid network congestion.
[0096] Based on the same inventive concept, the present application provides a traffic scheduling device for end-network collaboration, which is applied to a receiving network device in a data center network. The data center network includes a sending end device, a sending network device, a switching network device, a receiving network device, and a receiving end device. As Figure 6 shown, the device 600 includes:
[0097] A credit trust value receiving module 601, configured to receive the credit trust value sent by the receiving end device in response to a credit trust value acquisition request, and the credit trust value acquisition request is sent by the sending end device;
[0098] A network acceleration ratio determination module 602, configured to determine the network acceleration ratio of the switching network according to the keep-alive information of the switching network sent by the switching network device, and the network acceleration ratio is used to characterize the bandwidth situation of the switching network;
[0099] A bandwidth shaping processing module 603, configured to perform bandwidth shaping processing on the credit trust value if the network acceleration ratio is less than a preset value;
[0100] A credit trust value forwarding module 604, configured to send the credit trust value after bandwidth shaping processing to the sending end device, so that the sending end device sends traffic to the receiving end device according to the number of traffic authorization bytes included in the credit trust value after bandwidth shaping processing.
[0101] In a possible implementation manner, the credit trust value forwarding module is further configured to:
[0102] If the network acceleration ratio is not less than the preset value, send the credit trust value without bandwidth shaping processing to the sending end device according to a preset traffic scheduling policy.
[0103] In a possible implementation manner, when performing the bandwidth shaping processing on the credit trust value, the bandwidth shaping processing module is configured to:
[0104] Based on the bandwidth of the switching network, shape the bandwidth of the credit trust value to be the same as the bandwidth of the switching network; wherein, the bandwidth of the switching network is the sum of the bandwidths of multiple switching network devices.
[0105] In a possible implementation manner, during the process of sending the credit trust value after bandwidth shaping processing to the sending end device, the credit trust value forwarding module is further configured to:
[0106] If the congestion state of the credit trust value queue does not reach the backpressure waterline, the credit trust value is sent to the sending device according to a preset scheduling policy;
[0107] If the congestion state of the credit trust value queue reaches the backpressure waterline, a backpressure frame message is sent to the corresponding receiving device to cause the receiving device to stop sending the credit trust value.
[0108] Based on the same inventive concept, the present application provides a traffic scheduling device for end-network collaboration, which is applied to a sending device in a data center network. The data center network includes a sending device, a sending network device, a switching network device, a receiving network device, and a receiving device. As Figure 7 shown, the device 700 includes:
[0109] A credit trust value acquisition request sending module 701, configured to send a credit trust value acquisition request to the receiving device, so that the receiving device responds to the credit trust value acquisition request and sends the credit trust value to the receiving network device;
[0110] A credit trust value receiving module 702, configured to receive the credit trust value after bandwidth shaping processing sent by the receiving network device; wherein, the credit trust value after bandwidth shaping processing is obtained by the receiving network device performing bandwidth shaping processing on the credit trust value; wherein, the receiving network device performing bandwidth shaping processing on the credit trust value includes: the receiving network device determining a network acceleration ratio of the switching network according to the keep-alive information of the switching network sent by the switching network device; if the network acceleration ratio is less than a preset value, performing bandwidth shaping processing on the credit trust value; wherein, the network acceleration ratio is used to characterize the bandwidth situation of the switching network;
[0111] A traffic sending module 703, configured to send traffic to the receiving device according to the number of traffic authorization bytes included in the credit trust value after bandwidth shaping processing.
[0112] In a possible implementation manner, the credit trust value receiving module is further configured to:
[0113] Receive the credit trust value that has not been subjected to bandwidth shaping processing sent by the receiving network device according to a preset traffic scheduling policy.
[0114] As Figure 8As shown, the electronic device 130 is presented in the form of a general electronic device. The components of the electronic device 130 may include, but are not limited to: at least one of the above-mentioned processors 131, at least one of the above-mentioned memories 132, and a bus 133 that connects different system components (including the memory 132 and the processor 131).
[0115] The bus 133 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a processor, or a local area bus using any bus structure in a variety of bus structures.
[0116] The memory 132 may include a readable medium in the form of volatile memory, such as random access memory (RAM) 1321 and / or cache memory 1322, and may further include read-only memory (ROM) 1323.
[0117] The memory 132 may also include a program / utilities 1325 having a set (at least one) of program modules 1324. Such program modules 1324 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment.
[0118] The electronic device 130 may also communicate with one or more external devices 134 (such as a keyboard, a pointing device, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 130, and / or communicate with any device that enables the electronic device 130 to communicate with one or more other electronic devices (such as a router, a modem, etc.). Such communication may be carried out through an input / output (I / O) interface 135. Also, the electronic device 130 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 136. As shown in the figure, the network adapter 136 communicates with other modules for the electronic device 130 through the bus 133. It should be understood that although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0119] In an exemplary embodiment, the present application also provides a computer-readable storage medium including instructions, such as a memory 132 including instructions, and the above instructions can be executed by a processor 131 of an electronic device 130 to complete the above traffic scheduling method for end-network collaboration. Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0120] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by the processor 131, it implements the traffic scheduling method for end-network collaboration provided by the present application.
[0121] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.
[0122] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams, 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 devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0123] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0124] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus, so that a series of operation steps are executed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions for implementing the steps of the process Figure 1 in one process or a plurality of processes and / or boxes Figure 1 or steps of functions specified in one box or a plurality of boxes.
[0125] Obviously, those skilled in the art can make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.
Claims
1. A traffic scheduling method for end-network collaboration, characterized in that A receiving network device applied to a data center network, the data center network including a sending device, a sending network device, a switching network device, a receiving network device, and a receiving device, the method including: Receiving a credit trust value sent by the receiving device in response to a credit trust value acquisition request, the credit trust value acquisition request being sent by the sending device; Determining a network acceleration ratio of the switching network according to the keep-alive information of the switching network sent by the switching network device, the network acceleration ratio being used to characterize the bandwidth situation of the switching network; If the network acceleration ratio is less than a preset value, performing bandwidth shaping processing on the credit trust value; Sending the credit trust value after bandwidth shaping processing to the sending device, so that the sending device sends traffic to the receiving device according to the number of traffic authorization bytes included in the credit trust value after bandwidth shaping processing.
2. The method according to claim 1, wherein The method further includes: If the network acceleration ratio is not less than a preset value, sending the credit trust value without bandwidth shaping processing to the sending device according to a preset traffic scheduling policy.
3. The method according to claim 1, wherein The performing bandwidth shaping processing on the credit trust value includes: Based on the bandwidth of the switching network, shaping the bandwidth of the credit trust value to be the same as the bandwidth of the switching network; wherein, the bandwidth of the switching network is the sum of the bandwidths of multiple switching network devices.
4. The method according to claim 1, characterized in that, During the process of sending the credit trust value after bandwidth shaping processing to the sending device, the method further includes: If the congestion state of the credit trust value queue does not reach the backpressure waterline, sending the credit trust value to the sending device according to a preset scheduling policy; If the congestion state of the credit trust value queue reaches the backpressure waterline, sending a backpressure frame message to the corresponding receiving device, so that the receiving device stops sending the credit trust value.
5. A traffic scheduling method for end-network collaboration, characterized in that, A sending device applied to a data center network, the data center network including a sending device, a sending network device, a switching network device, a receiving network device, and a receiving device, the method including: Sending a credit trust value acquisition request to the receiving device, so that the receiving device sends a credit trust value to the receiving network device in response to the credit trust value acquisition request; Receiving the credit trust value after bandwidth shaping processing sent by the receiving network device; wherein, the credit trust value after bandwidth shaping processing is obtained by the receiving network device performing bandwidth shaping processing on the credit trust value; wherein, the receiving network device performing bandwidth shaping processing on the credit trust value includes: the receiving network device determining a network acceleration ratio of the switching network according to the keep-alive information of the switching network sent by the switching network device; if the network acceleration ratio is less than a preset value, performing bandwidth shaping processing on the credit trust value; wherein, the network acceleration ratio is used to characterize the bandwidth situation of the switching network; Send traffic to the receiving end device according to the number of traffic authorization bytes included in the credit trust value after bandwidth shaping processing.
6. The method according to claim 5, wherein The method further includes: Receiving the credit trust value that has not been processed by bandwidth shaping sent by the receiving network device according to a preset traffic scheduling policy.
7. A traffic scheduling device for end-network collaboration, characterized in that Applied to a receiving network device in a data center network, the data center network includes a sending end device, a sending network device, a switching network device, a receiving network device, and a receiving end device. The device includes: A credit trust value receiving module, configured to receive the credit trust value sent by the receiving end device in response to a credit trust value acquisition request, and the credit trust value acquisition request is sent by the sending end device; A network acceleration ratio determination module, configured to determine the network acceleration ratio of the switching network according to the keep-alive information of the switching network sent by the switching network device, and the network acceleration ratio is used to characterize the bandwidth situation of the switching network; A bandwidth shaping processing module, configured to perform bandwidth shaping processing on the credit trust value if the network acceleration ratio is less than a preset value; A credit trust value forwarding module, configured to send the credit trust value after bandwidth shaping processing to the sending end device, so that the sending end device sends traffic to the receiving end device according to the number of traffic authorization bytes included in the credit trust value after bandwidth shaping processing.
8. A traffic scheduling device for end-network collaboration, characterized in that, Applied to a sending end device in a data center network, the data center network includes a sending end device, a sending network device, a switching network device, a receiving network device, and a receiving end device. The device includes: A credit trust value acquisition request sending module, configured to send a credit trust value acquisition request to the receiving end device, so that the receiving end device sends a credit trust value to the receiving network device in response to the credit trust value acquisition request; A credit trust value receiving module, configured to receive the credit trust value after bandwidth shaping processing sent by the receiving network device; wherein, the credit trust value after bandwidth shaping processing is obtained by the receiving network device performing bandwidth shaping processing on the credit trust value; wherein, the receiving network device performing bandwidth shaping processing on the credit trust value includes: the receiving network device determining the network acceleration ratio of the switching network according to the keep-alive information of the switching network sent by the switching network device; if the network acceleration ratio is less than a preset value, performing bandwidth shaping processing on the credit trust value; wherein, the network acceleration ratio is used to characterize the bandwidth situation of the switching network; A traffic sending module, configured to send traffic to the receiving end device according to the number of traffic authorization bytes included in the credit trust value after bandwidth shaping processing.
9. A device, characterized in that, Includes: A processor and a memory; The memory is used to store executable instructions of the processor; The processor is configured to execute the instructions to implement the traffic scheduling method for end-network collaboration as described in claims 1-6.
10. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by a processor of a device, the device is enabled to execute the end-to-network collaborative traffic scheduling method according to any one of claims 1-6.