CN117278481A - Method and device for network equipment cooperative speed limiting - Google Patents

Method and device for network equipment cooperative speed limiting Download PDF

Info

Publication number
CN117278481A
CN117278481A CN202311044057.7A CN202311044057A CN117278481A CN 117278481 A CN117278481 A CN 117278481A CN 202311044057 A CN202311044057 A CN 202311044057A CN 117278481 A CN117278481 A CN 117278481A
Authority
CN
China
Prior art keywords
network device
actual rate
bandwidth
link
tenant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311044057.7A
Other languages
Chinese (zh)
Inventor
张庆军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202311044057.7A priority Critical patent/CN117278481A/en
Publication of CN117278481A publication Critical patent/CN117278481A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/215Flow control; Congestion control using token-bucket
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/22Traffic shaping

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a method and a device for network equipment collaborative speed limit, the method is applied to first network equipment, the first network equipment is in a link collaborative HUB group, the link collaborative HUB group also comprises second network equipment, and the method comprises the following steps: when receiving service traffic of a tenant, acquiring total bandwidth allocated to the tenant and a first actual rate of the service traffic; receiving a first notification message sent by a second network device through a cooperative link in a link cooperative HUB group, wherein the first notification message comprises a second actual rate, and the second actual rate is an actual rate of the acquired service flow when the second network device receives the service flow of the tenant; calculating a first allocated bandwidth of the first network device according to the total bandwidth, the first actual rate and the second actual rate; and forwarding the received service traffic by using the first allocated bandwidth.

Description

Method and device for network equipment cooperative speed limiting
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for collaborative speed limiting of a network device.
Background
In the actual networking, a plurality of network devices with independent intelligent routing functions may be deployed in the same physical area. When each network device forwards traffic, a link on the network device is generally selected as a forwarding link, and the network device cannot realize link optimization and load sharing in a whole area. The collaborative routing networking can enable a plurality of network devices with intelligent routing capability to share link data, and realize centralized scheduling of links by establishing a special forwarding channel.
For network traffic, factors affecting quality of service (English: quality of Service, qoS for short) include bandwidth of transmission, delay of transmission, packet loss rate of data, and so on. In a network, the service quality can be improved by ensuring the transmission bandwidth, reducing the transmission delay, reducing the packet loss rate of data, and the like. Network resources are always limited and the quality of service of certain classes of traffic may be compromised while the quality of service of other traffic is guaranteed. Therefore, the manager needs to reasonably plan and allocate the network resources according to the characteristics of various services, so that the network resources are efficiently utilized.
QoS techniques include flow classification, traffic policing, traffic shaping, speed limiting, congestion management, congestion avoidance, and the like. Among the above QoS techniques, traffic policing, also referred to as speed limiting, refers to policing traffic entering or exiting a network device to protect network resources from damage.
Currently, when traffic of a single tenant across multiple network devices is speed-limited, the problem of traffic doubling occurs. For example, the bandwidth allocated by the operator to the tenant is 10M, and the service traffic of the tenant flows through two network devices. At this time, the total bandwidth used by the tenant reaches 20M, and the bandwidth is doubled. The reason for doubling the actual flow is that: the token buckets of the two network devices are calculated independently, that is, one 10M token bucket is configured in each network device, so that as long as each token bucket contains enough tokens, the two token buckets can output 20M actual traffic.
With the large-scale increase of the number of tenants in a network, the increase of traffic and the expansion of network equipment, the above problems are gradually attracting attention of operators, and new technologies are needed to solve the problems. In the prior art, the flow belonging to the same tenant is drained to the same network equipment through the drainage device, so as to realize speed limitation.
However, the above prior art solutions also expose the following problems: 1) Operators need to purchase the drainage device, so that the cost of the operators is increased; 2) After the drainage device is added in networking, the influence on networking structure is larger, and the performance requirement on the drainage device is higher.
Disclosure of Invention
In view of this, the application provides a method and a device for network equipment collaborative speed limiting, which are used for solving the problems of increased cost and larger influence on a networking architecture caused by adding a drainage device to realize speed limiting in the prior art.
In a first aspect, the present application provides a method for network device cooperative speed limiting, where the method is applied to a first network device, where the first network device is in a link cooperative HUB group, and the link cooperative HUB group further includes a second network device, and the method includes:
when receiving service traffic of a tenant, acquiring a total bandwidth allocated to the tenant and a first actual rate of the service traffic;
receiving a first notification message sent by the second network device through a cooperative link in the link cooperative HUB group, wherein the first notification message comprises a second actual rate, and the second actual rate is an actual rate of the service traffic obtained when the second network device receives the service traffic of the tenant;
calculating a first allocated bandwidth of the first network device according to the total bandwidth, the first actual rate and the second actual rate;
and forwarding the received service flow by utilizing the first allocated bandwidth.
In a second aspect, the present application provides an apparatus for network device cooperative speed limiting, where the apparatus is applied to a first network device, where the first network device is in a link cooperative HUB group, and the link cooperative HUB group further includes a second network device, and the apparatus includes:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the total bandwidth allocated to the tenant and a first actual rate of the service flow when receiving the service flow of the tenant;
a receiving unit, configured to receive, through a cooperative link in the link cooperative HUB group, a first notification message sent by the second network device, where the first notification message includes a second actual rate, and the second actual rate is an actual rate of the service traffic obtained when the second network device receives the service traffic of the tenant;
a calculating unit, configured to calculate a first allocated bandwidth of the first network device according to the total bandwidth, the first actual rate, and the second actual rate;
and the processing unit is used for forwarding the received service traffic by utilizing the first allocated bandwidth.
In a third aspect, the present application provides a network device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to cause the processor to perform the method provided in the first aspect of the present application.
Therefore, when receiving the service traffic of the tenant, the first network device acquires the total bandwidth allocated to the tenant and the first actual rate of the service traffic; the method comprises the steps that through a cooperative link in a link cooperative HUB group, first network equipment receives a first notification message sent by second network equipment, wherein the first notification message comprises a second actual rate, and the second actual rate is an actual rate of the acquired service flow when the second network equipment receives the service flow of a tenant; according to the total bandwidth, the first actual rate and the second actual rate, the first network device calculates a first allocated bandwidth of the first network device; and forwarding the received service traffic by the first network equipment by using the first allocated bandwidth.
Thus, the actual rate of the service flow is collected by utilizing the link to cooperate with the HUB group, and the bandwidth of the tenant among all network devices is dynamically allocated, so that the purpose of limiting the speed is achieved. The problems of the current drainage device that the speed limit is realized, the cost is increased and the influence on the networking structure is large are solved.
Drawings
Fig. 1 is a flowchart of a method for network device collaborative speed limit provided in an embodiment of the present application;
fig. 2 is a networking schematic diagram of network device collaborative speed limit provided in an embodiment of the present application;
fig. 3 is a block diagram of a device for network device cooperative speed limiting according to an embodiment of the present application;
fig. 4 is a hardware structure of a network device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the corresponding listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The method for network equipment cooperative speed limiting provided by the embodiment of the application is described in detail below. Referring to fig. 1, fig. 1 is a flowchart of a method for network device collaborative speed limit according to an embodiment of the present application. The method is applied to the first network device, and the method for the network device collaborative speed limit provided by the embodiment of the application can comprise the following steps.
Step 110, when receiving service traffic of a tenant, acquiring a total bandwidth allocated to the tenant and a first actual rate of the service traffic;
specifically, as shown in fig. 2, fig. 2 is a networking schematic diagram of network device cooperative speed limiting provided in the embodiment of the present application. In fig. 2, the first network device and the second network device are both devices for forwarding the same tenant traffic. The link cooperation HUB (HUB) group comprises a first network device and a second network device, and communication interconnection is realized between the first network device and the second network device through cooperation links in the link cooperation HUB group. The cooperative link may be embodied as a TCP connection.
Optionally, the manager configures an initial bandwidth for each network device prior to performing this step.
Further, the manager obtains the total bandwidth allocated by the operator for the tenant, for example, 100M. The manager inputs configuration instructions to the first network device and the second network device respectively in the form of command lines, wherein the configuration instructions comprise initial bandwidths.
The initial bandwidth is the quotient of the total bandwidth and the number of network devices forwarding the same tenant service traffic. In the embodiment of the present application, the total bandwidth is 100M, and the number of network devices forwarding the same tenant service traffic is 2. Thus, the initial bandwidth of each network device is 50M. Each network device automatically configures a bucket depth CBS of a token bucket corresponding to the initial bandwidth according to the initial bandwidth. And each network device forwards the service traffic of the tenant according to the initial bandwidth.
After the first network device is configured in the above manner, when the first network device receives the service traffic of the tenant, the first network device obtains the total bandwidth and the first actual rate of the service traffic.
The first actual rate may be calculated by a tenant rate collection module included in the first network device. The tenant rate collection module counts the number of the messages sent in the nth second and the number of the messages sent in the (n+1) th second. The tenant rate collection module calculates the difference between the number of the n-th second transmitted messages and the number of the n+1th second transmitted messages, and takes the quotient of the difference and 1 second as a first actual rate.
Similarly, when the second network device receives the service traffic of the tenant, the second network device obtains the total bandwidth and a second actual rate of the service traffic.
The second actual rate may be calculated by a tenant rate collection module included in the second network device. The tenant rate collection module counts the number of the messages sent in the nth second and the number of the messages sent in the (n+1) th second. The tenant rate collection module calculates the difference between the number of the n-th second transmitted messages and the number of the n+1th second transmitted messages, and takes the quotient of the difference and 1 second as a second actual rate.
It will be appreciated that the function of the tenant rate collection module to calculate the actual rate is the flow rate statistics function of the flow classification.
For example, in fig. 2, the first actual rate of traffic in the first network device is 200M; the second actual rate of traffic in the second network device is 100M.
Step 120, receiving, by the link in the coordinated HUB group, a first notification message sent by the second network device, where the first notification message includes a second actual rate, and the second actual rate is an actual rate of the service traffic obtained when the second network device receives the service traffic of the tenant;
specifically, according to the description of step 110, after the second network device acquires the second actual rate, a first notification message is generated, where the first notification message includes the second actual rate.
The second network device sends a first notification message to the first network device over the cooperative links in the link cooperative HUB group. And after the first network equipment receives the first notification message, acquiring a second actual rate from the first notification message.
Step 130, calculating a first allocated bandwidth of the first network device according to the total bandwidth, the first actual rate and the second actual rate;
specifically, according to the descriptions of step 110 and step 120, the first network device obtains the total bandwidth, the first actual rate and the second actual rate, and then calculates the first allocated bandwidth of the first network device.
Optionally, the first network device calculates the first allocated bandwidth according to the total bandwidth, the first actual rate and the second actual rate, which specifically includes: the first network device calculates the sum of the first actual rate and the second actual rate; the first network device calculates a quotient of the first actual rate and the sum; the first network device takes the product of the quotient and the total bandwidth as a first allocated bandwidth.
For example, in fig. 2, the total bandwidth is 100M, the first actual rate is 200M, the second actual rate is 100M, and the first allocated bandwidth is 100M (200/(200+100))= 66.666M.
It should be noted that the first allocated bandwidth may be calculated by a tenant rate collection module included in the first network device.
Optionally, in an embodiment of the present application, after the first network device obtains the first actual rate, a second notification message is also generated, where the second notification message includes the first actual rate.
The first network device sends a second notification message to the second network device over the cooperative link in the link cooperative HUB group. The second network device obtains the first actual rate from the second notification message after receiving the second notification message.
Similarly, the second network device calculates its own second allocated bandwidth according to the total bandwidth, the first actual rate and the second actual rate.
For example, in fig. 2, the total bandwidth is 100M, the first actual rate is 200M, the second actual rate is 100M, and the second allocated bandwidth is 100M (100/(200+100))= 33.333M.
The sum of the first allocated bandwidth and the second allocated bandwidth is not greater than the total bandwidth.
And 140, forwarding the received service flow by using the first allocated bandwidth.
Specifically, after the first network device calculates the first allocated bandwidth according to the description of step 130, the bucket depth CBS of the token bucket corresponding to the first allocated bandwidth is automatically adjusted according to the first allocated bandwidth.
It should be noted that, after the tenant rate collection module calculates the first allocated bandwidth, the first allocated bandwidth is transmitted to the tenant bandwidth allocation module included in the first network device. And after the tenant bandwidth allocation module obtains the first allocation bandwidth, adjusting the barrel depth CBS of the token barrel.
Therefore, when receiving the service traffic of the tenant, the first network device acquires the total bandwidth allocated to the tenant and the first actual rate of the service traffic by applying the network device collaborative speed limiting method provided by the application; the method comprises the steps that through a cooperative link in a link cooperative HUB group, first network equipment receives a first notification message sent by second network equipment, wherein the first notification message comprises a second actual rate, and the second actual rate is an actual rate of the acquired service flow when the second network equipment receives the service flow of a tenant; according to the total bandwidth, the first actual rate and the second actual rate, the first network device calculates a first allocated bandwidth of the first network device; and forwarding the received service traffic by the first network equipment by using the first allocated bandwidth.
Thus, the actual rate of the service flow is collected by utilizing the link to cooperate with the HUB group, and the bandwidth of the tenant among all network devices is dynamically allocated, so that the purpose of limiting the speed is achieved. The problems of the current drainage device that the speed limit is realized, the cost is increased and the influence on the networking structure is large are solved.
Optionally, in the embodiment of the present application, a process of adjusting the allocated bandwidth by each network device when the system link in the HUB group of the link system fails is further included.
Specifically, if the cooperative link in the link cooperative HUB group fails, the first network device keeps the first currently calculated allocated bandwidth unchanged; if the failure time exceeds the time threshold, the first network device restores the first allocated bandwidth to the initial bandwidth; and forwarding the received service traffic by the first network equipment by using the initial bandwidth.
The time threshold may be specifically 5 seconds.
In the embodiment of the application, the cooperative links are all TCP connections. The current state of the cooperative link can be known by each network device through the connection and disconnection event reported by the handshake message of the TCP connection. When the first network device acquires a disconnection event, the first network device determines a cooperative link failure and keeps the currently calculated allocated bandwidth unchanged.
The first network device starts a timer and counts the fault event, and if the fault time exceeds a time threshold, the first network device restores the first allocated bandwidth to an initial bandwidth and automatically adjusts the bucket depth CBS of the token bucket.
If the failure time does not exceed the time threshold and the connection event is acquired, the first network device determines that the cooperative link is failed to recover, and at this time, the first network device repeatedly executes the foregoing processes of steps 110 to 140 again, and calculates the current first allocated bandwidth.
Based on the same inventive concept, the embodiment of the application also provides a device for limiting the speed of the network equipment system, which corresponds to the method for limiting the speed of the network equipment system. Referring to fig. 3, fig. 3 is a device for limiting speed of a network device system provided in an embodiment of the present application, where the device is applied to a first network device, the first network device is in a link coordination HUB group, and the link coordination HUB group further includes a second network device, and the device includes:
an obtaining unit 310, configured to obtain, when receiving a service traffic of a tenant, a total bandwidth allocated to the tenant and a first actual rate of the service traffic;
a receiving unit 320, configured to receive, through a cooperative link in the link cooperative HUB group, a first notification message sent by the second network device, where the first notification message includes a second actual rate, and the second actual rate is an actual rate of the service traffic obtained when the second network device receives the service traffic of the tenant;
a calculating unit 330, configured to calculate a first allocated bandwidth of the first network device according to the total bandwidth, the first actual rate, and the second actual rate;
and a sending unit 340, configured to forward the received traffic by using the first allocated bandwidth.
Optionally, the sending unit is further configured to send a second notification message to the second network device through the link in the coordinated HUB group, where the second notification message includes the first actual rate, so that the second network device calculates a second allocated bandwidth of the second network device according to the total bandwidth, the first actual rate, and the second actual rate.
Optionally, the calculating unit 330 is specifically configured to calculate a sum of the first actual rate and the second actual rate;
calculating a quotient of the first actual rate and the sum;
taking the product of the quotient and the total bandwidth as the first allocated bandwidth.
Optionally, the receiving unit 320 is further configured to receive a configuration instruction input by a manager, where the configuration instruction includes an initial bandwidth, and the initial bandwidth is a quotient of the total bandwidth and the number of network devices forwarding the same tenant service traffic;
and forwarding the received service traffic by utilizing the initial bandwidth.
Optionally, the apparatus further comprises:
a holding unit (not shown in the figure) for holding the first allocated bandwidth if a cooperative link in the link system HUB group fails;
a recovery unit (not shown in the figure) for recovering the first allocated bandwidth to an initial bandwidth if the failure time exceeds a time threshold;
the sending unit 340 is further configured to forward the received traffic by using the initial bandwidth.
Therefore, when receiving the service traffic of the tenant, the first network device acquires the total bandwidth allocated to the tenant and the first actual rate of the service traffic by applying the network device collaborative speed limiting device provided by the application; the method comprises the steps that through a cooperative link in a link cooperative HUB group, first network equipment receives a first notification message sent by second network equipment, wherein the first notification message comprises a second actual rate, and the second actual rate is an actual rate of the acquired service flow when the second network equipment receives the service flow of a tenant; according to the total bandwidth, the first actual rate and the second actual rate, the first network device calculates a first allocated bandwidth of the first network device; and forwarding the received service traffic by the first network equipment by using the first allocated bandwidth.
Thus, the actual rate of the service flow is collected by utilizing the link to cooperate with the HUB group, and the bandwidth of the tenant among all network devices is dynamically allocated, so that the purpose of limiting the speed is achieved. Solves the problems of the current drainage device that the speed limit is realized, the cost is increased and the influence on the networking structure is larger
Based on the same inventive concept, the present embodiment also provides a network device, as shown in fig. 4, including a processor 410, a transceiver 420, and a machine-readable storage medium 430, where the machine-readable storage medium 430 stores machine executable instructions capable of being executed by the processor 410, and the processor 410 is caused by the machine executable instructions to perform the method for network device cooperative speed limiting provided by the present embodiment. The device for limiting the speed by the network device shown in fig. 3 can be implemented by adopting the hardware structure of the network device shown in fig. 4.
The computer readable storage medium 430 may include a random access Memory (in english: random Access Memory, abbreviated as RAM) or a nonvolatile Memory (in english: non-volatile Memory, abbreviated as NVM), such as at least one magnetic disk Memory. Optionally, the computer readable storage medium 430 may also be at least one storage device located remotely from the aforementioned processor 410.
The processor 410 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (English: digital Signal Processor; DSP; for short), an application specific integrated circuit (English: application Specific Integrated Circuit; ASIC; for short), a Field programmable gate array (English: field-Programmable Gate Array; FPGA; for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
In this embodiment, processor 410, by reading machine-executable instructions stored in machine-readable storage medium 430, is caused by the machine-executable instructions to implement processor 410 itself and invoke transceiver 420 to perform the method of network device co-speed limiting described in the previous embodiments of this application.
Additionally, embodiments of the present application provide a machine-readable storage medium 430, the machine-readable storage medium 430 storing machine-executable instructions that, when invoked and executed by the processor 410, cause the processor 410 itself and the invoking transceiver 420 to perform the method of network device co-speed limiting described in the embodiments of the present application described above.
The implementation process of the functions and roles of each unit in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present application. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
For the network device cooperative speed limiting apparatus and the machine readable storage medium embodiment, since the related method content is basically similar to the method embodiment, the description is relatively simple, and the relevant point is referred to the part of the description of the method embodiment.
The foregoing description of the preferred embodiments of the present invention is not intended to limit the invention to the precise form disclosed, and any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method of network device cooperative speed limiting, the method being applied to a first network device, the first network device being in a link cooperative HUB group, the link cooperative HUB group further including a second network device, the method comprising:
when receiving service traffic of a tenant, acquiring a total bandwidth allocated to the tenant and a first actual rate of the service traffic;
receiving a first notification message sent by the second network device through a cooperative link in the link cooperative HUB group, wherein the first notification message comprises a second actual rate, and the second actual rate is an actual rate of the service traffic obtained when the second network device receives the service traffic of the tenant;
calculating a first allocated bandwidth of the first network device according to the total bandwidth, the first actual rate and the second actual rate;
and forwarding the received service flow by utilizing the first allocated bandwidth.
2. The method according to claim 1, wherein the method further comprises:
and sending a second notification message to the second network device through the cooperative links in the link cooperative HUB group, wherein the second notification message comprises the first actual rate, so that the second network device calculates a second allocated bandwidth of the second network device according to the total bandwidth, the first actual rate and the second actual rate.
3. The method according to claim 1, wherein said calculating a first allocated bandwidth of said first network device based on said total bandwidth, said first actual rate and said second actual rate comprises:
calculating a sum of the first actual rate and the second actual rate;
calculating a quotient of the first actual rate and the sum;
taking the product of the quotient and the total bandwidth as the first allocated bandwidth.
4. The method of claim 1, wherein the obtaining the total bandwidth allocated to the tenant and the first actual rate of traffic when the traffic of the tenant is received is preceded by:
receiving a configuration instruction input by a manager, wherein the configuration instruction comprises an initial bandwidth, and the initial bandwidth is the quotient of the total bandwidth and the number of network devices forwarding the same tenant service flow;
and forwarding the received service traffic by utilizing the initial bandwidth.
5. The method according to claim 4, wherein the method further comprises:
if the cooperative link in the HUB group of the link system fails, maintaining the first allocated bandwidth;
if the failure time exceeds the time threshold, recovering the first allocated bandwidth to be an initial bandwidth;
and forwarding the received service flow by utilizing the initial bandwidth.
6. An apparatus for network device cooperative speed limiting, wherein the apparatus is applied to a first network device, the first network device is in a link cooperative HUB group, the link cooperative HUB group further includes a second network device, and the apparatus includes:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the total bandwidth allocated to the tenant and a first actual rate of the service flow when receiving the service flow of the tenant;
a receiving unit, configured to receive, through a cooperative link in the link cooperative HUB group, a first notification message sent by the second network device, where the first notification message includes a second actual rate, and the second actual rate is an actual rate of the service traffic obtained when the second network device receives the service traffic of the tenant;
a calculating unit, configured to calculate a first allocated bandwidth of the first network device according to the total bandwidth, the first actual rate, and the second actual rate;
and the sending unit is used for forwarding the received service traffic by utilizing the first allocated bandwidth.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the sending unit is further configured to send a second notification message to the second network device through the link in the link coordination HUB group, where the second notification message includes the first actual rate, so that the second network device calculates a second allocated bandwidth of the second network device according to the total bandwidth, the first actual rate, and the second actual rate.
8. The apparatus according to claim 6, wherein the calculation unit is specifically configured to calculate a sum of the first actual rate and the second actual rate;
calculating a quotient of the first actual rate and the sum;
taking the product of the quotient and the total bandwidth as the first allocated bandwidth.
9. The apparatus of claim 6, wherein the receiving unit is further configured to receive a configuration instruction input by a manager, the configuration instruction including an initial bandwidth, the initial bandwidth being a quotient of the total bandwidth and a number of network devices forwarding the same tenant traffic;
the sending unit is further configured to forward the received service traffic by using the initial bandwidth.
10. The apparatus of claim 9, wherein the apparatus further comprises:
a holding unit, configured to hold the first allocated bandwidth if a cooperative link in the HUB group of the link system fails;
a recovery unit, configured to recover the first allocated bandwidth to an initial bandwidth if the failure time exceeds a time threshold;
the sending unit is further configured to forward the received service traffic by using the initial bandwidth.
CN202311044057.7A 2023-08-17 2023-08-17 Method and device for network equipment cooperative speed limiting Pending CN117278481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311044057.7A CN117278481A (en) 2023-08-17 2023-08-17 Method and device for network equipment cooperative speed limiting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311044057.7A CN117278481A (en) 2023-08-17 2023-08-17 Method and device for network equipment cooperative speed limiting

Publications (1)

Publication Number Publication Date
CN117278481A true CN117278481A (en) 2023-12-22

Family

ID=89214965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311044057.7A Pending CN117278481A (en) 2023-08-17 2023-08-17 Method and device for network equipment cooperative speed limiting

Country Status (1)

Country Link
CN (1) CN117278481A (en)

Similar Documents

Publication Publication Date Title
US6310881B1 (en) Method and apparatus for network control
EP4024778A1 (en) Method for determining required bandwidth for data stream transmission, and devices and system
US11272396B2 (en) Frame aggregation method, network setting frame sending method, and device
CN111092840B (en) Processing strategy generation method, system and storage medium
US20130286845A1 (en) Transmission rate control
WO2012145841A1 (en) Hierarchical profiled scheduling and shaping
CN102611630B (en) A kind of message acceptance control method and system
EP3208971A1 (en) Method, device and system for reducing centralized protection switching time in potn system
WO2023036042A1 (en) Method, apparatus and system for determining network optimization policy
CN105359467A (en) Methods and systems for transmitting packets through aggregated end-to-end connection
CN101836196B (en) Methods and systems for providing efficient provisioning of data flows
CN117278482A (en) Token bucket implementation method and device
CN112615789A (en) Out-of-band flow control method and device
CN117278481A (en) Method and device for network equipment cooperative speed limiting
CN112202896A (en) Edge calculation method, frame, terminal and storage medium
CN109195160B (en) Tamper-proof storage system of network equipment resource detection information and control method thereof
CN108024290B (en) Tunnel adjusting method and device
CN117278480A (en) Method and device for network equipment cooperative speed limiting
CN114615155A (en) Method and device for deploying service
CN111726300A (en) Data sending method and device
RU2631972C1 (en) Method of aggregation of multiple data transmission channels in single logic data transfer check for broadband transmission of data to mass consumer and device based on it
CN113572684B (en) Port flow determining method and device and computing equipment
CN102571596A (en) Data transmission method and device
WO2023280004A1 (en) Network configuration method, device and system
CN106506434B (en) Service data transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination