WO2018001230A1 - Dynamic link aggregation implementation method and device and computer storage medium - Google Patents
Dynamic link aggregation implementation method and device and computer storage medium Download PDFInfo
- Publication number
- WO2018001230A1 WO2018001230A1 PCT/CN2017/090246 CN2017090246W WO2018001230A1 WO 2018001230 A1 WO2018001230 A1 WO 2018001230A1 CN 2017090246 W CN2017090246 W CN 2017090246W WO 2018001230 A1 WO2018001230 A1 WO 2018001230A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- bandwidth
- aggregation group
- traffic
- adjustment
- aggregation
- Prior art date
Links
Images
Definitions
- the present disclosure relates to the field of communications technologies, and in particular, to a dynamic link aggregation implementation method and apparatus, and a computer storage medium.
- Link aggregation is the combination of two or more data channels into a single channel that appears as a single, higher bandwidth logical link.
- the logical link is generally used to connect one or more devices with high bandwidth requirements, such as a server or server farm that connects to the backbone network.
- LACP Link Aggregation Control Protocol
- LACPDU Link Aggregation Control Protocol Data Unit
- the port advertises its system priority, system MAC address, port priority, port number, and operation key to the peer through sending LACPDUs.
- the peer compares the information with the information saved by the other ports to select the port that can be aggregated as the member port of the aggregation link. Therefore, the two parties can agree to join or exit the dynamic aggregation group.
- the LACP standard protocol can only determine whether to add a port to an aggregation group based on the physical status of the port.
- the description of the aggregation condition of the LACP standard protocol only focuses on the physical attributes of the port, that is, the port duplex mode, link state, and rate. If the attributes are all in accordance with the aggregation conditions, they are immediately added to the aggregation group. Therefore, the method of controlling the aggregation group according to the LACP standard protocol is biased toward the physical state of the port. The flexibility is relatively low and the utilization of the member ports of the aggregation group cannot be controlled.
- the obtaining module is configured to dynamically obtain traffic parameter information of the current access side
- the adjustment module is used to dynamically adjust the number of member ports in an aggregation group according to the aggregation group bandwidth requirement.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to perform at least one of the foregoing methods.
- the traffic adjustment policy may be configured to obtain the traffic parameter information of the current access side, determine the bandwidth adjustment requirement of the aggregation group according to the traffic adjustment policy and the traffic parameter information, and then adjust the aggregation group according to the requirement.
- the number of member ports With the solution of the embodiment of the present invention, the adjustment of the member port needs to consider the traffic parameter information of the current access side, and is more suitable for the current transmission requirement of the access side.
- the method determines whether the aggregation group needs to be added to the aggregation group according to the physical correlation attribute of the port.
- the bandwidth adjustment requirement of the aggregation group can be flexibly determined according to the current traffic parameter information of the access side to ensure that the dynamic change of the aggregation group is satisfied.
- Access side requirements. Therefore, the dynamic link aggregation implementation method of the present invention has higher flexibility, can improve the utilization of the physical port, reduce the maintenance cost, simplify the networking complexity, achieve the requirement of optimizing the layout in the software, and improve the user satisfaction.
- FIG. 1 is a flowchart of a method for implementing dynamic link aggregation according to Embodiment 1 of the present invention
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- this embodiment provides a method for implementing dynamic link aggregation.
- traffic related information of the current access side may be taken into consideration. This ultimately enables dynamic control of the aggregation group member ports.
- the dynamic link aggregation implementation method in this embodiment includes:
- the aggregation group is a logical port formed by multiple physical ports being aggregated through links.
- the member port is the physical port included in the aggregation group.
- the transmission of the data amount on the access side is dynamically changed, so the demand for bandwidth on the access side is also dynamically changed, and may increase or decrease.
- the traffic parameter information obtained in the embodiment S102 reflects the bandwidth requirement of the current access side.
- the bandwidth adjustment requirements of the aggregation group determined according to the traffic parameter information and the traffic adjustment policy in S103 include adding member ports and deleting member ports, increasing and decreasing.
- the quantity is dynamically determined as the actual situation changes.
- the bandwidth of each member port of the aggregation group can be the same or different.
- the number of member ports in the aggregation group can be dynamically adjusted according to the port.
- the bandwidth of the member port to be added for example, the bandwidth requirement of the aggregation group is +8M, that is, the bandwidth of the port is increased by 8M.
- the bandwidth of the port that can be added to the aggregation group is 10M and 1M. In this embodiment, 8 1M can be added.
- the port is added to the aggregation group, and the port can be directly added to a 10M port. This embodiment does not limit this.
- the traffic adjustment policy when the traffic adjustment side policy is configured, the traffic adjustment policy may be configured based on the consideration of satisfying the maximum bandwidth of the access side.
- the traffic adjustment policy includes a bandwidth protection policy, where the bandwidth protection policy is used to ensure The aggregation group bandwidth meets the maximum bandwidth requirement of the access side.
- the maximum bandwidth change amount information may be the difference between the current maximum bandwidth and the maximum bandwidth when the latest adjustment is performed.
- the difference is positive, the maximum bandwidth of the access side increases, and the aggregation group needs to increase the bandwidth accordingly.
- the bandwidth of the adjusted aggregation group is not lower than the maximum bandwidth of the access side.
- the difference is negative, the maximum bandwidth of the access side is reduced.
- the aggregation group is used.
- the bandwidth can be reduced accordingly, that is, the number of member ports is reduced.
- the adjusted bandwidth still needs to be no less than the maximum bandwidth of the access side. Therefore, the bandwidth reduction of the aggregation group needs to meet the above requirements.
- the reduction is less than or equal to the absolute value of the maximum bandwidth variation information.
- the traffic adjustment policy when the traffic adjustment side policy is configured, the traffic adjustment policy may be configured according to the actual traffic of the access side based on the consideration of saving the port resources.
- the traffic adjustment policy includes a resource utilization policy, and the resource is used.
- the policy is used to ensure that the bandwidth of the aggregation group meets the protection multiple of the actual traffic on the access side.
- the protection multiple can be set according to the actual needs, for example, it is set to 2 times, 3 times, etc., which is not limited in this embodiment. In practice, it is more common to set the protection factor to 2 times.
- the resource utilization policy is used to ensure that the aggregation group bandwidth meets the protection multiple of the actual traffic on the access side;
- the traffic parameter information includes: actual traffic change amount information.
- the S103 determines the bandwidth adjustment requirement of the aggregation group according to the traffic parameter information and the traffic adjustment policy. When the actual traffic change amount information is positive, the bandwidth adjustment requirement of the aggregation group is increased bandwidth, and the increase amount is greater than or equal to the actual traffic change amount information and protection. The product of the multiples; when the actual flow change amount information is negative, the bandwidth adjustment requirement of the aggregation group is to reduce the bandwidth, and the decrease amount is less than or equal to the product of the absolute value of the actual flow change amount information and the protection multiple.
- the aggregation group When the difference is positive, the actual traffic on the access side increases. The aggregation group needs to increase the bandwidth to meet the bandwidth requirement of the access side. Similarly, when the difference is negative, the actual traffic on the access side decreases. In this case, in order to save bandwidth resources and port resources, the aggregation group can reduce the bandwidth accordingly, that is, reduce the number of member ports. It is to be noted that, in the last time, after the bandwidth of the aggregation group is adjusted, the bandwidth of the aggregation group at the time is required to meet the bandwidth of the access side. Therefore, in this embodiment, when the bandwidth of the aggregation group is currently adjusted, Only the correspondence between the bandwidth change amount of the aggregation group and the current traffic change amount information may be considered.
- FIG. 2 shows a schematic diagram of accessing an aggregation group on the aggregation side.
- DUT1 and DUT2 are core switching devices, and physical ports in the middle are all connected by physical links.
- All the lines are 1G bandwidth links, and the physical state meets the requirements of joining the aggregation group.
- the 1G bandwidth is not to be understood as a limitation on the port bandwidth.
- the bandwidth of the port in this embodiment is not limited, and may be 10M, 100M, or the like.
- the small-grain multi-connection flexible extension of the physical channel is implemented, and the aggregation group is adapted.
- the bandwidth of the general aggregation group must be met.
- the maximum bandwidth requirement At this time, if the historical traffic information is found, the historical traffic on the access side does not exceed a certain fixed value, and the historical traffic on the access side may decrease or may fluctuate up and down within a certain range. Generally, the traffic on the access side may not exceed the fixed value in a certain period of time. When the difference between the fixed value and the maximum bandwidth is large, the bandwidth of the aggregation group is limited or not. The maximum bandwidth obviously causes the bandwidth of the aggregation group to be wasted, which is not conducive to improving the utilization of the port.
- the following figure illustrates the process of determining the calculated value of the preset function. If the historical traffic on the access side is the historical traffic of the first 3 days of the current time, the historical traffic is always floating between 5M and 8M, and the maximum bandwidth on the access side is 15M. The current actual traffic on the access side is 7M. It can be foreseen that the actual traffic on the access side may not exceed 8M in the future.
- the default function calculation value is not less than 8M, or it can be set at 8M. Between 15M, if it is in historical traffic, the peak value of traffic has reached 9M, and the number of peak occurrences is large. In order to meet the peak traffic, the data on the access side has no loss requirement, and the calculated function value can be set to be low. For the value of 9M, in the consideration of saving port resources, the calculation value of the prediction function can be set to a value between 9M and 15M.
- the configuration of the aggregation group is the best choice.
- the configuration on the aggregation side is very simple and easy to maintain.
- the aggregation group can be automatically expanded and contracted without additional configuration, so as to fully utilize the port resources on the aggregation side.
- the obtaining module 32 is configured to dynamically obtain traffic parameter information of the current access side.
- the adjustment module 34 is configured to dynamically adjust the number of member ports in the aggregation group according to the bandwidth requirement of the aggregation group.
- the traffic adjustment policy configured by the configuration module 31 can be understood as a policy based on data related to traffic on the access side.
- the data related to the traffic on the access side includes, but is not limited to, the maximum bandwidth on the access side, the actual traffic on the access side, the historical traffic on the access side, and the data on the access side.
- the traffic adjustment policy is used to determine the conditions that the adjusted aggregation group bandwidth should meet. In order to further determine how to adjust the bandwidth of the aggregation group, and make the adjustment of the bandwidth of the aggregation group closer to the actual needs, the acquisition module 32 needs to dynamically obtain the traffic parameter information of the current access side.
- the determining module 33 is configured to determine, when the actual traffic change amount information is positive, that the bandwidth adjustment requirement of the aggregation group is increased bandwidth, and the increase amount is greater than or equal to the product of the actual traffic change amount information and the protection multiple; when the actual traffic change amount information is negative When the value is determined, the bandwidth adjustment requirement of the aggregation group is determined as the bandwidth reduction, and the reduction amount is less than or equal to the product of the absolute value of the actual traffic change amount information and the protection multiple.
- the dynamic link aggregation implementation apparatus of this embodiment may further include an allocation module 35, configured to divide a plurality of isolated physical link domains on the aggregation side, and configure an aggregation group in each physical link domain;
- the determining module 33 is configured to dynamically adjust the number of member ports in the aggregation group in the physical link domain corresponding to the aggregation group according to the bandwidth requirement of the aggregation group.
- the configuration module can configure a traffic adjustment policy; the determining module can determine the bandwidth adjustment requirement of the aggregation group according to the traffic adjustment policy configured by the configuration module and the traffic parameter information obtained by the obtaining module, and the adjustment module is configured according to the The aggregation group bandwidth requirement dynamically adjusts the number of member ports in the aggregation group.
- the current traffic parameter information of the access side is combined with the current traffic parameter information of the access group when the bandwidth of the member port of the aggregation group is adjusted according to the physical state of the port.
- the adjustment mode is more flexible, and the aggregation group bandwidth can be dynamically adjusted to adapt to the new access side bandwidth requirement, which is beneficial to improving the utilization of the physical port and saving the bandwidth cost.
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present disclosure relates to a dynamic link aggregation implementation method and a device and a computer storage medium. By the present invention, it is possible to configure a traffic adjustment strategy to obtain traffic parameter information on a current access side, determine an aggregation group bandwidth adjustment requirement according to the traffic adjustment strategy and the traffic parameter information, and then adjust the number of member ports of the aggregation group according to the requirement. In the present invention, needs of the adjustment to the member port take into account the traffic parameter information on the current access side and fit better for the transmission demand of the current access side. In contrary to the prior art wherein whether or not to join the aggregation group is determined according to the physical attribute of the port, the present invention can flexibly determine the aggregation group bandwidth adjustment requirement according to the current traffic parameter information on the access side, and ensure that the dynamic variation of the aggregation group meets the requirement on the access side, which obviously has a greater flexibility, helps to improve the utilization of the physical port, reduces maintenance costs, and simplifies the networking complexity, thereby meeting the requirement of software optimizing layout and improving user satisfaction.
Description
本公开涉及通信技术领域,具体涉及一种动态链路聚合实现方法和装置和计算机存储介质。The present disclosure relates to the field of communications technologies, and in particular, to a dynamic link aggregation implementation method and apparatus, and a computer storage medium.
链路聚合是将两个或更多数据信道结合成一个单个的信道,该信道以一个单个的更高带宽的逻辑链路出现。该逻辑链路一般用来连接一个或多个带宽需求大的设备,例如连接骨干网络的服务器或服务器群。Link aggregation is the combination of two or more data channels into a single channel that appears as a single, higher bandwidth logical link. The logical link is generally used to connect one or more devices with high bandwidth requirements, such as a server or server farm that connects to the backbone network.
LACP(Link Aggregation Control Protocol,链路汇聚控制协议)是一种基于IEEE802.3ad标准实现的链路动态汇聚的协议。LACP通过LACPDU(Link Aggregation Control Protocol Data Unit,链路汇聚控制协议数据单元)与对端交互信息,来确定哪些端口可以激活成为链路聚合的成员端口。LACP (Link Aggregation Control Protocol) is a protocol for dynamic link aggregation based on the IEEE802.3ad standard. The LACP exchanges information with the peer through the LACPDU (Link Aggregation Control Protocol Data Unit) and the peer to determine which ports can be activated as member ports of the link aggregation.
现有技术中,启用某端口的LACP标准协议后,该端口将通过发送LACPDU向对端通告自己的系统优先级、系统MAC地址、端口优先级、端口号和操作Key等信息。对端接收到这些信息后,将这些信息与其它端口所保存的信息比较以选择能够汇聚的端口作为汇聚链路的成员端口,从而双方可以对端口加入或退出某个动态汇聚组达成一致。In the prior art, after the LACP standard protocol of a port is enabled, the port advertises its system priority, system MAC address, port priority, port number, and operation key to the peer through sending LACPDUs. After receiving the information, the peer compares the information with the information saved by the other ports to select the port that can be aggregated as the member port of the aggregation link. Therefore, the two parties can agree to join or exit the dynamic aggregation group.
LACP标准协议只能根据端口的物理状态来决定是否将该端口加入聚合组,LACP标准协议对聚合条件的描述,只关注在端口的物理属性上,即当端口双工模式,链路状态,速率等属性都符合聚合条件,就立即加入聚合组。所以根据LACP标准协议控制聚合组的方式还是偏向对端口物理状态的要求,灵活性比较低,不能控制聚合组的成员端口的利用率。The LACP standard protocol can only determine whether to add a port to an aggregation group based on the physical status of the port. The description of the aggregation condition of the LACP standard protocol only focuses on the physical attributes of the port, that is, the port duplex mode, link state, and rate. If the attributes are all in accordance with the aggregation conditions, they are immediately added to the aggregation group. Therefore, the method of controlling the aggregation group according to the LACP standard protocol is biased toward the physical state of the port. The flexibility is relatively low and the utilization of the member ports of the aggregation group cannot be controlled.
发明内容Summary of the invention
本发明实施例提供一种动态链路聚合实现方法和装置和计算机存储介质,解决现有技术中只根据端口的物理状态控制链路聚合导致的,控制方式灵活性差,聚合组的成员端口的利用率得不到保证的问题。The embodiments of the present invention provide a method and an apparatus for implementing dynamic link aggregation, and a computer storage medium, which solves the problem that the control mode is poorly flexed according to the physical state of the port, and the member ports of the aggregation group are used. The rate is not guaranteed.
本发明实施例提供一种动态链路聚合实现方法,包括:
The embodiment of the invention provides a dynamic link aggregation implementation method, including:
配置流量调整策略;Configure a traffic adjustment policy.
动态获取当前接入侧的流量参数信息;Dynamically obtaining traffic parameter information of the current access side;
根据流量参数信息和流量调整策略确定聚合组带宽调整需求;Determine the aggregation group bandwidth adjustment requirement according to the traffic parameter information and the traffic adjustment policy;
根据聚合组带宽需求动态调整聚合组中的成员端口数量。Dynamically adjust the number of member ports in an aggregation group based on the bandwidth requirements of the aggregation group.
为解决上述技术问题,本发明实施例还提供一种动态链路聚合实现装置,包括:To solve the above technical problem, an embodiment of the present invention further provides a dynamic link aggregation implementation apparatus, including:
配置模块:用于配置流量调整策略;Configuration module: used to configure a traffic adjustment policy.
获取模块:用于动态获取当前接入侧的流量参数信息;The obtaining module is configured to dynamically obtain traffic parameter information of the current access side;
确定模块:用于根据流量参数信息和流量调整策略确定聚合组带宽调整需求;Determining module: configured to determine an aggregation group bandwidth adjustment requirement according to the traffic parameter information and the traffic adjustment policy;
调整模块:用于根据聚合组带宽需求动态调整聚合组中的成员端口数量。The adjustment module is used to dynamically adjust the number of member ports in an aggregation group according to the aggregation group bandwidth requirement.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法中的至少其中之一。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to perform at least one of the foregoing methods.
在本发明实施例提供的技术方案中,可以配置流量调整策略,获取当前接入侧的流量参数信息,根据流量调整策略和流量参数信息确定聚合组带宽调整需求,然后根据该需求调整聚合组的成员端口数量。采用本发明实施例的方案,对成员端口的调整需要考虑当前接入侧的流量参数信息,更贴合当前的接入侧的传输需求。相对于现有技术中,根据端口的物理相关属性判断其是否加入聚合组的方式,本实施例可以根据接入侧当前的流量参数信息灵活确定聚合组带宽调整需求,确保聚合组的动态变化满足接入侧的需求。因此本发明的动态链路聚合实现方法具有更高的灵活性,可以提高物理端口的利用率,减少维护成本,简化组网复杂度,达到在软件优化布局的需要,提高用户的满意度。In the technical solution provided by the embodiment of the present invention, the traffic adjustment policy may be configured to obtain the traffic parameter information of the current access side, determine the bandwidth adjustment requirement of the aggregation group according to the traffic adjustment policy and the traffic parameter information, and then adjust the aggregation group according to the requirement. The number of member ports. With the solution of the embodiment of the present invention, the adjustment of the member port needs to consider the traffic parameter information of the current access side, and is more suitable for the current transmission requirement of the access side. Compared with the prior art, the method determines whether the aggregation group needs to be added to the aggregation group according to the physical correlation attribute of the port. In this embodiment, the bandwidth adjustment requirement of the aggregation group can be flexibly determined according to the current traffic parameter information of the access side to ensure that the dynamic change of the aggregation group is satisfied. Access side requirements. Therefore, the dynamic link aggregation implementation method of the present invention has higher flexibility, can improve the utilization of the physical port, reduce the maintenance cost, simplify the networking complexity, achieve the requirement of optimizing the layout in the software, and improve the user satisfaction.
图1为本发明实施例一提供的一种动态链路聚合实现方法的流程图;FIG. 1 is a flowchart of a method for implementing dynamic link aggregation according to Embodiment 1 of the present invention;
图2为本发明实施例一提供的汇聚侧接入聚合组的示意图;2 is a schematic diagram of a convergence side access aggregation group according to Embodiment 1 of the present invention;
图3为本发明实施例二提供的一种动态链路聚合实现装置的模块示意图。FIG. 3 is a schematic block diagram of a device for implementing dynamic link aggregation according to Embodiment 2 of the present invention.
下面通过具体实施方式结合附图对本发明作进一步详细说明。
The present invention will be further described in detail below with reference to the accompanying drawings.
实施例一:Embodiment 1:
参见图1,本实施例提供一种动态链路聚合实现方法,在控制链路聚合的时候,可以将当前接入侧的流量相关信息考虑在内。使得最终实现对聚合组成员端口的动态控制。本实施例的动态链路聚合实现方法包括:Referring to FIG. 1 , this embodiment provides a method for implementing dynamic link aggregation. When controlling link aggregation, traffic related information of the current access side may be taken into consideration. This ultimately enables dynamic control of the aggregation group member ports. The dynamic link aggregation implementation method in this embodiment includes:
S101、配置流量调整策略;S101. Configure a traffic adjustment policy.
S102、动态获取当前接入侧的流量参数信息;S102. Dynamically obtain traffic parameter information of the current access side.
S103、根据流量参数信息和流量调整策略确定聚合组带宽调整需求;其中,聚合组是多个物理端口通过链路聚合,组成的逻辑端口。S103. Determine an aggregation group bandwidth adjustment requirement according to the traffic parameter information and the traffic adjustment policy. The aggregation group is a logical port formed by multiple physical ports being aggregated through links.
S104、根据聚合组带宽需求动态调整聚合组中的成员端口数量。S104. Dynamically adjust the number of member ports in the aggregation group according to the bandwidth requirement of the aggregation group.
其中,成员端口是聚合组下所包含的物理端口。The member port is the physical port included in the aggregation group.
在本实施例中,流量调整策略可以理解为基于与接入侧的流量相关的数据得到的策略。与接入侧的流量相关的数据包括但不限于接入侧的最大带宽、接入侧的实际流量、接入侧的历史流量、接入侧的平巨额流量的等数据。流量调整策略用来确定调整后的聚合组带宽应满足的条件。为了进一步确定如何调整聚合组带宽,且使得对聚合组带宽的调整更贴近实际需要,需要考虑到当前的接入侧对于带宽的需求,所以在本实施例S102中,动态获取了当前接入侧的流量参数信息,这里的流量参数信息可以理解为本段开头介绍的与接入侧的流量相关的数据,包括但不限于接入侧当前流量、接入侧最大带宽需求,接入侧的历史流量等。在获取了当前接入的流量参数信息以及流量调整策略后,可以明确当前接入侧的需求,明确聚合组带宽调整的需求,动态地调整聚合组中的成员端口数量。可以预见,本实施例在S104中,加入聚合组的端口的物理状态都需要符合加入聚合组的条件,本实施例中加入聚合组的成员端口是在这些物理状态符合聚合组要求的端口中选择的。In this embodiment, the traffic adjustment policy can be understood as a policy based on data related to traffic on the access side. The data related to the traffic on the access side includes, but is not limited to, the maximum bandwidth on the access side, the actual traffic on the access side, the historical traffic on the access side, and the data on the access side. The traffic adjustment policy is used to determine the conditions that the adjusted aggregation group bandwidth should meet. In order to further determine how to adjust the bandwidth of the aggregation group, and the adjustment of the bandwidth of the aggregation group is made closer to the actual needs, the current access side needs to be considered for the bandwidth. Therefore, in the embodiment S102, the current access side is dynamically acquired. The traffic parameter information, where the traffic parameter information can be understood as the data related to the traffic on the access side, including but not limited to the current traffic on the access side, the maximum bandwidth requirement on the access side, and the history of the access side. Traffic, etc. After the current traffic parameter information and the traffic adjustment policy are obtained, the requirements of the current access side can be clarified, the bandwidth adjustment of the aggregation group can be clarified, and the number of member ports in the aggregation group can be dynamically adjusted. It is foreseen that in the embodiment, the physical state of the port that is added to the aggregation group needs to meet the conditions for joining the aggregation group. In this embodiment, the member ports that join the aggregation group are selected in the ports whose physical states meet the requirements of the aggregation group. of.
可以预见,在实际中,接入侧的数据量的传输是动态变化的,所以接入侧对带宽的需求也是动态变化的,可能增加也可能降低。本实施例S102中获取的流量参数信息反映了当前接入侧的带宽需求,S103中根据流量参数信息和流量调整策略确定的聚合组带宽调整需求包括增加成员端口以及删除成员端口,增加和减少的数量随实际情况的变化动态确定。It can be foreseen that in practice, the transmission of the data amount on the access side is dynamically changed, so the demand for bandwidth on the access side is also dynamically changed, and may increase or decrease. The traffic parameter information obtained in the embodiment S102 reflects the bandwidth requirement of the current access side. The bandwidth adjustment requirements of the aggregation group determined according to the traffic parameter information and the traffic adjustment policy in S103 include adding member ports and deleting member ports, increasing and decreasing. The quantity is dynamically determined as the actual situation changes.
其中,聚合组的每个成员端口的带宽可以相同,也可以不相同,当成员端口的带宽不相同的时候,S104中,动态调整聚合组中的成员端口数量时,可以根据端口的
带宽选择具体加入的成员端口,例如,本次聚合组带宽需求是+8M,即增加8M的带宽,此时,可以加入聚合组的端口的带宽为10M、1M,本实施例可以将8个1M的端口加入聚合组中,也可以直接加入一个10M的端口,本实施例对此不作限定。The bandwidth of each member port of the aggregation group can be the same or different. When the bandwidth of the member ports is different, the number of member ports in the aggregation group can be dynamically adjusted according to the port.
For the bandwidth of the member port to be added, for example, the bandwidth requirement of the aggregation group is +8M, that is, the bandwidth of the port is increased by 8M. In this case, the bandwidth of the port that can be added to the aggregation group is 10M and 1M. In this embodiment, 8 1M can be added. The port is added to the aggregation group, and the port can be directly added to a 10M port. This embodiment does not limit this.
在本实施例中,在配置流量调整侧策略的时候,可以基于满足接入侧的最大带宽的考虑配置流量调整策略,此时,该流量调整策略包括带宽保护策略,该带宽保护策略用于确保聚合组带宽满足接入侧最大带宽需求。此时,S102中的流量参数信息包括:接入侧的最大带宽变化量信息;在S103中,根据流量参数信息和流量调整策略确定聚合组带宽调整需求包括:当最大带宽变化量信息为正值时,聚合组带宽调整需求为增加带宽,且增加量大于等于最大带宽变化量信息;当最大带宽变化量信息为负值时,聚合组带宽调整需求为减少带宽,减少量小于等于最大带宽变化量信息的绝对值。In this embodiment, when the traffic adjustment side policy is configured, the traffic adjustment policy may be configured based on the consideration of satisfying the maximum bandwidth of the access side. At this time, the traffic adjustment policy includes a bandwidth protection policy, where the bandwidth protection policy is used to ensure The aggregation group bandwidth meets the maximum bandwidth requirement of the access side. At this time, the traffic parameter information in S102 includes: the maximum bandwidth change amount information on the access side; in S103, determining the aggregation group bandwidth adjustment requirement according to the traffic parameter information and the traffic adjustment policy includes: when the maximum bandwidth change amount information is positive The aggregation group bandwidth adjustment requirement is to increase the bandwidth, and the increase amount is greater than or equal to the maximum bandwidth change amount information; when the maximum bandwidth change amount information is negative, the aggregation group bandwidth adjustment requirement is to reduce the bandwidth, and the decrease amount is less than or equal to the maximum bandwidth change amount. The absolute value of the information.
其中,最大带宽变化量信息可以是当前的最大带宽与最近一次调整时候的最大带宽之间的差值,当差值为正时,说明接入侧的最大带宽增加,聚合组需要相应地增加带宽,使得调整后的聚合组带宽不低于接入侧的最大带宽;类似的,当差值为负时,说明接入侧的最大带宽减少,此时,为了节约带宽资源和端口资源,聚合组可以相应地减少带宽,也即降低成员端口数量,但是为了满足接入侧的带宽需求,调整后的带宽还是需要不低于接入侧的最大带宽,因此,聚合组带宽的减少量需要满足上述的相关条件:减少量小于等于最大带宽变化量信息的绝对值。The maximum bandwidth change amount information may be the difference between the current maximum bandwidth and the maximum bandwidth when the latest adjustment is performed. When the difference is positive, the maximum bandwidth of the access side increases, and the aggregation group needs to increase the bandwidth accordingly. The bandwidth of the adjusted aggregation group is not lower than the maximum bandwidth of the access side. Similarly, when the difference is negative, the maximum bandwidth of the access side is reduced. In this case, to save bandwidth resources and port resources, the aggregation group is used. The bandwidth can be reduced accordingly, that is, the number of member ports is reduced. However, in order to meet the bandwidth requirement of the access side, the adjusted bandwidth still needs to be no less than the maximum bandwidth of the access side. Therefore, the bandwidth reduction of the aggregation group needs to meet the above requirements. Related conditions: The reduction is less than or equal to the absolute value of the maximum bandwidth variation information.
在本实施例中,在配置流量调整侧策略的时候,可以基于节约端口资源的考虑,根据接入侧的实际流量的配置流量调整策略,此时,该流量调整策略包括资源利用策略,该资源利用策略用于确保聚合组带宽满足接入侧实际流量的保护倍数。这里的保护倍数可以根据实际的需要设定,例如设置为2倍,3倍等等,本实施例对此没有限定。在实际中,比较常用的是将保护倍数设置为2倍。In this embodiment, when the traffic adjustment side policy is configured, the traffic adjustment policy may be configured according to the actual traffic of the access side based on the consideration of saving the port resources. At this time, the traffic adjustment policy includes a resource utilization policy, and the resource is used. The policy is used to ensure that the bandwidth of the aggregation group meets the protection multiple of the actual traffic on the access side. The protection multiple can be set according to the actual needs, for example, it is set to 2 times, 3 times, etc., which is not limited in this embodiment. In practice, it is more common to set the protection factor to 2 times.
进一步地,保护倍数还可以结合最近一定时间内的接入侧的流量峰值来确定,例如,在当前时刻往前一天内,接入侧的实际流量的最高峰值为12M,且出现该峰值的次数较多,持续时间较长,可以推测,当前的接入侧的实际流量在未来一段时间内很大程度上会出现峰值,如果调整后的聚合组带宽低于峰值,很可能造成数据流丢失等错误发生,最终为用户带来损失,基于此种考虑,本实施例的保护倍数的设置可以是由最近一段时间频繁出现的流量峰值与当前实际的流量值来确定。例如,当前接入
的实际流量为8M,为了确保聚合组带宽能满足接入侧的流量峰值要求,将保护倍数设置为不低于12/8=1.5的数值。Further, the protection multiple may also be determined by combining the traffic peak value of the access side in a certain period of time. For example, the current peak of the actual traffic on the access side is 12M in the previous day, and the number of times the peak occurs. More, the duration is longer. It can be inferred that the current actual traffic on the access side will peak to a large extent in the future. If the adjusted aggregation group bandwidth is lower than the peak value, it is likely to cause data stream loss, etc. The error occurs and eventually brings losses to the user. Based on this consideration, the setting of the protection multiple of the present embodiment may be determined by the peak value of the traffic frequently occurring in the most recent period and the current actual traffic value. For example, current access
The actual traffic is 8M. To ensure that the bandwidth of the aggregation group can meet the peak traffic demand on the access side, set the protection multiplier to a value not lower than 12/8=1.5.
此外,本实施例的保护倍数还可以根据其他数据得到,只要保证保护倍数对应的聚合组带宽满足接入侧的传输数据无损失的需求即可。In addition, the protection multiple of the embodiment may be obtained according to other data, as long as the bandwidth of the aggregation group corresponding to the protection multiple is satisfied, and the transmission data of the access side is not required to be lost.
在资源利用策略用于确保聚合组带宽满足接入侧实际流量的保护倍数时;流量参数信息包括:实际流量变化量信息。S103中根据流量参数信息和流量调整策略确定聚合组带宽调整需求包括:当实际流量变化量信息为正值时,聚合组带宽调整需求为增加带宽,且增加量大于等于实际流量变化量信息与保护倍数的乘积;当实际流量变化量信息为负值时,聚合组带宽调整需求为减少带宽,减少量小于等于实际流量变化量信息的绝对值与保护倍数的乘积。The resource utilization policy is used to ensure that the aggregation group bandwidth meets the protection multiple of the actual traffic on the access side; the traffic parameter information includes: actual traffic change amount information. The S103 determines the bandwidth adjustment requirement of the aggregation group according to the traffic parameter information and the traffic adjustment policy. When the actual traffic change amount information is positive, the bandwidth adjustment requirement of the aggregation group is increased bandwidth, and the increase amount is greater than or equal to the actual traffic change amount information and protection. The product of the multiples; when the actual flow change amount information is negative, the bandwidth adjustment requirement of the aggregation group is to reduce the bandwidth, and the decrease amount is less than or equal to the product of the absolute value of the actual flow change amount information and the protection multiple.
其中,实际流量变化量信息反应的当前的实际流量的变化,该变化必然有参照对象,考虑到本次对聚合组带宽的调整是基于最近一次调整后的聚合组带宽,将实际流量变化量信息定义为当前的实际流量与最近一次调整聚合组带宽时候的实际流量之间的差值是比较合理的。The current traffic change information reflects the current actual traffic change. The change must have a reference object. Considering that the adjustment of the bandwidth of the aggregation group is based on the bandwidth of the latest adjusted aggregation group, the actual traffic change information is obtained. It is reasonable to define the difference between the current actual traffic and the actual traffic when the aggregation group bandwidth was last adjusted.
当差值为正时,说明接入侧的实际流量增加,聚合组需要相应地增加带宽满足接入侧的带宽需求;类似的,当差值为负时,说明接入侧的实际流量减少,此时,为了节约带宽资源和端口资源,聚合组可以相应地减少带宽,也即降低成员端口数量。需要注意的是,一般认为,在最近一次对聚合组带宽进行调整后,当时的聚合组带宽是满足接入侧的带宽需要的,所以,本实施例在当前对聚合组带宽进行调整时,可以只考虑聚合组的带宽变化量与当前流量变化量信息之间的对应关系即可。When the difference is positive, the actual traffic on the access side increases. The aggregation group needs to increase the bandwidth to meet the bandwidth requirement of the access side. Similarly, when the difference is negative, the actual traffic on the access side decreases. In this case, in order to save bandwidth resources and port resources, the aggregation group can reduce the bandwidth accordingly, that is, reduce the number of member ports. It is to be noted that, in the last time, after the bandwidth of the aggregation group is adjusted, the bandwidth of the aggregation group at the time is required to meet the bandwidth of the access side. Therefore, in this embodiment, when the bandwidth of the aggregation group is currently adjusted, Only the correspondence between the bandwidth change amount of the aggregation group and the current traffic change amount information may be considered.
例如,当实际流量变化量为+4M时,说明当前的接入侧的实际流量比上一次聚合组带宽调整时的实际流量增加了4M,此时,聚合组带宽的变化量需要能满足增加的4M流量的传输。由此,在资源利用策略确保聚合组带宽满足接入侧实际流量的保护倍数时,只需要根据保护倍数和4M即可得到聚合组带宽的增加量,假如保护倍数为2倍,本次聚合组带宽调整需求为对聚合组带宽的增加量不低于8M。For example, when the actual traffic change is +4M, the current traffic on the access side is increased by 4M compared to the actual traffic on the previous aggregation group. In this case, the bandwidth of the aggregation group needs to be increased. 4M traffic transmission. Therefore, when the resource utilization policy ensures that the bandwidth of the aggregation group meets the protection ratio of the actual traffic on the access side, the bandwidth of the aggregation group can be increased according to the protection multiple and 4M. If the protection multiple is doubled, the aggregation group is used. The bandwidth adjustment requirement is that the increase of the bandwidth of the aggregation group is not less than 8M.
例如,当实际流量变化量为-4M时,说明当前的接入侧的实际流量比上一次聚合组带宽调整时的实际流量减少了4M,此时,聚合组带宽的变化量需要能满足实际流量的传输。由此,在资源利用策略确保聚合组带宽满足接入侧实际流量的保护倍数时,聚合组带宽的减少量需要不超过保护倍数乘以实际流量变化量的局对峙得到的数值,
假如保护倍数为2倍,本次聚合组带宽调整需求为对聚合组带宽的减少量不超过8M。For example, when the actual traffic change is -4M, the current traffic on the access side is reduced by 4M compared to the actual traffic on the previous aggregation group. In this case, the bandwidth of the aggregation group needs to meet the actual traffic. Transmission. Therefore, when the resource utilization policy ensures that the bandwidth of the aggregation group meets the protection multiple of the actual traffic on the access side, the bandwidth reduction of the aggregation group needs to exceed the value obtained by multiplying the protection multiplier by the actual traffic change amount.
If the protection ratio is doubled, the bandwidth adjustment requirement of the aggregation group is that the bandwidth reduction of the aggregation group does not exceed 8M.
此外,在实施例中,当流程调整策略为资源利用策略时,若聚合组上一次调整时也是根据资源利用策略使得聚合组带宽满足接入侧实际流量的保护倍数,在本次进行调整时,流量参数信息还可以包括当前的接入侧实际流量,根据保护倍数,计算出当前的聚合组带宽需要满足的带宽值,例如当前的接入侧实际流量为5M,保护倍数为2倍,则当前聚合组带宽需要至少10M,但是上一次调整后的聚合组带宽为8M,所以本次的聚合组带宽调整需求为增加至少2M带宽。In addition, in the embodiment, when the process adjustment policy is a resource utilization policy, if the aggregation group is adjusted last time, the bandwidth of the aggregation group is matched with the protection ratio of the actual traffic on the access side according to the resource utilization policy. The traffic parameter information may also include the current actual traffic on the access side, and the bandwidth value to be met by the current aggregation group bandwidth is calculated according to the protection multiple. For example, the current actual traffic on the access side is 5M, and the protection multiple is 2 times. The aggregation group bandwidth needs to be at least 10M, but the bandwidth of the previous aggregation group is 8M. Therefore, the bandwidth adjustment requirement of the aggregation group is to increase the bandwidth by at least 2M.
参见图2,图2示出了汇聚侧接入一个汇聚组的示意图,在图中DUT1、DUT2为核心交换设备,中间的物理端口全部使用物理链路进行连接,为了便于举例说明,图2中的所有线条均为1G带宽链路,物理状态都符合加入聚合组要求。但该1G带宽不应理解为对端口带宽的限制,本实施例的端口的带宽不限,可以是10M、100M等等。本实施例实现了物理通道的小粒度多连接灵活扩展,适配聚合组变化。Referring to FIG. 2, FIG. 2 shows a schematic diagram of accessing an aggregation group on the aggregation side. In the figure, DUT1 and DUT2 are core switching devices, and physical ports in the middle are all connected by physical links. For convenience of description, FIG. 2 All the lines are 1G bandwidth links, and the physical state meets the requirements of joining the aggregation group. However, the 1G bandwidth is not to be understood as a limitation on the port bandwidth. The bandwidth of the port in this embodiment is not limited, and may be 10M, 100M, or the like. In this embodiment, the small-grain multi-connection flexible extension of the physical channel is implemented, and the aggregation group is adapted.
在图2中a1、a2、a3······以及c1、c2、c3······对应的线条可以理解为接入侧的数据传输的链路,对应于接入侧的多个端口,图2中的b1、b2、b3······对应的线条可以理解为汇聚侧的物理链路,对应于汇聚侧的DUT1和DTU2提供的多个物理端口,其中b1、b2、b3······对应的物理端口的物理状态都符合加入聚合组要求。In Fig. 2, the lines corresponding to a1, a2, a3, ..., and c1, c2, c3, ..., can be understood as links for data transmission on the access side, corresponding to the access side. The ports corresponding to b1, b2, b3, ... in Figure 2 can be understood as the physical link on the aggregation side, corresponding to multiple physical ports provided by DUT1 and DTU2 on the aggregation side, where b1, b2 The physical state of the corresponding physical port of b3····· is consistent with the requirements of joining the aggregation group.
当接入侧接入汇聚侧的时候,聚合组进行决策,将汇聚侧端口加入聚合组,满足聚合条件的空闲端口为b1、b2、b3······中的粗线条对应的端口,实际加入聚合组的成员端口为虚线对应的端口。When the access side is connected to the aggregation side, the aggregation group makes a decision, and the aggregation port is added to the aggregation group. The idle port that satisfies the aggregation condition is the port corresponding to the thick line in b1, b2, b3, . . . The member port of the aggregation group is the port corresponding to the dotted line.
下面举例说明流量调整策略为带宽保护策略时,如何动态调整聚合组中的成员端口数量。The following example shows how to dynamically adjust the number of member ports in an aggregation group when the traffic policy is a bandwidth protection policy.
在图2的左边的接入侧的最大带宽为4G,接入侧的端口为线条a1、a2、a3、a4对应的端口,此时聚合组中了加入4个1G的成员端口,粗线条b1、b2、b3、b4对应的DTU1的端口,实现完全满足带宽峰值使用无损失的需求。当接入侧的接入带宽发生变化,例如接入侧又接入了2个新的端口,线条a5、a6对应的接入侧端口,接入的最大带宽变为6G,则聚合组需要从空闲的可用端口中选择两个增加为成员端口以实现实时扩大带宽,图2中选择的是虚线线条b5、b6对应的DUT1的端口,此时聚合组的带宽变为6G,不低于接入侧的最大带宽。The maximum bandwidth of the access side on the left side of FIG. 2 is 4G, and the port on the access side is the port corresponding to lines a1, a2, a3, and a4. At this time, four 1G member ports are added to the aggregation group, and the thick line b1 is added. The ports of DTU1 corresponding to b2, b3, and b4 realize the requirement of completely satisfying the peak bandwidth usage without loss. When the access bandwidth of the access side changes, for example, the access side is connected to two new ports, the access side ports corresponding to lines a5 and a6, and the maximum access bandwidth becomes 6G, the aggregation group needs to Select two of the available ports that are free to be added as member ports to achieve real-time bandwidth expansion. In Figure 2, the ports of DUT1 corresponding to the dotted lines b5 and b6 are selected. At this time, the bandwidth of the aggregation group becomes 6G, which is not lower than the access. The maximum bandwidth of the side.
下面举例说明流量调整策略为资源利用策略时,如何动态调整聚合组中的成员端
口数量。The following example shows how to dynamically adjust the member end of an aggregation group when the traffic adjustment policy is a resource utilization policy.
Number of mouths.
在图2的右边的接入侧的最大带宽为4G,但是经过聚合组的实时流量只有800M,此时,如按2倍保护倍数配置,聚合组带宽满足不低于1.6M即可,聚合组只需加入2个成员端口,b7、b8对应的DTU2的端口。当接入侧实时流量变化时,如接入侧又接入了2个新的端口,或原来端口的流量增大,聚合组的中的实时流量扩大为1.2G,扩大了0.4G,则聚合组带宽增加量需要不低于0.8M,此时选取b9对应的DTU2的端口增加为成员端口以实现实时扩大聚合组带宽到2.4G。The maximum bandwidth of the access side on the right side of Figure 2 is 4G, but the real-time traffic of the aggregation group is only 800M. In this case, if the bandwidth of the aggregation group is not less than 1.6M, the aggregation group can be configured. Just join the 2 member ports, b7, b8 correspond to the DTU2 port. When the real-time traffic on the access side changes, for example, the access side is connected to two new ports, or the traffic of the original port is increased. The real-time traffic in the aggregation group is expanded to 1.2G, and the bandwidth is expanded by 0.4G. The bandwidth increase of the group needs to be no less than 0.8M. In this case, the port of the DTU2 corresponding to b9 is added as a member port to realize the bandwidth of the aggregation group to 2.4G in real time.
此外,本实施例的流量调整策略还可以包括门限值策略和流量期望策略。In addition, the traffic adjustment policy of this embodiment may further include a threshold policy and a traffic expectation policy.
门限值策略用于确保接入侧实际流量不超过设定的门限。此时,流量参数信息包括当前的接入侧实际流量。S103根据流量参数信息和流量调整策略确定聚合组带宽调整需求包括:当接入侧实际流量超过门限值的时候,聚合组带宽调整需求为增加带宽,即将空闲的符合聚合组加入要求的端口加入聚合组,当接入侧实际流量从门限值之外降到门限值内时,可以将之前增加的端口删除,恢复为空闲端口,为本业务或其他的业务提供服务。The threshold policy is used to ensure that the actual traffic on the access side does not exceed the set threshold. At this time, the traffic parameter information includes the current actual traffic on the access side. The S103 determines the bandwidth adjustment requirement of the aggregation group according to the traffic parameter information and the traffic adjustment policy. When the actual traffic on the access side exceeds the threshold, the bandwidth adjustment requirement of the aggregation group is increased, and the idle port that meets the requirements of the aggregation group is added. In the aggregation group, when the actual traffic on the access side falls from the threshold to the threshold, the previously added port can be deleted and restored to the idle port to provide services for the service or other services.
其中,门限值的设定,可以是接入侧最大带宽,或接入侧流量在一定实际内的平均值的保护倍数等等。聚合组带宽调整时增加的带宽不低于接入侧实际流量超出门限值的部分即可。The threshold value may be set to be the maximum bandwidth of the access side, or the protection multiple of the average of the access side traffic within a certain actual range. The bandwidth added during the bandwidth adjustment of the aggregation group is not lower than the part where the actual traffic on the access side exceeds the threshold.
流量期望策略用于确保聚合组带宽满足接入侧带宽的流量期望,聚合组可以记录接入侧的历史流量,即接入侧某段历史时间的流量,为了历史流量的可靠性,一般历史时间越接近当前时刻越好。当根据历史流量分析出接入侧的流量有稳定增长的趋势时,可以推测接入侧流量在未来某段时间内可能也会增长,引提前增加聚合组带宽,适应未来可能的变化。The traffic expectation policy is used to ensure that the bandwidth of the aggregation group meets the traffic demand of the access side bandwidth. The aggregation group can record the historical traffic of the access side, that is, the traffic of a certain historical time on the access side. For historical traffic reliability, the general historical time. The closer to the current time, the better. When the traffic on the access side is steadily increasing according to the historical traffic, it can be estimated that the traffic on the access side may also increase in a certain period of time in the future, which increases the bandwidth of the aggregation group in advance and adapts to possible future changes.
进一步地,当流量调整策略只根据接入侧实际流量进行配置时,若获取的实际流量变化量信息为负数时,需要减少聚合组带宽。但是若分析接入侧的历史流量发现接入侧的实际流量有稳定增长的趋势,那么本次检查到的接入侧实际流量降低可能具有偶然性,接入侧的实际流量在未来某段时间可能会回归到降低之前的水平并继续增长,此时,若只根据实际流量变化量信息减少聚合组带宽,明显是不合适的,不能满足接入侧未来流量的增长趋势。Further, when the traffic adjustment policy is configured only according to the actual traffic on the access side, if the actual traffic change amount information obtained is a negative number, the aggregation group bandwidth needs to be reduced. However, if the historical traffic on the access side is found to have a steady growth trend, the actual traffic on the access side may be contingent. The actual traffic on the access side may be in the future. It will return to the previous level and continue to grow. At this time, it is obviously inappropriate to reduce the bandwidth of the aggregation group based on the actual traffic change information, which cannot meet the growth trend of the future traffic of the access side.
对于流量调整策略只根据接入侧最大带宽进行配置时,一般聚合组带宽都要满足
最大带宽需求,此时,若通过历史流量信息发现,接入侧历史流量不超过某个固定值,接入侧历史流量或者是呈减少趋势,或者是一直在某一范围内上下波动,此时,一般可以认为接入侧的流量在未来一段时间之内可能都不会超过该固定值,当该固定值与最大带宽之间的差值较大的时候,将聚合组带宽限定与不低于最大带宽明显会导致浪费聚合组带宽资源,不利于提高端口的利用率。When the traffic adjustment policy is configured based on the maximum bandwidth of the access side, the bandwidth of the general aggregation group must be met.
The maximum bandwidth requirement. At this time, if the historical traffic information is found, the historical traffic on the access side does not exceed a certain fixed value, and the historical traffic on the access side may decrease or may fluctuate up and down within a certain range. Generally, the traffic on the access side may not exceed the fixed value in a certain period of time. When the difference between the fixed value and the maximum bandwidth is large, the bandwidth of the aggregation group is limited or not. The maximum bandwidth obviously causes the bandwidth of the aggregation group to be wasted, which is not conducive to improving the utilization of the port.
所以为了对聚合组带宽进行更加灵活和更加合适的调整,也为了应对更复杂的组网要求,提高端口的利用率,本实施例还提供一种更复杂的流量调整策略:综合考量策略,综合考量策略确保聚合组带宽满足接入侧的由历史流量、实际流量以及最大带宽建立的预设函数计算值;流量参数信息包括:实际流量信息和最大带宽信息;根据流量参数信息和流量调整策略确定聚合组带宽调整需求包括:根据实际流量信息、最大带宽信息、以及流量调整策略确定聚合组带宽调整需求。Therefore, in order to make the aggregation group bandwidth more flexible and more suitable, and to cope with more complex networking requirements and improve port utilization, this embodiment also provides a more complex traffic adjustment strategy: comprehensive consideration strategy, comprehensive The policy considers that the bandwidth of the aggregation group meets the calculation value of the preset function established by the historical traffic, the actual traffic, and the maximum bandwidth on the access side; the traffic parameter information includes: actual traffic information and maximum bandwidth information; and is determined according to the traffic parameter information and the traffic adjustment policy. The bandwidth adjustment requirement of the aggregation group includes: determining the bandwidth adjustment requirement of the aggregation group according to the actual traffic information, the maximum bandwidth information, and the traffic adjustment policy.
下面举例说明预设函数计算值的确定过程,假如,接入侧的历史流量为当前时间的前3天的历史流量,该历史流量一直5M到8M之间浮动,接入侧的最大带宽是15M,接入侧当前的实际流量为7M,可以预见,在未来一段时间内接入侧的实际流量可能不会超过8M,此时预设函数计算值不低于8M即可,也可以设置在8M到15M之间,若是在历史流量中,流量峰值曾达到9M,且峰值出现的次数较多,为了满足流量峰值时,接入侧的数据无损失的要求,预计函数计算值可以设置为不低于9M的数值,处于节约端口资源的考虑,可以将预计函数计算值设置为9M到15M之间的数值。The following figure illustrates the process of determining the calculated value of the preset function. If the historical traffic on the access side is the historical traffic of the first 3 days of the current time, the historical traffic is always floating between 5M and 8M, and the maximum bandwidth on the access side is 15M. The current actual traffic on the access side is 7M. It can be foreseen that the actual traffic on the access side may not exceed 8M in the future. The default function calculation value is not less than 8M, or it can be set at 8M. Between 15M, if it is in historical traffic, the peak value of traffic has reached 9M, and the number of peak occurrences is large. In order to meet the peak traffic, the data on the access side has no loss requirement, and the calculated function value can be set to be low. For the value of 9M, in the consideration of saving port resources, the calculation value of the prediction function can be set to a value between 9M and 15M.
进一步地,本实施例还可以在汇聚侧划分多个相互隔离的物理链路域,每个物理链路域配置一个聚合组;根据聚合组带宽需求动态调整聚合组中的成员端口数量包括:根据聚合组带宽需求在本聚合组对应的物理链路域中动态调整聚合组中的成员端口数量。这里的聚合组带宽需求可以采用实施例上述的方式进行确定。Further, in this embodiment, a plurality of physical link domains are separated on the aggregation side, and each physical link domain is configured with one aggregation group. The number of member ports in the aggregation group is dynamically adjusted according to the bandwidth requirement of the aggregation group. The aggregation group bandwidth requirement dynamically adjusts the number of member ports in the aggregation group in the physical link domain corresponding to the aggregation group. The aggregation group bandwidth requirement here can be determined in the manner described above in the embodiment.
可以预见,当汇聚侧需要进行多条物理通道的隔离时,配置聚合组是最好的选择,而本实施例使汇聚侧配置变得非常简单且易于维护,当接入侧的流量变化时,聚合组可以实现自动扩展和收缩,无需进行额外配置,达到充分利用了汇聚侧的端口资源的效果。It is foreseen that when the aggregation side needs to be isolated by multiple physical channels, the configuration of the aggregation group is the best choice. In this embodiment, the configuration on the aggregation side is very simple and easy to maintain. When the traffic on the access side changes, The aggregation group can be automatically expanded and contracted without additional configuration, so as to fully utilize the port resources on the aggregation side.
采用本实施例的动态链路聚合实现方法可以配置流量调整策略,获取当前接入侧的流量参数信息,根据流量调整策略和流量参数信息确定聚合组带宽调整需求,然后根据该需求调整聚合组的成员端口数量。本实施例对成员端口的调整需要考虑当前接
入侧的流量参数信息,更贴合当前的接入侧的传输需求。相对于现有技术中,根据端口的物理相关属性判断其是否加入聚合组的方式,本实施例可以根据接入侧当前的流量参数信息灵活确定聚合组带宽调整需求,确保聚合组的动态变化满足接入侧的需求。因此本发明的动态链路聚合实现方法具有更高的灵活性,可以提高物理端口的利用率,减少维护成本,简化组网复杂度,达到在软件优化布局的需要,提高用户的满意度。The dynamic link aggregation implementation method of the embodiment may be configured to configure a traffic adjustment policy, obtain traffic parameter information of the current access side, determine a bandwidth adjustment requirement of the aggregation group according to the traffic adjustment policy and the traffic parameter information, and then adjust the aggregation group according to the requirement. The number of member ports. In this embodiment, the adjustment of the member port needs to consider the current connection.
The traffic parameter information on the inbound side is more suitable for the current transmission needs of the access side. Compared with the prior art, the method determines whether the aggregation group needs to be added to the aggregation group according to the physical correlation attribute of the port. In this embodiment, the bandwidth adjustment requirement of the aggregation group can be flexibly determined according to the current traffic parameter information of the access side to ensure that the dynamic change of the aggregation group is satisfied. Access side requirements. Therefore, the dynamic link aggregation implementation method of the present invention has higher flexibility, can improve the utilization of the physical port, reduce the maintenance cost, simplify the networking complexity, achieve the requirement of optimizing the layout in the software, and improve the user satisfaction.
实施例二:Embodiment 2:
参加图3,本实施例还提供一种动态链路聚合实现装置,包括:Referring to FIG. 3, the embodiment further provides a dynamic link aggregation implementation apparatus, including:
配置模块31:用于配置流量调整策略;The configuration module 31 is configured to configure a traffic adjustment policy.
获取模块32:用于动态获取当前接入侧的流量参数信息;The obtaining module 32 is configured to dynamically obtain traffic parameter information of the current access side.
确定模块33:用于根据流量参数信息和流量调整策略确定聚合组带宽调整需求;a determining module 33: configured to determine an aggregation group bandwidth adjustment requirement according to the traffic parameter information and the traffic adjustment policy;
调整模块34:用于根据聚合组带宽需求动态调整聚合组中的成员端口数量。The adjustment module 34 is configured to dynamically adjust the number of member ports in the aggregation group according to the bandwidth requirement of the aggregation group.
在本实施例中,配置模块31配置的流量调整策略可以理解为基于与接入侧的流量相关的数据得到的策略。与接入侧的流量相关的数据包括但不限于接入侧的最大带宽、接入侧的实际流量、接入侧的历史流量、接入侧的平巨额流量的等数据。流量调整策略用来确定调整后的聚合组带宽应满足的条件。为了进一步确定如何调整聚合组带宽,且使得对聚合组带宽的调整更贴近实际需要,需要考虑到当前的接入侧对于带宽的需求,获取模块32需要动态获取了当前接入侧的流量参数信息,这里的流量参数信息可以理解为本段开头介绍的与接入侧的流量相关的数据,包括但不限于接入侧当前流量、接入侧最大带宽需求,接入侧的历史流量等。在获取了当前接入的流量参数信息以及流量调整策略后,可以明确当前接入侧的需求,明确聚合组带宽调整的需求,动态地调整聚合组中的成员端口数量。可以预见,被调整模块34加入聚合组的端口的物理状态都需要符合加入聚合组的条件,本实施例中加入聚合组的成员端口也是在这些物理状态符合聚合组要求的端口中选择的。In this embodiment, the traffic adjustment policy configured by the configuration module 31 can be understood as a policy based on data related to traffic on the access side. The data related to the traffic on the access side includes, but is not limited to, the maximum bandwidth on the access side, the actual traffic on the access side, the historical traffic on the access side, and the data on the access side. The traffic adjustment policy is used to determine the conditions that the adjusted aggregation group bandwidth should meet. In order to further determine how to adjust the bandwidth of the aggregation group, and make the adjustment of the bandwidth of the aggregation group closer to the actual needs, the acquisition module 32 needs to dynamically obtain the traffic parameter information of the current access side. The traffic parameter information herein can be understood as the data related to the traffic on the access side, including but not limited to the current traffic on the access side, the maximum bandwidth requirement on the access side, and the historical traffic on the access side. After the current traffic parameter information and the traffic adjustment policy are obtained, the requirements of the current access side can be clarified, the bandwidth adjustment of the aggregation group can be clarified, and the number of member ports in the aggregation group can be dynamically adjusted. It is foreseen that the physical state of the port that is added to the aggregation group by the adjustment module 34 needs to meet the conditions for joining the aggregation group. The member ports that are added to the aggregation group in this embodiment are also selected among the ports whose physical states meet the requirements of the aggregation group.
在本实施例中,当流量调整策略不同时,确定模块33的功能也不同。In this embodiment, when the traffic adjustment policies are different, the functions of the determining module 33 are also different.
当流量调整策略包括:带宽保护策略,带宽保护策略确保聚合组带宽满足接入侧最大带宽需求;流量参数信息包括:最大带宽变化量信息;When the traffic adjustment policy includes: a bandwidth protection policy, the bandwidth protection policy ensures that the bandwidth of the aggregation group meets the maximum bandwidth requirement of the access side; the traffic parameter information includes: information about the maximum bandwidth change amount;
确定模块33用于当最大带宽变化量信息为正值时,确定聚合组带宽调整需求为
增加带宽,且增加量大于等于最大带宽变化量信息;当最大带宽变化量信息为负值时,确定聚合组带宽调整需求为减少带宽,减少量小于等于最大带宽变化量信息的绝对值。The determining module 33 is configured to determine, when the maximum bandwidth change amount information is positive, that the aggregate group bandwidth adjustment requirement is
The bandwidth is increased, and the amount of increase is greater than or equal to the maximum bandwidth change information. When the maximum bandwidth change amount information is negative, the bandwidth adjustment requirement of the aggregation group is determined to be a reduced bandwidth, and the decrease is less than or equal to the absolute value of the maximum bandwidth change amount information.
当流程调整策略包括:资源利用策略,资源利用策略确保聚合组带宽满足接入侧实际流量的保护倍数;流量参数信息包括:实际流量变化量信息;The process adjustment policy includes: a resource utilization policy, and the resource utilization policy ensures that the bandwidth of the aggregation group meets the protection multiple of the actual traffic on the access side; the traffic parameter information includes: the actual traffic change amount information;
确定模块33用于当实际流量变化量信息为正值时,确定聚合组带宽调整需求为增加带宽,且增加量大于等于实际流量变化量信息与保护倍数的乘积;当实际流量变化量信息为负值时,确定聚合组带宽调整需求为减少带宽,减少量小于等于实际流量变化量信息的绝对值与保护倍数的乘积。The determining module 33 is configured to determine, when the actual traffic change amount information is positive, that the bandwidth adjustment requirement of the aggregation group is increased bandwidth, and the increase amount is greater than or equal to the product of the actual traffic change amount information and the protection multiple; when the actual traffic change amount information is negative When the value is determined, the bandwidth adjustment requirement of the aggregation group is determined as the bandwidth reduction, and the reduction amount is less than or equal to the product of the absolute value of the actual traffic change amount information and the protection multiple.
为了对聚合组带宽进行更加灵活和更加合适的调整,也为了应对更复杂的组网要求,提高端口的利用率,本实施例还提供一种更复杂的流量调整策略综合考量策略,综合考量策略确保聚合组带宽满足接入侧的由历史流量、实际流量以及最大带宽建立的预设函数计算值;流量参数信息包括:实际流量信息和最大带宽信息;In order to make the aggregation group bandwidth more flexible and more suitable, and to meet the more complex networking requirements and improve the port utilization, this embodiment also provides a more comprehensive traffic adjustment strategy comprehensive consideration strategy, comprehensive consideration strategy. Ensure that the bandwidth of the aggregation group meets the calculation value of the preset function established by the historical traffic, the actual traffic, and the maximum bandwidth on the access side; the traffic parameter information includes: actual traffic information and maximum bandwidth information;
此时确定模块33用于根据实际流量信息、最大带宽信息、以及流量调整策略确定聚合组带宽调整需求。At this time, the determining module 33 is configured to determine an aggregate group bandwidth adjustment requirement according to the actual traffic information, the maximum bandwidth information, and the traffic adjustment policy.
进一步地,本实施例的动态链路聚合实现装置还可以包括分配模块35,用于在汇聚侧划分多个相互隔离的物理链路域,每个物理链路域配置一个聚合组;Further, the dynamic link aggregation implementation apparatus of this embodiment may further include an allocation module 35, configured to divide a plurality of isolated physical link domains on the aggregation side, and configure an aggregation group in each physical link domain;
此时,确定模块33用于根据聚合组带宽需求在本聚合组对应的物理链路域中动态调整聚合组中的成员端口数量。At this time, the determining module 33 is configured to dynamically adjust the number of member ports in the aggregation group in the physical link domain corresponding to the aggregation group according to the bandwidth requirement of the aggregation group.
采用本实施例的动态链路聚合实现装置,配置模块可以配置流量调整策略;确定模块根据配置模块配置的流量调整策略以及获取模块获取的流量参数信息可以确定聚合组带宽调整需求,由调整模块根据聚合组带宽需求动态调整聚合组中的成员端口数量。相对于现有技术中,只根据端口的物理状态来决定是否将其加入聚合组,本实施例在进行聚合组成员端口带宽调整时,结合了接入侧当前的流量参数信息,所以本实施例的调整方式更加灵活,能动态地调聚合组带宽以适应新的接入侧带宽需求,有利于提高物理端口的利用率,节约带宽成本。With the dynamic link aggregation implementation device of the embodiment, the configuration module can configure a traffic adjustment policy; the determining module can determine the bandwidth adjustment requirement of the aggregation group according to the traffic adjustment policy configured by the configuration module and the traffic parameter information obtained by the obtaining module, and the adjustment module is configured according to the The aggregation group bandwidth requirement dynamically adjusts the number of member ports in the aggregation group. In this embodiment, the current traffic parameter information of the access side is combined with the current traffic parameter information of the access group when the bandwidth of the member port of the aggregation group is adjusted according to the physical state of the port. The adjustment mode is more flexible, and the aggregation group bandwidth can be dynamically adjusted to adapt to the new access side bandwidth requirement, which is beneficial to improving the utilization of the physical port and saving the bandwidth cost.
显然,本领域的技术人员应该明白,上述本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组
成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储介质(ROM/RAM、磁碟、光盘)中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。所以,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed among multiple computing devices.
Alternatively, they may be implemented by program code executable by the computing device so that they can be stored in a storage medium (ROM/RAM, disk, optical disk) by the computing device, and In some cases, the steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be fabricated into a single integrated circuit module. achieve. Therefore, the invention is not limited to any particular combination of hardware and software.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above is a further detailed description of the present invention in connection with the specific embodiments, and the specific embodiments of the present invention are not limited to the description. It will be apparent to those skilled in the art that the present invention may be made without departing from the spirit and scope of the invention.
本发明实施例提供的方法和装置可以应用于通信技术领域。本发明实施例提供的技术方案中,可以配置流量调整策略,获取当前接入侧的流量参数信息,根据流量调整策略和流量参数信息确定聚合组带宽调整需求,然后根据该需求调整聚合组的成员端口数量。采用本发明实施例的方案,对成员端口的调整需要考虑当前接入侧的流量参数信息,更贴合当前的接入侧的传输需求。相对于现有技术中,根据端口的物理相关属性判断其是否加入聚合组的方式,本实施例可以根据接入侧当前的流量参数信息灵活确定聚合组带宽调整需求,确保聚合组的动态变化满足接入侧的需求。因此本发明的动态链路聚合实现方法具有更高的灵活性,可以提高物理端口的利用率,减少维护成本,简化组网复杂度,达到在软件优化布局的需要,提高用户的满意度。
The method and apparatus provided by the embodiments of the present invention can be applied to the field of communication technologies. In the technical solution provided by the embodiment of the present invention, the traffic adjustment policy may be configured to obtain the traffic parameter information of the current access side, determine the bandwidth adjustment requirement of the aggregation group according to the traffic adjustment policy and the traffic parameter information, and then adjust the members of the aggregation group according to the requirement. The number of ports. With the solution of the embodiment of the present invention, the adjustment of the member port needs to consider the traffic parameter information of the current access side, and is more suitable for the current transmission requirement of the access side. Compared with the prior art, the method determines whether the aggregation group needs to be added to the aggregation group according to the physical correlation attribute of the port. In this embodiment, the bandwidth adjustment requirement of the aggregation group can be flexibly determined according to the current traffic parameter information of the access side to ensure that the dynamic change of the aggregation group is satisfied. Access side requirements. Therefore, the dynamic link aggregation implementation method of the present invention has higher flexibility, can improve the utilization of the physical port, reduce the maintenance cost, simplify the networking complexity, achieve the requirement of optimizing the layout in the software, and improve the user satisfaction.
Claims (11)
- 一种动态链路聚合实现方法,其中,包括:A dynamic link aggregation implementation method includes:配置流量调整策略;Configure a traffic adjustment policy.动态获取当前接入侧的流量参数信息;Dynamically obtaining traffic parameter information of the current access side;根据所述流量参数信息和流量调整策略确定聚合组带宽调整需求;Determining an aggregation group bandwidth adjustment requirement according to the traffic parameter information and the traffic adjustment policy;根据所述聚合组带宽需求动态调整聚合组中的成员端口数量。The number of member ports in the aggregation group is dynamically adjusted according to the bandwidth requirements of the aggregation group.
- 根据权利要求1所述的动态链路聚合实现方法,其中,所述流程调整策略包括:带宽保护策略,所述带宽保护策略确保聚合组带宽满足接入侧最大带宽需求;所述流量参数信息包括:最大带宽变化量信息;所述根据所述流量参数信息和流量调整策略确定聚合组带宽调整需求包括:当所述最大带宽变化量信息为正值时,所述聚合组带宽调整需求为增加带宽,且增加量大于等于所述最大带宽变化量信息;当所述最大带宽变化量信息为负值时,所述聚合组带宽调整需求为减少带宽,减少量小于等于所述最大带宽变化量信息的绝对值。The dynamic link aggregation implementation method according to claim 1, wherein the flow adjustment policy comprises: a bandwidth protection policy, the bandwidth protection policy ensures that the aggregation group bandwidth meets the maximum bandwidth requirement of the access side; and the traffic parameter information includes The maximum bandwidth change amount information is determined. The determining, according to the traffic parameter information and the traffic adjustment policy, the aggregation group bandwidth adjustment requirement includes: when the maximum bandwidth change amount information is a positive value, the aggregation group bandwidth adjustment requirement is increasing bandwidth The increase amount is greater than or equal to the maximum bandwidth change amount information; when the maximum bandwidth change amount information is a negative value, the aggregation group bandwidth adjustment requirement is to reduce the bandwidth, and the decrease amount is less than or equal to the maximum bandwidth change amount information. Absolute value.
- 根据权利要求1所述的动态链路聚合实现方法,其中,所述流程调整策略包括:资源利用策略,所述资源利用策略确保聚合组带宽满足接入侧实际流量的保护倍数;所述流量参数信息包括:实际流量变化量信息;所述根据所述流量参数信息和流量调整策略确定聚合组带宽调整需求包括:当所述实际流量变化量信息为正值时,所述聚合组带宽调整需求为增加带宽,且增加量大于等于所述实际流量变化量信息与保护倍数的乘积;当所述实际流量变化量信息为负值时,所述聚合组带宽调整需求为减少带宽,减少量小于等于所述实际流量变化量信息的绝对值与保护倍数的乘积。The dynamic link aggregation implementation method according to claim 1, wherein the flow adjustment policy comprises: a resource utilization policy, wherein the resource utilization policy ensures that the bandwidth of the aggregation group meets the protection multiple of the actual traffic on the access side; The information includes: the actual traffic change amount information; the determining the aggregation group bandwidth adjustment requirement according to the traffic parameter information and the traffic adjustment policy includes: when the actual traffic change amount information is a positive value, the aggregation group bandwidth adjustment requirement is The bandwidth is increased, and the amount of increase is greater than or equal to the product of the actual traffic change amount information and the protection multiple; when the actual traffic change amount information is a negative value, the bandwidth adjustment requirement of the aggregation group is to reduce the bandwidth, and the reduction amount is less than or equal to The product of the absolute value of the actual flow rate change amount information and the protection factor.
- 根据权利要求1所述的动态链路聚合实现方法,其中,所述流程调整策略包括:综合考量策略,所述综合考量策略确保聚合组带宽满足接入侧的由历史流量、实际流量以及最大带宽建立的预设函数计算值;所述流量参数信息包括:实际流量信息和最大带宽信息;所述根据所述流量参数信息和流量调整策略确定聚合组带宽调整需求包括:根据所述实际流量信息、最大带宽信息、以及流量调整策略确定聚合组带宽调整需求。The dynamic link aggregation implementation method according to claim 1, wherein the process adjustment policy comprises: a comprehensive consideration policy, wherein the comprehensive consideration policy ensures that the aggregation group bandwidth satisfies the historical traffic, the actual traffic, and the maximum bandwidth of the access side. The preset function calculation value is set; the traffic parameter information includes: actual traffic information and maximum bandwidth information; and determining, according to the traffic parameter information and the traffic adjustment policy, the aggregation group bandwidth adjustment requirement includes: according to the actual traffic information, The maximum bandwidth information and the traffic adjustment policy determine the aggregation group bandwidth adjustment requirements.
- 根据权利要求1-4任一项所述的动态链路聚合实现方法,其中,还包括:在汇聚侧划分多个相互隔离的物理链路域,每个物理链路域配置一个聚合组;所述根据 所述聚合组带宽需求动态调整聚合组中的成员端口数量包括:根据所述聚合组带宽需求在本聚合组对应的物理链路域中动态调整聚合组中的成员端口数量。The dynamic link aggregation implementation method according to any one of claims 1 to 4, further comprising: dividing a plurality of mutually separated physical link domains on the aggregation side, and configuring one aggregation group in each physical link domain; According to The bandwidth requirement of the aggregation group dynamically adjusts the number of member ports in the aggregation group. The number of member ports in the aggregation group is dynamically adjusted in the physical link domain corresponding to the aggregation group according to the bandwidth requirement of the aggregation group.
- 一种动态链路聚合实现装置,其中,包括:A dynamic link aggregation implementation device, including:配置模块:设置为配置流量调整策略;Configuration module: Set to configure the traffic adjustment policy;获取模块:设置为动态获取当前接入侧的流量参数信息;The obtaining module is configured to dynamically obtain the traffic parameter information of the current access side;确定模块:设置为根据所述流量参数信息和流量调整策略确定聚合组带宽调整需求;a determining module: configured to determine an aggregation group bandwidth adjustment requirement according to the traffic parameter information and a traffic adjustment policy;调整模块:设置为根据所述聚合组带宽需求动态调整聚合组中的成员端口数量。The adjustment module is configured to dynamically adjust the number of member ports in the aggregation group according to the bandwidth requirement of the aggregation group.
- 根据权利要求6所述的动态链路聚合实现装置,其中,所述流量调整策略包括:带宽保护策略,所述带宽保护策略确保聚合组带宽满足接入侧最大带宽需求;所述流量参数信息包括:最大带宽变化量信息;The dynamic link aggregation implementation device of claim 6, wherein the traffic adjustment policy comprises: a bandwidth protection policy, the bandwidth protection policy ensures that the aggregation group bandwidth meets an access bandwidth maximum bandwidth requirement; and the traffic parameter information includes : maximum bandwidth change amount information;所述确定模块设置为当所述最大带宽变化量信息为正值时,确定所述聚合组带宽调整需求为增加带宽,且增加量大于等于所述最大带宽变化量信息;当所述最大带宽变化量信息为负值时,确定所述聚合组带宽调整需求为减少带宽,减少量小于等于所述最大带宽变化量信息的绝对值。The determining module is configured to: when the maximum bandwidth change amount information is positive, determine that the aggregation group bandwidth adjustment requirement is an increase bandwidth, and the increase amount is greater than or equal to the maximum bandwidth change amount information; when the maximum bandwidth change When the quantity information is a negative value, it is determined that the bandwidth adjustment requirement of the aggregation group is a bandwidth reduction, and the reduction amount is less than or equal to an absolute value of the maximum bandwidth change amount information.
- 根据权利要求6所述的动态链路聚合实现装置,其中,所述流程调整策略包括:资源利用策略,所述资源利用策略确保聚合组带宽满足接入侧实际流量的保护倍数;所述流量参数信息包括:实际流量变化量信息;The apparatus for implementing dynamic link aggregation according to claim 6, wherein the flow adjustment policy comprises: a resource utilization policy, the resource utilization policy ensures that the bandwidth of the aggregation group meets the protection multiple of the actual traffic on the access side; The information includes: actual traffic change amount information;所述确定模块设置为当所述实际流量变化量信息为正值时,确定所述聚合组带宽调整需求为增加带宽,且增加量大于等于所述实际流量变化量信息与保护倍数的乘积;当所述实际流量变化量信息为负值时,确定所述聚合组带宽调整需求为减少带宽,减少量小于等于所述实际流量变化量信息的绝对值与保护倍数的乘积。The determining module is configured to determine, when the actual traffic change amount information is a positive value, that the bandwidth adjustment requirement of the aggregation group is an increase bandwidth, and the increase amount is greater than or equal to a product of the actual traffic change amount information and a protection multiple; When the actual traffic change amount information is a negative value, it is determined that the bandwidth adjustment requirement of the aggregation group is a bandwidth reduction, and the reduction amount is less than or equal to a product of an absolute value of the actual traffic change amount information and a protection multiple.
- 根据权利要求6所述的动态链路聚合实现装置,其中,所述流程调整策略包括:综合考量策略,所述综合考量策略确保聚合组带宽满足接入侧的由历史流量、实际流量以及最大带宽建立的预设函数计算值;所述流量参数信息包括:实际流量信息和最大带宽信息;The dynamic link aggregation implementation apparatus according to claim 6, wherein the flow adjustment policy comprises: a comprehensive consideration policy, wherein the comprehensive consideration policy ensures that the aggregation group bandwidth satisfies the historical traffic, the actual traffic, and the maximum bandwidth of the access side. Establishing a preset function calculation value; the traffic parameter information includes: actual traffic information and maximum bandwidth information;所述确定模块设置为根据所述实际流量信息、最大带宽信息、以及流量调整策略确定聚合组带宽调整需求。The determining module is configured to determine an aggregation group bandwidth adjustment requirement according to the actual traffic information, the maximum bandwidth information, and the traffic adjustment policy.
- 根据权利要求6-9任一项所述的动态链路聚合实现装置,其中,还包括分配 模块,设置为在汇聚侧划分多个相互隔离的物理链路域,每个物理链路域配置一个聚合组;A dynamic link aggregation implementing apparatus according to any one of claims 6-9, further comprising The module is configured to divide multiple physical link domains that are isolated from each other on the aggregation side, and configure an aggregation group for each physical link domain;所述确定模块设置为根据所述聚合组带宽需求在本聚合组对应的物理链路域中动态调整聚合组中的成员端口数量。The determining module is configured to dynamically adjust the number of member ports in the aggregation group in the physical link domain corresponding to the aggregation group according to the bandwidth requirement of the aggregation group.
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行如权利要求1至5中所述的方法中的至少其中之一。 A computer readable storage medium storing computer executable instructions for performing at least one of the methods of claims 1 to 5.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610512637.8A CN107566299A (en) | 2016-06-30 | 2016-06-30 | A kind of dynamic link aggregation implementation method and device |
CN201610512637.8 | 2016-06-30 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018001230A1 true WO2018001230A1 (en) | 2018-01-04 |
Family
ID=60785935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/090246 WO2018001230A1 (en) | 2016-06-30 | 2017-06-27 | Dynamic link aggregation implementation method and device and computer storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107566299A (en) |
WO (1) | WO2018001230A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355805A (en) * | 2020-03-06 | 2020-06-30 | 苏州浪潮智能科技有限公司 | Network communication method, device, equipment and storage medium |
CN111817906A (en) * | 2019-04-11 | 2020-10-23 | 中国移动通信集团山东有限公司 | Data processing method, device, network equipment and storage medium |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108934025B (en) * | 2018-06-12 | 2022-05-20 | Oppo广东移动通信有限公司 | Wireless communication transmission method, device, mobile terminal and computer readable storage medium |
CN109787818B (en) * | 2018-12-28 | 2020-08-25 | 联想(北京)有限公司 | Interface configuration adjusting method and device and electronic equipment |
CN111131025B (en) * | 2019-12-13 | 2022-07-05 | 苏州浪潮智能科技有限公司 | Port aggregation method and device, backbone network switch and readable storage medium |
CN112073445B (en) * | 2020-11-16 | 2021-01-29 | 浙江山迅网络科技有限公司 | Hybrid port traffic scheduling method and device, readable storage medium and electronic equipment |
CN114039979A (en) * | 2021-11-22 | 2022-02-11 | 华平智慧信息技术(深圳)有限公司 | Load balancing method, device, equipment and storage medium in link aggregation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227402A (en) * | 2008-02-20 | 2008-07-23 | 杭州华三通信技术有限公司 | Method and apparatus for sharing polymerization link circuit flow |
CN101651960A (en) * | 2009-09-17 | 2010-02-17 | 中兴通讯股份有限公司 | Protection method and device of link condensation bandwidth based on LACP |
CN102685007A (en) * | 2012-05-04 | 2012-09-19 | 华为技术有限公司 | Method and device for processing member links in multi-link bundled link group |
WO2015032046A1 (en) * | 2013-09-05 | 2015-03-12 | Telefonaktiebolaget L M Ericsson (Publ) | Apparatus and method for communicating over a plurality of communication links |
CN104821895A (en) * | 2015-04-21 | 2015-08-05 | 杭州华三通信技术有限公司 | Energy-saving method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8509193B2 (en) * | 2009-07-21 | 2013-08-13 | Microsoft Corporation | Packet aggregation |
CN102882805B (en) * | 2012-09-24 | 2015-12-02 | 华为技术有限公司 | Avoid method and the device of link aggregation group from state transition |
WO2015070383A1 (en) * | 2013-11-12 | 2015-05-21 | 华为技术有限公司 | Link aggregation method, apparatus, and system |
-
2016
- 2016-06-30 CN CN201610512637.8A patent/CN107566299A/en active Pending
-
2017
- 2017-06-27 WO PCT/CN2017/090246 patent/WO2018001230A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227402A (en) * | 2008-02-20 | 2008-07-23 | 杭州华三通信技术有限公司 | Method and apparatus for sharing polymerization link circuit flow |
CN101651960A (en) * | 2009-09-17 | 2010-02-17 | 中兴通讯股份有限公司 | Protection method and device of link condensation bandwidth based on LACP |
CN102685007A (en) * | 2012-05-04 | 2012-09-19 | 华为技术有限公司 | Method and device for processing member links in multi-link bundled link group |
WO2015032046A1 (en) * | 2013-09-05 | 2015-03-12 | Telefonaktiebolaget L M Ericsson (Publ) | Apparatus and method for communicating over a plurality of communication links |
CN104821895A (en) * | 2015-04-21 | 2015-08-05 | 杭州华三通信技术有限公司 | Energy-saving method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111817906A (en) * | 2019-04-11 | 2020-10-23 | 中国移动通信集团山东有限公司 | Data processing method, device, network equipment and storage medium |
CN111817906B (en) * | 2019-04-11 | 2021-11-30 | 中国移动通信集团山东有限公司 | Data processing method, device, network equipment and storage medium |
CN111355805A (en) * | 2020-03-06 | 2020-06-30 | 苏州浪潮智能科技有限公司 | Network communication method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107566299A (en) | 2018-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018001230A1 (en) | Dynamic link aggregation implementation method and device and computer storage medium | |
CN107920031B (en) | Adaptive adjustment method and device for access bandwidth | |
US7839878B2 (en) | Method of reducing power consumption of network connection apparatus and apparatus for same | |
CN101483909B (en) | Reverse power control method based on multi-carrier | |
US9961652B2 (en) | Power control method and apparatus | |
CN109787801B (en) | Network service management method, device and system | |
US20170034717A1 (en) | Method and Device for Configuration Processing of Binding Link and Method and Device for Configuring Binding Link | |
US9350568B2 (en) | Power management in hybrid networks | |
CA3076119C (en) | Packet transmission method and apparatus | |
CN104702527B (en) | The congestion time window control method connected in multipath TCP towards multipriority | |
IL230348A (en) | Dynamic asymmetric rings | |
CN106411731B (en) | Method and device for auto-negotiation LACP protocol reference system and reference port | |
Mancuso et al. | Elastic rate limiting for spatially biased wireless mesh networks | |
CN106209633B (en) | Message forwarding method and device | |
Imaizumi et al. | Power saving mechanism based on simple moving average for 802.3 ad link aggregation | |
US9425984B2 (en) | System and method for using energy efficient ethernet to control energy efficiencies in lower layers | |
CN111526042B (en) | Port aggregation method, system and storage medium based on rate | |
AL-Allaf et al. | RED with reconfigurable maximum dropping probability | |
CN112714072B (en) | Method and device for adjusting sending rate | |
Seoane et al. | Energy-aware flow allocation algorithm for Energy Efficient Ethernet networks | |
JP2011135486A (en) | Radio communication device, computer program therefor and data processing method | |
CN109728933B (en) | Distributed application software network flow control method | |
CN113014410B (en) | Bandwidth adjusting method and device | |
CN115865643B (en) | SDN network forwarding strategy determination method, SDN network forwarding strategy determination system, SDN network forwarding strategy controller and SDN network forwarding strategy determination device | |
Lee et al. | New asymmetric data transmission method for in-vehicle network |
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: 17819227 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: 17819227 Country of ref document: EP Kind code of ref document: A1 |