A link aggregation method, apparatus and device

By acquiring access point device information through the cloud dedicated line controller and performing dynamic link aggregation and table synchronization, the problems of cumbersome stacking architecture and strong vendor dependence of virtual link aggregation are solved, realizing an efficient and low-cost link aggregation method.

CN119788595BActive Publication Date: 2026-01-09CHINA TELECOM CLOUD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411677069.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2026-01-09
Estimated Expiration
2044-11-21

AI Technical Summary

Technical Problem

In existing technologies, the link aggregation method of stacked architecture requires interrupting services for upgrades, which is cumbersome and prone to problems. On the other hand, the virtual link aggregation architecture is highly dependent on vendors, which limits data center expansion and deployment and increases costs.

Method used

The cloud dedicated line controller obtains information about the access point devices, allocates aggregation information to instruct the access point devices to perform dynamic link aggregation, and synchronizes table entries after successful aggregation, thereby reducing cross-connections between devices and lowering coupling requirements.

Benefits of technology

It enables link aggregation without interrupting service upgrades, reduces dependence on vendors, improves the convergence ratio of leased line access, simplifies network management, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119788595B_ABST
    Figure CN119788595B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of cloud computing, and discloses a link aggregation method, device and equipment, the method is applied to a cloud private line controller in a cloud private line disassembly and stacking architecture, the method comprises the following steps: acquiring access point information of at least two access point devices; based on the access point information, allocating aggregation information to the at least two access point devices to instruct the at least two access point devices to perform dynamic link aggregation; in the case that the aggregation is successfully established, acquiring table item information of a first access point device; the first access point device is one of the at least two access point devices; the table item information is generated after the first access point device acquires an address resolution protocol of a customer exit device; and synchronizing information is forwarded to a second access point device. The application has low coupling requirements for the access point devices.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of cloud computing, and particularly relates to a link aggregation method, device and equipment. BACKGROUND

[0002] An Internet data center needs to access resources in the cloud through a private line, and implement link redundancy and high availability to improve the stability and continuity of data transmission. Two POP (point to point) switches are usually deployed, and the egress device of the Internet data center is connected to the two different POP switches.

[0003] In the related art, the two POP switches are connected through a stacking architecture or a virtual link aggregation architecture. The stacking architecture is simple to deploy, but must be interrupted for upgrading, which is complicated and prone to problems. The virtual link aggregation architecture has high coupling and strong dependence on manufacturers.

[0004] Therefore, there is a need for a link aggregation method with low coupling requirements for access point devices. SUMMARY

[0005] Therefore, the present application provides a link aggregation method, which can reduce the coupling requirements for access point devices.

[0006] In a first aspect, the present application provides a link aggregation method. The method is applied to a cloud private line controller in a cloud private line de-stacking architecture. The cloud private line de-stacking architecture further includes at least two access point devices connected to the cloud private line controller. The access point devices are respectively connected to a cloud resource pool network and a customer egress device. The method includes: obtaining access point information of the at least two access point devices; based on the access point information, allocating aggregation information to the at least two access point devices to instruct the at least two access point devices to perform dynamic link aggregation; in the case that the aggregation is successfully established, obtaining table item information of a first access point device; the first access point device is one of the at least two access point devices; the table item information is generated by the first access point device after obtaining an address resolution protocol of the customer egress device; and forwarding synchronization information to a second access point device; the synchronization information includes the table item information, and the second access point device is an access point device other than the first access point device among the at least two access point devices.

[0007] In the embodiment, the access point information of at least two access point devices is acquired, and the aggregation information is allocated to the access point devices according to the access point information, so as to instruct the two access point devices to perform dynamic link aggregation. In the case that the link aggregation is successfully established, the entry information of the first access point is acquired, and the entry information is forwarded to the second access point device, so as to perform entry synchronization. The stack architecture of the link is removed, and the two independent devices can be used as the access points, so as to reduce the dependence on the manufacturer. Meanwhile, the cross-connection link between the two access point devices is removed, the available interfaces of the access point device can be increased, and the convergence ratio of the private line access can be improved.

[0008] In an optional embodiment, the access point information comprises interface information and switch information of the access point device.

[0009] In the embodiment, the access point information comprises the interface information and the access point information, the access control policy of the cloud private line controller can be set, and the entry synchronization of the subsequent access point device is facilitated.

[0010] In an optional embodiment, the aggregation information allocated to the at least two access point devices based on the access point information comprises: generating the aggregation information, wherein the aggregation information comprises link aggregation control information; and sending the aggregation information to the corresponding access point device based on the access point information.

