CN117319213A - Bandwidth processing method and device - Google Patents

Bandwidth processing method and device Download PDF

Info

Publication number
CN117319213A
CN117319213A CN202210726527.7A CN202210726527A CN117319213A CN 117319213 A CN117319213 A CN 117319213A CN 202210726527 A CN202210726527 A CN 202210726527A CN 117319213 A CN117319213 A CN 117319213A
Authority
CN
China
Prior art keywords
bandwidth
communication device
interface
weight
link
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
CN202210726527.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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210726527.7A priority Critical patent/CN117319213A/en
Publication of CN117319213A publication Critical patent/CN117319213A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities

Landscapes

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

Abstract

The embodiment of the application discloses a bandwidth processing method, a first communication device acquires a first bandwidth weight and a first interface bandwidth, the first bandwidth weight indicates a ratio between the first bandwidth of data sent by the first communication device to a first interface of a second communication device and the first interface bandwidth, and the first interface bandwidth is a downlink bandwidth of the first interface. And determining a first bandwidth according to the first interface bandwidth and the first bandwidth weight. It can be seen that, with the present solution, a first bandwidth of the first communication device for transmitting data to the first interface is determined according to the first bandwidth weight and the first interface bandwidth, in this way, the first bandwidth is "planned", and in one example, the planning way avoids that the actual downlink bandwidth of the first interface exceeds the first interface bandwidth and that part of the service data is discarded; in yet another example, the planning manner enables the service quality of the service corresponding to the service data sent by the first communication device to the first interface to be ensured.

Description

