Link aggregation method, device and equipment
By using cloud dedicated line controllers for dynamic link aggregation in the cloud dedicated line de-stack architecture, the problems of high coupling of access point devices and strong dependence on manufacturers in the existing technology are solved, and more efficient and flexible dedicated line access is achieved.
Patent Information
- Application Number
- CN202411677069.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-11-21
AI Technical Summary
In the prior art, when Internet data centers achieve dedicated line access through stacking architectures or virtual link aggregation architectures, there are problems such as high coupling, strong dependence on manufacturers, and cumbersome upgrades.
By using a cloud dedicated line controller in a cloud dedicated line destack architecture, access point information of access point devices is obtained and aggregated information is assigned to access point devices to instruct them to perform dynamic link aggregation. The entry information of the first access point device is forwarded to the second access point device to realize the synchronization of the entry.
It reduces the coupling requirements of access point equipment, reduces dependence on manufacturers, simplifies the upgrade process, and improves the convergence ratio of dedicated line access.
Smart Images

Figure CN119788595A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cloud computing, and in particular to a link aggregation method, device and equipment. Background Art
[0002] Internet data centers need to access cloud resources through dedicated lines and implement link redundancy and high availability to improve the stability and continuity of data transmission. Usually two POP (point to point) switches are deployed, and the egress devices of the Internet data center are connected to these two different POP switches.
[0003] In related technologies, two POP switches use a stacking architecture or a virtual link aggregation architecture to achieve dedicated line access. The stacking architecture is simple to deploy, but the service upgrade must be interrupted, which is cumbersome and prone to problems. The virtual link aggregation architecture has high coupling and is highly dependent on manufacturers.
[0004] In view of this, a link aggregation method with low coupling requirements on access point devices is needed. Summary of the invention
[0005] In view of this, the present invention provides a link aggregation method, which can reduce the coupling requirements of access point devices.
[0006] In a first aspect, the present invention provides a link aggregation method, which is applied to a cloud dedicated line controller in a cloud dedicated line destacking architecture. The cloud dedicated line destacking architecture also includes at least two access point devices connected to the cloud dedicated line controller, and the access point devices are respectively connected to a resource pool network in a cloud and a customer export device. The method includes: obtaining access point information of at least two access point devices; based on the access point information, allocating aggregation information to at least two access point devices to instruct at least two access point devices to perform dynamic link aggregation; when 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 after the first access point device obtains the address resolution protocol of the customer export device; 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 this embodiment, the access point information of at least two access point devices is obtained, and aggregation information is allocated to the access point devices according to the access point information to instruct the two access point devices to perform dynamic link aggregation. When the link aggregation is successfully established, the table entry information of the first access point is obtained, and the table entry information is forwarded to the second access point device to synchronize the table entries. The stacking architecture of the link is removed, and two independent devices can be used as access points, reducing the dependence on manufacturers. At the same time, the horizontal connection between the two access point devices is removed, which can increase the available interfaces of the access point device to improve the convergence ratio of the dedicated line access.
[0008] In an optional implementation manner, the access point information includes interface information and switch information of the access point device.
[0009] In this implementation, the access point information includes interface information and access point information, which can set the access control policy of the cloud dedicated line controller to facilitate subsequent access point devices to synchronize table entries.
[0010] In an optional implementation, allocating aggregation information to at least two access point devices based on the access point information includes: generating aggregation information, wherein the aggregation information includes link aggregation control information; and sending the aggregation information to corresponding access point devices based on the access point information.
[0011] In this implementation, aggregation information including link aggregation control information is allocated to at least two access point devices, so that link aggregation can be bound to the two access point devices, thereby reducing the complex process of stacking and restacking.
[0012] In an optional implementation, the link aggregation control information includes a peer system priority, a peer system, a peer key value, and a peer port.
[0013] In this implementation, the link aggregation control information includes the peer system priority, the peer system, the peer key value and the peer port, so as to ensure the consistency of the active interfaces of the two access point devices.
[0014] In an optional implementation manner, before forwarding the synchronization information to the second access point device, the method further includes: determining interface information of the second access point device based on the aggregation information; and generating synchronization information including table entry information and interface information.
[0015] In this implementation, the generated synchronization information includes the interface information and the table entry information of the second access point device, which can improve the accuracy of forwarding the table entry information.
[0016] In an optional implementation, after forwarding the synchronization information to the second access point device, the method further includes: the second access point device performs synchronization verification on the synchronization information, and determines whether to generate table entry data according to the synchronization information according to the synchronization verification result.
[0017] In this embodiment, the second access point device performs synchronization verification on the synchronization information, and determines whether to generate table entry data according to the synchronization information based on the synchronization verification result, so as to ensure the accuracy of the table entry data and avoid data transmission errors.
[0018] In an optional implementation, the method further includes: obtaining a verification frequency; comparing the table item information to be verified with the reference table item information according to the verification frequency, wherein the table item information to be verified is the table item information of the cloud dedicated 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; when the comparison result is inconsistent, generating synchronization information according to the reference table item information and the aggregation information; and forwarding the synchronization information to the second access point device.
[0019] In this embodiment, the verification frequency is obtained, and the table information of the dedicated line controller and / or the table information in the second access point device is verified according to the verification frequency, which can ensure that the table information is synchronized correctly and improve the reliability of the method.
[0020] In an optional implementation manner, the entry 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.
[0021] In this implementation, the entry 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, which can improve network stability, simplify network management, and achieve link aggregation.
[0022] In a second aspect, the present invention provides a link aggregation device, which includes: an access point information acquisition module, which is used to acquire access point information of at least two access point devices; an aggregation module, which is used to allocate aggregation information to at least two access point devices based on the access point information to instruct at least two access point devices to perform dynamic link aggregation; a table item information acquisition module, which is used to acquire table item information of a first access point device when the aggregation is successfully established; 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 the address resolution protocol of the customer export device; a synchronization module, which is used to forward the 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.
[0023] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the link aggregation method of the first aspect or any corresponding embodiment thereof by executing the computer instructions. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 It is a dedicated line stacking architecture deployment diagram in related technologies;
[0026] Figure 2 is a schematic flow chart of another link aggregation method according to an embodiment of the present invention;
[0027] Figure 3 is a schematic flow chart of another link aggregation method according to an embodiment of the present invention;
[0028] Figure 4 This is a cloud dedicated line stacking structure deployment diagram according to an embodiment of the present invention;
[0029] Figure 5 is a flowchart of a link aggregation registration method according to an embodiment of the present invention;
[0030] Figure 6 is a flow chart of a table entry synchronization method according to an embodiment of the present invention;
[0031] Figure 7 is a structural block diagram of a link aggregation device according to an embodiment of the present invention;
[0032] Figure 8 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0034] Internet data centers need to access cloud resources through dedicated lines and achieve link redundancy and high availability to improve the stability and continuity of data transmission. Usually two POP switches are deployed, and the egress devices of the Internet data center are connected to these two different POP switches respectively.
[0035] In related technologies, two POP switches use a stacking architecture or a virtual link aggregation architecture to achieve dedicated line access. 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 traffic load distribution. The deployment is simple, but the service upgrade must be interrupted, the upgrade is cumbersome, and problems are prone to occur.
[0036] The technical principle of stacking structure and virtual link aggregation is that the two devices are independent of each other, and the control protocol interacts between the two devices through a heartbeat line to achieve link aggregation and bundling of different interfaces of different devices.
[0037] like Figure 1 As shown, dedicated line access point 1 and dedicated line access point 2 use the middle horizontal connection line as a point-to-point link and heartbeat line to synchronize stacking information and forward horizontal traffic. The customer IDC (Internet Data Center) egress device is connected to dedicated line access point 1 and dedicated line access point 2 through two lines. The two lines are bundled through the lac (Link Aggregation Control Protocol) dynamic link aggregation technology to achieve traffic load sharing and high availability of the lines. The lines of the resource pool network in the cloud are also bound through link aggregation technology, and the entire stacking architecture forms a logical access point. The cloud dedicated line controller is the control plane of the cloud dedicated line, which is mainly used to orchestrate and distribute service configurations and connect to the stacking architecture.
[0038] The two devices interact with each other through the heartbeat line, such as mac (Media Access Control) and arp (Address Resolution Protocol), and aggregate the interfaces of the two devices into one, which has the problem of high coupling in achieving high link availability. Devices from different manufacturers cannot be stacked or link-bound, and even different models and versions of the same manufacturer may be unavailable. This has brought certain restrictions on the expansion and deployment of data centers.
[0039] At the same time, the two devices need to transfer traffic and heartbeat traffic, which requires additional reserved interfaces and bandwidth, increasing the convergence ratio of the access layer and indirectly increasing the cost of the data center.
[0040] To reduce costs, the data center access layer can adopt the architecture of dual-arp transmission, that is, the server and access switch are interconnected at the third layer, and arp is sent to the two access point devices to synchronize the table entries. However, for dedicated line scenarios, the customer's egress device is generally a router or firewall, and dual-arp transmission cannot be modified.
[0041] The embodiment of the present invention provides a link aggregation method, in which two independent access point devices obtain aggregation information by registering with a control plane to achieve link aggregation binding. When the ARP information of the customer export device is sent to one of the access point devices, the table information is reported to the cloud dedicated line controller, and the cloud dedicated line controller forwards the table information. The access point devices can be decoupled, and the heartbeat line connecting the access point devices is omitted, thereby improving the convergence ratio of dedicated line access. No modification is made on the client side, which reduces the transformation work of double ARP transmission between the client and improves the versatility of the method and user experience.
[0042] According to an embodiment of the present invention, a link aggregation method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a 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 this embodiment, a link aggregation method is provided, which is applied to a cloud dedicated line controller in a cloud dedicated line stacking architecture. The cloud dedicated line stacking architecture also includes at least two access point devices connected to the cloud dedicated line controller, and the access point devices are respectively connected to a cloud resource pool network and a customer egress device. Figure 2 is a flow chart of a link aggregation method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0044] Step S101: Acquire access point information of at least two access point devices.
[0045] Before performing link aggregation on an access point device, you need to deploy a link aggregation agent. When the user connects a dedicated line to an access point device and bundles at least two access point devices, the link aggregation agent sends access point information to the cloud dedicated line controller so that the cloud dedicated line controller can effectively manage the access point devices.
[0046] The access point information may include port information, MAC address, IP (Internet Protocol) address, etc. of the access point device.
[0047] Step S102: Based on the access point information, aggregation information is allocated to 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, at least two access point devices for dynamic link aggregation are determined. The cloud control server can create a link aggregation group, obtain the interface information of the access point device that will perform dynamic link aggregation, and pass the interface information to the link aggregation group. Then, according to the actual situation, the aggregation information of the access point device is determined, and the aggregation information is sent to the corresponding access point devices respectively. After receiving the aggregation information, the first target access point device determines the second target access point device for dynamic link aggregation, and exchanges a message with the second access point device, and determines whether the dynamic link aggregation is successfully established based on the message interaction result. The second target access point device is the remaining access point devices in the dynamic link aggregation except the first target access point device. In an actual application, the message is a LACPDU (Link Aggregation Control Protocol Data Unit) message.
[0049] The aggregation information may include system priority, upper threshold of active interfaces, interface priority, and other information.
[0050] Step S103, when the aggregation is successfully established, obtain the table entry information of the first access point device; the first access point device is one of the at least two access point devices; the table entry information is generated after the first access point device obtains the address resolution protocol of the customer egress device.
[0051] When the aggregation is successfully established, the ARP request or ARP response can only hash the traffic to one of the access point devices, resulting in the other access point being unable to learn the ARP information. Therefore, after receiving the ARP request, the first access point device needs to learn the table entry information corresponding to the ARP request and send the table entry information to the cloud dedicated line controller to instruct the cloud dedicated line controller to synchronize the table entry information to other access point devices in the aggregated link.
[0052] Step S104: forwarding the synchronization information to the second access point device; the synchronization information includes table 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.
[0053] After acquiring the table entry information sent by the first access point device, the cloud dedicated line controller can generate synchronization information based on the table entry information and the 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 entry information in the synchronization information and stores the table entry information, thereby realizing table entry synchronization.
[0054] The access point device and the cloud resource pool network are interconnected at Layer 3. The learned table entry information is published to the cloud resource pool network through host routing. The cloud resource pool network selects routes based on the learned host routes. When the access point or interface fails, the host route disappears, and the cloud resource pool network selection automatically switches to another access point.
[0055] The link aggregation method provided in this embodiment obtains 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, so as to instruct the two access point devices to perform dynamic link aggregation. When the link aggregation is successfully established, the table entry information of the first access point is obtained, and the table entry information is forwarded to the second access point device to synchronize the table entries. The stacking architecture of the link is removed, and two independent devices can be used as access points, reducing dependence on manufacturers. At the same time, the horizontal connection between the two access point devices is removed, which can increase the available interfaces of the access point device to improve the convergence ratio of the dedicated line access.
[0056] In this embodiment, a link aggregation method is provided, which is applied to a cloud dedicated line controller in a cloud dedicated line stacking architecture. The cloud dedicated line stacking architecture also includes at least two access point devices connected to the cloud dedicated line controller, and the access point devices are respectively connected to a cloud resource pool network and a customer egress device. Figure 3 is a flow chart of a link aggregation method according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0057] Step S201: Acquire access point information of at least two access point devices.
[0058] For details, please see Figure 2 Step S101 of the illustrated embodiment will not be described in detail here.
[0059] In some optional implementations, the access point information includes interface information and switch information of the access point device.
[0060] Access point information includes interface information and access point information, which can set the access control policy of the cloud dedicated line controller to facilitate the synchronization of table entries of subsequent access point devices.
[0061] Step S202: Based on the access point information, aggregation information is allocated to at least two access point devices to instruct the at least two access point devices to perform dynamic link aggregation.
[0062] Specifically, the above step S202 includes:
[0063] Step S2021: Generate aggregation information, where the aggregation information includes link aggregation control information.
[0064] After obtaining the access point information, link aggregation control information may be allocated to the access point device according to actual conditions, wherein the link aggregation control information may include information such as companion interface information and companion interface upper limit threshold.
[0065] In some optional implementations, the link aggregation control information includes a peer system priority, a peer system, a peer key value, and a peer port.
[0066] In an actual application, after obtaining access point information of at least two access point devices, the cloud dedicated line controller will assign the same companion system priority, companion system and companion key value to at least two access point devices that will perform dynamic link aggregation; and assign different companion ports.
[0067] Link aggregation control information includes peer system priority, peer system, peer key value and peer port, which can ensure the consistency of active interfaces of two access point devices.
[0068] Step S2022: Based on the access point information, the aggregated information is sent to the corresponding access point device.
[0069] Based on the access point information, an access point device corresponding to the aggregate information is determined, and the aggregate information is sent to a port of the corresponding access point device.
[0070] After receiving the aggregation information, the access point device may determine the remaining access point devices on the aggregation link according to the aggregation information, and exchange LACPDU messages with the remaining access point devices.
[0071] In an actual application, the cloud dedicated line controller assigns the same peer system priority, peer system and peer key value to at least two access point devices that will perform dynamic link aggregation; and assigns different peer ports. When the access point device exchanges LACPDU messages with other access point devices, since the peer system priority and peer system in the aggregation information obtained by the access point devices on the same aggregated link are consistent, it can be considered that the access points are the same device. When the peer key values are consistent and the peer ports are inconsistent, it can be determined that the LACP protocol negotiation is successful, that is, the aggregation is successfully established.
[0072] Step S203, when the aggregation is successfully established, obtain the table entry information of the first access point device; the first access point device is one of the at least two access point devices; the table entry information is generated after the first access point device obtains the address resolution protocol of the customer egress device.
[0073] For details, please see Figure 2 Step S103 of the illustrated embodiment will not be described in detail here.
[0074] In some optional implementations, the entry 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.
[0075] Step S204: forwarding the synchronization information to the second access point device; the synchronization information includes table 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 see Figure 2 Step S104 of the illustrated embodiment will not be described in detail here.
[0077] In some optional implementations, before step S204, the following steps are further included:
[0078] Step a1: determining interface information of a second access point device 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 include information such as the interface, the aggregation port, and the MAC address.
[0080] Step a2: Generate synchronization information including table entry information and interface information.
[0081] The interface information may be placed before the table entry information, so that the second access point device can verify the synchronization information after acquiring the synchronization information.
[0082] The generated synchronization information includes the interface information and table entry information of the second access point device, which can improve the accuracy of forwarding the table entry information.
[0083] In some optional implementations, step S204 further includes:
[0084] Step b1: The second access point device performs synchronization verification on the synchronization information, and determines whether to generate table 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 the port information in the synchronization information and determine whether the port information is consistent with the port information of the second access point device. If they are consistent, the synchronization verification is successful, and if they are inconsistent, the synchronization verification fails. If the synchronization verification is successful, the table 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 table entry data according to the synchronization information based on the synchronization verification result, so as to ensure the accuracy of the table entry data and avoid data transmission errors.
[0087] In an actual application, after the first access point device receives the ARP request and learns the ARP information, it will report the interface, aggregation port, member port and other information of the other access point devices on the aggregated link and the ARP information to the cloud dedicated line controller; wherein the ARP information includes IP information, MAC information, etc. The cloud dedicated line controller will find the other access point devices on the aggregated link based on the aggregation port and member port information, and synchronize the learned ARP information. After obtaining the synchronization information, the other access point devices will verify the aggregation port and member port information in the synchronization information to ensure the accuracy of the table synchronization. In this way, another device can learn the ARP information and MAC address table items. The MAC address table items can be obtained by binding the MAC and the member port.
[0088] In some optional implementations, step S204 further includes:
[0089] Step c1, obtaining the verification frequency.
[0090] The verification frequency can be set according to actual conditions.
[0091] Step c2: comparing the to-be-checked entry information with the reference entry information according to the check frequency, wherein the to-be-checked entry information is the entry information of the cloud dedicated line controller and / or the entry information in the second access point device, and the reference entry information is the entry information of the first access point device.
[0092] According to the verification frequency, the information of the table item to be verified and the information of the reference table item are obtained, and the information of the table item to be verified and the information of the reference table item are compared one by one.
[0093] Step c3: if the comparison results are inconsistent, generate synchronization information according to the reference entry information and the aggregation information.
[0094] If the comparison results are inconsistent, it means that the table entry synchronization is wrong. The table entry information needs to be re-learned to prevent problems with subsequent data transmission. Based on the aggregation information, the interface and aggregation port information of the second access point device can be determined. Then, synchronization information containing the reference table entry 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 forwarding the synchronization information to the second access point device, the second access point device may relearn and store the reference entry information according to the synchronization information to ensure that the entry information in the second access point device is the same as the entry information in the first access point device.
[0097] Obtain the verification frequency, and verify the table information of the dedicated line controller and / or the table information in the second access point device according to the verification frequency. This can ensure that the table information is synchronized correctly, and prevent network packet loss problems, cloud dedicated line controller table synchronization process lockup and other problems.
[0098] The link aggregation method provided in this embodiment allocates aggregation information including 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 stacking and restacking.
[0099] In this embodiment, a cloud dedicated line stacking structure deployment diagram is provided, such as Figure 4 As shown in the figure, the customer IDC egress device is connected to dedicated line access point 1 and dedicated line access point 2 through two dedicated lines to the cloud. Dedicated line access point 1 and dedicated line access point 2 are deployed independently and are not interconnected. The customer IDC egress link is dynamically aggregated and bound, and dedicated line access point 1 and dedicated line access point 2 are also dynamically aggregated and bound; dedicated line access point 1 and dedicated line access point 2 register with the link aggregation registration module of the cloud dedicated line controller to implement the link aggregation function of the access point, so that from the perspective of the customer device, dedicated line access point 1 and dedicated line access point 2 are one device. After receiving the ARP request, dedicated line access point 1 interacts with the table entry synchronization module in the cloud dedicated line controller to calculate and send the information to dedicated line access point 2 to achieve synchronization of the two access point table entries. Dedicated line access point 1 and dedicated line access point 2 are interconnected with the three-layer BGP (Border Gateway Protocol) of the cloud resource pool respectively. The two access points each publish the client-side route, so that the cloud resource pool network learns the corresponding route through the load path, and the traffic from the cloud to the client side can be loaded to the two access points.
[0100] In this embodiment, a link aggregation registration method is also provided, and the method flow chart is as follows: Figure 5 As shown in the figure, two physical lines are connected to access point 1 and access point 2 respectively, which triggers the process of link aggregation registration of the access point to the controller. The access point will report the MAC information and interface information of its own device to the controller, and the controller will save the access point information. After binding the two lines, the controller will assign relevant LACP parameters to the corresponding access point, among which the values of partner_system_priority, partner_system and partner_key must be consistent, and the values of partner_port must be different. Only in this way can the opposite device negotiate successfully with the access point side during the dynamic negotiation of LACP. After the parameter calculation is completed, it is sent to the corresponding access point, and the access point performs local configuration according to the parameters. On this basis, dynamic link aggregation negotiation is performed with the client-side device.
[0101] Two independent access point devices obtain lacp parameters by registering with the control plane, and link aggregation is implemented by setting the parameters to bind the interfaces of two different devices.
[0102] In this embodiment, a table entry synchronization method is also provided, and the method flow chart is as follows: Figure 6 As shown. After access point 1 learns the ARP information of the customer's export device, it forms ARP table entries, MAC table entries and other information. That is, access point 1 reports information to the controller, including MAC information, IP information, physical interface information, aggregate interface information, etc. The controller table entry synchronization module calculates based on the reported information, finds other member ports under the same aggregate port and the corresponding access point, and then the controller sends IP, MAC and other information to the corresponding access point 2. Access point 2 forms ARP table entries and MAC table entries based on the received IP information, MAC information, interface, and aggregate port information.
[0103] At the same time, the controller and access point will perform periodic verification to prevent the data of the controller and access point devices from being inconsistent. If the controller data and access point data are inconsistent, the configuration will be revoked, that is, the ARP table and MAC table of the access point will be revoked. Let the access point reset. The access point forms a new table through autonomous learning and repeats the table item synchronization process.
[0104] The ARP information of the customer's export device can only be sent to one device. Through the information reporting of the access point device and the controller, the controller can grasp the customer-side ARP information. The controller then calculates other access points and interfaces, and sends down the ARP information and MAC information, so that the access point forms a table entry, and the table entry synchronization can be completed.
[0105] In this embodiment, a link aggregation device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0106] This embodiment provides a link aggregation device, such as Figure 7 As shown, including:
[0107] The access point information acquisition module 301 is used to acquire access point information of at least two access point devices;
[0108] The aggregation module 302 is used to allocate aggregation information to 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;
[0109] The table entry information acquisition module 303 is used to acquire the table entry information of the first access point device when the aggregation is successfully established; the first access point device is one of the at least two access point devices; the table entry information is generated after the first access point device acquires the address resolution protocol of the customer egress device;
[0110] The synchronization module 304 is configured to forward the synchronization information to the second access point device; the synchronization information includes the table 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.
[0111] In some optional implementations, the access point information includes interface information and switch information of the access point device.
[0112] In some optional implementations, the entry 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 implementations, the aggregation module 302 includes:
[0114] An aggregation information generating unit, configured to generate aggregation information, wherein the aggregation information includes link aggregation control information;
[0115] The sending unit is used to send the aggregation information based on the access point information to the corresponding access point device.
[0116] In some optional implementations, the link aggregation control information includes a peer system priority, a peer system, a peer key value, and a peer port.
[0117] In some optional implementations, the apparatus further includes a synchronization information generation module 305, and the synchronization information generation module 305 includes:
[0118] The interface information determining unit is configured to determine the interface information of the second access point device based on the aggregation information.
[0119] The first generating unit is used to generate synchronization information including table entry information and interface information.
[0120] In some optional implementations, the apparatus further includes a synchronization verification module 306 for instructing 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 entry data according to the synchronization information based on the synchronization verification result.
[0121] In some optional implementations, the device further includes a verification module 307, and the verification module 307 includes:
[0122] A calibration frequency acquisition unit, used to acquire the calibration frequency;
[0123] a comparing unit, configured to compare the to-be-checked item information and the reference item information according to the check frequency, wherein the to-be-checked item information is the item information of the cloud dedicated line controller and / or the item information in the second access point device, and the reference item information is the item information of the first access point device;
[0124] A second generating unit, configured to generate synchronization information according to the reference entry information and the aggregation information when the comparison results are inconsistent;
[0125] The forwarding unit is configured to forward the synchronization information to the second access point device.
[0126] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0127] The link aggregation device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0128] The embodiment of the present invention also provides a computer device having the above Figure 7 The link aggregation device shown.
[0129] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 8 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.
[0130] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0131] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0132] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0133] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0134] The computer device also 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 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.
[0135] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0136] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or 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 a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0137] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0138] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A link aggregation method, characterized in that: The method is applied to a cloud dedicated line controller in a cloud dedicated line stacking architecture, wherein the cloud dedicated line stacking architecture further comprises at least two access point devices connected to the cloud dedicated line controller, wherein the access point devices are respectively connected to a cloud resource pool network and a customer egress device, and the method comprises: Acquire 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 where the aggregation is successfully established, obtaining table entry information of a first access point device; the first access point device is one of the at least two access point devices; the table entry information is generated after the first access point device obtains the address resolution protocol of the customer egress device; The synchronization information is forwarded to a second access point device; the synchronization information includes the table 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.
2. The method according to claim 1, characterized in that The access point information includes interface information and switch information of the access point device.
3. The method according to claim 1, characterized in that The allocating aggregation information to the at least two access point devices based on the access point information includes: generating aggregation information, wherein the aggregation information includes link aggregation control information; Based on the access point information, the aggregate information is sent to a corresponding access point device.
4. The method according to claim 3, characterized in that The link aggregation control information includes a peer system priority, a peer system, a peer key value, and a peer port.
5. The method according to claim 1, characterized in that Before forwarding the synchronization information to the second access point device, the method further includes: Determining interface information of the second access point device based on the aggregation information; Generate synchronization information including the table entry information and the interface information.
6. The method according to claim 1, characterized in that After forwarding the synchronization information to the second access point device, the method further includes: The second access point device performs synchronization verification on the synchronization information, and determines whether to generate table entry data according to the synchronization information according to the synchronization verification result.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Get the calibration frequency; Comparing the to-be-checked item information and the reference item information according to the check frequency, wherein the to-be-checked item information is the item information of the cloud dedicated line controller and / or the item information in the second access point device, and the reference item information is the item information of the first access point device; In case the comparison result is inconsistent, generating synchronization information according to the reference table entry information and the aggregation information; The synchronization information is forwarded to the second access point device.
8. The method according to any one of claims 1 to 7, characterized in that: The entry information includes a media access control address, an Internet protocol address, and a corresponding relationship between the media access control address and the Internet protocol address.
9. A link aggregation device, characterized in that: The device comprises: An access point information acquisition module, used to acquire access point information of the at least two access point devices; an aggregation module, configured to allocate aggregation information to 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 entry information acquisition module is used to acquire table entry information of a first access point device when the aggregation is successfully established; the first access point device is one of the at least two access point devices; the table entry information is generated after the first access point device acquires the address resolution protocol of the customer egress device; The synchronization module is used to forward the synchronization information to the second access point device; the synchronization information includes the table 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.
10. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the link aggregation method according to any one of claims 1 to 8 by executing the computer instructions.
Citation Information
Patent Citations
Method and equipment for realizing cross-equipment aggregation
CN103338161A
Cross-device aggregation method and device
CN108173691A
Local forwarding system for cross-device link aggregation
CN111884922A
Cross-device link aggregation method, device and system and computer readable storage medium
CN115333991A
ARP (Address Resolution Protocol) synchronization method and device in stacking environment and medium
CN118646724A