[0011] In the embodiment, the aggregation information comprising the link aggregation control information is allocated to the at least two access point devices, the binding of the link aggregation of the two access point devices is facilitated, and the complex process of disstacking and restacking is reduced.

[0012] In an optional embodiment, the link aggregation control information comprises a partner system priority, a partner system, a partner key value and a partner port.

[0013] In the embodiment, the link aggregation control information comprises the partner system priority, the partner system, the partner key value and the partner port. The consistency of the active interfaces of the two access point devices can be ensured.

[0014] In an optional embodiment, before the synchronization information is forwarded to the second access point device, the method further comprises: determining the interface information of the second access point device based on the aggregation information; and generating the synchronization information comprising the entry information and the interface information.

[0015] In the embodiment, the synchronization information generated comprises the interface information and the entry information of the second access point device, and the accuracy of the entry information forwarding can be improved.

[0016] In an alternative implementation, the forwarding of the synchronization information to the second access point device further comprises: the second access point device performing synchronization verification on the synchronization information, and determining whether to generate the table item data according to the synchronization information according to the synchronization verification result.

[0017] In the implementation, the second access point device performs synchronization verification on the synchronization information, and determines whether to generate the table item data according to the synchronization information according to the synchronization verification result. The accuracy of the table item data can be ensured, and data transmission errors can be avoided.

[0018] In an alternative implementation, the method further comprises: obtaining a verification frequency; comparing the to-be-verified table item information and the reference table item information according to the verification frequency, wherein the to-be-verified table item information is the table item information of the cloud private line controller and / or the table item information in the second access point device, and the reference table item information is the table item information of the first access point device; generating the synchronization information according to the reference table item information and the aggregation information in the case that the comparison result is inconsistent; and forwarding the synchronization information to the second access point device.

[0019] In the implementation, the verification frequency is obtained, and the table item information of the private line controller and / or the table item information in the second access point device is verified according to the verification frequency. The synchronization of the table item information can be ensured to be correct, and the reliability of the method can be improved.

[0020] In an alternative implementation, the table item information comprises a media access control address, an Internet protocol address, and a correspondence between the media access control address and the Internet protocol address.

[0021] In the implementation, the table item information comprises a media access control address, an Internet protocol address, and a correspondence between the media access control address and the Internet protocol address. The network stability can be improved, the network management can be simplified, and the link aggregation can be implemented.

[0022] In a second aspect, the application provides a link aggregation device, which comprises: an access point information obtaining module, configured to obtain access point information of at least two access point devices; an aggregation module, configured to allocate aggregation information for the at least two access point devices based on the access point information, so as to instruct the at least two access point devices to perform dynamic link aggregation; a table item information obtaining module, configured to obtain table item information of a first access point device in the case that the aggregation is successfully established, wherein the first access point device is one of the at least two access point devices, and the table item information is generated by the first access point device after obtaining an address resolution protocol of a customer exit device; and a synchronization module, configured to forward synchronization information to a second access point device, wherein the synchronization information comprises the table item information, and the second access point device is an access point device other than the first access point device among the at least two access point devices.

[0023] In a third aspect, the present application provides a computer device, comprising: a memory and a processor, which are connected with each other in communication, the memory stores computer instructions, and the processor executes the computer instructions to perform the link aggregation method in the first aspect or any of the corresponding embodiments. BRIEF DESCRIPTION OF DRAWINGS

[0024] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the drawings needed in the specific embodiments or prior art description will be briefly introduced as follows. Obviously, the drawings described below are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0025] Figure 1 is a private line stack architecture deployment diagram in the related art;

[0026] Figure 2 is a flow diagram of another link aggregation method according to an embodiment of the present application;

[0027] Figure 3 is a flow diagram of another link aggregation method according to an embodiment of the present application;

[0028] Figure 4 is a cloud private line unstack structure deployment diagram according to an embodiment of the present application;

[0029] Figure 5 is a flow diagram of a link aggregation registration method according to an embodiment of the present application;

[0030] Figure 6 is a flow diagram of a table entry synchronization method according to an embodiment of the present application;

[0031] Figure 7 is a structural block diagram of a link aggregation device according to an embodiment of the present application;

[0032] Figure 8 is a hardware structure diagram of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0034] Internet data centers need to access cloud resources via dedicated lines, and to achieve link redundancy and high availability, in order to improve the stability and continuity of data transmission. Typically, two POP switches are deployed, and the internet data center's outbound devices are connected to these two different POP switches respectively.

[0035] In related technologies, two POP switches are used to achieve leased line access through a stacking architecture or a virtual link aggregation architecture. In the stacking architecture, the control planes of the two devices are combined into one, and the two interfaces accessed by the customer can be understood as being connected to the same device, thereby achieving link aggregation and binding, and load balancing of traffic. Deployment is simple, but service interruption is required for upgrades, which are cumbersome and prone to problems.

[0036] The technical principle of stacking structure and virtual link aggregation is that two devices are independent of each other, and the two devices interact with each other through a heartbeat line to realize the aggregation and binding of links between different interfaces of different devices.

[0037] like Figure 1 As shown, dedicated line access points 1 and 2 are connected via a cross link as a point-to-point link and heartbeat line, enabling synchronized stacking information and forwarding of lateral traffic. Customer IDC (Internet Data Center) egress devices are connected to dedicated line access points 1 and 2 via two separate lines. These two lines are bonded using LACP (Link Aggregation Control Protocol) dynamic link aggregation technology to achieve load balancing and high availability. Lines within the cloud resource pool network are also bound using link aggregation technology, forming a logical access point across the entire stacking architecture. The cloud dedicated line controller is the control plane for the cloud dedicated line, primarily used for orchestrating and distributing service configurations, and connects to the stacking architecture.

[0038] The two devices exchange MAC (Media Access Control) and ARP (Address Resolution Protocol) entries via a heartbeat line, aggregating their interfaces into one. However, this approach to achieving high availability of the link suffers from high coupling. Devices from different vendors cannot be stacked or linked together; even different models and versions from the same vendor can experience unavailability. This imposes limitations on data center expansion and deployment.

[0039] At the same time, the two devices require additional interfaces and bandwidth for relay traffic and heartbeat traffic, which increases the convergence ratio of the access layer and indirectly increases the cost of the data center.

[0040] In order to reduce the cost, the data center access layer can adopt the architecture of ARP double sending, that is, the server and the access switch are interconnected in the third layer, and the ARP is sent to two access point devices to realize the synchronization of the table item. However, for the private line scene, the export device of the customer is generally a router or a firewall, and the modification of ARP double sending cannot be carried out.

[0041] The embodiment of the present application provides a link aggregation method, two independent access point devices obtain aggregation information by the registration of the control plane to realize the binding of the link aggregation. When the ARP information of the export device of the customer is sent to one of the access point devices, the table item information is reported to the cloud private line controller, and the cloud private line controller forwards the table item information. The access point devices can be decoupled, and the heartbeat line between the access point devices is omitted, the convergence ratio of the private line access is improved. The modification of ARP double sending between the customer and the customer is omitted, the modification work between the customer and the customer is reduced, and the universality and the user experience of the method are improved.

[0042] According to the embodiment of the present application, a link aggregation method is provided, and it should be noted that the steps shown in the flowchart can be executed in a computer system such as a group of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0043] In the embodiment, a link aggregation method is provided, and the method is applied to a cloud private line controller in a cloud private line stack architecture, the cloud private line stack architecture further comprises at least two access point devices connected with the cloud private line controller, the access point devices are connected with a cloud resource pool network and a customer export device respectively, Figure 2 The flowchart of the link aggregation method according to the embodiment of the present application is shown in the figure, and the flowchart comprises the following steps: Figure 2 As shown in the figure, the flowchart comprises the following steps:

[0044] In step S101, the access point information of the at least two access point devices is obtained.

[0045] Before the link aggregation of the access point device, the link aggregation agent needs to be deployed, when the user connects the private line to the access point device and links the at least two access point devices, the link aggregation agent sends the access point information to the cloud private line controller, so that the cloud private line controller can effectively manage the access point devices.

[0046] The access point information can comprise the port information, the mac address, the IP (Internet Protocol) address and the like of the access point device.

[0047] In step S102, based on the access point information, aggregate information is allocated to the at least two access point devices to instruct the at least two access point devices to perform dynamic link aggregation.

[0048] According to the access point information, the at least two access point devices performing dynamic link aggregation are determined. The cloud control server can create a link aggregation group, obtain interface information of the access point devices performing dynamic link aggregation, and transmit the interface information into the link aggregation group. Then, according to actual conditions, aggregate information of the access point devices is determined, and the aggregate information is respectively transmitted to the corresponding access point devices. After receiving the aggregate information, the first target access point device determines a second target access point device performing dynamic link aggregation, and interacts with the second access point device through a packet, and according to a packet interaction result, it is judged whether the dynamic link aggregation is successfully established. The second target access point device is the remaining access point device except the first target access point device in the dynamic link aggregation. In an actual application, the packet is an LACPDU (Link Aggregation Control Protocol Data Unit) packet.

[0049] The aggregate information can include system priority, active interface upper threshold, interface priority, and the like.

[0050] In step S103, in a case where the aggregation is successfully established, table item information of the first access point device is obtained; the first access point device is one of the at least two access point devices; and the table item information is generated by the first access point device after obtaining an address resolution protocol of a customer egress device.

[0051] In a case where the aggregation is successfully established, an arp request or an arp response can only hash the traffic to one of the access point devices, so that the other access point cannot learn the arp information. Therefore, after receiving the arp request, the first access point device needs to learn the table item information corresponding to the arp request, and transmit the table item information to the cloud private line controller, so as to instruct the cloud private line controller to synchronize the table item information to the other access point devices in the aggregation link.

[0052] In step S104, the synchronization information is forwarded to the second access point device; the synchronization information includes the table item information, and the second access point device is an access point device in the at least two access point devices except the first access point device.

[0053] After obtaining the table item information transmitted by the first access point device, the cloud private line controller can generate synchronization information according to the table item information and interface information of the second access point device, and forward the synchronization information to the second access point device. After receiving the synchronization information, the second access point device extracts the table item information in the synchronization information, and stores the table item information, so as to realize table item synchronization.

[0054] The access point device and the cloud resource pool network are three-layer interconnected, the learned table item information is published into the cloud resource pool network through host routing, and the cloud resource pool network routes according to the learned host routing. When the access point or the interface fails, the host routing disappears, and the cloud resource pool network routing automatically switches to another access point.

[0055] The link aggregation method provided in the embodiment acquires access point information of at least two access point devices, and allocates aggregation information to the access point devices according to the access point information, to instruct the two access point devices to perform dynamic link aggregation. In the case that the link aggregation is successfully established, table item information of a first access point is acquired, and the table item information is forwarded to a second access point device, to perform synchronization of the table items. The stacking architecture of the link is removed, and the two independent devices can be used as the access points, reducing the dependence on the manufacturer. Meanwhile, the cross-connection link between the two access point devices is removed, the available interfaces of the access point device can be increased, and the convergence ratio of the private line access can be improved.

[0056] A link aggregation method is provided in the embodiment, and the method is applied to a cloud private line controller in a cloud private line de-stacking architecture. The cloud private line de-stacking architecture further includes at least two access point devices connected to the cloud private line controller, and the access point devices are respectively connected to a cloud resource pool network and a customer exit device, Figure 3 The flowchart of the link aggregation method according to the embodiment of the application is shown in Figure 3 The flowchart includes the following steps:

[0057] In step S201, access point information of at least two access point devices is acquired.

[0058] For details, refer to step S101 of the embodiment shown in Figure 2 which will not be described here again.

[0059] In some optional embodiments, the access point information includes interface information and switch information of the access point device.

[0060] The access point information includes the interface information and the access point information, and the access control policy of the cloud private line controller can be set, to facilitate subsequent synchronization of the table items of the access point devices.

[0061] In step S202, aggregation information is allocated to the at least two access point devices based on the access point information, to instruct the at least two access point devices to perform dynamic link aggregation.

[0062] Specifically, the above step S202 includes:

[0063] In step S2021, the aggregation information is generated, and the aggregation information includes link aggregation control information.

[0064] After obtaining the access point information, the link aggregation control information can be allocated to the access point device according to actual conditions, wherein the link aggregation control information can include companion interface information, companion interface upper threshold and the like.

[0065] In some optional embodiments, the link aggregation control information includes a companion system priority, a companion system, a companion key value and a companion port.

[0066] In an actual application, after obtaining the access point information of the at least two access point devices, the cloud private line controller allocates the same companion system priority, companion system and companion key value to the at least two access point devices to be dynamically aggregated, and allocates different companion ports.

[0067] The link aggregation control information includes a companion system priority, a companion system, a companion key value and a companion port. The consistency of the active interfaces of the two access point devices can be ensured.

[0068] In step S2022, the aggregation information is sent to the corresponding access point device based on the access point information.

[0069] Based on the access point information, the access point device corresponding to the aggregation information is determined, and the aggregation information is sent to the port of the corresponding access point device.

[0070] After receiving the aggregation information, the access point device can determine the remaining access point devices on the aggregation link according to the aggregation information, and interact with the remaining access point devices through LACPDU packets.

[0071] In an actual application, the cloud private line controller allocates the same companion system priority, companion system and companion key value to the at least two access point devices to be dynamically aggregated, and allocates different companion ports. When the access point device interacts with the remaining access point devices through LACPDU packets, since the companion system priority and the companion system in the aggregation information obtained by the access point devices on the same aggregation link are consistent, it can be considered that the access points are the same device. In the case that the companion key value is consistent and the companion port is inconsistent, it can be determined that the lacp protocol negotiation is successful, that is, the aggregation is successfully established.

[0072] In step S203, the table item information of the first access point device is obtained in the case that the aggregation is successfully established; the first access point device is one of the at least two access point devices; and the table item information is generated after the first access point device obtains the address resolution protocol of the customer exit device.

[0073] For details, please refer to Figure 2 In step S103 of the embodiment shown, no further description is given here.

[0074] In some optional embodiments, the entry information comprises a media access control address, an Internet Protocol address, and a correspondence between the media access control address and the Internet Protocol address.

[0075] In step S204, the synchronization information is forwarded to the second access point device; the synchronization information comprises entry information, and the second access point device is an access point device other than the first access point device among the at least two access point devices.

[0076] For details, please refer to Figure 2 In step S104 of the illustrated embodiment, no further elaboration is given here.

[0077] In some optional embodiments, before step S204, the method further comprises:

[0078] In step a1, interface information of the second access point device is determined based on the aggregation information.

[0079] According to the aggregation information, the interface information of the second access point device can be determined, wherein the interface information can comprise interface, aggregation port, mac address, and the like.

[0080] In step a2, synchronization information comprising the entry information and the interface information is generated.

[0081] The interface information can be placed before the entry information, so as to facilitate the second access point device to verify the synchronization information after obtaining the synchronization information.

[0082] The generated synchronization information comprises the interface information and the entry information of the second access point device, which can improve the accuracy of the entry information forwarding.

[0083] In some optional embodiments, after step S204, the method further comprises:

[0084] In step b1, the second access point device performs synchronization verification on the synchronization information, and determines whether to generate entry data according to the synchronization information according to the synchronization verification result.

[0085] After receiving the synchronization information, the second access point device can obtain port information in the synchronization information, and determine whether the port information is consistent with port information of the second access point device. If consistent, the synchronization verification is successful, and if not consistent, the synchronization verification fails. In the case of successful synchronization verification, the entry information in the synchronization information is stored in the second access point device.

[0086] The second access point device performs synchronization verification on the synchronization information, and determines whether to generate entry data according to the synchronization information according to the synchronization verification result. This can ensure the accuracy of the entry data and avoid data transmission errors.

[0087] In one practical application, after the first access point device receives the ARP request and learns the ARP information, the first access point device reports the synchronization information to the cloud private line controller, where the synchronization information includes the interface, aggregation port, member port and ARP information of the rest of the access point devices on the aggregation link. The ARP information includes IP information, MAC information, etc. The cloud private line controller finds the rest of the access point devices on the aggregation link according to the aggregation port and member port information, and synchronizes the learned ARP information to the rest of the access point devices. After the rest of the access point devices obtain the synchronization information, the rest of the access point devices check the aggregation port and member port information in the synchronization information to ensure the accuracy of the table item synchronization. Thus, another device learns the ARP information and the MAC address table item. The MAC address table item can be obtained by binding the MAC and the member port.

[0088] In some optional embodiments, after step S204, the method further includes:

[0089] Step c1, obtaining a check frequency.

[0090] The check frequency can be set according to actual conditions.

[0091] Step c2, comparing the to-be-checked table item information and the reference table item information according to the check frequency, where the to-be-checked table item information is the table item information of the cloud private line controller and / or the table item information in the second access point device, and the reference table item information is the table item information of the first access point device.

[0092] According to the check frequency, the to-be-checked table item information and the reference table item information are obtained. Then, the to-be-checked table item information and the reference table item information are compared one by one.

[0093] Step c3, generating synchronization information according to the reference table item information and the aggregation information when the comparison result is inconsistent.

[0094] When the comparison result is inconsistent, it indicates that the table item synchronization is wrong. The table item information needs to be relearned to prevent subsequent data transmission problems. According to the aggregation information, the interface and aggregation port of the second access point device can be determined. Then, the synchronization information including the reference table item information and the interface information of the second access point device is generated.

[0095] Step c4, forwarding the synchronization information to the second access point device.

[0096] After the synchronization information is forwarded to the second access point device, the second access point device can relearn and store the reference table item information according to the synchronization information, so as to ensure that the table item information in the second access point device is the same as the table item information in the first access point device.

[0097] The check frequency is acquired, and the table item information of the private line controller and / or the table item information in the second access point device is checked according to the check frequency. It can be ensured that the table item information is synchronized and correct, and problems such as network packet loss and cloud private line controller table item synchronization process lock can be prevented.

[0098] The link aggregation method provided in the embodiment can allocate aggregation information containing link aggregation control information to at least two access point devices, and can bind the two access point devices for link aggregation, thereby reducing the complex process of disstacking and restacking.

[0099] The embodiment provides a cloud private line disstacking structure deployment diagram. Figure 4 As shown in the figure, the customer IDC export device is connected to private line access point 1 and private line access point 2 through two cloud access lines respectively, and the private line access point 1 and the private line access point 2 are independently deployed without interconnection. The customer IDC export link is dynamically bound for link aggregation, and the private line access point 1 and the private line access point 2 are also dynamically bound for link aggregation. The private line access point 1 and the private line access point 2 register with the link aggregation registration module of the cloud private line controller to realize the link aggregation function of the access point, so that the private line access point 1 and the private line access point 2 are regarded as one device from the perspective of the customer device. After receiving the arp request, the private line access point 1 interacts with the table item synchronization module in the cloud private line controller to calculate and issue the information to the private line access point 2, so as to realize the synchronization of the table items of the two access points. The private line access point 1 and the private line access point 2 are respectively interconnected with the cloud internal resource pool three-layer BGP (Border Gateway Protocol), and the two access points respectively publish the customer-side route, so that the cloud internal resource pool network learns the corresponding route through the load path, and the traffic from the cloud internal resource pool to the customer side can be loaded to the two access points.

[0100] The embodiment also provides a link aggregation registration method, and a flow chart of the method is shown in Figure 5 Two physical lines are connected to the access point 1 and the access point 2 respectively, and the process of triggering the access point to register with the controller for link aggregation is triggered. The access point reports the mac information and the interface information of the device to the controller, and the controller saves the access point information. After the two lines are bound, the controller allocates related lacp parameters to the corresponding access point, wherein the values of partner_system_priority, partner_system and partner_key are consistent, and the value of partner_port is different. Only in this way, the peer device can successfully negotiate with the access point side in the dynamic negotiation process of lacp. After the parameter calculation is completed, the parameters are issued to the corresponding access point, and the access point performs local configuration according to the parameters. On this basis, the dynamic link aggregation negotiation is performed with the customer-side device.

[0101] Two independent access point devices obtain lacp parameters by registering to a control plane, and realize binding of interfaces of two different devices for link aggregation by setting the parameters.

[0102] The embodiment also provides a table item synchronization method, and a flowchart of the method is as shown in Figure 6 When the access point 1 learns the arp information of the customer exit device, the arp table item, the mac table item and other information are formed. That is, the access point 1 reports the information to the controller, wherein the information includes mac information, ip information, physical interface information, aggregation interface information and the like. The controller table item synchronization module calculates according to the reported information, finds other member interfaces under the same aggregation interface and corresponding access points, and then the controller issues the ip, mac and other information to the corresponding access point 2, and the access point 2 forms the arp table item and the mac table item according to the received ip information, mac information, interface and aggregation interface information.

[0103] Meanwhile, the controller and the access point perform periodic checking to prevent the situation that the data of the controller and the access point are inconsistent. When the data of the controller and the access point are inconsistent, the configuration issued is revoked, that is, the arp table item and the mac table item of the access point are revoked, and the access point is reset. The access point forms new table items by self-learning, and repeats the table item synchronization process.

[0104] The arp information of the customer exit device can be sent to only one device, and by the information reporting of the access point device and the controller, the controller can master the arp information of the customer side, the controller calculates other access points and interfaces, and issues the arp information and the mac information to the access point, so that the access point forms the table items, and the table item synchronization is completed.

[0105] The embodiment also provides a link aggregation device, which is used for implementing the above-mentioned embodiments and preferred embodiments, and details are not repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, implementation of hardware, or a combination of software and hardware is also possible and is conceived.

[0106] The embodiment provides a link aggregation device, as shown in Figure 7 The device comprises:

[0107] An access point information acquisition module 301 is configured to acquire access point information of at least two access point devices;

[0108] An aggregation module 302 is configured to allocate aggregation information for the at least two access point devices based on the access point information, so as to instruct the at least two access point devices to perform dynamic link aggregation;

[0109] The table item information acquisition module 303 is configured to acquire table item information of the first access point device in a case where the aggregation establishment is successful; the first access point device is one of the at least two access point devices; and the table item information is generated by the first access point device after the first access point device acquires the address resolution protocol of the customer exit device.

[0110] The synchronization module 304 is configured to forward synchronization information to the second access point device; the synchronization information includes the table item information; and the second access point device is an access point device other than the first access point device among the at least two access point devices.

[0111] In some optional embodiments, the access point information includes interface information and switch information of the access point device.

[0112] In some optional embodiments, the table item information includes a media access control address, an Internet protocol address, and a correspondence between the media access control address and the Internet protocol address.

[0113] In some optional embodiments, the aggregation module 302 includes:

[0114] The aggregation information generation unit is configured to generate aggregation information, wherein the aggregation information includes link aggregation control information.

[0115] The sending unit is configured to send the aggregation information to the corresponding access point device based on the access point information.

[0116] In some optional embodiments, the link aggregation control information includes a partner system priority, a partner system, a partner key value, and a partner port.

[0117] In some optional embodiments, the apparatus further includes a synchronization information generation module 305, and the synchronization information generation module 305 includes:

[0118] The interface information determination unit is configured to determine interface information of the second access point device based on the aggregation information.

[0119] The first generation unit is configured to generate synchronization information including the table item information and the interface information.

[0120] In some optional embodiments, the apparatus further includes a synchronization verification module 306 configured to instruct the second access point device to perform synchronization verification; the second access point device performs synchronization verification on the synchronization information, and determines whether to generate table item data according to the synchronization information according to a synchronization verification result.

[0121] In some optional embodiments, the apparatus further includes a verification module 307, and the verification module 307 includes:

[0122] The verification frequency acquisition unit is configured to acquire a verification frequency.

[0123] The comparison unit is used to compare the information of the table entry to be verified with the information of the reference table entry according to the verification frequency. The information of the table entry to be verified is the information of the table entry of the cloud private line controller and / or the information of the table entry in the second access point device, and the information of the reference table entry is the information of the table entry of the first access point device.

[0124] The second generation unit is used to generate synchronization information based on reference entry information and aggregation information when the comparison results are inconsistent.

[0125] The forwarding unit is used to forward synchronization information to the second access point device.

[0126] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.

[0127] In this embodiment, the link aggregation device is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0128] This invention also provides a computer device having the above-described features. Figure 7 The link aggregation device shown.

[0129] Please see Figure 8 , Figure 8 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 8 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 8 Take a processor 10 as an example.

[0130] The processor 10 can be a central processing unit, a network processing unit, or a combination thereof. The processor 10 can further include a hardware chip. The hardware chip can be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device can be a complex programmable logic device, a field programmable logic device, a general array logic, or any combination thereof.

[0131] The memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform the methods illustrated in the above embodiments.

[0132] The memory 20 can include a program storage area and a data storage area. The program storage area can store an operating system and application programs required by at least one function. The data storage area can store data created according to the use of the computer device, and the like. In addition, the memory 20 can include a high-speed random access memory, and can further include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some alternative embodiments, the memory 20 can optionally include a memory disposed remotely from the processor 10, which can be connected to the computer device through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0133] The memory 20 can include a volatile memory, such as a random access memory, and can also include a non-volatile memory, such as a flash memory, a hard disk, or a solid state disk. The memory 20 can further include a combination of the above-mentioned types of memories.

[0134] The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30, and the output device 40 can be connected by a bus or other means, Figure 8 For example, by a bus connection.

[0135] The input device 30 can receive input digital or character information, and generate key signal inputs related to the user settings and function controls of the computer device, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, and the like. The output device 40 can include a display device, an auxiliary lighting device (e.g., an LED), a tactile feedback device (e.g., a vibration motor), and the like. The display device includes, but is not limited to, a liquid crystal display, a light emitting diode, a display, and a plasma display. In some alternative embodiments, the display device can be a touch screen.

[0136] The embodiments of the present application further provide a computer readable storage medium, and the method according to the embodiments of the present application can be implemented in hardware, firmware, or recorded in a storage medium, or stored in a remote storage medium or a non-transitory machine readable storage medium and downloaded to a local storage medium through network, so that the method described herein can be processed by such software on a storage medium using a general purpose computer, a special purpose processor, or programmable or special hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid state disk, etc. Further, the storage medium can also include a combination of the above-mentioned memories. It can be understood that the computer, the processor, the microprocessor controller, or the programmable hardware includes a storage component that can store or receive software or computer code, when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the method shown in the above embodiments is implemented.

[0137] Part of the present application can be applied as a computer program product, for example, computer program instructions, when executed by a computer, the operation of the computer can invoke or provide the method and / or technical solutions according to the present application. Those skilled in the art should understand that the form of computer program instructions in computer readable medium includes but is not limited to source file, executable file, installation package file, etc. Correspondingly, the way of computer program instructions executed by computer includes but is not limited to: the computer directly executes the instructions, or the computer compiles the instructions and then executes the corresponding compiled program, or the computer reads and executes the instructions, or the computer reads and installs the instructions and then executes the corresponding installed program. Here, the computer readable medium can be any available computer readable storage medium or communication medium accessible to the computer.

[0138] Although the embodiments of the present application are described in conjunction with the accompanying drawings, various modifications and changes can be made by those skilled in the art without departing from the spirit and scope of the present application, and such modifications and changes fall within the scope defined by the appended claims.

Claims

1. A method of link aggregation, the method comprising: The method is applied to a cloud private line controller in a cloud private line stack architecture, the cloud private line stack architecture further comprises at least two access point devices connected with the cloud private line controller, the access point devices are respectively connected with a cloud internal resource pool network and a customer exit device, and the method comprises: obtaining access point information of the at least two access point devices; based on the access point information, assigning aggregation information to the at least two access point devices to instruct the at least two access point devices to perform dynamic link aggregation; in the case that the aggregation is successfully established, obtaining table item information of a first access point device; the first access point device is one of the at least two access point devices; the table item information is generated by the first access point device after obtaining an address resolution protocol of the customer exit device; forwarding synchronization information to a second access point device; the synchronization information comprises the table item information, and the second access point device is an access point device other than the first access point device among the at least two access point devices.

2. The method of claim 1, wherein, The access point information comprises interface information and switch information of the access point device.

3. The method of claim 1, wherein, The method further comprises: generating aggregation information, wherein the aggregation information comprises link aggregation control information; based on the access point information, sending the aggregation information to the corresponding access point device.

4. The method of claim 3, wherein, The link aggregation control information comprises peer system priority, peer system, peer key value and peer port.

5. The method of claim 1, wherein, The method further comprises: based on the aggregation information, determining interface information of the second access point device; generating synchronization information comprising the table item information and the interface information.

6. The method of claim 1, wherein, The method further comprises: the second access point device performs synchronization verification on the synchronization information, and determines whether to generate table item data according to the synchronization information according to the synchronization verification result.

7. The method according to any of claims 1 to 6, characterized in that The method further comprises: obtaining a verification frequency; comparing to-be-verified table item information and reference table item information according to the verification frequency, wherein the to-be-verified table item information is table item information of the cloud private line controller and / or table item information in the second access point device, and the reference table item information is table item information of the first access point device; in the case that the comparison result is inconsistent, generating synchronization information according to the reference table item information and the aggregation information; forwarding the synchronization information to the second access point device.

8. The method of claim 7, wherein, The table item information comprises a medium access control address, an internet protocol address, and a correspondence between the medium access control address and the internet protocol address.

9. A link aggregation apparatus, characterized by, The device is applied to a cloud private line controller in a cloud private line stack architecture, the cloud private line stack architecture further comprises at least two access point devices connected with the cloud private line controller, the access point devices are respectively connected with a cloud internal resource pool network and a customer exit device, and the device comprises: an access point information obtaining module, configured to obtain access point information of the at least two access point devices; an aggregating module, configured to allocate, based on the access point information, aggregation information to the at least two access point devices, so as to instruct the at least two access point devices to perform dynamic link aggregation; an entry information obtaining module, configured to, in a case where the aggregation is successfully established, obtain entry information of a first access point device; the first access point device is one of the at least two access point devices; the entry information is generated by the first access point device after obtaining an address resolution protocol of a client exit device; a synchronizing module, configured to forward synchronizing information to a second access point device; the synchronizing information comprises the entry information; the second access point device is an access point device other than the first access point device among the at least two access point devices.

10. A computer device, comprising: comprise: a memory and a processor, which are in communication connection with each other, and the memory stores computer instructions; the processor executes the computer instructions, thereby performing the link aggregation method in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Cross-device aggregation method and device

    CN108173691A

  • ARP (Address Resolution Protocol) synchronization method and device in stacking environment and medium

    CN118646724A