WO2015123985A1 - Method and device for adjusting load balancing, and computer storage medium - Google Patents

Method and device for adjusting load balancing, and computer storage medium Download PDF

Info

Publication number
WO2015123985A1
WO2015123985A1 PCT/CN2014/085865 CN2014085865W WO2015123985A1 WO 2015123985 A1 WO2015123985 A1 WO 2015123985A1 CN 2014085865 W CN2014085865 W CN 2014085865W WO 2015123985 A1 WO2015123985 A1 WO 2015123985A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
priority
traffic
bandwidth
load balancing
Prior art date
Application number
PCT/CN2014/085865
Other languages
French (fr)
Chinese (zh)
Inventor
徐方明
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015123985A1 publication Critical patent/WO2015123985A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control

Definitions

  • the method further includes: detecting a total traffic of the current link according to a predetermined time interval; and in case the total traffic is changed, according to each The forwarding capability of the link recalculates the bandwidth of each link, wherein the forwarding capability is: the product of the physical bandwidth and the waterline, or the product of the physical bandwidth and the waterline and the load balancing bandwidth.
  • the second aspect of the present invention further provides an apparatus for adjusting load balancing, including: a configuration module configured to configure a priority of each link according to a link condition; and a forwarding module configured to According to the priority of all links, the total traffic of the current link is forwarded in order of priority from high to low to adjust load balancing.
  • the priority of each link is configured, and the priority of the link can be re-configured according to the change of the link status, and the total traffic of the current link is forwarded according to the priority order, so that load balancing can be dynamically performed.
  • the transmission quality of the link is improved, and the problem that the static load balancing cannot be adjusted according to the configuration or link traffic of the bandwidth of each link may be solved, resulting in a problem of poor load balance of the traffic.
  • the traffic of each link needs to be counted to determine the total traffic of the current link.

Abstract

Disclosed are a method and device for adjusting load balancing. The method comprises: according to link conditions, configuring priorities for various links; and according to the priorities of all links, forwarding the total traffic of current links in sequence in a high to low order of the priorities, to adjust load balancing. By means of the present invention, priorities are configured for various links, priorities of links can be re-configured according to the change of link conditions, and the total traffic of current links is forwarded according to the sequence of the priorities, so that the load balancing can be dynamically conducted, thereby improving the link transmission quality, and solving the problem of poor load balancing of traffic due to the fact that the static load balancing cannot be adjusted in accordance with bandwidth demands of various links and configuration or link traffic, etc. Also disclosed at the same time is a computer storage medium.

Description

一种调整负载均衡的方法及装置和计算机存储介质Method and device for adjusting load balancing and computer storage medium 技术领域Technical field
本发明涉及通讯领域,特别是涉及一种调整负载均衡的方法及装置和计算机存储介质。The present invention relates to the field of communications, and in particular, to a method and apparatus for adjusting load balancing and a computer storage medium.
背景技术Background technique
IP网络中两台数据通信设备之间一般会部署多条链路形成负载均衡,链路间带宽的总和为设备间可以承担的流量值。由于各条链路承载的带宽是固定的,当链路的总流量突然增加时,在链路间带宽需要发送流量的总和大于链路负载均衡可以发送流量的情况下,部分链路可能出现丢包的现象。当用户网络的出口链路采用双链路上行,其中一条链路为租用的传输链路时,要求两条链路间的负载均可以基于接口带宽计算负载均衡的比例权重,进行每流的负载均衡,并希望能够充分利用租用的传输链路,根据租用链路上的流量动态调节负载均衡的比例权重,进行每流的分担。由于租用的传输链路的实际带宽一般要小于接口的物理带宽,需要按照其实际带宽来计算负载均衡的比例权重。用户网络的出口链路采用双链路上行,其中一条作为主用链路,另一条作为备用时,备用链路同时可能用于其它业务需求,占用部分备用链路带宽。当主用链路流量超过带宽时,需要备用链路在不影响其它业务的前提下参与主用链路,实现负载均衡。Multiple data links between two data communication devices in an IP network are generally deployed to form load balancing. The sum of bandwidths between links is the traffic value that can be assumed between devices. The bandwidth carried by each link is fixed. When the total traffic of the link increases suddenly, the total number of outgoing traffic of the link between the links is greater than that of the link load balancing. The phenomenon of the package. When the egress link of the user network adopts dual-link uplink, and one of the links is a leased transmission link, the load between the two links can be calculated based on the interface bandwidth to calculate the load weight of the load balancing. Equilibrium, and hope to make full use of the leased transmission link, dynamically adjust the weight of the load balancing according to the traffic on the leased link, and perform the sharing of each stream. Since the actual bandwidth of the leased transmission link is generally smaller than the physical bandwidth of the interface, the proportional weight of the load balancing needs to be calculated according to its actual bandwidth. The egress link of the user network adopts dual-link uplink. One of them serves as the primary link and the other serves as the backup. The backup link may be used for other service requirements and occupy part of the backup link bandwidth. When the active link traffic exceeds the bandwidth, the standby link needs to participate in the active link without affecting other services to implement load balancing.
然而,现有技术中都使用静态负载均衡,使用固定的模式进行负载均衡,但静态负载均衡无法解决各条链路的带宽需要依据配置或链路流量等方面进行调整的问题,导致流量的负载均衡差。然而,现有技术中并没有一种能够根据各条链路的带宽需要依据配置和链路流量进行调整的方法。 However, in the prior art, static load balancing is used, and a fixed mode is used for load balancing. However, static load balancing cannot solve the problem that the bandwidth of each link needs to be adjusted according to configuration or link traffic, resulting in traffic load. The balance is poor. However, there is no method in the prior art that can adjust according to the configuration and link traffic according to the bandwidth requirement of each link.
发明内容Summary of the invention
有鉴于此,本发明实施例提供了一种调整负载均衡的方法及装置,期望解决静态负载均衡无法根据各条链路的带宽需要依据配置或链路流量等方面进行调整,导致流量的负载均衡差的问题。In view of the above, the embodiments of the present invention provide a method and a device for adjusting load balancing. It is expected that static load balancing cannot be adjusted according to configuration or link traffic according to bandwidth requirements of each link, resulting in load balancing of traffic. Poor question.
为达上述目的,第一方面本发明实施例提供一种调整负载均衡的方法,包括:根据链路状况配置各个链路的优先级;根据所有链路的优先级,按照优先级从高到低的顺序依次转发当前链路的总流量,以调整负载均衡。In order to achieve the above objective, the first aspect of the present invention provides a method for adjusting load balancing, including: configuring a priority of each link according to a link condition; and according to a priority of all links, according to a priority from high to low The order in turn forwards the total traffic of the current link to adjust the load balancing.
优选地,根据所有链路的优先级,按照优先级从高到低的顺序依次转发当前链路的总流量之前,还包括:统计各条链路的流量,以确定当前链路的总流量。Preferably, before forwarding the total traffic of the current link in descending order of priority according to the priority of all the links, the method further includes: counting the traffic of each link to determine the total traffic of the current link.
优选地,按照优先级从高到低的顺序依次转发当前链路的总流量包括:检测优先级最高的链路的带宽是否能够转发当前链路的所述总流量;在所述优先级最高的链路的带宽无法全部转发所述总流量的情况下,将剩余流量在所述优先级最高的链路的下一优先级对应的链路上进行转发;若所述下一优先级对应链路的带宽仍无法全部转发所述剩余流量,则将转发后再次剩余的流量按照优先级顺序依次进行转发,直至所述总流量被全部转发。Preferably, forwarding the total traffic of the current link in order of priority from highest to lowest includes: detecting whether the bandwidth of the link with the highest priority can forward the total traffic of the current link; and the highest priority If the bandwidth of the link cannot be completely forwarded, the remaining traffic is forwarded on the link corresponding to the next priority of the link with the highest priority; if the next priority corresponds to the link If the remaining bandwidth is still not fully forwarded, the remaining traffic after forwarding is forwarded in order of priority until the total traffic is forwarded.
优选地,所述方法还包括:当存在多个优先级相同的链路时,将当前待转发的流量按照所述链路的带宽比例进行分配转发。Preferably, the method further includes: when there are multiple links with the same priority, the traffic to be forwarded is allocated and forwarded according to the bandwidth ratio of the link.
优选地,按照优先级从高到低的顺序依次转发当前链路的总流量之后,还包括:按照预定时间间隔检测当前链路的总流量;在所述总流量改变的情况下,依据各条链路的转发能力,重新计算各个链路的带宽,其中,所述转发能力为:物理带宽与水线的乘积、或者物理带宽与水线的乘积和负载均衡带宽中最小的一个。Preferably, after the total traffic of the current link is sequentially forwarded in descending order of priority, the method further includes: detecting a total traffic of the current link according to a predetermined time interval; and in case the total traffic is changed, according to each The forwarding capability of the link recalculates the bandwidth of each link, wherein the forwarding capability is: the product of the physical bandwidth and the waterline, or the product of the physical bandwidth and the waterline and the load balancing bandwidth.
第二一方面本发明实施例还提供一种调整负载均衡的装置,包括:配置模块,配置为根据链路状况配置各个链路的优先级;转发模块,配置为 根据所有链路的优先级,按照优先级从高到低的顺序依次转发当前链路的总流量,以调整负载均衡。The second aspect of the present invention further provides an apparatus for adjusting load balancing, including: a configuration module configured to configure a priority of each link according to a link condition; and a forwarding module configured to According to the priority of all links, the total traffic of the current link is forwarded in order of priority from high to low to adjust load balancing.
优选地,上述装置还包括:统计模块,配置为统计各条链路的流量,以确定当前链路的总流量。Preferably, the apparatus further includes: a statistics module configured to count traffic of each link to determine a total traffic of the current link.
优选地,所述转发模块包括:检测单元,配置为检测优先级最高的链路的带宽是否能够转发当前链路的所述总流量;转发单元,配置为在所述优先级最高的链路的带宽无法全部转发所述总流量的情况下,将剩余流量在所述优先级最高的链路的下一优先级对应的链路上进行转发;在所述下一优先级对应链路的带宽仍无法全部转发所述剩余流量的情况下,将转发后再次剩余的流量按照优先级顺序依次进行转发,直至所述总流量被全部转发。Preferably, the forwarding module includes: a detecting unit configured to detect whether a bandwidth of a link with the highest priority can forward the total traffic of the current link; and a forwarding unit configured to be in the link with the highest priority If the bandwidth cannot be completely forwarded, the remaining traffic is forwarded on the link corresponding to the next priority of the link with the highest priority; the bandwidth of the link corresponding to the next priority is still When the remaining traffic cannot be completely forwarded, the traffic remaining again after the forwarding is sequentially forwarded in the priority order until the total traffic is completely forwarded.
优选地,所述转发模块,还配置为在存在多个优先级相同的链路的情况下,将当前待转发的流量按照所述链路的带宽比例进行分配转发。Preferably, the forwarding module is further configured to allocate and forward the traffic to be forwarded according to the bandwidth ratio of the link, if there are multiple links with the same priority.
优选地,上述装置还包括:检测模块,配置为按照预定时间间隔检测当前链路的总流量;确定模块,配置为在所述总流量改变的情况下,依据各条链路的转发能力,重新计算各个链路的带宽,其中,所述转发能力为:物理带宽与水线的乘积、或者物理带宽与水线的乘积和负载均衡带宽中最小的一个。Preferably, the apparatus further includes: a detecting module configured to detect a total traffic of the current link according to a predetermined time interval; and a determining module configured to, according to the forwarding capability of each link, restart in the case that the total traffic changes The bandwidth of each link is calculated, wherein the forwarding capability is: the product of the physical bandwidth and the watermark, or the product of the physical bandwidth and the waterline and the load balancing bandwidth.
第三方面本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行第一方面所述方法的至少其中之一。The third aspect of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions for performing at least one of the methods of the first aspect.
本发明实施例为各个链路配置了优先级,根据链路状况的变化,可以重新配置链路的优先级,再根据优先级的顺序转发当前链路的总流量,使得能够动态的进行负载均衡,提高了链路的传输质量,解决了静态负载均衡无法根据各条链路的带宽需要依据配置或链路流量等方面进行调整,导 致流量的负载均衡差的问题。In the embodiment of the present invention, the priority of each link is configured, and the priority of the link can be re-configured according to the change of the link status, and the total traffic of the current link is forwarded according to the priority order, so that load balancing can be dynamically performed. The transmission quality of the link is improved, and the static load balancing cannot be adjusted according to the configuration of the link or the link traffic according to the bandwidth requirements of each link. The problem of poor load balancing for traffic.
附图说明DRAWINGS
图1是本发明实施例所述的调整负载均衡的方法的流程图;1 is a flowchart of a method for adjusting load balancing according to an embodiment of the present invention;
图2是本发明实施例所述的调整负载均衡的装置的第一种结构示意图;2 is a schematic diagram of a first structure of an apparatus for adjusting load balancing according to an embodiment of the present invention;
图3是本发明实施例所述的调整负载均衡的装置的第二种结构示意图;3 is a schematic diagram of a second structure of an apparatus for adjusting load balancing according to an embodiment of the present invention;
图4是本发明实施例所述的调整负载均衡的装置转发模块的结构示意图;4 is a schematic structural diagram of a device forwarding module for adjusting load balancing according to an embodiment of the present invention;
图5是本发明实施例所述的调整负载均衡的装置的第三种结构示意图;FIG. 5 is a third schematic structural diagram of an apparatus for adjusting load balancing according to an embodiment of the present invention; FIG.
图6是本发明实施例所述的动态调整负载均衡的流程图;6 is a flowchart of dynamically adjusting load balancing according to an embodiment of the present invention;
图7是本发明实施例所述的调整负载均衡的装置的第四种结构示意图。FIG. 7 is a fourth schematic structural diagram of an apparatus for adjusting load balancing according to an embodiment of the present invention.
具体实施方式detailed description
以下结合附图对本发明的优选实施例进行详细说明,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.
本发明实施例提供一种调整负载均衡的方法,该方法的流程如图1所示,包括步骤S102至步骤S104:An embodiment of the present invention provides a method for adjusting load balancing. The process of the method is as shown in FIG. 1 and includes steps S102 to S104:
S102,根据链路状况配置各个链路的优先级。S102. Configure a priority of each link according to a link condition.
其中,链路状况可以包括多种因素,例如,当前链路是否为租用链路,当前链路的带宽大小,当前链路被占用的带宽等。在设置时,如果根据当前链路是否为租用链路进行设置,则可以将租用的链路的优先级设置为高,其他链路的优先级设置为低,进而,还可以进一步在设置为低优先级的链路中再使用其他链路状况对应的因素进行优先级的配置,例如,配置带宽 较大的链路的优先级为高。The link status may include various factors, such as whether the current link is a leased link, the bandwidth of the current link, the bandwidth occupied by the current link, and the like. When setting, if the current link is set for the leased link, the priority of the leased link can be set to high, the priority of other links is set to low, and further, it can be further set to low. Prioritize the priority of the other link status, for example, configure the bandwidth. Larger links have a higher priority.
S104,根据所有链路的优先级,按照优先级从高到低的顺序依次转发当前链路的总流量,以调整负载均衡。S104. Forward the total traffic of the current link according to the priority of all links according to the priority from high to low to adjust load balancing.
本发明实施例为各个链路配置了优先级,根据链路状况的变化,可以重新配置链路的优先级,再根据优先级的顺序转发当前链路的总流量,使得能够动态的进行负载均衡,提高了链路的传输质量,解决了静态负载均衡无法根据各条链路的带宽需要依据配置或链路流量等方面进行调整,导致流量的负载均衡差的问题。In the embodiment of the present invention, the priority of each link is configured, and the priority of the link can be re-configured according to the change of the link status, and the total traffic of the current link is forwarded according to the priority order, so that load balancing can be dynamically performed. The transmission quality of the link is improved, and the problem that the static load balancing cannot be adjusted according to the configuration or link traffic of the bandwidth of each link may be solved, resulting in a problem of poor load balance of the traffic.
上述流程在实施过程中,如遇到某一条链路发生了损坏或业务改变,可以根据实际情况调整优先级及水线。例如,优先级为7的链路发生了损坏,则可以调整优先级的配置,将其优先级配置为1或0,这样,可以根据重新配置的优先级进行转发;再或者,如果当前链路的业务由之前的多业务变为单一业务,则可以改变该链路对应的水线,以进行转发。During the implementation process, if a link is damaged or the service is changed, the priority and watermark can be adjusted according to the actual situation. For example, if the link with priority 7 is damaged, you can adjust the priority configuration and set its priority to 1 or 0. In this way, you can forward according to the reconfigured priority. Otherwise, if the current link If the service is changed from the previous multi-service to the single service, the watermark corresponding to the link can be changed for forwarding.
在根据所有链路的优先级,按照优先级从高到低的顺序依次转发当前链路的总流量之前,还需要统计各条链路的流量,以确定当前链路的总流量。Before forwarding the total traffic of the current link in the order of priority from high to low according to the priority of all links, the traffic of each link needs to be counted to determine the total traffic of the current link.
实施过程中,按照优先级从高到低的顺序依次转发当前链路的总流量可以按照如下过程进行:首先,检测优先级最高的链路的带宽是否能够转发当前链路的总流量;如果优先级最高的链路的带宽无法全部转发总流量,则将剩余流量在优先级最高的链路的下一优先级对应的链路上进行转发;再检测下一优先级对应的链路的带宽是否能够转发剩余流量,如果下一优先级对应链路的带宽仍无法全部转发剩余流量,则将转发后再次剩余的流量按照优先级顺序依次进行转发,直至总流量被全部转发。During the implementation process, the total traffic of the current link can be forwarded in the order of priority from high to low. The following process can be performed: First, check whether the bandwidth of the link with the highest priority can forward the total traffic of the current link; If the bandwidth of the link with the highest priority cannot be used to forward the total traffic, the remaining traffic is forwarded on the link corresponding to the next priority of the link with the highest priority. The remaining traffic can be forwarded. If the bandwidth of the link corresponding to the next priority cannot be completely forwarded, the traffic remaining after forwarding will be forwarded in the order of priority until the total traffic is forwarded.
如果存在多个优先级相同的链路,则在转发时可以将当前待转发的流量按照链路的带宽比例进行分配转发。例如,三条链路的带宽比例为4:3:1, 则可以将待转发的流量分别按照这个比例进行均衡,再进行转发。If there are multiple links with the same priority, the traffic to be forwarded can be allocated and forwarded according to the bandwidth ratio of the link. For example, the bandwidth ratio of the three links is 4:3:1. The traffic to be forwarded can be equalized according to this ratio, and then forwarded.
在按照优先级从高到低的顺序依次转发当前链路的总流量之后,还需要按照预定时间间隔(即采样周期)检测当前链路的总流量,预定时间间隔可以根据时间段不同设置不同时长,例如,在刚发送时采样周期时可以设置短些,当流量稳定后,采样的周期可以设置长些。在总流量改变的情况下,依据各个链路的转发能力重新计算各个链路的带宽,其中,转发能力为:物理带宽与水线的乘积、或者物理带宽与水线的乘积和负载均衡带宽中最小的一个。After forwarding the total traffic of the current link in the order of priority from high to low, the total traffic of the current link needs to be detected according to a predetermined time interval (ie, a sampling period), and the predetermined time interval may be set according to different time periods. For example, it can be set shorter when the sampling period is just sent. When the flow is stable, the sampling period can be set longer. In the case of a total traffic change, the bandwidth of each link is recalculated according to the forwarding capability of each link, where the forwarding capability is: the product of the physical bandwidth and the waterline, or the product of the physical bandwidth and the waterline and the load balancing bandwidth. The smallest one.
本发明实施例还提供了一种调整负载均衡的装置,该装置的结构示意如图2所示,包括:配置模块10,配置为根据链路状况配置各个链路的优先级;转发模块20,与配置模块10耦合,配置为根据所有链路的优先级,按照优先级从高到低的顺序依次转发当前链路的总流量,以调整负载均衡。The embodiment of the present invention further provides an apparatus for adjusting load balancing. The structure of the apparatus is shown in FIG. 2, and includes: a configuration module 10 configured to configure a priority of each link according to a link condition; and a forwarding module 20, The configuration is coupled to the configuration module 10, and configured to forward the total traffic of the current link in order of priority according to priorities of all links to adjust load balancing.
图3示出了上述装置又一种结构示意图,上述装置还可以包括:统计模块30,与转发模块20耦合,配置为统计各条链路的流量,以确定当前链路的总流量。实现时,转发模块20,还可以配置为在存在多个优先级相同的链路的情况下,将当前待转发的流量按照链路的带宽比例进行分配转发。FIG. 3 is a schematic structural diagram of the foregoing apparatus. The apparatus may further include: a statistics module 30 coupled to the forwarding module 20 and configured to collect traffic of each link to determine a total traffic of the current link. In the implementation, the forwarding module 20 may be configured to allocate and forward the traffic to be forwarded according to the bandwidth ratio of the link when there are multiple links with the same priority.
图4示出了上述转发模块20的结构示意图,包括:检测单元202,配置为检测优先级最高的链路的带宽是否能够转发当前链路的总流量;转发单元204,与检测单元202耦合,配置为在优先级最高的链路的带宽无法全部转发总流量的情况下,将剩余流量在优先级最高的链路的下一优先级对应的链路上进行转发;在下一优先级对应链路的带宽仍无法全部转发剩余流量的情况下,将转发后再次剩余的流量按照优先级顺序依次进行转发,直至总流量被全部转发。FIG. 4 is a schematic structural diagram of the foregoing forwarding module 20, including: a detecting unit 202 configured to detect whether a bandwidth of a link with the highest priority can forward the total traffic of the current link; and a forwarding unit 204 coupled with the detecting unit 202, If the bandwidth of the link with the highest priority cannot be used to forward the total traffic, the remaining traffic is forwarded on the link corresponding to the next priority of the link with the highest priority; the link corresponding to the next priority If the bandwidth cannot be completely forwarded, the remaining traffic after forwarding will be forwarded in order of priority until the total traffic is forwarded.
图5示出了上述调整负载均衡的装置的优选结构示意图,在图3的基础上,还包括:检测模块40,与统计模块30耦合,配置为按照预定时间间 隔检测当前链路的总流量;确定模块50,与转发模块20耦合,配置为在总流量改变的情况下,依据各链路的转发能力,重新计算各个链路的带宽,其中,转发能力为:物理带宽与水线的乘积、或者物理带宽与水线的乘积和负载均衡带宽中最小的一个。FIG. 5 is a schematic diagram of a preferred structure of the apparatus for adjusting load balancing. On the basis of FIG. 3, the method further includes: a detecting module 40 coupled to the statistic module 30 and configured to be scheduled according to a predetermined time. Detecting the total traffic of the current link; the determining module 50 is coupled to the forwarding module 20, and configured to recalculate the bandwidth of each link according to the forwarding capability of each link when the total traffic changes, wherein the forwarding capability is : The smallest of the product of the physical bandwidth and the watermark, or the product of the physical bandwidth and the waterline and the load balancing bandwidth.
本发明实施例提供一种动态的调整负载均衡的方法和装置,可以依据网络用户需求和链路流量的变化动态调整负载均衡各条链路的带宽。该方法适应于IPV4、IPV6网络和MPLS网络等。The embodiment of the invention provides a method and a device for dynamically adjusting load balancing, which can dynamically adjust the bandwidth of each link of the load balancing according to the network user demand and the link traffic change. The method is applicable to IPV4, IPV6 networks, and MPLS networks.
本发明实施例的装置能够配置负载均衡策略、负载均衡优先级、负载均衡带宽、负载均衡水线。当策略、优先级、带宽、水线发生变化时,重新动态计算负载均衡;还能够从子接口获取链路实际转发的出向流量。当负载均衡链路的总流量发生变化时,重新动态计算负载均衡。在流量刚发送时采样周期可以设置短些,保证负载均衡及时重计算。在流量比较稳定时,采样周期可以设置长些,以降低CPU占用率;还能实现负载均衡各个链路出接口带宽的动态计算,使流量优先走高优先级的链路,在达到该链路转发能力上限后,剩余流量走次优优先级的链路。使用分时机制管理动态负载均衡的计算过程,防止设备存在大量负载均衡一起动态计算使得CPU占用率短时冲高。The device of the embodiment of the invention can configure a load balancing policy, a load balancing priority, a load balancing bandwidth, and a load balancing watermark. When the policy, priority, bandwidth, and waterline change, the load balancing is dynamically calculated. The outgoing traffic that the link actually forwards can also be obtained from the sub-interface. When the total traffic of the load balancing link changes, the load balancing is dynamically calculated. The sampling period can be set shorter when the traffic is just sent, ensuring load balancing and recalculating in time. When the traffic is stable, the sampling period can be set longer to reduce the CPU usage. The load balancing can also be used to dynamically calculate the bandwidth of the outbound interface of each link, so that traffic is preferentially higher than the priority link. After the capacity is capped, the remaining traffic goes through the sub-optimal priority link. The time-sharing mechanism is used to manage the dynamic load balancing calculation process to prevent the device from having a large amount of load balancing and dynamic calculation so that the CPU usage is short-lived.
下面结合附图和具体实施方式进行说明。The following description is made in conjunction with the accompanying drawings and specific embodiments.
用户在网络部署中通过网管或OAM界面设定负载均衡的相关参数,下面对各个参数做详细说明。The user sets the parameters related to load balancing through the network management or OAM interface in the network deployment. The following describes each parameter in detail.
(1)链路负载均衡优先级。优先级数值越大表示优先级越高。当网路用户租用更高级用户的链路时,应把该链路设置较高的优先级(该链路质量较高)。只有所有链路都配置了优先级才开启动态负载均衡计算。(1) Link load balancing priority. A higher priority value indicates a higher priority. When a network user leases a link of a higher-level user, the link should be set to a higher priority (the link is of higher quality). Dynamic load balancing calculations are enabled only if all links are configured with a priority.
(2)链路负载均衡带宽。负载均衡带宽不可以大于链路的物理带宽。当网路用户需要流量按照期望比例分配(比如4:2:1)时,需要配置该参数。 (2) Link load balancing bandwidth. The load balancing bandwidth cannot be greater than the physical bandwidth of the link. This parameter needs to be configured when the network user needs traffic to be allocated according to the expected ratio (for example, 4:2:1).
(3)链路负载均衡水线。负载均衡水线限定了该链路的流量可以达到物理带宽的百分比。当一条链路上除了负载均衡的业务还承担其他业务时,通过水线可以确定多少带宽分配给负载均衡。(3) Link load balancing waterline. The load balancing waterline defines the percentage of physical traffic that the traffic of the link can reach. When a load balancing service bears other services on a link, the watermark can determine how much bandwidth is allocated to load balancing.
如图6所示,当用户设定好参数后,根据链路的流量等参数开始动态调整负载均衡的各条链路的带宽,包括步骤S601至步骤S610。As shown in FIG. 6 , after the user sets the parameters, the bandwidth of each link of the load balancing is dynamically adjusted according to parameters such as the traffic of the link, and the steps S601 to S610 are included.
S601,配置动态负载均衡参数。如果负载均衡策略、优先级、带宽、水线、链路流量发生变化时,转入该过程中。S601: Configure dynamic load balancing parameters. If the load balancing policy, priority, bandwidth, waterline, and link traffic change, go to the process.
S602,判断当前配置是否满足动态负载均衡的条件。只有当所有链路都配置负载均衡优先级时才进行动态计算。如果是,则执行步骤S603,否则执行步骤S610。S602. Determine whether the current configuration meets the condition of dynamic load balancing. Dynamic calculations are only performed when all links are configured with load balancing priorities. If yes, step S603 is performed, otherwise step S610 is performed.
S603,获取各条链路的转发能力,即物理带宽*水线和负载均衡带宽中较小的一个。S603. Acquire a forwarding capability of each link, that is, a smaller one of physical bandwidth * watermark and load balancing bandwidth.
S604,统计各条链路的流量,获取负载均衡的总流量。S604. The traffic of each link is counted, and the total traffic of the load balancing is obtained.
S605,是否有链路尚未计算带宽。如果是,则执行步骤S606,否则执行步骤S610。S605, whether there is a link has not calculated bandwidth. If yes, step S606 is performed, otherwise step S610 is performed.
S606,获取配置中高优先级的级别,获取当前优先级链路总的转发能力。S606. Acquire a high priority level in the configuration, and obtain a total forwarding capability of the current priority link.
S607,判断最高优先级链路是否能够转发链路上的总流量。如果是则执行步骤S608,否则执行步骤S609。S607. Determine whether the highest priority link can forward the total traffic on the link. If yes, step S608 is performed, otherwise step S609 is performed.
S608,流量完全从最高优先级链路走,其他优先级链路不走流量。此时该优先级链路的带宽是总流量,其余优先级链路的带宽为零,转入步骤S610流程结束。At S608, the traffic completely goes from the highest priority link, and other priority links do not take traffic. At this time, the bandwidth of the priority link is the total traffic, and the bandwidth of the remaining priority links is zero, and the process proceeds to step S610.
S609,若不能够完全转发,按照该链路最大转发能力分担流量,并获取剩余流量,将剩余流量流转向次优优先级链路。并转回步骤S605继续重复执行。此时,最高优先级链路的带宽为其转发能力。 S609: If the forwarding is not complete, the traffic is shared according to the maximum forwarding capability of the link, and the remaining traffic is obtained, and the remaining traffic is switched to the sub-optimal priority link. And the process returns to step S605 to continue the execution. At this time, the bandwidth of the highest priority link is its forwarding capability.
S610,流程结束。S610, the process ends.
上述继续执行的过程如下:判断次优优先级链路是否能够转发链路上的剩余总流量。若可以,剩余流量完全从次优优先级链路走,优先级低于它的链路没有流量。此时,次优先级链路的带宽是剩余流量,优先级低于它的链路的带宽为零,流程结束。若不能够完全转发,按照该链路最大转发能力分担流量,剩余流量流向再次优优先级链路。此时,次优优先级链路的流量是其转发能力。The process of continuing the foregoing is as follows: determining whether the sub-optimal priority link can forward the remaining total traffic on the link. If possible, the remaining traffic is completely removed from the sub-optimal priority link, and the priority is lower than the traffic on its link. At this time, the bandwidth of the secondary priority link is the remaining traffic, the priority is lower than the bandwidth of its link is zero, and the process ends. If the forwarding is not complete, the traffic is shared according to the maximum forwarding capability of the link, and the remaining traffic flows to the priority link again. At this time, the traffic of the sub-preferred priority link is its forwarding capability.
判断再次优优先级链路是否能够转发链路上的剩余总流量。若可以,剩余流量完全从再次优优先级链路走。此时,再次优先级链路的带宽是剩余流量,优先级低于它的链路的带宽为零,流程结束。若不能够完全转发,按照该链路最大转发能力分担流量,其余流量流向下一优先级链路。此时,再次优优先级级路的流量是其转发能力。重复以上过程,直到剩余流量从某一级别优先级的链路转发出去。Determine whether the re-priority priority link can forward the remaining total traffic on the link. If possible, the remaining traffic is completely removed from the good priority link again. At this time, the bandwidth of the priority link again is the remaining traffic, and the priority is lower than the bandwidth of its link is zero, and the process ends. If the forwarding is not complete, the traffic is shared according to the maximum forwarding capability of the link, and the remaining traffic flows to the next priority link. At this time, the traffic of the priority priority road again is its forwarding capability. Repeat the above process until the remaining traffic is forwarded from a link of a certain priority level.
实现时,当多条链路的优先级一样时,同优先级链路按照各自的转发能力按比例分配该优先级的流量;当负载均衡的总流量发生变化、负载均衡的参数发生变化时,从步骤S601开始重新计算负载均衡各个链路的带宽。When the priority of the multiple links is the same, the same priority link distributes the traffic of the priority according to the forwarding capability. When the total load of the load balance changes and the load balancing parameters change. From step S601, the bandwidth of each link of the load balancing is recalculated.
负载均衡按照上述方法根据链路流量可以动态调整链路的带宽。这样可以解决链路流量突然增大导致某些链路丢包的问题,也可以满足上行双链路二级运营商优先使用租用一级运营商的链路和按比例使用备用链路的问题。Load balancing The bandwidth of the link can be dynamically adjusted according to the link traffic according to the above method. This can solve the problem of packet loss caused by a sudden increase in link traffic, and can also satisfy the problem that the uplink dual-link secondary carrier preferentially uses the leased first-level carrier link and the proportional use of the standby link.
上述流量突然增大的场景与上述图6中的处理过程类似,包括如下处理过程:The scenario in which the above traffic suddenly increases is similar to the processing in FIG. 6 above, and includes the following processing:
链路上的总流量发生变化,首先要触发重新计算ECMP链路带宽。随后,与图6的执行过程类似,判断最高优先级链路能否容纳该流量。若可以容纳,最高优先级链路带宽调整为此刻链路流量,流程结束。若不可以, 最高优先级链路带宽保持不变,流量流向次优优先级链路。The total traffic on the link changes, first triggering the recalculation of the ECMP link bandwidth. Subsequently, similar to the execution process of FIG. 6, it is judged whether the highest priority link can accommodate the traffic. If it can be accommodated, the highest priority link bandwidth is adjusted for the link traffic at this moment, and the process ends. If not, The highest priority link bandwidth remains the same, and traffic flows to the sub-optimal priority link.
判断次优优先级能否容纳剩余流量。若可以,把次优优先级链路带宽调整为剩余流量,流程结束。否则,次优优先级链路带宽不变,流量流向再次优优先级。由于链路总带宽是大于链路流量的,在某一优先级链路总是可以容纳从上一优先级溢出的流量。此优先级链路的带宽为从上一优先级链路溢出的流量。流程结束。Determine if the sub-optimal priority can accommodate the remaining traffic. If yes, adjust the sub-optimal priority link bandwidth to the remaining traffic, and the process ends. Otherwise, the bandwidth of the sub-optimal priority link is unchanged, and the traffic flow is again prioritized. Since the total bandwidth of the link is greater than the link traffic, the traffic that overflows from the previous priority can always be accommodated in a certain priority link. The bandwidth of this priority link is the traffic that overflows from the previous priority link. The process ends.
上述过程,通过调整高某些链路的带宽,可以保证在ECMO链路流量突然变大并没有超出链路总带宽时,流量不丢包。In the above process, by adjusting the bandwidth of some links, it is ensured that when the traffic of the ECMO link suddenly becomes large and the total bandwidth of the link does not exceed the total bandwidth of the link, the traffic does not drop.
上述上行双链路其中一条链路为租用的场景与上述图6中的处理过程类似,包括如下处理过程:The scenario in which one of the uplink links is leased is similar to the process in Figure 6 above, and includes the following processing:
首先,将租用链路的ECMP优先级设为最高优先级7。随后,与图6的执行过程类似,再判断最高优先级链路能否容纳链路总流量。当其可以容纳时,流量不再走次优优先级的链路。最高优先级链路带宽为链路总流量,其他优先级链路带宽为0,流程结束。当其容纳不了时,流量才流向次优优先级。First, the ECMP priority of the leased link is set to the highest priority of 7. Subsequently, similar to the execution process of FIG. 6, it is determined whether the highest priority link can accommodate the total link traffic. When it can accommodate, the traffic no longer takes the sub-optimal priority link. The highest priority link bandwidth is the total link traffic, and the other priority link bandwidths are 0, and the process ends. When it can't be accommodated, traffic flows to sub-optimal priorities.
判断次优优先级能否容纳剩余流量。若可以,把次优优先级链路带宽调整为剩余流量,流程结束。否则,次优优先级链路带宽不变,流量流向再次优优先级。Determine if the sub-optimal priority can accommodate the remaining traffic. If yes, adjust the sub-optimal priority link bandwidth to the remaining traffic, and the process ends. Otherwise, the bandwidth of the sub-optimal priority link is unchanged, and the traffic flow is again prioritized.
判断次优优先级链路是否能够转发链路上的剩余总流量。若可以,剩余流量完全从次优优先级链路走,优先级低于它的链路没有流量。此时,次优先级链路的带宽是剩余流量,优先级低于它的链路的带宽为零,流程结束。若不能够完全转发,按照该链路最大转发能力分担流量,剩余流量流向再次优优先级链路。此时,次优优先级链路的流量是其转发能力。重复以上过程,直到剩余流量从某一级别优先级的链路转发出去。如果链路的流程发生变化时,从最高优先级链路开始,再次分配流量。 Determine whether the sub-optimal priority link can forward the remaining total traffic on the link. If possible, the remaining traffic is completely removed from the sub-optimal priority link, and the priority is lower than the traffic on its link. At this time, the bandwidth of the secondary priority link is the remaining traffic, the priority is lower than the bandwidth of its link is zero, and the process ends. If the forwarding is not complete, the traffic is shared according to the maximum forwarding capability of the link, and the remaining traffic flows to the priority link again. At this time, the traffic of the sub-preferred priority link is its forwarding capability. Repeat the above process until the remaining traffic is forwarded from a link of a certain priority level. If the flow of the link changes, traffic is distributed again starting from the highest priority link.
上述过程中,通过把租用链路优先级设为高优先级,保证租用链路得到充分利用,并根据流量等属性的变化动态调整流量分配。In the above process, the leased link priority is set to a high priority to ensure that the leased link is fully utilized, and the traffic distribution is dynamically adjusted according to changes in attributes such as traffic.
上述上行双链路其中一条链路承载其他业务的场景与上述图6中的处理过程类似,包括如下处理过程:The scenario in which one of the uplink dual-links carries other services is similar to the processing in Figure 6 above, and includes the following processing:
首先,设置承载其他业务链路的优先级为低优先级,再设置承载其他业务链路的水线,使其和其他业务的带宽不超过链路物理带宽。随后,与图6的执行过程类似,判断最高优先级链路能否容纳链路总流量。当其可以容纳时,流量不再走次优优先级的链路。最高优先级链路带宽为链路总流量,其他优先级链路带宽为0,流程结束。当其容纳不了时,次优优先级链路才分担流量。First, set the priority of carrying other service links to a lower priority, and then set the watermarks carrying other service links so that the bandwidth of other services does not exceed the physical bandwidth of the link. Subsequently, similar to the execution process of FIG. 6, it is judged whether the highest priority link can accommodate the total link traffic. When it can accommodate, the traffic no longer takes the sub-optimal priority link. The highest priority link bandwidth is the total link traffic, and the other priority link bandwidths are 0, and the process ends. The sub-preferred priority link only shares traffic when it cannot accommodate it.
判断次优优先级链路能否容纳剩余流量。判断标准是流量大小是否超过链路的转发能力。若流量超过该数值,即使链路可以承担更多的流量,也停止分担。此时,次优优先级链路的带宽是其转发能力。溢出的流量流向再次优优先级。若没有超过,该链路的带宽为该链路的流量,流程结束。重复以上过程,直到剩余流量从某一级别优先级的链路转发出去。如果链路的流程发生变化时,从最高优先级链路开始,再次分配流量。Determine if the sub-optimal priority link can accommodate the remaining traffic. The criterion is whether the traffic size exceeds the forwarding capability of the link. If the traffic exceeds this value, the link will stop sharing even if the link can take on more traffic. At this time, the bandwidth of the sub-preferred priority link is its forwarding capability. The overflowed traffic flow is again prioritized. If not exceeded, the bandwidth of the link is the traffic of the link, and the process ends. Repeat the above process until the remaining traffic is forwarded from a link of a certain priority level. If the flow of the link changes, traffic is distributed again starting from the highest priority link.
上述过程中,通过把承担其他业务链路的优先级调低并设置相应水线,可以保证该链路作为备选链路,在优选链路承载不了流量后再参与ECMP,并且在不影响链路其他业务的情况下参与动态计算。In the above process, by lowering the priority of other service links and setting the corresponding waterline, the link can be guaranteed as an alternative link, and the preferred link can not participate in ECMP after the traffic is not carried, and does not affect the chain. Participate in dynamic calculations in the case of other businesses.
如图7所示,以下提供一个调整负载均衡的装置的另一个实施例,所述装置包括处理器302、存储介质304以及至少一个外部通信接口301;所述处理器302、存储介质304以及外部通信接口301均通过总线303连接。所述处理器302可为微处理器、中央处理器、数字信号处理器或可编程逻辑阵列等具有处理功能的电子元器件。As shown in FIG. 7, another embodiment of an apparatus for adjusting load balancing is provided below, the apparatus including a processor 302, a storage medium 304, and at least one external communication interface 301; the processor 302, the storage medium 304, and an external Communication interfaces 301 are each connected by a bus 303. The processor 302 can be a processing component such as a microprocessor, a central processing unit, a digital signal processor, or a programmable logic array.
所述存储介质304上存储有计算机可执行指令;所述处理器302执行所 述存储介质304中存储的所述计算机可执行指令至少可实现以下方案:Computer-executable instructions are stored on the storage medium 304; the processor 302 executes the The computer executable instructions stored in the storage medium 304 can at least implement the following scheme:
根据链路状况配置各个链路的优先级;Configure the priority of each link according to the link status;
根据所有链路的优先级,按照优先级从高到低的顺序依次转发当前链路的总流量,以调整负载均衡。According to the priority of all links, the total traffic of the current link is forwarded in order of priority from high to low to adjust load balancing.
本发明实施例还记载一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行本发明实施例所述调整负载均衡的方法中所述技术方案的至少其中之一,具体如图1所示的调整负载均衡方法。The embodiment of the present invention further describes a computer storage medium, where the computer storage medium stores a computer program, and the computer program is used to execute at least one of the technical solutions in the method for adjusting load balancing according to the embodiment of the present invention. First, specifically adjust the load balancing method as shown in FIG.
所述计算机存储介质可以为移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质;优选为非瞬间存储介质。The computer storage medium may be a removable storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. It is a non-transient storage medium.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Modifications made in accordance with the principles of the invention are understood to fall within the scope of the invention.

Claims (11)

  1. 一种调整负载均衡的方法,包括:A method of adjusting load balancing, including:
    根据链路状况配置各个链路的优先级;Configure the priority of each link according to the link status;
    根据所有链路的优先级,按照优先级从高到低的顺序依次转发当前链路的总流量,以调整负载均衡。According to the priority of all links, the total traffic of the current link is forwarded in order of priority from high to low to adjust load balancing.
  2. 如权利要求1所述的方法,其中,根据所有链路的优先级,按照优先级从高到低的顺序依次转发当前链路的总流量之前,还包括:The method of claim 1, wherein before the total traffic of the current link is forwarded in descending order of priority according to the priority of all the links, the method further includes:
    统计各条链路的流量,以确定当前链路的总流量。The traffic of each link is counted to determine the total traffic of the current link.
  3. 如权利要求1所述的方法,其中,按照优先级从高到低的顺序依次转发当前链路的总流量包括:The method of claim 1, wherein the total traffic of the current link is sequentially forwarded in descending order of priority, including:
    检测优先级最高的链路的带宽是否能够转发当前链路的所述总流量;Detecting whether the bandwidth of the link with the highest priority can forward the total traffic of the current link;
    在所述优先级最高的链路的带宽无法全部转发所述总流量的情况下,将剩余流量在所述优先级最高的链路的下一优先级对应的链路上进行转发;If the bandwidth of the link with the highest priority cannot be all the total traffic, the remaining traffic is forwarded on the link corresponding to the next priority of the link with the highest priority;
    若所述下一优先级对应链路的带宽仍无法全部转发所述剩余流量,则将转发后再次剩余的流量按照优先级顺序依次进行转发,直至所述总流量被全部转发。If the bandwidth of the link corresponding to the next priority cannot be completely forwarded, the remaining traffic after forwarding is sequentially forwarded in priority order until the total traffic is forwarded.
  4. 如权利要求3所述的方法,其中,所述方法还包括:The method of claim 3 wherein the method further comprises:
    当存在多个优先级相同的链路时,将当前待转发的流量按照所述链路的带宽比例进行分配转发。When there are multiple links with the same priority, the traffic to be forwarded is allocated and forwarded according to the bandwidth ratio of the link.
  5. 如权利要求1至4中任一项所述的方法,其中,按照优先级从高到低的顺序依次转发当前链路的总流量之后,还包括:The method according to any one of claims 1 to 4, wherein after the total traffic of the current link is sequentially forwarded in descending order of priority, the method further includes:
    按照预定时间间隔检测当前链路的总流量;Detecting the total traffic of the current link according to a predetermined time interval;
    在所述总流量改变的情况下,依据各条链路转发能力,重新计算各个 链路的带宽,其中,所述转发能力为:物理带宽与水线的乘积、或者物理带宽与水线的乘积和负载均衡带宽中最小的一个。In the case that the total traffic changes, each of the link forwarding capabilities is recalculated The bandwidth of the link, wherein the forwarding capability is: the product of the physical bandwidth and the watermark, or the smallest of the product of the physical bandwidth and the waterline and the load balancing bandwidth.
  6. 一种调整负载均衡的装置,其中,包括:A device for adjusting load balancing, including:
    配置模块,配置为根据链路状况配置各个链路的优先级;The configuration module is configured to configure the priority of each link according to the link status;
    转发模块,配置为根据所有链路的优先级,按照优先级从高到低的顺序依次转发当前链路的总流量,以调整负载均衡。The forwarding module is configured to forward the total traffic of the current link according to the priority of all links according to the priority from high to low to adjust load balancing.
  7. 如权利要求6所述的装置,其中,还包括:The apparatus of claim 6 further comprising:
    统计模块,配置为统计各条链路的流量,以确定当前链路的总流量。The statistics module is configured to collect traffic of each link to determine the total traffic of the current link.
  8. 如权利要求6所述的装置,其中,所述转发模块包括:The apparatus of claim 6, wherein the forwarding module comprises:
    检测单元,配置为检测优先级最高的链路的带宽是否能够转发当前链路的所述总流量;The detecting unit is configured to detect whether the bandwidth of the link with the highest priority can forward the total traffic of the current link;
    转发单元,配置为在所述优先级最高的链路的带宽无法全部转发所述总流量的情况下,将剩余流量在所述优先级最高的链路的下一优先级对应的链路上进行转发;在所述下一优先级对应链路的带宽仍无法全部转发所述剩余流量的情况下,将转发后再次剩余的流量按照优先级顺序依次进行转发,直至所述总流量被全部转发。The forwarding unit is configured to: when the bandwidth of the link with the highest priority cannot fully forward the total traffic, perform the remaining traffic on the link corresponding to the next priority of the link with the highest priority If the bandwidth of the link corresponding to the next priority is still unable to forward the remaining traffic, the traffic remaining after the forwarding is forwarded in the order of priority until the total traffic is forwarded.
  9. 如权利要求6所述的装置,其中,The apparatus of claim 6 wherein
    所述转发模块,还配置为在存在多个优先级相同的链路的情况下,将当前待转发的流量按照所述链路的带宽比例进行分配转发。The forwarding module is further configured to allocate and forward the traffic to be forwarded according to the bandwidth ratio of the link when there are multiple links with the same priority.
  10. 如权利要求6至9中任一项所述的装置,其中,还包括:The apparatus according to any one of claims 6 to 9, further comprising:
    检测模块,配置为按照预定时间间隔检测当前链路的总流量;The detecting module is configured to detect the total traffic of the current link according to a predetermined time interval;
    确定模块,配置为在所述总流量改变的情况下,依据各条链路的转发能力,重新计算各个链路的带宽,其中,所述转发能力为:物理带宽与水线的乘积、或者物理带宽与水线的乘积和负载均衡带宽中最小的一个。The determining module is configured to recalculate the bandwidth of each link according to the forwarding capability of each link, where the total traffic is changed, where the forwarding capability is: a product of physical bandwidth and waterline, or physical The smallest of the product of bandwidth and watermark and load balancing bandwidth.
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执 行指令,所述计算机可执行指令用于执行权利要求1至5中所述方法的至少其中之一。 A computer storage medium storing computer executable in the computer storage medium A line of instructions for performing at least one of the methods of claims 1 to 5.
PCT/CN2014/085865 2014-02-24 2014-09-03 Method and device for adjusting load balancing, and computer storage medium WO2015123985A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410063085.8 2014-02-24
CN201410063085.8A CN104869076A (en) 2014-02-24 2014-02-24 Load balance adjusting method and device

Publications (1)

Publication Number Publication Date
WO2015123985A1 true WO2015123985A1 (en) 2015-08-27

Family

ID=53877606

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/085865 WO2015123985A1 (en) 2014-02-24 2014-09-03 Method and device for adjusting load balancing, and computer storage medium

Country Status (2)

Country Link
CN (1) CN104869076A (en)
WO (1) WO2015123985A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453121A (en) * 2016-09-14 2017-02-22 上海烟草集团有限责任公司 Dynamic link load configuration method and system, and server
CN108449394A (en) * 2018-03-05 2018-08-24 北京华夏电通科技有限公司 A kind of dispatching method of data file, dispatch server and storage medium
CN113992589A (en) * 2021-10-21 2022-01-28 绿盟科技集团股份有限公司 Message distribution method and device and electronic equipment
CN114039979A (en) * 2021-11-22 2022-02-11 华平智慧信息技术(深圳)有限公司 Load balancing method, device, equipment and storage medium in link aggregation
CN115987873A (en) * 2022-12-30 2023-04-18 迈普通信技术股份有限公司 Data transmission method, device, switch and storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872079B (en) * 2016-05-12 2019-01-29 北京网瑞达科技有限公司 A kind of link equalization method based on domain name system DNS
CN107623638B (en) * 2016-07-15 2020-09-25 中国电信股份有限公司 Fault processing method and device for load balancing path
CN106533956A (en) * 2016-11-08 2017-03-22 中国电子科技集团公司第七研究所 Scheduling control method and system for plurality of relay links among communication nodes
CN108737264B (en) * 2017-04-19 2020-07-24 腾讯科技(深圳)有限公司 Data transmission method and device
CN110868698A (en) * 2019-10-08 2020-03-06 珠海众通乐行网络科技有限公司 Load balancing method among multiple LTE modules in high-speed rail environment
CN112492643B (en) * 2020-11-12 2023-02-14 普联技术有限公司 Multilink-based data forwarding method and device and terminal equipment
CN112491702A (en) * 2020-11-17 2021-03-12 广州西麦科技股份有限公司 Multilink intelligent scheduling method and device based on VPP router
CN112688798A (en) * 2020-12-11 2021-04-20 网宿科技股份有限公司 Link aggregation method of traffic forwarding equipment and traffic forwarding equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158420A (en) * 2011-05-25 2011-08-17 杭州华三通信技术有限公司 Service traffic scheduling method based on priority queue and device thereof
KR20130015800A (en) * 2011-08-05 2013-02-14 한국전자통신연구원 Multi-path qos(quality-of-service) routing method for wireless mesh network
CN103188165A (en) * 2013-03-12 2013-07-03 神州数码网络(北京)有限公司 Intelligent router multipath output load balancing method and router
CN103384218A (en) * 2012-05-03 2013-11-06 中兴通讯股份有限公司 Flow forward method and system on basis of service grade

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IL166615A (en) * 2005-02-01 2010-06-30 Ethos Networks Ltd Admission control for telecommunications networks
CN101227416A (en) * 2008-01-15 2008-07-23 中兴通讯股份有限公司 Method for distributing link bandwidth in communication network
CN101340370B (en) * 2008-08-14 2010-12-22 杭州华三通信技术有限公司 Link selection method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158420A (en) * 2011-05-25 2011-08-17 杭州华三通信技术有限公司 Service traffic scheduling method based on priority queue and device thereof
KR20130015800A (en) * 2011-08-05 2013-02-14 한국전자통신연구원 Multi-path qos(quality-of-service) routing method for wireless mesh network
CN103384218A (en) * 2012-05-03 2013-11-06 中兴通讯股份有限公司 Flow forward method and system on basis of service grade
CN103188165A (en) * 2013-03-12 2013-07-03 神州数码网络(北京)有限公司 Intelligent router multipath output load balancing method and router

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453121A (en) * 2016-09-14 2017-02-22 上海烟草集团有限责任公司 Dynamic link load configuration method and system, and server
CN106453121B (en) * 2016-09-14 2019-05-21 上海烟草集团有限责任公司 A kind of link dynamic load configuration method, system and server
CN108449394A (en) * 2018-03-05 2018-08-24 北京华夏电通科技有限公司 A kind of dispatching method of data file, dispatch server and storage medium
CN108449394B (en) * 2018-03-05 2021-08-13 北京华夏电通科技股份有限公司 Data file scheduling method, scheduling server and storage medium
CN113992589A (en) * 2021-10-21 2022-01-28 绿盟科技集团股份有限公司 Message distribution method and device and electronic equipment
CN113992589B (en) * 2021-10-21 2023-05-26 绿盟科技集团股份有限公司 Message distribution method and device and electronic equipment
CN114039979A (en) * 2021-11-22 2022-02-11 华平智慧信息技术(深圳)有限公司 Load balancing method, device, equipment and storage medium in link aggregation
CN115987873A (en) * 2022-12-30 2023-04-18 迈普通信技术股份有限公司 Data transmission method, device, switch and storage medium

Also Published As

Publication number Publication date
CN104869076A (en) 2015-08-26

Similar Documents

Publication Publication Date Title
WO2015123985A1 (en) Method and device for adjusting load balancing, and computer storage medium
US10772081B2 (en) Airtime-based packet scheduling for wireless networks
US20210336885A1 (en) Phantom queue link level load balancing system, method and device
US10110467B2 (en) Routing path selection based on dynamical metric values
US20190014053A1 (en) Network Flow Control Method And Network Device
US8879393B2 (en) Quality of service (QoS) configuration for network devices with multiple queues
US20150236962A1 (en) Method and system for using dynamic bandwidth detection to drive quality of service control refinement
WO2017024824A1 (en) Aggregated link-based traffic management method and device
CN103685054A (en) Multipath load balancing method based on service awareness
US20120275304A1 (en) Hierarchical profiled scheduling and shaping
CN108306831A (en) Route selecting method and device
EP2670094B1 (en) Method and device for load sharing
US20140269292A1 (en) Dynamic adjustment of quality of service parameters
WO2013050062A1 (en) Congestion handling in a base station of a mobile network
WO2016120691A1 (en) Method,apparatus and machine readable medium for traffic engineering in communications network having quality of service flows and best effort flows
WO2010099726A1 (en) Method and apparatus for port mapping
US20210274383A1 (en) Controlling apparatus, controlling method, terminal apparatus, and communication method
Xu et al. High-throughput anycast routing and congestion-free reconfiguration for SDNs
JP5403756B2 (en) Management device, program, and traffic control method
JP2015149537A (en) Path controller, system, and method
US20170155548A1 (en) Arrangements and methods performed by a wireless communication network and a router for facilitating routing of data packets in the network
JP5045683B2 (en) Communication system for performing traffic control in units of flow, management apparatus and program used in the communication system
WO2021093509A1 (en) Traffic distribution method and device
WO2019167734A1 (en) Transmission monitoring device, transmission device, system, method, and recording medium
CN117354246A (en) ECMP flow equalization method, ECMP flow equalization device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14882829

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14882829

Country of ref document: EP

Kind code of ref document: A1