Bandwidth processing method and device
Technical Field
The present disclosure relates to the field of communications, and in particular, to a method and apparatus for processing bandwidth.
Background
For nodes in the network, it may send data (e.g., traffic data) to other nodes, or may receive data sent by other nodes. Wherein a node may communicate with other nodes via an interface.
For an interface, the bandwidth of the interface is limited, and how to guarantee the corresponding service quality (quality of service, qoS) of the service transmitted by the interface is a problem yet to be solved.
Disclosure of Invention
The embodiment of the application provides a bandwidth processing method, which can ensure the service quality provided for a service as far as possible under the condition that a plurality of communication devices send service data to a first interface of a second communication device.
In a first aspect, an embodiment of the present application provides a bandwidth processing method, which may be applied to a first communication device. In one example, the first communication device may obtain a first bandwidth weight, where the first bandwidth weight is used to instruct the first communication device to send data to a first interface of the second communication device, where the first interface bandwidth is a downlink bandwidth of the first interface. The first communication device may also acquire the first interface bandwidth. After the first communication device obtains the first bandwidth weight and the first interface bandwidth, the first bandwidth may be determined according to the first interface bandwidth and the first bandwidth weight. It can be seen that, by using the scheme of the embodiment of the present application, the first bandwidth of the data sent by the first communication device to the first interface may be determined according to the first bandwidth weight and the first interface bandwidth, in this manner, the first bandwidth may be "planned", and in one example, this planning manner may avoid that the first communication device sends a large amount of service data to the first interface, and accordingly, avoid that the actual downlink bandwidth of the first interface exceeds the first interface bandwidth, so that part of the service data is discarded; in yet another example, in this planning manner, the first bandwidth may ensure a bandwidth requirement of the first communication device for sending service data to the first interface, so that quality of service of a service corresponding to the service data sent by the first communication device to the first interface may be ensured.
In one possible implementation, the first communication device may receive a first bandwidth weight sent by a controller. After the first communication device receives the first bandwidth weight sent by the controller, the first bandwidth weight may be saved so as to determine the first bandwidth based on the first bandwidth weight.
In one possible implementation, the controller may send a message including an identification of the first interface and the first bandwidth weight to a first communication device, thereby enabling retransmission of the first bandwidth weight to the first communication device. The identifier of the first interface in the message is used for enabling the first communication device to determine that the first bandwidth weight is used for indicating a ratio between a first bandwidth of the first communication device for sending data to the first interface of the second communication device and the first interface bandwidth. In one example, the message may include a configuration template, where the configuration template includes the first bandwidth weight and the identification of the first interface. In other words, in one example, the first communication device receiving the first bandwidth weight sent by the controller may, when embodied, receive a configuration template sent by the controller, the configuration template including the first bandwidth weight and an identification of the first interface.
In one possible implementation manner, after the first communication device receives the configuration template, the first interface bandwidth sent by the second communication device and the first bandwidth weight in the configuration template may be associated by using the identifier of the first interface in the configuration target, that is: the first communication device may determine, based on the identification of the first interface, that the bandwidth of the first interface is a bandwidth of the first interface, and determine that a ratio of a bandwidth of itself sending service data to the first interface to the bandwidth of the first interface is a first bandwidth weight. After the first communication device associates the first interface bandwidth with the first bandwidth weight in the configuration template, the first bandwidth may be determined based on the first interface bandwidth and the first bandwidth weight.
In one possible implementation manner, in order to facilitate reasonable planning of the bandwidth of the service data sent to the first interface by the first communication device, the configuration template may further include: and the bandwidth corresponding to at least one service deployed on the first communication device. The at least one service mentioned here may be a service transmitted between the first communication device and the second communication device, or the at least one service mentioned here may be a service corresponding to service data sent by the first communication device to the first interface. In one example, the configuration template may include a specific value of bandwidth corresponding to at least one service deployed on the communication device. In yet another example, the configuration template may include a ratio between the bandwidth corresponding to the at least one service and the first bandwidth.
In one possible implementation, the first communication device may receive first information sent by the second communication device, so as to obtain the first interface bandwidth, where the first information may be used to indicate the first interface bandwidth. In one example, the first information may be the first interface bandwidth itself, and in yet another example, the first information may be other indication information that enables the first communication device to determine the first interface bandwidth. For example, the first communication device may store a correspondence between the first information and the first interface bandwidth, and after the first communication device receives the first information, the first communication device may determine the first interface bandwidth based on the first information and the correspondence.
In one possible implementation, the second communication device may send the first information to the first communication device in a control message. The embodiment of the application is not particularly limited to the control message, for example, a new control message may be redefined, and the second communication device carries the first information in the new control message and sends the new control message to the first communication device. As another example, an existing control message may be extended, extending a new field, such as a type length value (type length value, TLV), to carry the first information. For another example, the reserved field or other fields not yet used in the existing control message may be utilized to carry the first information.
In one possible implementation, the control message may be a border gateway protocol (Border Gateway Protocol, BGP) message. For this case, the second communication device may send the first interface bandwidth to the first communication device via the BGP message.
In one possible implementation, the BGP message is used to advertise BGP routes. In other words, BGP routes may be carried in the BGP message, and in this case, by sending the BGP message to the first communication device, the second communication device both announces the BGP route to the first communication device and transmits the first interface bandwidth to the first communication device.
In one possible implementation, the BGP route may be a BGP EVPN route considering that both the first communication device and the second communication device may configure ethernet virtual private network (ethernet virtual private network, EVPN) traffic. In one example, the BGP EVPN route referred to herein may be a BGP EVPN route after expanding a standard BGP EVPN route. For example, in one example, a standard BGP EVPN route may be extended, with new fields being extended to carry the first information.
In one possible implementation manner, in order to improve the quality of service that the first communication device can provide for the service deployed on the first communication device as much as possible, the first communication device may dynamically adjust the first bandwidth according to an actual required bandwidth of the first communication device for sending service data to the first interface, so that the bandwidth of the first communication device for sending the service to the first interface better conforms to the actual required bandwidth, and accordingly, the quality of service that the first communication device can provide for the service deployed on the first communication device is improved.
In one possible implementation manner, if the actual required bandwidth is greater than the first bandwidth, the first communication device may increase the first bandwidth, so that the bandwidth of the service sent by the first communication device to the first interface better conforms to the actual required bandwidth.
In one possible implementation, it is contemplated that in addition to the first communication device sending traffic data to the first interface, other communication devices may also send traffic data to the first interface. Therefore, if the first communication device dynamically adjusts the first bandwidth based on its own actual required bandwidth, the actual downlink bandwidth of the first interface may exceed the first bandwidth of the first interface, and accordingly, the service quality of the first link may be degraded. For example, the delay of the first link is increased, the packet loss rate is increased, and so on. The first link is a link between the first communication device and the first interface, and the first communication device can send service data to the first interface through the first link. The service level agreement (service level agreement, SLA) parameters of the first link may represent the service quality of the first link, and the corresponding SLA parameters of the first link may represent whether the actual downlink bandwidth of the first interface exceeds the first bandwidth of the interface. Thus, in one example, the first communication device may dynamically adjust the first bandwidth based on the actual required bandwidth of the traffic data and the SLA parameters of the first link that the first communication device sends to the first interface.
In one possible implementation manner, if the actual required bandwidth of the first communication device is greater than the first bandwidth and the SLA parameter of the first link indicates that the service quality of the first link is not degraded, it is indicated that the actual downlink bandwidth of the first interface does not exceed the first interface bandwidth, and in this case, the first communication device may increase the first bandwidth, so as to meet the bandwidth requirement of the first communication device for sending service data to the first interface as much as possible.
In one possible implementation manner, if the actual required bandwidth of the first communication device is smaller than the first bandwidth and the SLA parameter of the first link indicates that the service quality of the first link is degraded, the first communication device may reduce the detection period of the SLA parameter of the first link, that is: the frequency of detecting SLA parameters is increased to further determine the cause of degradation in the quality of service of the first link, and thus the subsequent bandwidth adjustment policy.
In one possible implementation, if the SLA parameters detected by the first communication device in N detection periods after the detection period of the SLA parameters are reduced indicate that the service quality of the first link is degraded, it is indicated that the reason for the degradation of the service quality of the first link may be that the bandwidth of the first interface is reduced. For this case, the first communication device may reduce the first bandwidth, so as to avoid that the actual downlink bandwidth of the first interface exceeds the reduced first interface bandwidth, and accordingly, avoid that the service quality of the first link is degraded. Reference herein to N is an integer greater than or equal to 1, for example, where N is 10.
In one possible implementation manner, the second communication device may detect an actual downlink bandwidth of the first interface, and when the actual downlink bandwidth of the first interface is greater than the first interface bandwidth, the second communication device may send indication information to the first communication device, where the indication information is used to instruct the first communication device to dynamically adjust the first bandwidth. In one example, the second communication device may send an indication message carrying the indication information to the first communication device. The indication information may be carried in a header of the indication message, and when the indication information includes tunnel encapsulation information, the indication information may also be carried in the tunnel encapsulation information, which is not specifically limited in the embodiment of the present application. Correspondingly, the first communication device may receive the indication information sent by the second communication device, and dynamically adjust the first bandwidth further based on the indication information, so that after the first bandwidth is adjusted, the actual downlink bandwidth of the first interface is smaller than or equal to the first interface bandwidth.
In one possible implementation, the first communication device dynamically adjusts the first bandwidth based on the indication information, and when the first bandwidth is specific, the first communication device may reduce the first bandwidth to, for example, an initial value of the first bandwidth when the first bandwidth is greater than the initial value of the first bandwidth. Since the first bandwidth is reduced, the actual downlink bandwidth of the first interface is correspondingly reduced, and further, the actual downlink bandwidth of the first interface may be smaller than or equal to the first interface bandwidth.
In one possible implementation manner, in order to ensure the service quality of the first link as much as possible, the first communication device dynamically adjusts the first bandwidth based on the indication information, and when in specific implementation, the first bandwidth may be adjusted in combination with SLA parameters of the first link, that is: the quality of service of the first link is considered when the first bandwidth is adjusted, so that the quality of service of the first link is improved after the first bandwidth is adjusted.
In one possible implementation, if the SLA parameter indicates that the service quality of the first link is degraded and the first bandwidth is greater than an initial value of the first bandwidth, this indicates that the actual downlink bandwidth of the first interface exceeds the first interface bandwidth, which may be caused by the first communication device increasing the initial bandwidth to the first bandwidth, and in this case, the first communication device may decrease the first bandwidth in order to make the actual downlink bandwidth of the first interface smaller than or equal to the first interface bandwidth.
In one possible implementation, if the SLA parameter of the first link indicates that the service quality of the first link is not degraded, it indicates that the service quality of the first link can still be guaranteed although the actual downlink bandwidth of the first interface exceeds the first interface bandwidth. For this case, the first communication device may not make an adjustment to the first bandwidth. However, since the actual downlink bandwidth of the first interface exceeds the first interface bandwidth, the quality of service of the first link may be affected, and in this regard, in one example, the first communication device may reduce the detection period of the SLA parameter of the first link, that is: the detection frequency of the SLA parameters of the first link is quickened, so that when the service quality of the first link is changed, the first communication device can timely determine the change of the service quality, and then a subsequent bandwidth adjustment strategy is determined.
In one possible implementation manner, if the SLA parameters detected by the first communication device in N detection periods after the detection period of the SLA parameters are reduced indicate that the service quality of the first link is not degraded, it is indicated that the service quality of the first link is relatively stable. Whereas high frequency detection of the SLA parameters consumes excessive computing resources of the first communication device, the first communication device may for this case reduce the detection period for restoring the SLA parameters, thereby saving computing resources of the first communication device.
In one possible implementation, the first communication device is a central hub node and the second communication device is a branch spoke node. In this way, although the interface bandwidth of the hub node is far greater than the interface bandwidth of the spoke node (for example, the interface bandwidth of the hub node for the interface interacting with the spoke is far greater than the first interface bandwidth), by adopting the scheme, the bandwidth of the hub node for sending data to the spoke node can be planned, so that part of service data is discarded because the actual downlink bandwidth of the first interface of the spoke node exceeds the first interface bandwidth, and in addition, the service quality of the service corresponding to the service data sent to the first interface by the hub node can be ensured.
In one possible implementation, the first communication device may send data to a second interface of the third communication device in addition to the first interface, and accordingly, other communication devices may send data to the second interface. For this case, the first communication device may plan the bandwidth for transmitting traffic data to the second interface. As an example, the first communication device may obtain a second bandwidth weight and a second interface bandwidth, where the second bandwidth weight is used to instruct the first communication device to send data to a second interface of a third communication device, and the second interface bandwidth is a ratio between the second bandwidth and the second interface bandwidth, where the second interface bandwidth is a downlink bandwidth of the second interface; and determining the second bandwidth according to the second interface bandwidth and the second bandwidth weight.
In a second aspect, embodiments of the present application provide a bandwidth processing method, which may be applied to a second communication device. In one example, the second communication device may determine a first interface bandwidth, which is a downlink bandwidth of a first interface of the second communication device, through which the second communication device communicates with a first communication device, in other words, the first communication device may transmit traffic data to the first interface. After the second communication device determines the first interface bandwidth, the first interface bandwidth may be transmitted to the first communication device. In one example, the first communication device may plan a first bandwidth over which it sends traffic data to the first interface based on the first interface bandwidth, e.g., determine the first bandwidth based on the first interface bandwidth and a first bandwidth weight. In one example, the planning manner can avoid that the first communication device sends a large amount of service data to the first interface, and correspondingly, avoid that the actual downlink bandwidth of the first interface exceeds the bandwidth of the first interface so that part of the service data is discarded; in yet another example, in this planning manner, the first bandwidth may ensure a bandwidth requirement of the first communication device for sending service data to the first interface, so that quality of service of a service corresponding to the service data sent by the first communication device to the first interface may be ensured.
In one possible implementation manner, the sending the first interface bandwidth to the first communication device includes: and sending a control message to the first communication device, wherein the control message comprises the first interface bandwidth.
In one possible implementation manner, the control message includes: border gateway protocol BGP messages.
In one possible implementation, the BGP message is used to advertise BGP routes.
In one possible implementation, the BGP route includes: BGP ethernet virtual private network EVPN routes.
In one possible implementation, the method further includes: and sending indication information to the first communication device under the condition that the actual downlink bandwidth of the first interface is larger than the first interface bandwidth, wherein the indication information is used for indicating the first communication device to dynamically adjust the first bandwidth of the first communication device for sending data to the first interface.
In one possible implementation, in addition to processing the first communication device, the third communication device may also send data to the first interface, in which case the second communication device may also send the first interface bandwidth to the third communication device, so that the third communication device uses the first interface bandwidth to plan the bandwidth of itself sending data to the first interface.
In one possible implementation, the first communication device is a first central hub node, the third communication device is a second hub node, and the second communication device is a branch spoke node.
In a third aspect, embodiments of the present application provide a bandwidth processing method, which may be applied to a controller. In one example, the controller may obtain a first bandwidth weight that is used to instruct a first communication device to send data to a first interface of a second communication device, where the first interface bandwidth is a downlink bandwidth of the first interface. After acquiring the first bandwidth weight, the controller may retransmit the first bandwidth weight to the first communication device. In one example, the first communication device may plan a first bandwidth over which it sends traffic data to the first interface based on the first bandwidth weight, e.g., determine the first bandwidth from the first interface bandwidth and the first bandwidth weight. In one example, the planning manner can avoid that the first communication device sends a large amount of service data to the first interface, and correspondingly, avoid that the actual downlink bandwidth of the first interface exceeds the bandwidth of the first interface so that part of the service data is discarded; in yet another example, in this planning manner, the first bandwidth may ensure a bandwidth requirement of the first communication device for sending service data to the first interface, so that quality of service of a service corresponding to the service data sent by the first communication device to the first interface may be ensured.
In one possible implementation manner, the retransmitting the first bandwidth right to the first communication device includes: a configuration template is sent to the first communication device, the configuration template including the first bandwidth weight and an identification of the first interface.
In one possible implementation, the configuration template further includes: and the bandwidth corresponding to at least one service deployed on the first communication device.
In one possible implementation, for a third communication device that may send data to a first interface, the controller may further send a second bandwidth weight to the third communication device, the second bandwidth weight being used to indicate a ratio between a second bandwidth of the third communication device sending data to the first interface and the first interface bandwidth. Accordingly, the third communication device may plan a second bandwidth for transmitting data to the first interface based on the second bandwidth weight.
In one possible implementation, the first communication device may send data to the second interface of the fourth communication device in addition to the first interface. Similarly, other communication devices may also send data to the second interface. For this case, the controller may further transmit a third bandwidth weight to the first communication device, the third bandwidth weight being used to instruct the first communication device to transmit data to a second interface, the second interface bandwidth being a downstream bandwidth of the second interface, to a ratio between a third bandwidth of the second interface and a second interface bandwidth. Accordingly, the first communication device may plan a third bandwidth for transmitting data to the second interface based on the third bandwidth weight.
In a fourth aspect, embodiments of the present application provide a bandwidth processing method, where the method may be applied to a bandwidth processing system, where the bandwidth processing system includes: the communication device comprises a first communication device, a second communication device and a controller. The controller is configured to obtain a first bandwidth weight, where the first bandwidth weight is configured to instruct a first communication device to send data to a first interface of a second communication device, and send the first bandwidth weight to the first communication device. The second communication device is configured to obtain a first interface bandwidth, where the first interface bandwidth is a downlink bandwidth of the first interface, and send the first interface bandwidth to the first communication device. The first communication device is configured to receive a first bandwidth weight sent by the controller, and receive a first interface bandwidth sent by the second communication device, and determine the first bandwidth according to the first interface bandwidth and the first bandwidth weight. It can be seen that, by using the scheme of the embodiment of the present application, the first bandwidth of the data sent by the first communication device to the first interface may be determined according to the first bandwidth weight and the first interface bandwidth, in this manner, the first bandwidth may be "planned", and in one example, this planning manner may avoid that the first communication device sends a large amount of service data to the first interface, and accordingly, avoid that the actual downlink bandwidth of the first interface exceeds the first interface bandwidth, so that part of the service data is discarded; in yet another example, in this planning manner, the first bandwidth may ensure a bandwidth requirement of the first communication device for sending service data to the first interface, so that quality of service of a service corresponding to the service data sent by the first communication device to the first interface may be ensured.
In one possible implementation manner, the first bandwidth weight sent by the receiving controller includes: and receiving a configuration template sent by the controller, wherein the configuration template comprises the first bandwidth weight and the identification of the first interface.
In one possible implementation, the configuration template further includes: and the bandwidth corresponding to at least one service deployed on the first communication device.
In one possible implementation manner, the receiving the first interface bandwidth sent by the second communication device includes: and receiving first information sent by the second communication device, wherein the first information indicates the first interface bandwidth.
In one possible implementation manner, the receiving the first information sent by the second communication device includes: and receiving a control message sent by the second communication device, wherein the control message comprises the first information.
In one possible implementation, the control message includes a type length value TLV, the TLV including the first information.
In one possible implementation manner, the control message includes: border gateway protocol BGP messages.
In one possible implementation, the BGP message is used to advertise BGP routes.
In one possible implementation, the BGP route includes: BGP ethernet virtual private network EVPN routes.
In one possible implementation manner, the determining the first bandwidth according to the first interface bandwidth and the first bandwidth weight includes: associating the first interface bandwidth with a first bandwidth weight in the configuration template according to the identification of the first interface in the configuration template; and determining the first bandwidth according to the first interface bandwidth and the first bandwidth weight.
In one possible implementation, the first communication device is further configured to dynamically adjust the first bandwidth according to an actual required bandwidth of the first communication device sending data to the first interface.
In one possible implementation manner, the dynamically adjusting the first bandwidth according to the actual required bandwidth of the data sent by the first communication device to the first interface includes: and if the actual required bandwidth is larger than the first bandwidth, increasing the first bandwidth.
In one possible implementation manner, the dynamically adjusting the first bandwidth according to the actual required bandwidth of the data sent by the first communication device to the first interface includes: and dynamically adjusting the first bandwidth according to the actual required bandwidth and service level agreement SLA parameters of a first link, wherein the first link is a link between the first communication device and the first interface, and the first communication device sends data to the first interface through the first link.
In a possible implementation manner, the first communication device is further configured to receive indication information sent by the second communication device, where the indication information is used to instruct the first communication device to dynamically adjust the first bandwidth; and dynamically adjusting the first bandwidth based on the indication information.
In one possible implementation manner, the dynamically adjusting the first bandwidth based on the indication information includes: and dynamically adjusting the first bandwidth based on the indication information and SLA parameters of a first link, wherein the first link is a link between the first communication device and the first interface, and the first communication device sends data to the first interface through the first link.
In one possible implementation, the first communication device is a central hub node and the second communication device is a branch spoke node.
In one possible implementation, the first communication device is further configured to receive a second bandwidth weight sent by the controller, and receive a second interface bandwidth sent by a third communication device, and determine a second bandwidth according to the second interface bandwidth and the second bandwidth weight. The second bandwidth weight is used for indicating a ratio between a second bandwidth of the first communication device for sending data to a second interface of a third communication device and the second interface bandwidth, and the second interface bandwidth is a downlink bandwidth of the second interface.
In one possible implementation, the second communication device is further configured to send the first interface bandwidth to a third communication device, where the second communication device communicates with the third communication device through the first interface.
In one possible implementation, the controller is further configured to retransmit a second bandwidth weight to a third communication device, where the second bandwidth weight is configured to instruct the third communication device to send data to the first interface in a ratio between a second bandwidth of the first interface and a bandwidth of the first interface.
In one possible implementation, the controller is further configured to: and retransmitting a third bandwidth weight to the first communication device, wherein the third bandwidth weight is used for indicating a ratio between a third bandwidth of the first communication device for transmitting data to a second interface of a fourth communication device and a second interface bandwidth, and the second interface bandwidth is a downlink bandwidth of the second interface.
In a fifth aspect, embodiments of the present application provide a first communication device, where the first communication device includes a transceiver unit and a processing unit. The transceiver unit is configured to perform operations related to receiving and/or transmitting performed by the first communication device in the foregoing first aspect and various possible implementations of the first aspect; the processing unit is configured to perform operations other than the operations related to receiving and/or transmitting performed by the first communication device in the above first aspect and various possible implementations of the first aspect. In a specific implementation, the transceiver unit may include a receiving unit and/or a transmitting unit, where the receiving unit is configured to perform a reception-related operation, and the transmitting unit is configured to perform a transmission-related operation.
In a specific example, the first communication device may include a receiving unit and a processing unit.
The receiving unit is used for acquiring a first interface bandwidth and a first bandwidth weight, wherein the first bandwidth weight is used for indicating a ratio between a first bandwidth of the first communication device for transmitting data to a first interface of a second communication device and the first interface bandwidth, and the first interface bandwidth is a downlink bandwidth of the first interface;
and the processing unit is used for determining the first bandwidth according to the first interface bandwidth and the first bandwidth weight.
In one possible implementation, obtaining the first bandwidth weight includes: and receiving the first bandwidth weight sent by the controller.
In one possible implementation manner, the first bandwidth weight sent by the receiving controller includes: and receiving a configuration template sent by the controller, wherein the configuration template comprises the first bandwidth weight and the identification of the first interface.
In one possible implementation, the configuration template further includes: and the bandwidth corresponding to at least one service deployed on the first communication device.
In one possible implementation manner, acquiring the first interface bandwidth includes: and receiving first information sent by the second communication device, wherein the first information indicates the first interface bandwidth.
In one possible implementation manner, the receiving the first information sent by the second communication device includes: and receiving a control message sent by the second communication device, wherein the control message comprises the first information.
In one possible implementation, the control message includes a type length value TLV, the TLV including the first information.
In one possible implementation manner, the control message includes: border gateway protocol BGP messages.
In one possible implementation, the BGP message is used to advertise BGP routes.
In one possible implementation, the BGP route includes: BGP ethernet virtual private network EVPN routes.
In a possible implementation manner, the processing unit is configured to: associating the first interface bandwidth with a first bandwidth weight in the configuration template according to the identification of the first interface in the configuration template; and determining the first bandwidth according to the first interface bandwidth and the first bandwidth weight.
In a possible implementation manner, the processing unit is further configured to: and dynamically adjusting the first bandwidth according to the actual required bandwidth of the data sent to the first interface by the first communication device.
In a possible implementation manner, the processing unit is configured to: and if the actual required bandwidth is larger than the first bandwidth, increasing the first bandwidth.
In a possible implementation manner, the processing unit is configured to: and dynamically adjusting the first bandwidth according to the actual required bandwidth and service level agreement SLA parameters of a first link, wherein the first link is a link between the first communication device and the first interface, and the first communication device sends data to the first interface through the first link.
In a possible implementation manner, the receiving unit is further configured to: receiving indication information sent by the second communication device, wherein the indication information is used for indicating the first communication device to dynamically adjust the first bandwidth; the processing unit is further configured to dynamically adjust the first bandwidth based on the indication information.
In a possible implementation manner, the processing unit is configured to: and dynamically adjusting the first bandwidth based on the indication information and SLA parameters of a first link, wherein the first link is a link between the first communication device and the first interface, and the first communication device sends data to the first interface through the first link.
In one possible implementation, the first communication device is a central hub node and the second communication device is a branch spoke node.
In a possible implementation manner, the receiving unit is further configured to: acquiring a second bandwidth weight and a second interface bandwidth, wherein the second bandwidth weight is used for indicating a ratio between a second bandwidth of the first communication device for transmitting data to a second interface of a third communication device and the second interface bandwidth, and the second interface bandwidth is a downlink bandwidth of the second interface; the processing unit is further configured to determine the second bandwidth according to the second interface bandwidth and the second bandwidth weight.
In a sixth aspect, embodiments of the present application provide a second communication device, where the second communication device includes a transceiver unit and a processing unit. The transceiver unit is configured to perform the operations related to receiving and/or transmitting performed by the second communication device in the foregoing second aspect and various possible implementation manners of the second aspect; the processing unit is configured to perform operations other than the operations related to receiving and/or transmitting performed by the second communication device in the above second aspect and various possible implementations of the second aspect. In a specific implementation, the transceiver unit may include a receiving unit and/or a transmitting unit, where the receiving unit is configured to perform a reception-related operation, and the transmitting unit is configured to perform a transmission-related operation.
In a specific example, the second communication device may include a processing unit and a transmitting unit.
The processing unit is used for determining a first interface bandwidth, wherein the first interface bandwidth is the downlink bandwidth of a first interface of the second communication device, and the second communication device communicates with the first communication device through the first interface;
and the sending unit is used for sending the first interface bandwidth to the first communication device.
In a possible implementation manner, the sending unit is configured to: and sending a control message to the first communication device, wherein the control message comprises the first interface bandwidth.
In one possible implementation manner, the control message includes: border gateway protocol BGP messages.
In one possible implementation, the BGP message is used to advertise BGP routes.
In one possible implementation, the BGP route includes: BGP ethernet virtual private network EVPN routes.
In a possible implementation manner, the sending unit is further configured to: and sending indication information to the first communication device under the condition that the actual downlink bandwidth of the first interface is larger than the first interface bandwidth, wherein the indication information is used for indicating the first communication device to dynamically adjust the first bandwidth of the first communication device for sending data to the first interface.
In a possible implementation manner, the sending unit is further configured to: and transmitting the first interface bandwidth to a third communication device, wherein the second communication device communicates with the third communication device through the first interface.
In one possible implementation, the first communication device is a first central hub node, the third communication device is a second hub node, and the second communication device is a branch spoke node.
In a seventh aspect, embodiments of the present application provide a controller, where the controller includes a transceiver unit and a processing unit. The transceiver unit is configured to perform operations related to receiving and/or transmitting performed by the controller in the third aspect and various possible implementations of the third aspect; the processing unit is configured to perform operations other than the operations related to receiving and/or transmitting performed by the controller in the third aspect and various possible implementations of the third aspect. In a specific implementation, the transceiver unit may include a receiving unit and/or a transmitting unit, where the receiving unit is configured to perform a reception-related operation, and the transmitting unit is configured to perform a transmission-related operation.
In a specific example, the controller may include a processing unit and a transmitting unit.
The processing unit is used for acquiring a first bandwidth weight, wherein the first bandwidth weight is used for indicating a ratio between a first bandwidth of a first communication device for transmitting data to a first interface of a second communication device and a first interface bandwidth, and the first interface bandwidth is a downlink bandwidth of the first interface;
and the transmitting unit is used for retransmitting the first bandwidth right to the first communication device.
In a possible implementation manner, the sending unit is configured to: a configuration template is sent to the first communication device, the configuration template including the first bandwidth weight and an identification of the first interface.
In one possible implementation, the configuration template further includes: and the bandwidth corresponding to at least one service deployed on the first communication device.
In a possible implementation manner, the sending unit is further configured to: and retransmitting a second bandwidth weight to a third communication device, wherein the second bandwidth weight is used for indicating the ratio between the second bandwidth of the data transmitted to the first interface by the third communication device and the first interface bandwidth.
In a possible implementation manner, the sending unit is further configured to: and retransmitting a third bandwidth weight to the first communication device, wherein the third bandwidth weight is used for indicating a ratio between a third bandwidth of the first communication device for transmitting data to a second interface of a fourth communication device and a second interface bandwidth, and the second interface bandwidth is a downlink bandwidth of the second interface.
In an eighth aspect, the present application provides a communication device comprising a memory and a processor; the memory is used for storing program codes; the processor is configured to execute instructions in the program code to cause the communication device to perform the method according to any one of the first aspect and the first aspect above, or to cause the communication device to perform the method according to any one of the second aspect and the second aspect above.
In a ninth aspect, the present application provides a controller comprising a memory and a processor; the memory is used for storing program codes; the processor is configured to execute instructions in the program code to cause the controller to perform the method of any one of the above third aspect and the third aspect.
In a tenth aspect, the present application provides a communication device comprising a communication interface and a processor. In a specific implementation manner, the communication interface is configured to perform the transceiving operations performed by the communication device according to any one of the above first aspect and the first aspect, and the processor is configured to perform other operations performed by the communication device according to any one of the above first aspect and the first aspect, except for the transceiving operations; alternatively, the communication interface is configured to perform the transceiving operation performed by the communication device according to any of the second aspect and the second aspect, and the processor is configured to perform the operation other than the transceiving operation performed by the communication device according to any of the second aspect and the second aspect.
In an eleventh aspect, the present application provides a controller comprising a communication interface and a processor. In a specific implementation manner, the communication interface is configured to perform the transceiving operations performed by the controller according to any one of the above third aspect and the third aspect, and the processor is configured to perform other operations performed by the controller according to any one of the above third aspect and the third aspect, except for the transceiving operations.
In a twelfth aspect, embodiments of the present application provide a computer-readable storage medium comprising instructions or a computer program which, when run on a processor, performs the method of any one of the first aspect above, or performs the method of any one of the second aspect above, or performs the method of any one of the third aspect above.
In a thirteenth aspect, embodiments of the present application provide a computer program product comprising a computer program product which, when run on a processor, performs the method of any one of the above first aspect and the first aspect, or performs the method of any one of the above second aspect and the second aspect, or performs the method of any one of the above third aspect and the third aspect.
In a fourteenth aspect, embodiments of the present application provide a communication system including two or three of: a first communication device performing the method of the first aspect above and any of the first aspects above, a second communication device performing the method of the second aspect above and any of the second aspects above, and a controller performing the method of the third aspect above and any of the third aspects above.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of an exemplary application scenario provided in an embodiment of the present application;
fig. 2 is a signaling interaction diagram of a bandwidth processing method provided in an embodiment of the present application;
fig. 3 is a flow chart of a bandwidth processing method according to an embodiment of the present application;
Fig. 4 is a flow chart of a bandwidth processing method according to an embodiment of the present application;
fig. 5 is a flow chart of a bandwidth processing method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a communication device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a bandwidth processing method, which can ensure the service quality provided for a service as far as possible under the condition that a plurality of communication devices send service data to a first interface of a second communication device.
For a node in the network, it may communicate with other nodes through interfaces. The interface bandwidth of the interface is limited, and at present, the uplink bandwidth of the interface can be planned. For example, when the uplink bandwidth is limited, service data of the high priority service is preferentially transmitted. As another example, the upstream bandwidth is divided, different bandwidth guarantees are provided for different departments, and so on.
However, in some scenarios, the above manner of planning the uplink bandwidth cannot guarantee the quality of service provided for the service. For example, it may be understood with reference to fig. 1, where fig. 1 is a schematic view of an exemplary application scenario provided in an embodiment of the present application.
In the scenario shown in fig. 1, both communication device 110 and communication device 120 may send traffic data to interface 131 of communication device 130. In one example, communication device 110 may send traffic data to interface 131 using interface 111 and communication device 120 may send traffic data to interface 131 using interface 121. If the total bandwidth of the traffic data transmitted from the communication device 110 and the communication device 120 to the interface 131 exceeds the downstream bandwidth of the interface 131, the forwarding apparatus discards a part of the traffic data when transmitting the traffic data transmitted from the communication device 110 and the communication device 120 to the interface 131. And, when the forwarding device discards the service data, the service priority corresponding to the discarded service data is not considered. Therefore, in this scenario, the service data of the high priority service may be discarded, so that the quality of service provided for the service corresponding to the service data received by the interface 131 may not be guaranteed, and in particular, the quality of service provided for the aforementioned high priority service may not be guaranteed.
In one example, communication device 110 and communication device 120 may each correspond to a hub node, and communication device 130 corresponds to a spoke node. For this case, because the interface bandwidth of hub nodes is relatively large, it is often much larger than the interface bandwidth of spoke nodes. Therefore, in this case, when the communication device 110 and the communication device 120 corresponding to the hub node send a large amount of service packets to the interface 131, the total bandwidth of the communication device 110 and the communication device 120 for sending service data to the interface 131 may be far greater than the downlink bandwidth of the interface 131, and accordingly, the service quality provided for the service corresponding to the service data received by the interface 131 may not be ensured, especially the service quality provided for the high priority service may not be ensured, because the forwarding device discards the service data regardless of the priority of the service.
In addition, the communication device 110 may transmit traffic data to other communication devices in addition to the communication device 130, and as shown in fig. 1, the communication device 110 may transmit traffic data to the interface 141 of the communication device 140 using the interface 112. Similarly, other communication devices, such as communication device 120 shown in FIG. 1, may also send traffic data to interface 141 using interface 121, or other communication devices not shown in FIG. 1 may also send data to interface 141. For this case, when the downstream traffic of the interface 141 exceeds the downstream bandwidth of the interface 141, the quality of service provided for the service corresponding to the service data received by the interface 141 cannot be guaranteed, and in particular, the quality of service provided for the high priority service may not be guaranteed.
In one example, the communication device 140 may correspond to a spoke node.
The interfaces mentioned in the embodiments of the present application may be physical interfaces.
It should be noted that fig. 1 is only one of the scenarios to which the present solution may be applied, and the scenario to which the solution provided in the embodiment of the present application is applicable is not limited to the scenario shown in fig. 1.
In order to solve the above-mentioned problem, the embodiment of the present application provides a bandwidth processing method, and next, with reference to fig. 2, the bandwidth processing method provided by the embodiment of the present application is described.
Before describing the method 100 shown in fig. 2, it should be noted that:
the communication apparatus (for example, the communication apparatus 1, the communication apparatus 2, and the like mentioned below) mentioned in the embodiment of the present application may be a network device such as a switch, a router, or a part of components on the network device, for example, a board, a line card, or a functional module on the network device, or a chip for implementing the method of the present application, and the embodiment of the present application is not specifically limited. The communication devices may be directly connected to each other, for example, but not limited to, via an ethernet cable or an optical cable.
Referring to fig. 2, fig. 2 is a signaling interaction diagram of a bandwidth processing method according to an embodiment of the present application. The bandwidth processing method 100 shown in fig. 2 may include, for example, the following S101-S107.
In one example, communication device 1 in method 100 may correspond to communication device 110 shown in fig. 1, communication device 2 in method 100 may correspond to communication device 130 shown in fig. 1, and interface 1 in method 100 may correspond to interface 131 shown in fig. 1.
In another example, communication device 1 in method 100 may correspond to communication device 110 shown in fig. 1, communication device 2 in method 100 may correspond to communication device 140 shown in fig. 1, and interface 1 in method 100 may correspond to interface 141 shown in fig. 1.
In yet another example, communication device 1 in method 100 may correspond to communication device 120 shown in fig. 1, communication device 2 in method 100 may correspond to communication device 130 shown in fig. 1, and interface 1 in method 100 may correspond to interface 131 shown in fig. 1.
In another example, communication device 1 in method 100 may correspond to communication device 120 shown in fig. 1, communication device 2 in method 100 may correspond to communication device 140 shown in fig. 1, and interface 1 in method 100 may correspond to interface 141 shown in fig. 1.
S101: the controller obtains a bandwidth weight 1, where the bandwidth weight 1 is used to instruct the communication device 1 to send data to the interface 1 of the communication device 2, and the ratio between the bandwidth 1 of the interface and the bandwidth 1 of the interface, and the bandwidth 1 of the interface is the downlink bandwidth of the interface 1.
In one example, the bandwidth weight 1 may be user-specified, e.g., the controller may obtain user input of the bandwidth weight 1. The bandwidth weight 1 is not particularly limited, and the bandwidth weight 1 may be a value greater than 0 and less than 1, for example, the bandwidth weight 1 may be 0.6.
S102: the controller sends the bandwidth weight 1 to the communication device 1.
After the controller obtains the bandwidth weight 1, the bandwidth weight 1 may be sent to the communication device 1, so that the communication device 1 reasonably plans the bandwidth of sending the service data to the interface 1 based on the bandwidth weight 1.
In one example, the controller may send a message to the communication device 1 including the identification of the interface 1 and the bandwidth weight 1, thereby enabling the bandwidth weight 1 to be sent to the communication device 1. The identity of the interface 1 in the message is used to enable the communication device 1 to determine that the bandwidth weight 1 is used to instruct the communication device 1 to send data to the interface 1 of the communication device 2 and the ratio between the bandwidth 1 of the interface and the bandwidth 1 of the interface.
In one example, the foregoing message may include a configuration template, where the configuration template includes the identity of the interface 1 and the bandwidth weight 1.
In yet another example, in order to facilitate reasonable planning of the bandwidth of the service data sent to the interface 1 by the communication device 1, the configuration template may further include: bandwidth corresponding to at least one service deployed on the communication device 1. The at least one service deployed on the communication device 1 mentioned here may be a service transmitted between the communication device 1 and the communication device 2, or the at least one service deployed on the communication device 1 mentioned here may be a service corresponding to service data sent by the communication device 1 to the interface 1. In one example, the configuration template may include a specific value of bandwidth corresponding to at least one service deployed on the communication device. For this case, in one example, the specific value of the bandwidth corresponding to the high priority service may be larger than the specific value of the bandwidth corresponding to the low priority service, so that the communication apparatus 1 may preferentially guarantee the quality of service provided for the high priority service. In yet another example, the configuration template may include a ratio between the bandwidth corresponding to the at least one service and the bandwidth 1. For this case, in one example, the ratio corresponding to the high priority service is higher than the ratio corresponding to the low priority service, so that the communication apparatus 1 can preferentially secure the quality of service provided for the high priority service.
S103: the communication device 1 receives the bandwidth weight 1 transmitted by the controller.
The controller transmits the bandwidth weight 1 to the communication device 1, and accordingly, the communication device 1 may receive the bandwidth weight 1 transmitted by the controller. In one example, after receiving the bandwidth weight 1, the communication apparatus 1 may save the correspondence between the identification of the interface 1 and the bandwidth 1.
S104: the communication device 2 determines the interface bandwidth 1 of the interface 1.
In one example, the interface bandwidth 1 may be configured locally to the communication device 2, and thus, the communication device 2 may obtain the interface bandwidth 1 that is pre-configured.
In yet another example, the interface bandwidth 1 may be that which the controller sends to the communication device 2, for which case the communication device 2 may receive the interface bandwidth 1 sent by the controller.
S105: the communication device 2 transmits the interface bandwidth 1 to the communication device 1.
S106: the communication device 1 receives the interface bandwidth 1 transmitted by the communication device 2.
After the communication device 2 obtains the interface bandwidth 1, the interface bandwidth 1 may be sent to the communication device 1, so that the communication device 1 reasonably plans the bandwidth of sending service data to the interface 1 based on the bandwidth weight 1.
In one example, the communication device 2 may directly send the interface bandwidth 1 to the communication device 1, and the communication device 2 may also send the interface bandwidth 1 to the communication device 1 through other devices, which is not specifically limited in the embodiment of the present application. For example, in one example, the communication device 2 may send the interface bandwidth 1 to the communication device 1 through a Route Reflector (RR).
In one example, the communication device 2 may send information 1 indicative of the interface bandwidth 1 to the communication device 1, thereby enabling the interface bandwidth 1 to be sent to the communication device 1. In one example, the communication device 2 may send the information 1 carrying the interface bandwidth 1 to the communication device 1 in a control message. Accordingly, the communication device 1 may receive the control message including the information 1 sent by the communication device 2. The embodiment of the present application is not particularly limited to the control message, for example, a new control message may be redefined, and the information 1 is carried in the new control message and sent to the communication device 1. As another example, an existing control message may be extended, and a new field (e.g., TLV) may be extended to carry the information 1. For another example, the information 1 may be carried by a reserved field in an existing control message or other fields that have not yet been used. The information 1 mentioned here may be used to indicate the interface bandwidth 1, where the information 1 may be the interface bandwidth 1 itself, or may be other indication information that can be used to enable the communication device 1 to determine the interface bandwidth 1, and the embodiment of the present application is not specifically limited. For example, the communication device 1 may locally store a correspondence between the information 1 and the interface bandwidth 1, and after the communication device 1 receives the information 1, the interface bandwidth 1 may be determined based on the correspondence.
In one example, the control message may be a BGP message. For this case, in one example, BGP messages may be extended, extending a new extended community attribute to carry the interface bandwidth 1. In this way, the communication device 2 can transmit the interface bandwidth 1 to the communication device 1 using the BGP message.
In one example, the BGP message may be used to advertise BGP routes, in other words, the BGP message may carry BGP routes, in which case the communication device 2 both advertises BGP routes to the communication device 1 and communicates the interface bandwidth 1 to the communication device 1 by sending the BGP message to the communication device 1. The BGP route is not particularly limited in the embodiments of the present application, and in one example, it is considered that both the communication apparatus 1 and the communication apparatus 2 may configure EVPN traffic, and thus, the BGP route may be a BGP EVPN route. In one example, the BGP EVPN route referred to herein may be a BGP EVPN route after expanding a standard BGP EVPN route. For example, in one example, a standard BGP EVPN route may be extended, with a new field extended to carry information 1.
S107: the communication device 1 determines the bandwidth 1 of the communication device 1 for transmitting data to the interface 1 based on the received interface bandwidth 1 and the bandwidth weight 1.
After the communication device 1 receives the interface bandwidth 1 transmitted by the communication device 2 and the bandwidth weight 1 transmitted by the controller, the bandwidth 1 for transmitting service data to the interface 1 can be determined based on the interface bandwidth 1 and the bandwidth weight 1. In one example, the communication device 1 may determine the product of the interface bandwidth 1 and the bandwidth weight 1 as the bandwidth 1. For example, the interface bandwidth 1 is 100 megabytes per second (megabyte per second, mps) and the bandwidth weight 1 is 0.6, the communication device 1 can determine that the bandwidth in which it transmits traffic data to the interface 1 is 60Mps.
As previously described, in one example, the controller may send the communication device 1 a configuration template carrying an identification of the interface 1 and the bandwidth weight 1. For this case, in one example, the communication device 1 may associate the interface bandwidth 1 sent by the communication device 2 with the bandwidth weight 1 in the configuration template, i.e.: the communication device 1 may determine, based on the identification of the interface 1, that the bandwidth of the interface 1 is the interface bandwidth 1, and determine that the ratio of the bandwidth of itself sending service data to the interface 1 to the interface bandwidth 1 is the bandwidth weight 1. After the communication apparatus 1 associates the interface bandwidth 1 with the bandwidth weight 1 in the configuration template, the aforementioned bandwidth 1 may be determined based on the interface bandwidth 1 and the bandwidth weight 1.
It should be noted that the method 100 is only one implementation manner of the embodiment of the present application, and the solution provided by the embodiment of the present application is not limited to the embodiment shown in fig. 1. For example, in still another example, the aforementioned bandwidth weight 1 may be configured locally to the communication apparatus 1, and in this case, the communication apparatus 1 may acquire the bandwidth weight 1 configured locally in advance. In yet another example, the aforementioned interface bandwidth 1 may be configured locally to the communication device 1, in which case the communication device 1 may obtain the interface bandwidth 1 that is configured locally in advance.
In one example, in order to enhance the quality of service that the communication device 1 can provide for the service deployed on the communication device 1 as much as possible, the communication device 1 may dynamically adjust the bandwidth 1 according to the actual required bandwidth of the communication device 1 for sending the service data to the interface 1, so that the bandwidth of the communication device 1 for sending the service to the interface 1 better conforms to the actual required bandwidth, and accordingly, the quality of service that the communication device 1 can provide for the service deployed on the communication device 1 is enhanced.
In one example, if the aforementioned actual demand bandwidth is greater than the aforementioned bandwidth 1, the communication device 1 may increase the aforementioned bandwidth 1. For example, the bandwidth 1 is 60Mps, and the actual required bandwidth is 70Mps, the communication device 1 may increase the bandwidth 1 from 60Mps to 70Mps.
In one example, it is contemplated that other communication devices may send traffic data to interface 1 in addition to communication device 1 sending traffic data to interface 1. Therefore, if the communication device 1 dynamically adjusts the bandwidth 1 based on its own actual required bandwidth, the actual downlink bandwidth of the interface 1 may exceed the interface bandwidth 1, and accordingly, the service quality of the link 1 may be degraded. For example, the delay of the link 1 is increased, the packet loss rate is increased, and so on. The link 1 is a link between the communication device 1 and the interface 1, and the communication device 1 may send service data to the interface 1 through the link 1. The SLA parameter of the link 1 may represent the service quality of the link 1, and the corresponding SLA parameter of the link 1 may represent whether the actual downlink bandwidth of the interface 1 exceeds the aforementioned interface bandwidth 1.
Thus, in one example, the communication device 1 may dynamically adjust the first bandwidth based on the actual required bandwidth of the traffic data sent by the communication device 1 to the interface 1 and the SLA parameters of the link 1 as described above.
The link 1 mentioned in the embodiment of the present application may be a tunnel. The tunnel referred to herein may be an overlay tunnel, which may be a tunnel created on the basis of a tunnel provided by a service provider, which may correspond to a physical link, while the overlay tunnel does not perceive the physical link. overlay tunnels include, but are not limited to, virtual extended local area network (virtual extensible local area network, VXLAN) tunnels, generic routing encapsulation (generic routing encapsulation, GRE) tunnels, and internet protocol security (Internet Protocol Security, IPSec) based GRE tunnels, which may also be referred to as GRE over IPSec tunnels.
The SLA parameters in the embodiments of the present application include, but are not limited to, one or more of delay, packet loss, jitter, and the like.
In one example, if the actual required bandwidth of the communication device 1 is greater than the bandwidth 1 and the SLA parameter of the link 1 indicates that the service quality of the link 1 is not degraded, it is indicated that the actual downlink bandwidth of the interface 1 does not exceed the interface bandwidth 1, and in this case, the communication device 1 may increase the bandwidth 1, so as to meet the bandwidth requirement of the communication device 1 for sending service data to the interface 1 as much as possible.
In one example, the communication device 1 may gradually increase the bandwidth 1, e.g., the communication device 1 may gradually increase the bandwidth 1 according to a preset weight. As an example, each time the communication device 1 increases the bandwidth 1, it is determined whether to continue to increase the bandwidth 1 based on the SLA parameter of the link 1, and if the SLA parameter indicates that the service quality of the link 1 is not degraded, the communication device 1 may continue to increase the bandwidth 1. The preset weights mentioned here may be weights with respect to the interface bandwidth 1. Illustrating:
the interface bandwidth 1 is 100Mps, the preset weight is 5%, the initial value of the bandwidth 1 is 60Mps, the communication device 1 firstly adjusts the bandwidth 1 to 65Mps, if the SLA parameter of the link 1 indicates that the service quality of the link 1 is not degraded after adjusting the bandwidth 1 to 65Mps, the communication device 1 continues to adjust the bandwidth 1 to 70Mps, and so on.
As described above, in addition to the communication apparatus 1 transmitting the service data to the interface 1, other communication apparatuses may transmit the service data to the interface 1. Therefore, if the bandwidth 1 increases without limitation, and the bandwidth approaches the interface bandwidth 1, the actual downstream bandwidth of the interface 1 may exceed the interface bandwidth 1. Thus, in one example, the bandwidth 1 may have an upper bandwidth limit that the increased bandwidth 1 cannot exceed when the communication device 1 increases the bandwidth 1. For example, the upper bandwidth limit is 80% of the interface bandwidth 1.
With respect to the preset weight and the bandwidth upper limit, it should be noted that, in one example, the preset weight and the bandwidth upper limit may be preconfigured on the communication device 1 or may be sent to the communication device 1 by the controller. For example, the controller may send the preset weight and the bandwidth weight 1' to the communication device 1 in a configuration template, where the bandwidth weight 1' is referred to herein, to indicate a bandwidth upper limit corresponding to the bandwidth 1, for example, the bandwidth upper limit is equal to a product of the bandwidth weight 1' and the interface bandwidth 1.
In one example, if the actual required bandwidth of the communication device 1 is smaller than the bandwidth 1 and the SLA parameter of the link 1 indicates that the service quality of the link 1 is degraded, the communication device 1 may reduce the detection period of the SLA parameter of the link 1, that is: the frequency of detecting SLA parameters is increased to further determine the cause of degradation in the quality of service of link 1 and thus the subsequent bandwidth adjustment policy.
In one example, if the SLA parameters detected by the communication apparatus 1 in N detection periods after the detection period of the SLA parameters are reduced indicate that the service quality of the link 1 is degraded, it may be stated that the reason for the degradation of the service quality of the link 1 is that the interface bandwidth 1 is reduced. For this case, the communication device 1 may reduce the bandwidth 1, so as to avoid that the actual downlink bandwidth of the interface 1 exceeds the reduced interface bandwidth 1, and accordingly, avoid that the service quality of the link 1 is degraded. Reference herein to N is an integer greater than or equal to 1, for example, where N is 10.
In one example, the communication device 1 may decrease the bandwidth 1 in a specific implementation, for example, the bandwidth 1 may be gradually decreased, for example, the communication device 1 may gradually decrease the bandwidth 1 according to a preset weight. As an example, each time the communication device 1 decreases the bandwidth 1, it is determined whether to continue to decrease the bandwidth 1 based on the SLA parameter of the link 1, and if the SLA parameter indicates that the service quality of the link 1 is degraded, the communication device 1 may continue to decrease the bandwidth 1. Illustrating:
the interface bandwidth 1 is 100Mps, the preset weight is 5%, the initial value of the bandwidth 1 is 60Mps, the communication device 1 firstly adjusts the bandwidth 1 to 55Mps, if the SLA parameter of the link 1 indicates that the service quality of the link 1 is degraded after adjusting the bandwidth 1 to 55Mps, the communication device 1 continues to adjust the bandwidth 1 to 50Mps, and so on.
In one example, it is considered that if the bandwidth 1 is infinitely reduced, for example to approximately 0, the communication device 1 cannot generate traffic data to the interface 1, resulting in an interruption of traffic data transmission. To avoid this problem, in one example, the bandwidth 1 may be provided with a bandwidth lower limit, and when the communication apparatus 1 decreases the bandwidth 1, the decreased bandwidth 1 cannot be lower than the bandwidth lower limit. For example, the lower bandwidth limit is 20% of the interface bandwidth 1.
With respect to the bandwidth lower limit, it should be noted that, in an example, the bandwidth lower limit may be preconfigured on the communication apparatus 1 or may be sent to the communication apparatus 1 by the controller. For example, the controller may send a bandwidth weight 1 "carried in a configuration template to the communication device 1, where bandwidth weight 1" is referred to herein, for indicating a bandwidth lower limit corresponding to bandwidth 1, e.g. equal to the product of bandwidth weight 1 "and interface bandwidth 1.
In one example, the communication device 2 may detect an actual downlink bandwidth of the interface 1, and when the actual downlink bandwidth of the interface 1 is greater than the interface bandwidth 1, the communication device 2 may send indication information to the communication device 1, where the indication information is used to instruct the communication device 1 to dynamically adjust the bandwidth 1. In one example, the communication device 2 may send an indication message carrying the indication information to the communication device 1. The indication information may be carried in a header of the indication message, and when the indication information includes tunnel encapsulation information, the indication information may also be carried in the tunnel encapsulation information, which is not specifically limited in the embodiment of the present application.
Correspondingly, the communication device 1 may receive the indication information sent by the communication device 2, and dynamically adjust the bandwidth 1 further based on the indication information, so that after the bandwidth 1 is adjusted, the actual downlink bandwidth of the interface 1 is smaller than or equal to the interface bandwidth 1.
In one example, the communication device 1 dynamically adjusts the bandwidth 1 based on the indication information, and when the bandwidth 1 is greater than the initial value of the bandwidth 1, the communication device 1 may reduce the bandwidth 1, for example, to reduce the bandwidth 1 to the initial value of the bandwidth 1. Since bandwidth 1 is reduced, the actual downstream bandwidth of the interface 1 is correspondingly reduced, and further, the actual downstream bandwidth of the interface 1 may be smaller than or equal to the interface bandwidth 1. For example, bandwidth 1 is 75Mps, and the initial value of bandwidth 1 is 60Mps, bandwidth 1 may be reduced, for example, bandwidth 1 may be reduced to 60Mps. The initial value of bandwidth 1 may also be referred to as the initial bandwidth.
In one example, in order to guarantee the quality of service of the link 1 as much as possible, the communication device 1 dynamically adjusts the bandwidth 1 based on the indication information, which in a specific implementation can be adjusted in combination with SLA parameters of the link 1, namely: the quality of service of link 1 is taken into account when adjusting bandwidth 1, so that the quality of service of link 1 is improved after bandwidth 1 is adjusted.
As an example, if the SLA parameter indicates that the quality of service of the link 1 is degraded and the bandwidth 1 is greater than the initial value of the bandwidth 1, for this case, it is explained that the actual downstream bandwidth of the interface 1 exceeds the interface bandwidth 1, possibly because the communication device 1 increases the initial bandwidth to the bandwidth 1, for this case, the communication device 1 may decrease the bandwidth 1 in order to make the actual downstream bandwidth of the interface 1 smaller than or equal to the interface bandwidth 1. For example, the communication apparatus 1 may reduce the bandwidth 1 to an initial value of the bandwidth 1. As another example, the communication device 1 may gradually decrease the bandwidth 1 according to a preset weight, which is not specifically limited in the embodiment of the present application. As for a specific implementation in which the communication apparatus 1 may gradually decrease the bandwidth 1 according to a preset weight, reference may be made to the above related description section, and the description is not repeated here.
As yet another example, if the SLA parameter of the link 1 indicates that the service quality of the link 1 is not degraded, it is indicated that the service quality of the link 1 can be guaranteed although the actual downlink bandwidth of the interface 1 exceeds the interface bandwidth 1. For this case, the communication apparatus 1 may not adjust the bandwidth 1. However, since the actual downstream bandwidth of the interface 1 exceeds the interface bandwidth 1, the quality of service of the link 1 may be affected, and in view of this, in one example, the communication device 1 may reduce the detection period of the SLA parameters of the link 1, namely: the detection frequency of the SLA parameters of the link 1 is accelerated so that when the quality of service of the link 1 changes, the communication device 1 can determine the change of the quality of service in time, thereby determining a subsequent bandwidth adjustment strategy. For example, when it is determined that the quality of service of the link 1 is degraded, the bandwidth 1 is reduced.
In one example, if the SLA parameters detected by the communication device 1 in N detection periods after the detection period of the SLA parameters are reduced indicate that the service quality of the link 1 is not degraded, it is indicated that the service quality of the link 1 is relatively stable. Whereas detecting the SLA parameter at high frequency consumes excessive computing resources of the communication device 1, the communication device 1 may reduce the detection period for recovering the SLA parameter for this case, thereby saving computing resources of the communication device 1.
As can be seen from the above description, by using the bandwidth adjustment method provided by the embodiments of the present application, the bandwidth 1 of the data sent by the communication device 1 to the interface 1 may be determined according to the bandwidth weight 1 and the interface bandwidth 1, in this manner, the bandwidth 1 may be "planned", and in one example, when the hub node corresponding to the communication device 1 and the spoke node corresponding to the communication device 2 correspond to the spoke node, even if the interface bandwidth corresponding to the hub node is far greater than the interface bandwidth 1 of the spoke node, the communication device 1 may be prevented from sending a large amount of service data to the interface 1, so that the actual downlink bandwidth of the interface 1 exceeds the interface bandwidth 1, and the service data is discarded. In yet another example, in this way, the bandwidth 1 may ensure the bandwidth requirement of the communication device 1 for sending service data to the interface 1, so that the service quality of the service corresponding to the service data sent by the communication device 1 to the interface 1 can be ensured.
In one example, the communication device 1 may send data to the interface 2 of the communication device 3 in addition to the communication device 1, and accordingly, other communication devices may send data to the interface 2. For this case, the communication device 1 may plan the bandwidth of the transmission of traffic data to the interface 2. The specific manner in which the communication apparatus 1 plans the bandwidth for transmitting the traffic data to the interface 2 is similar to the specific manner in which the communication apparatus 1 plans the bandwidth for transmitting the traffic data to the interface 2. As an example, the communication device 1 may obtain a bandwidth weight 2 and an interface bandwidth 2, and determine the bandwidth 2 according to the bandwidth weight 2 and the interface bandwidth 2, where the bandwidth weight 2 is used to instruct the communication device 1 to send data to the interface 2 by using a ratio between the bandwidth 2 and the interface bandwidth 2, and the interface bandwidth 2 is a downlink bandwidth of the interface 2.
In one example, the communication apparatus 1 may receive the bandwidth weight 2 transmitted by the controller, and as for a specific implementation of the bandwidth weight 2 transmitted by the controller to the communication apparatus 1, reference may be made to a specific implementation portion of the bandwidth weight 1 transmitted by the controller to the communication apparatus 1, which will not be repeated here.
In yet another example, the communication device 1 may receive the interface bandwidth 2 transmitted by the communication device 3, and with respect to a specific implementation of the communication device 3 transmitting the interface bandwidth 2 to the communication device 1, reference may be made to a specific implementation part of the communication device 2 transmitting the interface bandwidth 1 to the communication device 1, which will not be repeated here.
In an example, the communication device 1 determines the specific implementation of the bandwidth 2 according to the bandwidth weight 2 and the interface bandwidth 2, and the specific description of the bandwidth 1 may be determined according to the bandwidth weight 1 and the interface bandwidth 1 by referring to the above description of the communication device 1, which is not repeated here.
In addition, the communication device 1 may dynamically adjust the bandwidth 2, and for a specific implementation of the dynamic adjustment of the bandwidth 2 by the communication device 1, reference may be made to the above description of the dynamic adjustment of the bandwidth 1 by the communication device 1, which is not repeated here.
As for the communication apparatus 3, it is to be noted that:
when communication device 1 in method 100 corresponds to communication device 110 shown in fig. 1, communication device 2 in method 100 corresponds to communication device 130 shown in fig. 1, and interface 1 in method 100 corresponds to interface 131 shown in fig. 1, communication device 3 may correspond to communication device 140 shown in fig. 1.
When communication device 1 in method 100 corresponds to communication device 110 shown in fig. 1, communication device 2 in method 100 corresponds to communication device 140 shown in fig. 1, and interface 1 in method 100 corresponds to interface 141 shown in fig. 1, communication device 3 may correspond to communication device 130 shown in fig. 1.
When communication device 1 in method 100 corresponds to communication device 120 shown in fig. 1, communication device 2 in method 100 corresponds to communication device 130 shown in fig. 1, and interface 1 in method 100 corresponds to interface 131 shown in fig. 1, communication device 3 may correspond to communication device 140 shown in fig. 1.
When communication device 1 in method 100 corresponds to communication device 120 shown in fig. 1, communication device 2 in method 100 corresponds to communication device 140 shown in fig. 1, and interface 1 in method 100 corresponds to interface 141 shown in fig. 1, communication device 3 may correspond to communication device 130 shown in fig. 1.
As described above, in addition to the communication apparatus 1 transmitting the service data to the interface 1, other communication apparatuses such as the communication apparatus 4 may transmit the service data to the interface 1. For this case, the communication apparatus 2 may transmit the interface bandwidth 1 to the communication apparatus 4 in addition to the interface bandwidth 1 to the communication apparatus 1. Accordingly, the controller may also send bandwidth weight 3 to said communication device 4, so that the communication device 4 determines the bandwidth 3 over which it sends traffic data to the interface 1 based on said interface bandwidth 1 and said bandwidth weight 3.
Regarding the specific implementation in which the communication apparatus 2 transmits the interface bandwidth 1 to the communication apparatus 4, reference may be made to a specific description section in which the communication apparatus 2 transmits the interface bandwidth 1 to the communication apparatus 1, and a description thereof will not be repeated here.
Regarding the specific implementation in which the controller transmits the bandwidth weight 3 to the communication apparatus 4, reference may be made to a specific description section in which the controller transmits the bandwidth weight 1 to the communication apparatus 1, and a description thereof will not be repeated here.
As for the communication apparatus 4, it is to be noted that:
when communication device 1 in method 100 corresponds to communication device 110 shown in fig. 1, communication device 2 in method 100 corresponds to communication device 130 shown in fig. 1, and interface 1 in method 100 corresponds to interface 131 shown in fig. 1, communication device 4 may correspond to communication device 120 shown in fig. 1.
When communication device 1 in method 100 corresponds to communication device 110 shown in fig. 1, communication device 2 in method 100 corresponds to communication device 140 shown in fig. 1, and interface 1 in method 100 corresponds to interface 141 shown in fig. 1, communication device 4 may correspond to communication device 120 shown in fig. 1.
When communication device 1 in method 100 corresponds to communication device 120 shown in fig. 1, communication device 2 in method 100 corresponds to communication device 130 shown in fig. 1, and interface 1 in method 100 corresponds to interface 131 shown in fig. 1, communication device 4 may correspond to communication device 110 shown in fig. 1.
When communication device 1 in method 100 corresponds to communication device 120 shown in fig. 1, communication device 2 in method 100 corresponds to communication device 140 shown in fig. 1, and interface 1 in method 100 corresponds to interface 141 shown in fig. 1, communication device 4 may correspond to communication device 110 shown in fig. 1.
Next, the bandwidth processing method provided in the embodiment of the present application is described with reference to the scenario shown in fig. 1.
The communication device 130 may transmit the downlink interface bandwidth of the interface 131 to the communication device 110 and the communication device 120 assuming that the downlink interface bandwidth of the interface 131 is 200Mps.
The controller may send the identification of the weight 1 and interface 131 to the communication device 110 and the identification of the weight 2 and interface 131 to the communication device 120. Let weight 1 be 0.6 and weight 2 be 0.4.
The communication device 110 determines that the bandwidth of transmitting traffic data to the interface 131 is 120Mps based on the weight 1 and the downstream interface bandwidth of the interface 131, and the communication device 120 determines that the bandwidth of transmitting traffic data to the interface 131 is 80Mps based on the weight 2 and the downstream interface bandwidth of the interface 131.
Similarly, the number of the devices to be used in the system,
the communication device 140 may transmit the downlink interface bandwidth of the interface 141 to the communication device 110 and the communication device 120 assuming that the downlink interface bandwidth of the interface 141 is 100Mps.
The controller may send the identification of weight 3 and interface 141 to communication device 110 and the identification of weight 4 and interface 141 to communication device 120. Let weight 3 be 0.6 and weight 4 be 0.4.
The communication device 110 determines that the bandwidth of transmitting traffic data to the interface 141 is 60Mps based on the weight 3 and the downlink interface bandwidth of the interface 141, and the communication device 120 determines that the bandwidth of transmitting traffic data to the interface 141 is 40Mps based on the weight 4 and the downlink interface bandwidth of the interface 141.
The embodiment of the application also provides a tunnel creation method, and referring to fig. 3, the fig. is a schematic flow chart of a bandwidth processing method provided in the embodiment of the application. The bandwidth handling method 200 shown in fig. 3 may be performed by a first communication device.
The bandwidth processing method 200 may be applied to the method 100 mentioned in the above embodiment, and accordingly, the first communication device may correspond to the communication device 1 in the method 100.
The method 200 may include, for example, S201-S202 as follows.
S201: the method comprises the steps of obtaining a first interface bandwidth and a first bandwidth weight, wherein the first bandwidth weight is used for indicating a ratio between a first bandwidth of data sent by a first communication device to a first interface of a second communication device and the first interface bandwidth, and the first interface bandwidth is a downlink bandwidth of the first interface.
S202: and determining the first bandwidth according to the first interface bandwidth and the first bandwidth weight.
The first interface bandwidth in method 200 may correspond to interface bandwidth 1 in method 100; the first bandwidth weight in method 200 may correspond to bandwidth weight 1 in method 100; the second communication device in method 200 may correspond to communication device 2 in method 100; the first interface in method 200 may correspond to interface 1 in method 100.
In one possible implementation, obtaining the first bandwidth weight includes: and receiving the first bandwidth weight sent by the controller.
In one possible implementation manner, the first bandwidth weight sent by the receiving controller includes:
and receiving a configuration template sent by the controller, wherein the configuration template comprises the first bandwidth weight and the identification of the first interface.
In one possible implementation, the configuration template further includes: and the bandwidth corresponding to at least one service deployed on the first communication device.
In one possible implementation manner, acquiring the first interface bandwidth includes: and receiving first information sent by the second communication device, wherein the first information indicates the first interface bandwidth.
The first information in method 200 may correspond to information 1 in method 100.
In one possible implementation manner, the receiving the first information sent by the second communication device includes: and receiving a control message sent by the second communication device, wherein the control message comprises the first information.
In one possible implementation, the control message includes a type length value TLV, the TLV including the first information.
In one possible implementation manner, the control message includes: border gateway protocol BGP messages.
In one possible implementation, the BGP message is used to advertise BGP routes.
In one possible implementation, the BGP route includes: BGP ethernet virtual private network EVPN routes.
In one possible implementation manner, the determining the first bandwidth according to the first interface bandwidth and the first bandwidth weight includes: associating the first interface bandwidth with a first bandwidth weight in the configuration template according to the identification of the first interface in the configuration template; and determining the first bandwidth according to the first interface bandwidth and the first bandwidth weight.
In one possible implementation, the method further includes: and dynamically adjusting the first bandwidth according to the actual required bandwidth of the data sent to the first interface by the first communication device.
In one possible implementation manner, the dynamically adjusting the first bandwidth according to the actual required bandwidth of the data sent by the first communication device to the first interface includes: and if the actual required bandwidth is larger than the first bandwidth, increasing the first bandwidth.
In one possible implementation manner, the dynamically adjusting the first bandwidth according to the actual required bandwidth of the data sent by the first communication device to the first interface includes: and dynamically adjusting the first bandwidth according to the actual required bandwidth and service level agreement SLA parameters of a first link, wherein the first link is a link between the first communication device and the first interface, and the first communication device sends data to the first interface through the first link.
In one possible implementation, the method further includes: receiving indication information sent by the second communication device, wherein the indication information is used for indicating the first communication device to dynamically adjust the first bandwidth; and dynamically adjusting the first bandwidth based on the indication information.
In one possible implementation manner, the dynamically adjusting the first bandwidth based on the indication information includes: and dynamically adjusting the first bandwidth based on the indication information and SLA parameters of a first link, wherein the first link is a link between the first communication device and the first interface, and the first communication device sends data to the first interface through the first link.
In one possible implementation, the first communication device is a central hub node and the second communication device is a branch spoke node.
In one possible implementation, the method further includes: acquiring a second bandwidth weight and a second interface bandwidth, wherein the second bandwidth weight is used for indicating a ratio between a second bandwidth of the first communication device for transmitting data to a second interface of a third communication device and the second interface bandwidth, and the second interface bandwidth is a downlink bandwidth of the second interface; and determining the second bandwidth according to the second interface bandwidth and the second bandwidth weight.
The third communication device in method 200 may correspond to communication device 3 in method 100; the second bandwidth weight in method 200 may correspond to bandwidth weight 2 in method 100; the second interface bandwidth in method 200 may correspond to interface bandwidth 2 in method 100; the second interface in method 200 may correspond to interface 2 in method 100.
With respect to the specific implementation of the method 200, reference may be made to the relevant description of the method 100 above, and the description is not repeated here.
The embodiment of the application also provides a bandwidth processing method, and referring to fig. 4, the diagram is a flow diagram of the bandwidth processing method provided in the embodiment of the application. The bandwidth handling method 300 shown in fig. 4 may be performed by a second communication device.
The bandwidth handling method 300 may be applied to the method 100 mentioned in the above embodiment, and accordingly, the second communication device may correspond to the communication device 2 in the method 100.
The method 300 may include, for example, S301-S302 as follows.
S301: and determining a first interface bandwidth, wherein the first interface bandwidth is the downlink bandwidth of a first interface of the second communication device, and the second communication device communicates with the first communication device through the first interface.
S302: the first interface bandwidth is transmitted to the first communication device.
The first interface bandwidth in method 300 may correspond to interface bandwidth 1 in method 100; the first interface in method 300 may correspond to interface 1 in method 100; the first communication device in method 300 may correspond to communication device 1 in method 100.
In one possible implementation manner, the sending the first interface bandwidth to the first communication device includes: and sending a control message to the first communication device, wherein the control message comprises the first interface bandwidth.
In one possible implementation manner, the control message includes: border gateway protocol BGP messages.
In one possible implementation, the BGP message is used to advertise BGP routes.
In one possible implementation, the BGP route includes: BGP ethernet virtual private network EVPN routes.
In one possible implementation, the method further includes: and sending indication information to the first communication device under the condition that the actual downlink bandwidth of the first interface is larger than the first interface bandwidth, wherein the indication information is used for indicating the first communication device to dynamically adjust the first bandwidth of the first communication device for sending data to the first interface.
In one possible implementation, the method further includes: and transmitting the first interface bandwidth to a third communication device, wherein the second communication device communicates with the third communication device through the first interface.
The third communication device in method 300 may correspond to communication device 4 in method 100.
In one possible implementation, the first communication device is a first central hub node, the third communication device is a second hub node, and the second communication device is a branch spoke node.
With respect to the specific implementation of the method 300, reference may be made to the relevant description of the method 100 above, and the description is not repeated here.
The embodiment of the application also provides a bandwidth processing method, and referring to fig. 5, the diagram is a flow diagram of the bandwidth processing method provided in the embodiment of the application. The bandwidth processing method 400 shown in fig. 5 may be performed by a controller.
The bandwidth processing method 400 may be applied to the method 100 mentioned in the above embodiment.
The method 400 may include, for example, S401-S402 as follows.
S401: and acquiring a first bandwidth weight, wherein the first bandwidth weight is used for indicating a ratio between a first bandwidth of a first communication device for transmitting data to a first interface of a second communication device and a first interface bandwidth, and the first interface bandwidth is a downlink bandwidth of the first interface.
S402: and retransmitting the first bandwidth right to the first communication device.
The first bandwidth weight in method 400 may correspond to bandwidth weight 1 in method 100; the first communication device in method 400 may correspond to communication device 1 in method 100; the second communication device in method 400 may correspond to communication device 2 in method 100; the first interface in method 400 may correspond to interface 1 in method 100; the first bandwidth in method 400 may correspond to bandwidth 1 in method 100; the first interface bandwidth in method 400 may correspond to interface bandwidth 1 in method 100.
In one possible implementation manner, the retransmitting the first bandwidth right to the first communication device includes: a configuration template is sent to the first communication device, the configuration template including the first bandwidth weight and an identification of the first interface.
In one possible implementation, the configuration template further includes: and the bandwidth corresponding to at least one service deployed on the first communication device.
In one possible implementation, the method further includes: and retransmitting a second bandwidth weight to a third communication device, wherein the second bandwidth weight is used for indicating the ratio between the second bandwidth of the data transmitted to the first interface by the third communication device and the first interface bandwidth.
The third communication device in method 400 may correspond to communication device 4 in method 100; the second bandwidth weight in method 400 may correspond to bandwidth weight 3 in method 100; the second bandwidth in method 400 may correspond to bandwidth 3 in method 100.
In one possible implementation, the method further includes: and retransmitting a third bandwidth weight to the first communication device, wherein the third bandwidth weight is used for indicating a ratio between a third bandwidth of the first communication device for transmitting data to a second interface of a fourth communication device and a second interface bandwidth, and the second interface bandwidth is a downlink bandwidth of the second interface.
The third bandwidth weight in method 400 may correspond to bandwidth weight 2 in method 100; the fourth communication device in method 400 may correspond to communication device 3 in method 100; the second interface in method 400 may correspond to interface 2 in method 100; the third bandwidth in method 400 may correspond to bandwidth 2 in method 100.
With respect to the specific implementation of the method 400, reference may be made to the relevant description of the method 100 above, and the description is not repeated here.
The embodiment of the application also provides a first communication device, and referring to fig. 6, the diagram is a schematic structural diagram of the communication device provided in the embodiment of the application. The first communication apparatus 600 shown in fig. 6 may include a receiving unit 601 and a processing unit 602.
In one example, the first communication device may be configured to perform the steps performed by the communication device 1 in the above method 100 or the steps performed by the first communication device in the above method 200. For this case:
a receiving unit 601, configured to obtain a first interface bandwidth and a first bandwidth weight, where the first bandwidth weight is used to instruct the first communication device to send data to a first interface of a second communication device, and the first interface bandwidth is a downlink bandwidth of the first interface;
A processing unit 602, configured to determine the first bandwidth according to the first interface bandwidth and the first bandwidth weight.
In one possible implementation, obtaining the first bandwidth weight includes: and receiving the first bandwidth weight sent by the controller.
In one possible implementation manner, the first bandwidth weight sent by the receiving controller includes: and receiving a configuration template sent by the controller, wherein the configuration template comprises the first bandwidth weight and the identification of the first interface.
In one possible implementation, the configuration template further includes: and the bandwidth corresponding to at least one service deployed on the first communication device.
In one possible implementation manner, acquiring the first interface bandwidth includes: and receiving first information sent by the second communication device, wherein the first information indicates the first interface bandwidth.
In one possible implementation manner, the receiving the first information sent by the second communication device includes: and receiving a control message sent by the second communication device, wherein the control message comprises the first information.
In one possible implementation, the control message includes a type length value TLV, the TLV including the first information.
In one possible implementation manner, the control message includes: border gateway protocol BGP messages.
In one possible implementation, the BGP message is used to advertise BGP routes.
In one possible implementation, the BGP route includes: BGP ethernet virtual private network EVPN routes.
In a possible implementation manner, the processing unit 602 is configured to: associating the first interface bandwidth with a first bandwidth weight in the configuration template according to the identification of the first interface in the configuration template; and determining the first bandwidth according to the first interface bandwidth and the first bandwidth weight.
In a possible implementation manner, the processing unit 602 is further configured to: and dynamically adjusting the first bandwidth according to the actual required bandwidth of the data sent to the first interface by the first communication device.
In a possible implementation manner, the processing unit 602 is configured to: and if the actual required bandwidth is larger than the first bandwidth, increasing the first bandwidth.
In a possible implementation manner, the processing unit 602 is configured to: and dynamically adjusting the first bandwidth according to the actual required bandwidth and service level agreement SLA parameters of a first link, wherein the first link is a link between the first communication device and the first interface, and the first communication device sends data to the first interface through the first link.
In a possible implementation manner, the receiving unit 601 is further configured to: receiving indication information sent by the second communication device, wherein the indication information is used for indicating the first communication device to dynamically adjust the first bandwidth; the processing unit 602 is further configured to dynamically adjust the first bandwidth based on the indication information.
In a possible implementation manner, the processing unit 602 is configured to: and dynamically adjusting the first bandwidth based on the indication information and SLA parameters of a first link, wherein the first link is a link between the first communication device and the first interface, and the first communication device sends data to the first interface through the first link.
In one possible implementation, the first communication device is a central hub node and the second communication device is a branch spoke node.
In a possible implementation manner, the receiving unit 601 is further configured to: acquiring a second bandwidth weight and a second interface bandwidth, wherein the second bandwidth weight is used for indicating a ratio between a second bandwidth of the first communication device for transmitting data to a second interface of a third communication device and the second interface bandwidth, and the second interface bandwidth is a downlink bandwidth of the second interface; the processing unit 602 is further configured to determine the second bandwidth according to the second interface bandwidth and the second bandwidth weight.
The embodiment of the application also provides a second communication device and a controller, the structures of the second communication device and the controller can be shown in fig. 7, and fig. 7 is a schematic structural diagram of the device provided in the embodiment of the application. The apparatus 700 shown in fig. 7 may include a processing unit 701 and a transmitting unit 702.
In one example, when the device 700 corresponds to a second communication device, the device 700 may be configured to perform the steps performed by the communication device 2 in the method 100 above, or perform the steps performed by the second communication device in the method 300 above. For this case:
a processing unit 701, configured to determine a first interface bandwidth, where the first interface bandwidth is a downlink bandwidth of a first interface of the second communication device, and the second communication device communicates with the first communication device through the first interface;
a transmitting unit 702, configured to transmit the first interface bandwidth to the first communication device.
In a possible implementation manner, the sending unit 702 is configured to: and sending a control message to the first communication device, wherein the control message comprises the first interface bandwidth.
In one possible implementation manner, the control message includes: border gateway protocol BGP messages.
In one possible implementation, the BGP message is used to advertise BGP routes.
In one possible implementation, the BGP route includes: BGP ethernet virtual private network EVPN routes.
In a possible implementation manner, the sending unit 702 is further configured to: and sending indication information to the first communication device under the condition that the actual downlink bandwidth of the first interface is larger than the first interface bandwidth, wherein the indication information is used for indicating the first communication device to dynamically adjust the first bandwidth of the first communication device for sending data to the first interface.
In a possible implementation manner, the sending unit 702 is further configured to: and transmitting the first interface bandwidth to a third communication device, wherein the second communication device communicates with the third communication device through the first interface.
In one possible implementation, the first communication device is a first central hub node, the third communication device is a second hub node, and the second communication device is a branch spoke node.
In yet another example, when the apparatus 700 corresponds to a controller, the apparatus 700 may be configured to perform the steps performed by the controller in the above method 100 or to perform the steps performed by the controller in the above method 400. For this case:
A processing unit 701, configured to obtain a first bandwidth weight, where the first bandwidth weight is used to instruct a first communication device to send data to a first interface of a second communication device, and the first interface bandwidth is a downlink bandwidth of the first interface;
a transmitting unit 702, configured to retransmit the first bandwidth right to the first communication device.
In a possible implementation manner, the sending unit 702 is configured to: a configuration template is sent to the first communication device, the configuration template including the first bandwidth weight and an identification of the first interface.
In one possible implementation, the configuration template further includes: and the bandwidth corresponding to at least one service deployed on the first communication device.
In a possible implementation manner, the sending unit 702 is further configured to: and retransmitting a second bandwidth weight to a third communication device, wherein the second bandwidth weight is used for indicating the ratio between the second bandwidth of the data transmitted to the first interface by the third communication device and the first interface bandwidth.
In a possible implementation manner, the sending unit 702 is further configured to: and retransmitting a third bandwidth weight to the first communication device, wherein the third bandwidth weight is used for indicating a ratio between a third bandwidth of the first communication device for transmitting data to a second interface of a fourth communication device and a second interface bandwidth, and the second interface bandwidth is a downlink bandwidth of the second interface.
In addition, the embodiment of the application further provides a communication device 800, as shown in fig. 8, and fig. 8 is a schematic structural diagram of the communication device provided in the embodiment of the application. The communication device 800 includes a communication interface 801 and a processor 802 connected to the communication interface 801. The communication device 800 may be used to perform the method 100, method 200, method 300 or method 400 of the above embodiments.
In one example, the communication device 800 may perform the method 100 in the above embodiment, and when the communication device 800 is used to perform the method 100 in the above embodiment, the communication device 800 corresponds to the communication device 1 in the method 100. The communication interface 801 is used to perform transceiving operations performed by the communication device 1 in the method 100. The processor 802 is configured to perform operations of the method 100 other than the transceiving operations performed by the communication device 1. For example: the communication interface 801 is configured to receive bandwidth weight 1 sent by the controller and receive interface bandwidth 1 sent by the communication device 2; the processor 802 is configured to determine, based on the received interface bandwidth 1 and the bandwidth weight 1, a bandwidth 1 for the communication device 1 to transmit data to the interface 1.
In one example, the communication device 800 may perform the method 100 of the above embodiment, and when the communication device 800 is used to perform the method 100 of the above embodiment, the communication device 800 corresponds to the communication device 2 of the method 100. The communication interface 801 is used to perform transceiving operations performed by the communication device 2 in the method 100. The processor 802 is configured to perform operations other than the transceiving operations performed by the communication device 2 in the method 100. For example: the processor 802 is configured to determine an interface bandwidth 1 of the interface 1; the communication interface 801 transmits the interface bandwidth 1 to the communication apparatus 1.
In one example, the communication device 800 may perform the method 100 of the above embodiment, and when the communication device 800 is used to perform the method 100 of the above embodiment, the communication device 800 corresponds to a controller in the method 100. The communication interface 801 is used to perform transceiving operations performed by the controller in the method 100. The processor 802 is configured to perform operations other than the transceiving operations performed by the controller in the method 100. For example: the processor 802 is configured to determine a bandwidth weight of 1; the communication interface 801 transmits the bandwidth weight 1 to the communication apparatus 1.
In one example, the communication device 800 may perform the method 200 of the above embodiment, and when the communication device 800 is used to perform the method 200 of the above embodiment, the communication device 800 corresponds to the first communication device of the method 200. The communication interface 801 is used to perform transceiving operations performed by the first communication device in the method 200. The processor 802 is configured to perform operations other than the transceiving operations performed by the first communication device in the method 200. For example: the communication interface 801 is configured to obtain a first interface bandwidth and a first bandwidth weight, where the first bandwidth weight is used to instruct the first communication device to send data to a first interface of a second communication device, and the first interface bandwidth is a downlink bandwidth of the first interface; the processor 802 is configured to determine the first bandwidth based on the first interface bandwidth and the first bandwidth weight.
In one example, the communication device 800 may perform the method 300 of the above embodiment, and when the communication device 800 is used to perform the method 300 of the above embodiment, the communication device 800 corresponds to the second communication device of the method 300. The communication interface 801 is used to perform transceiving operations performed by a second communication device in the method 300. The processor 802 is configured to perform operations other than the transceiving operations performed by the second communication device in the method 100. For example: the processor 802 is configured to determine a first interface bandwidth, where the first interface bandwidth is a downlink bandwidth of a first interface of the second communication device, and the second communication device communicates with the first communication device through the first interface; the communication interface 801 is configured to send the first interface bandwidth to the first communication device.
In one example, the communication device 800 may perform the method 400 of the above embodiments, and when the communication device 800 is used to perform the method 400 of the above embodiments, the communication device 800 corresponds to a controller in the method 400. The communication interface 801 is used to perform transceiving operations performed by the controller in the method 400. The processor 802 is configured to perform operations other than the transceiving operations performed by the controller in the method 400. For example: the processor 802 is configured to obtain a first bandwidth weight, where the first bandwidth weight is used to instruct a first communication device to send data to a first interface of a second communication device, where the first interface bandwidth is a downlink bandwidth of the first interface; the communication interface 801 is for retransmitting the first bandwidth right to the first communication device.
In addition, the embodiment of the application further provides a communication device 900, as shown in fig. 9, and fig. 9 is a schematic structural diagram of the communication device provided in the embodiment of the application. The communication device 900 may be used to perform the method 100, the method 200, the method 300 or the method 400 of the above embodiments.
As shown in fig. 9, the communication device 900 may include a processor 910, a memory 920 coupled to the processor 910, and a transceiver 930. The transceiver 930 may be, for example, a communication interface, an optical module, etc. The processor 910 may be a central processor (English: central processing unit, abbreviated: CPU), a network processor (English: network processor, abbreviated: NP) or a combination of CPU and NP. The processor may also be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD) or a combination thereof (English: programmable logic device). The PLD may be a complex programmable logic device (English: complex programmable logic device, abbreviated: CPLD), a field programmable gate array (English: field-programmable gate array, abbreviated: FPGA), a general-purpose array logic (English: generic array logic, abbreviated: GAL), or any combination thereof. Processor 910 may refer to one processor or may include multiple processors. Memory 920 may include volatile memory (English) such as random-access memory (RAM); the memory may also include a nonvolatile memory (english: non-volatile memory), such as a read-only memory (ROM), a flash memory (english: flash memory), a hard disk (HDD) or a Solid State Disk (SSD); memory 920 may also include combinations of the above types of memory. The memory 920 may refer to one memory or may include a plurality of memories. In one embodiment, memory 920 has stored therein computer readable instructions comprising a plurality of software modules, such as a transmit module 921, a process module 922, and a receive module 923. The processor 910, after executing the respective software modules, may perform the corresponding operations as directed by the respective software modules. In this embodiment, the operations performed by one software module actually refer to operations performed by the processor 910 according to instructions of the software module.
In one example, the communication device 900 may perform the method 100 of the above embodiment, and when the communication device 900 is used to perform the method 100 of the above embodiment, the communication device 900 corresponds to the communication device 1 of the method 100. The transceiver 930 is configured to perform a transceiving operation performed by the communication device 1 in the method 100. The processor 910 is configured to perform operations of the method 100 other than the transceiving operations performed by the communication device 1. For example: the transceiver 930 is configured to receive the bandwidth weight 1 sent by the controller and receive the interface bandwidth 1 sent by the communication device 2; the processor 910 is configured to determine, based on the received interface bandwidth 1 and the bandwidth weight 1, a bandwidth 1 for the communication device 1 to transmit data to the interface 1.
In one example, the communication device 900 may perform the method 100 of the above embodiment, and when the communication device 900 is used to perform the method 100 of the above embodiment, the communication device 900 corresponds to the communication device 2 of the method 100. The transceiver 930 is configured to perform transceiving operations performed by the communication device 2 in the method 100. The processor 910 is configured to perform operations of the method 100 other than the transceiving operations performed by the communication device 2. For example: processor 910 is configured to determine interface bandwidth 1 of interface 1; transceiver 930 transmits the interface bandwidth 1 to communication device 1.
In one example, the communication device 900 may perform the method 100 of the above embodiment, and when the communication device 900 is used to perform the method 100 of the above embodiment, the communication device 900 corresponds to a controller in the method 100. Transceiver 930 is configured to perform transceiving operations performed by a controller in method 100. The processor 910 is configured to perform operations other than the transceiving operations performed by the controller in the method 100. For example: processor 910 is configured to determine bandwidth weight 1; the transceiver 930 transmits the bandwidth weight 1 to the communication device 1.
In one example, the communication device 900 may perform the method 200 of the above embodiment, and when the communication device 900 is used to perform the method 200 of the above embodiment, the communication device 900 corresponds to the first communication device in the method 200. The transceiver 930 is configured to perform transceiving operations performed by the first communication device in the method 200. The processor 910 is configured to perform operations other than the transceiving operations performed by the first communication device in the method 200. For example: the transceiver 930 is configured to obtain a first interface bandwidth and a first bandwidth weight, where the first bandwidth weight is used to instruct the first communication device to send data to a first interface of a second communication device, and the first interface bandwidth is a downlink bandwidth of the first interface; processor 910 is configured to determine the first bandwidth based on the first interface bandwidth and the first bandwidth weight.
In one example, the communication device 900 may perform the method 300 of the above embodiment, and when the communication device 900 is used to perform the method 300 of the above embodiment, the communication device 900 corresponds to a second communication device of the method 300. The transceiver 930 is configured to perform the transceiving operations performed by the second communication device in the method 300. The processor 910 is configured to perform operations performed by the second communication device in the method 100 other than the transceiving operations. For example: the processor 910 is configured to determine a first interface bandwidth, where the first interface bandwidth is a downlink bandwidth of a first interface of the second communication device, and the second communication device communicates with the first communication device through the first interface; transceiver 930 is configured to transmit the first interface bandwidth to the first communication device.
In one example, the communication device 900 may perform the method 400 of the above embodiment, and when the communication device 900 is used to perform the method 400 of the above embodiment, the communication device 900 corresponds to a controller in the method 400. Transceiver 930 is configured to perform the transceiving operations performed by the controller in method 400. The processor 910 is configured to perform operations other than the transceiving operations performed by the controller in the method 400. For example: the processor 910 is configured to obtain a first bandwidth weight, where the first bandwidth weight is used to instruct a first communication device to send data to a first interface of a second communication device, and the first interface bandwidth is a downlink bandwidth of the first interface; transceiver 930 is configured to retransmit the first bandwidth right to the first communication device.
The present application also provides a computer-readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform any one or more of the operations of the methods described in the previous embodiments (e.g., method 100, method 200, method 300, or method 400).
The present application also provides a computer program product comprising a computer program which, when run on a computer, causes the computer to perform any one or more of the operations of the methods described in the previous embodiments (e.g. method 100, method 200, method 300 or method 400).
The present application also provides a communication system comprising two or three of the communication device 1, the communication device 2, and the controller mentioned in the above embodiment method 100.
The present application also provides a communication system comprising two or three of the first communication device mentioned in the method 200 of the above embodiment, the second communication device in the method 300, the controller in the method 400.
The present application also provides a communication system comprising at least one memory and at least one processor, the at least one memory storing instructions that, when executed, cause the communication system to perform any one or more of the operations of the methods (e.g., method 100, method 200, method 300, or method 400) described in any of the previous embodiments of the present application.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, e.g., the division of units is merely a logical service division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each service unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software business units.
The integrated units, if implemented in the form of software business units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those skilled in the art will appreciate that in one or more of the examples described above, the services described herein may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the services may be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The objects, technical solutions and advantageous effects of the present invention have been described in further detail in the above embodiments, and it should be understood that the above are only embodiments of the present invention.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (38)

1. A method of bandwidth handling, for use with a first communication device, the method comprising:
acquiring a first interface bandwidth and a first bandwidth weight, wherein the first bandwidth weight is used for indicating a ratio between a first bandwidth of the first communication device for transmitting data to a first interface of a second communication device and the first interface bandwidth, and the first interface bandwidth is a downlink bandwidth of the first interface;
and determining the first bandwidth according to the first interface bandwidth and the first bandwidth weight.
2. The method of claim 1, wherein obtaining the first bandwidth weight comprises:
and receiving the first bandwidth weight sent by the controller.
3. The method of claim 2, wherein the receiving the first bandwidth weight sent by the controller comprises:
and receiving a configuration template sent by the controller, wherein the configuration template comprises the first bandwidth weight and the identification of the first interface.
4. A method according to claim 3, wherein the configuration template further comprises: and the bandwidth corresponding to at least one service deployed on the first communication device.
5. The method according to any one of claims 1-4, wherein obtaining the first interface bandwidth comprises:
and receiving first information sent by the second communication device, wherein the first information indicates the first interface bandwidth.
6. The method of claim 5, wherein receiving the first information sent by the second communication device comprises:
and receiving a control message sent by the second communication device, wherein the control message comprises the first information.
7. The method of claim 6, wherein the control message comprises a type length value TLV, the TLV comprising the first information.
8. The method according to claim 6 or 7, wherein the control message comprises: border gateway protocol BGP messages.
9. The method of claim 8, wherein the BGP message is used to advertise BGP routes.
10. The method of claim 9, wherein the BGP route comprises:
BGP ethernet virtual private network EVPN routes.
11. The method according to claim 3 or 4, wherein said determining said first bandwidth according to said first interface bandwidth and said first bandwidth weight comprises:
Associating the first interface bandwidth with a first bandwidth weight in the configuration template according to the identification of the first interface in the configuration template;
and determining the first bandwidth according to the first interface bandwidth and the first bandwidth weight.
12. The method according to any one of claims 1-11, further comprising:
and dynamically adjusting the first bandwidth according to the actual required bandwidth of the data sent to the first interface by the first communication device.
13. The method of claim 12, wherein dynamically adjusting the first bandwidth based on an actual required bandwidth of the first communication device sending data to the first interface comprises:
and if the actual required bandwidth is larger than the first bandwidth, increasing the first bandwidth.
14. The method of claim 12, wherein dynamically adjusting the first bandwidth based on an actual required bandwidth of the first communication device sending data to the first interface comprises:
and dynamically adjusting the first bandwidth according to the actual required bandwidth and service level agreement SLA parameters of a first link, wherein the first link is a link between the first communication device and the first interface, and the first communication device sends data to the first interface through the first link.
15. The method according to any one of claims 1-14, further comprising:
receiving indication information sent by the second communication device, wherein the indication information is used for indicating the first communication device to dynamically adjust the first bandwidth;
and dynamically adjusting the first bandwidth based on the indication information.
16. The method of claim 15, wherein the dynamically adjusting the first bandwidth based on the indication information comprises:
and dynamically adjusting the first bandwidth based on the indication information and SLA parameters of a first link, wherein the first link is a link between the first communication device and the first interface, and the first communication device sends data to the first interface through the first link.
17. The method of any of claims 1-16, wherein the first communication device is a central hub node and the second communication device is a branch spoke node.
18. The method according to any one of claims 1-17, further comprising:
acquiring a second bandwidth weight and a second interface bandwidth, wherein the second bandwidth weight is used for indicating a ratio between a second bandwidth of the first communication device for transmitting data to a second interface of a third communication device and the second interface bandwidth, and the second interface bandwidth is a downlink bandwidth of the second interface;
And determining the second bandwidth according to the second interface bandwidth and the second bandwidth weight.
19. A method of bandwidth handling, for use in a second communication device, the method comprising:
determining a first interface bandwidth, wherein the first interface bandwidth is a downlink bandwidth of a first interface of the second communication device, and the second communication device communicates with the first communication device through the first interface;
the first interface bandwidth is transmitted to the first communication device.
20. The method of claim 19, wherein said transmitting the first interface bandwidth to the first communication device comprises:
and sending a control message to the first communication device, wherein the control message comprises the first interface bandwidth.
21. The method of claim 20, wherein the control message comprises:
border gateway protocol BGP messages.
22. The method of claim 21, wherein the BGP message is used to advertise BGP routes.
23. The method of claim 22, wherein the BGP route comprises:
BGP ethernet virtual private network EVPN routes.
24. The method according to any one of claims 19-23, further comprising:
And sending indication information to the first communication device under the condition that the actual downlink bandwidth of the first interface is larger than the first interface bandwidth, wherein the indication information is used for indicating the first communication device to dynamically adjust the first bandwidth of the first communication device for sending data to the first interface.
25. The method according to any one of claims 19-24, further comprising:
and transmitting the first interface bandwidth to a third communication device, wherein the second communication device communicates with the third communication device through the first interface.
26. The method of any of claims 19-25, wherein the first communication device is a first central hub node, the third communication device is a second hub node, and the second communication device is a branch spoke node.
27. A method of bandwidth handling, for use in a controller, the method comprising:
acquiring a first bandwidth weight, wherein the first bandwidth weight is used for indicating a ratio between a first bandwidth of a first communication device for transmitting data to a first interface of a second communication device and a first interface bandwidth, and the first interface bandwidth is a downlink bandwidth of the first interface;
And retransmitting the first bandwidth right to the first communication device.
28. The method of claim 27, wherein the retransmitting the first bandwidth right to the first communication device comprises:
a configuration template is sent to the first communication device, the configuration template including the first bandwidth weight and an identification of the first interface.
29. The method of claim 28, wherein the configuration template further comprises: and the bandwidth corresponding to at least one service deployed on the first communication device.
30. The method according to any one of claims 27-29, further comprising:
and retransmitting a second bandwidth weight to a third communication device, wherein the second bandwidth weight is used for indicating the ratio between the second bandwidth of the data transmitted to the first interface by the third communication device and the first interface bandwidth.
31. The method according to any one of claims 27-30, further comprising:
and retransmitting a third bandwidth weight to the first communication device, wherein the third bandwidth weight is used for indicating a ratio between a third bandwidth of the first communication device for transmitting data to a second interface of a fourth communication device and a second interface bandwidth, and the second interface bandwidth is a downlink bandwidth of the second interface.
32. A first communication device, the device comprising:
a transceiver unit and a processing unit;
the transceiver unit for performing the receiving and/or transmitting operations performed by the first communication device according to any one of claims 1-18;
the processing unit is configured to perform operations other than the receiving and/or transmitting operations performed by the first communication device as claimed in any of claims 1-18.
33. A second communication device, the device comprising:
a transceiver unit and a processing unit;
the transceiver unit for performing the receiving and/or transmitting operations performed by the second communication device according to any one of claims 19-26;
the processing unit is configured to perform operations other than the receiving and/or transmitting operations performed by the second communication device according to any of claims 19-26.
34. A controller, the apparatus comprising:
a transceiver unit and a processing unit;
the transceiver unit for performing the receiving and/or transmitting operations performed by the controller according to any one of claims 27-31;
the processing unit is configured to perform operations other than the receiving and/or transmitting operations performed by the controller of any one of claims 27-31.
35. A communication device, comprising: a processor and a memory;
the memory is used for storing instructions;
the processor configured to execute the instructions to cause the communication device to perform the method of any one of claims 1-26.
36. A controller, comprising: a processor and a memory;
the memory is used for storing instructions;
the processor configured to execute the instructions to cause the communication device to perform the method of any of claims 27-31.
37. A computer readable storage medium comprising instructions which, when run on a processor, implement the method of any one of claims 1-31.
38. A communication system, the communication system comprising two or more of:
a first communication device performing the method of any of the preceding claims 1-18, a second communication device performing the method of any of the claims 19-26, and a controller performing the method of any of the claims 27-31.
CN202210726527.7A 2022-06-24 2022-06-24 Bandwidth processing method and device Pending CN117319213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210726527.7A CN117319213A (en) 2022-06-24 2022-06-24 Bandwidth processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210726527.7A CN117319213A (en) 2022-06-24 2022-06-24 Bandwidth processing method and device

Publications (1)

Publication Number Publication Date
CN117319213A true CN117319213A (en) 2023-12-29

Family

ID=89245091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210726527.7A Pending CN117319213A (en) 2022-06-24 2022-06-24 Bandwidth processing method and device

Country Status (1)

Country Link
CN (1) CN117319213A (en)

Similar Documents

Publication Publication Date Title
US11533254B2 (en) Packet processing method, related device, and computer storage medium
US11032105B2 (en) Method for implementing GRE tunnel, home gateway and aggregation gateway
CN105657748B (en) Communication method and network equipment based on tunnel binding
EP4012989A1 (en) Method and device for service packet transmission
EP2846498A1 (en) Label distribution method and device
CN114189905A (en) Message processing method and related equipment
WO2021258823A1 (en) Path creation method, apparatus and system
US11489836B2 (en) Method, apparatus, and system for collecting access control list
CN113328936B (en) Route control method, system, device and computer readable storage medium
CN114128228B (en) Transmitting MTNC-ID through SRv head to realize 5G transmission
CN113055293A (en) Routing method and device in software defined wide area network and communication system
EP4149065A1 (en) Processing capability determination method, and node and system
CN114128227B (en) Transmitting MTNC-ID on SRv 6-enabled data plane to enable 5G transmission
CN113765865A (en) Message processing method, device and system
CN113765800A (en) Method, device, system, equipment and readable storage medium for transmitting message
CN113472622A (en) Method and equipment for transmitting service in network
CN114710975A (en) Multi-domain transport multi-transport network context identification
CN117319213A (en) Bandwidth processing method and device
EP4221142A1 (en) Packet sending method, device, and system
CN114760244B (en) Method, device and network equipment for transmitting Binding Segment Identification (BSID)
CN116346716A (en) Message processing method and device and communication system
CN114650233A (en) Message processing method and related equipment
CN114258109A (en) Routing information transmission method and device
CN117221024A (en) Communication method, UP device and CP device
US11757784B2 (en) Packet processing method and system, and network device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication