AP management method and device, electronic equipment and medium

By forming a hot standby group in the AC cluster and electing the primary and standby ACs, the AP management and business continuity problems in multi-AC environments are solved, and the system reliability and AP management efficiency are improved.

CN120186653APending Publication Date: 2025-06-20NEW H3C TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510402976.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

In a multi-AC environment, how to better manage and serve multiple APs to ensure system reliability and business continuity.

Method used

Multiple hot standby groups are formed through the AC cluster, and each hot standby group selects the main AC and the standby AC. The main AC is responsible for managing the AP of the AP group. In the case of the main AC abnormality, the standby AC switches to the new main AC to continue to manage the AP group.

Benefits of technology

It solves the problem that multiple ACs cannot establish effective backups, improves system reliability and business continuity, and ensures that AP groups can be switched and recovered seamlessly in the event of AC failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120186653A_ABST
    Figure CN120186653A_ABST
Patent Text Reader

Abstract

The invention provides an AP management method and device, electronic equipment and a medium. The method comprises the steps that for each AP group to be configured, a hot standby group is distributed to the AP group, and the hot standby group comprises a plurality of ACs; electing a main AC and a standby AC of the AP group in the hot standby group; managing the APs in the AP group by using the main AC; and under the condition that the main AC is abnormal, determining the standby AC as a new main AC, and managing the APs in the AP group by using the new main AC.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of communication technologies, and in particular, to a method, apparatus, electronic device, and medium for managing APs. Background Art

[0002] With the development of terminal and wireless technologies, wireless access has increasingly become a common access method, bringing more convenience and possibilities to people's lives and work. Wi-Fi technology is a wireless local area network technology, and its standard has evolved to Wi-Fi. High bandwidth and low latency have been widely applied in many industries such as education, enterprises, and healthcare, becoming the main access method for access networks.

[0003] For industries such as education, enterprises, and healthcare, ACs and APs (such as FIT (thin) APs) are generally used to form a network. With the expansion of business and coverage, multiple groups of ACs and more APs are required to meet their needs. In this case, how to enable multiple groups of ACs to better manage and serve APs has become an urgent problem to be solved. Summary of the Invention

[0004] To overcome the problems in the related art, this specification provides a method, apparatus, electronic device, and medium for managing APs.

[0005] According to the first aspect of the embodiments of this specification, a method for managing APs is provided. The method includes: for each AP group to be configured, allocating a hot standby group for the AP group, where the hot standby group includes multiple ACs; electing a primary AC and a standby AC for the AP group in the hot standby group; using the primary AC to manage the APs in the AP group; and in the case of an exception of the primary AC, determining the standby AC as the new primary AC and using the new primary AC to manage the APs in the AP group.

[0006] According to the second aspect of the embodiments of this specification, a device for managing APs is provided, including: an allocation module for allocating a hot standby group for each AP group to be configured, where the hot standby group includes multiple ACs; an election module for electing a primary AC and a standby AC for the AP group in the hot standby group; a management module for using the primary AC to manage the APs in the AP group; and a switching module for, in the case of an exception of the primary AC, determining the standby AC as the new primary AC and using the new primary AC to manage the APs in the AP group.

[0007] According to the third aspect of the embodiments of this specification, an electronic device is provided, including:

[0008] a processor;

[0009] a memory for storing instructions executable by the processor;

[0010] Among them, the processor is configured to execute the management AP method according to the first aspect or any corresponding embodiment thereof described above.

[0011] According to a fourth aspect of the embodiments of the present specification, there is provided a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to cause a computer to execute the management AP method according to the first aspect or any corresponding embodiment thereof described above.

[0012] The technical solutions provided by the embodiments of the present specification may include the following beneficial effects:

[0013] In the embodiments of the present specification, by forming multiple hot standby groups through an AC cluster, the problem that multiple ACs cannot establish backups is solved, and the reliability of the system is improved.

[0014] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present specification. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present specification, and are used together with the specification to explain the principles of the present specification.

[0016] Figure 1 is a schematic diagram of a system architecture shown according to an exemplary embodiment of the present specification.

[0017] Figure 2 is a flowchart of a management AP method shown according to an exemplary embodiment of the present specification.

[0018] Figure 3 is a schematic diagram of splitting an AP group shown according to an exemplary embodiment of the present specification.

[0019] Figure 4 is a hardware structure diagram of a computer device where the management AP device according to the embodiments of the present specification is located.

[0020] Figure 5 is a block diagram of a management AP device shown according to an exemplary embodiment of the present specification. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0021] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present specification. On the contrary, they are only examples of devices and methods consistent with some aspects of the present specification as detailed in the appended claims.

[0022] The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. The singular forms "a", "the", and "said" used in this specification and the appended claims are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0023] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to a determination".

[0024] Next, the embodiments of this specification will be described in detail.

[0025] The following combines Figure 1 to describe the system architecture to which the management AP method and apparatus according to the embodiments of this specification can be applied. It should be noted that Figure 1 The illustration is only an example of the system architecture to which the embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0026] Figure 1 is a schematic diagram of the system architecture shown according to an exemplary embodiment of this specification.

[0027] As Figure 1 shown, the system architecture may, for example, include an AC (Access Controller) cluster and at least one AP (Access Point).

[0028] The AC cluster may include an AC cluster scheduling platform and one or more hot standby groups. The AC cluster scheduling platform can be used for cluster scheduling, for example, responsible for load distribution and balancing of the ACs, and can also be used for roaming guarantee, for example, responsible for information synchronization and verification of cross-AC roaming. Each hot standby group may include multiple ACs.

[0029] Exemplarily, in this embodiment, each hot standby group may include APs of the same series. For example, hot standby group 1 may include APs of the WX5500H series, hot standby group 2 may include APs of the WX5500X series, and hot standby group 3 may include APs of the WX3500X series. The APs of the same series may be based on the same device version.

[0030] The AP can provide a hot standby mechanism for the terminal by establishing dual links with any two APs in the hot standby group. The AP can establish a primary link with the primary AC and a backup link with the standby AC. When a certain AC in the hot standby group fails, the APs loaded by this AC will seamlessly switch to the corresponding standby AC, that is, switch to the backup link. For example Figure 1 In the figure, the solid line is the primary link and the dashed line is the backup link. When all APs in a hot standby group fail, the AP group corresponding to this hot standby group can be automatically loaded to other hot standby groups, that is, inter-group disaster tolerance is supported. For example, when all APs in hot standby group 1 fail, the AP group and STA (station) corresponding to hot standby group 1 can be re-connected online and access hot standby group 2.

[0031] The APs in the hot standby group can be scheduled based on the AP group to balance the load of each AC. Each AP group includes at least one AP. The AC cluster can be automatically scheduled or support manual scheduling, and can adjust the load of APs within and between hot standby groups.

[0032] The AC cluster can support ISSU upgrade, that is, online service uninterrupted upgrade.

[0033] The management AP method provided by the embodiments of the present disclosure will be described in detail below. As Figure 2 shown, Figure 2 is a flowchart of a management AP method according to an exemplary embodiment of the present specification. This method can be applied to an AC cluster, for example. The management AP method provided by the embodiments of the present disclosure may include the following steps.

[0034] In step 210, for each AP group to be configured, a hot standby group is assigned to the AP group. The hot standby group includes multiple APs.

[0035] In step 220, the primary AC and standby AC of the AP group are elected in the hot standby group.

[0036] According to the embodiments of the present disclosure, the primary AC and standby AC can be elected according to the load conditions of the APs in the hot standby group.

[0037] Optionally, the first candidate AC with the lowest main link load value in the hot standby group can be determined. If there is only one first candidate AC, the first candidate AC is determined as the main AC. If there are multiple first candidate ACs, the main AC is determined from the first candidate ACs according to the backup link load of the first candidate AC. For example, the first candidate AC with the lowest backup link load among the first candidate ACs can be determined. If there is only one first candidate AC with the lowest backup link load, the first candidate AC is determined as the main AC. If there are multiple first candidate ACs with the lowest backup link load, any one of them can be optionally selected as the main AC.

[0038] For the other ACs in the hot standby group except the main AC, the second candidate AC with the lowest backup link load value among the other ACs is determined. If there is only one second candidate AC, the second candidate AC is determined as the backup AC. If there are multiple second candidate ACs, the main AC is determined from the second candidate ACs according to the main link load of the second candidate AC. For example, the second candidate AC with the lowest main link load among the second candidate ACs can be determined. If there is only one second candidate AC with the lowest main link load, the second candidate AC is determined as the main AC. If there are multiple second candidate ACs with the lowest main link load, any one of them can be optionally selected as the backup AC.

[0039] In step 230, the main AC is used to manage the APs in the AP group.

[0040] According to an embodiment of the present disclosure, the main AC can establish a main link with the APs in the AP group, and the backup AC can establish a backup link with the APs in the AP group. The main AC can manage the APs in the AP group through the main link, for example.

[0041] In step 240, in the case of an exception of the main AC, the backup AC is determined as the new main AC, and the new main AC is used to manage the APs in the AP group.

[0042] According to an embodiment of the present disclosure, the exception of the main AC can include, for example, a failure of the main AC, the main AC exiting the hot standby group, and so on.

[0043] According to an embodiment of the present disclosure, after the backup AC is determined as the new main AC, the backup link with each AP is correspondingly switched to the main link.

[0044] According to an embodiment of the present disclosure, multiple hot standby groups are formed through an AC cluster, solving the problem that multiple ACs cannot establish backups and improving the reliability of the system. As long as one AC in the AC cluster works normally, it can ensure that the APs can be normally online.

[0045] Optionally, after the backup AC is determined as the new main AC, the backup AC of the AP group can be re-elected in the hot standby group. The method for electing the backup AC of the AP group can refer to the above, and will not be elaborated here.

[0046] Optionally, the number of APs included in the AP group can be obtained. If the number of APs included in the AP group is greater than a preset threshold, the AP group is split to obtain multiple logical groups. A primary AC and a standby AC are elected for the multiple logical groups. The method for electing a primary AC and a standby AC for the logical groups is the same as that for the AP group, which can be referred to above and will not be elaborated here.

[0047] Optionally, the preset threshold can be less than or equal to the maximum hot standby specification of the hot standby group, and the maximum hot standby specification is determined according to the total number of ACs in the hot standby group, the number of managed APs of each AC, and the allowable number of faulty ACs.

[0048] According to an embodiment of the present disclosure, the maximum hot standby specification of the hot standby group can be calculated when the hot standby group is first established, and the number of APs carried by the hot standby group is less than or equal to the maximum hot standby specification.

[0049] For example, the maximum hot standby specification of the hot standby group can be determined through the following operations:

[0050] Assume that the hot standby group consists of K ACs, and the allowable number of arbitrarily occurring faulty ACs is N. K = M + N, where M is greater than or equal to N, and K, M, and N are positive integers. The number of managed APs of each AC can be:

[0051] AP i , i = 1,..., K, K ≤ S, S is the total number of ACs in the network, for example, it can be 16.

[0052] After the number of managed APs is sorted in ascending order, we can get:

[0053] AP1 ≤ AP2 ≤... ≤ AP k

[0054] Then the maximum hot standby specification of this hot standby group is calculated as follows:

[0055]

[0056] The above formula shows that using the N ACs with the largest number of managed APs as redundancy can ensure that in the worst case - that is, when the N devices with the largest number of managed APs all fail, the sum of the number of managed APs of the remaining M devices (i.e., the maximum hot standby specification) can still meet the service requirements.

[0057] When the number of APs included in the AP group configured by the user is too large, it is not conducive to dynamic load adjustment. Therefore, according to an embodiment of the present disclosure, when the number of APs included in the AP group is greater than the quantity threshold, the AP group is split. As Figure 3 shown, Figure 3This is a schematic diagram showing the splitting of an AP group according to an exemplary embodiment. The split AP group (AP-group) can be called a logical group (Logic Grp), and the units in the logical group can be called slices (Slice).

[0058] From the perspective of service operations such as roaming, the AP group should be kept as large as possible without splitting; from the perspective of achieving a more balanced dynamic scheduling, the AP group should be split as small as possible (ideally, with a single AP as a unit). Considering comprehensively, in this embodiment, the quantity threshold can be determined according to the maximum number of APs carried by the hot standby group. The larger the number of APs carried by the hot standby group, the larger the quantity threshold. Optionally, after the AP group is split into multiple logical groups, if the number of APs in a certain logical group is not less than the minimum granularity, the logical group can be further split according to scheduling needs. The minimum granularity can be set according to actual needs. Optionally, the split logical groups can also be merged at an appropriate time.

[0059] For example, the WX5500X and WX5500H series can manage a relatively large number of APs. Correspondingly, the maximum number of APs carried by the hot standby group composed of the WX5500X and WX5500H series APs is relatively large. The WX3500X series can manage a relatively small number of APs. Correspondingly, the maximum number of APs carried by the hot standby group composed of the WX3500X series APs is relatively small. Based on this, the WX5500X and WX5500H series can be split according to a quantity threshold of 256. That is, for the hot standby group of the WX5500X and WX5500H series, if the number of APs in the corresponding AP group is greater than 256, the AP group is split to obtain multiple logical groups, and the number of APs in each logical group is less than or equal to 256. The WX3500X series can be split according to a quantity threshold of 64. That is, for the hot standby group of the WX3500X series, if the number of APs in the corresponding AP group is greater than 64, the AP group is split to obtain multiple logical groups, and the number of APs in each logical group is less than or equal to 64.

[0060] Exemplarily, in this embodiment, the minimum granularity can be 64. That is, if scheduling requires, after the WX5500X and WX500H series are split according to 256, they can continue to be split according to 64.

[0061] Optionally, to ensure the APs in key areas, such as the leader's office, the APs in the key area can be set to a high priority for preferential scheduling to ensure their resources. For example, the APs in the key area can be marked as VIP (Very Important Person). The APs marked as VIP form a VIP group, and the VIP group is preferentially scheduled. Optionally, the number of APs in the VIP group can be limited. For example, the maximum number of APs that the VIP group can contain can be limited to 64.

[0062] When electing the primary and standby ACs based on AP groups, they can be allocated in descending order of the priorities of the AP groups.

[0063] Exemplarily, in this embodiment, electing the primary AC may include the following steps:

[0064] In step 301, sort the AP groups in descending order of priority and traverse each AP group in turn.

[0065] If the number of APs in the AP group is greater than the quantity threshold, then execute step 302. If the AP group is less than or equal to the quantity threshold, then execute step 304.

[0066] In step 302, split the AP group into multiple logical groups. Then execute step 304.

[0067] In step 303, traverse each logical group in turn. For the APs in the logical group that are pre-configured with a specified primary AC, set the primary AC as the primary AC of the AP. Then execute step 305.

[0068] In step 304, for the APs in the AP group that are pre-configured with a specified primary AC, set the primary AC as the primary AC of the AP. For the unallocated APs in the AP group that are not pre-configured with a specified primary AC, elect at least one candidate primary AC, and then in the order of the candidate primary ACs, judge in turn whether each candidate primary AC can carry these unallocated APs. If the candidate primary AC can carry, then use the candidate primary AC as the primary AC of these unallocated APs. If none of the candidate primary ACs can carry, then the AP group can be split into multiple logical groups. Then execute step 305.

[0069] Among them, the order of the candidate primary ACs may include: the higher the idle ratio of the primary link of the candidate primary AC, the higher the ranking. If the idle ratios of the primary links of multiple candidate primary ACs are equal, then among these multiple candidate primary ACs, the higher the idle ratios of the primary link and the standby link, the higher the ranking.

[0070] In step 305, for each logical group, for the unallocated APs in the logical group that are not pre-configured with a specified primary AC, elect at least one candidate primary AC, and then in the order of the candidate primary ACs, judge in turn whether each candidate primary AC can carry these unallocated APs. If the candidate primary AC can carry, then use the candidate primary AC as the primary AC of these unallocated APs. If none of the candidate primary ACs can carry, then the logical group can be further split. Then return to step 305.

[0071] After the primary AC election process for all AP groups is completed, the standby AC can be traversed for election. Exemplarily, in this embodiment, electing the standby AC may include the following steps:

[0072] In step 306, sort in descending order according to the AP group priority, and traverse each AP group in turn.

[0073] If the AP group is split into multiple logical groups, execute step 307. If the AP group is not split, execute step 308.

[0074] In step 307, traverse each logical group in turn. For the AP in the logical group that is pre-configured with a specified standby AC, set the standby AC as the standby AC of the AP. Then execute step 310.

[0075] In step 308, for the AP in the AP group that is pre-configured with a specified standby AC, set the standby AC as the standby AC of the AP. For the unallocated APs in the AP group that are not pre-configured with a specified standby AC, elect at least one candidate standby AC, and then judge in turn whether each candidate standby AC can carry these unallocated APs according to the candidate primary AC order. If the candidate standby AC can carry, use the candidate standby AC as the standby AC of these unallocated APs. If none of the candidate standby ACs can carry, the AP group can be split into multiple logical groups. Then execute step 310.

[0076] Among them, the candidate standby AC order can include, for example: the higher the idle ratio of the standby link of the candidate standby AC, the higher the ranking. If the primary link idle ratios of multiple candidate standby ACs are equal, among these multiple candidate standby ACs, the higher the sum of the primary link and standby link idle ratios, the higher the ranking.

[0077] In step 310, for each logical group, for the unallocated APs in the logical group that are not pre-configured with a specified standby AC, elect at least one candidate standby AC, and then judge in turn whether each candidate standby AC can carry these unallocated APs according to the candidate standby AC order. If the candidate standby AC can carry, use the candidate standby AC as the standby AC of these unallocated APs. If none of the candidate standby ACs can carry, the logical group can be further split. Then return to step 310.

[0078] Optionally, a load balancing operation can be performed on the hot standby group under a predetermined condition.

[0079] Among them, the predetermined condition includes at least one of the following: detecting uneven load of the ACs in the hot standby group; detecting that a new AC joins the hot standby group; and the AP group corresponding to the hot standby group changes. The change of the AP group can include adding APs, AP groups and deleting APs, AP groups, etc.

[0080] The load balancing operation may include, for example: determining the number of primary links that each AC in the hot standby group will carry when acting as the primary AC, i.e., the target number of primary links. Calculating the difference between the current number of primary links carried by the AC and the target number of primary links. If the difference is greater than the load difference threshold, select the target AC from the ACs whose current number of primary links carried is less than the quantity threshold, and migrate the AP group corresponding to the AC to the target AC. For example, the AC with the smallest number of primary links can be selected from the ACs with the number of primary links less than the quantity threshold as the target AC. Among them, the load difference threshold can be the total number of APs in the largest AP group, and the largest AP group is the AP group with the largest number of APs among the AP groups corresponding to the hot standby group. The quantity threshold can be set as needed.

[0081] For example, the AC cluster can detect the load value of each AC in the hot standby group. In the case of detecting uneven load of the ACs in the hot standby group, perform a load balancing operation on the hot standby group. The AC cluster can perform dynamic and smooth scheduling according to the load, reduce the impact on the service, and achieve the full utilization of AC resources and high network reliability.

[0082] For example, in the case of a failed AC being restored or AC expansion occurring, etc., when a new AC joins the hot standby group, the above load balancing operation can be executed. To ensure service continuity, the standby link can be built first, then the primary and standby are switched, and then the standby link is built as needed.

[0083] For example, in the case of adding new APs, AP groups or deleting APs, AP groups, the AC with the highest load and the AC with the lowest load can be calculated according to the load information of the primary links. If the difference between their load values (such as the number of APs carried) exceeds twice the minimum scheduling granularity, the above load balancing operation is executed.

[0084] Optionally, the AC cluster can also adjust the load by manually moving the AP group by the user.

[0085] Optionally, in the case of a primary AC failure or the primary AC exiting the hot standby group, etc., a standby-to-primary event can be triggered, and the hot standby group can respond to the standby-to-primary event, that is, switch the APs managed by the failed AC or the AC exiting the hot standby group to the corresponding standby AC for management to ensure service continuity. Then, the cluster scheduling reselects the standby AC for these APs.

[0086] Optionally, the AC cluster solution can be expanded, upgraded, etc. according to the service. When an upgrade is required, different hot standby group rings can be upgraded in parallel, and the ACs within the hot standby group can be upgraded in sequence.

[0087] Corresponding to the embodiments of the foregoing method, this specification also provides embodiments of an apparatus for managing APs and the terminals to which it is applied.

[0088] The embodiments of the present specification for managing an AP device can be applied to computer devices, such as servers or terminal devices. The device embodiments can be implemented through software, or through hardware or a combination of software and hardware. Taking software implementation as an example, as a logically defined device, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory by the processor where it is located and running them. From a hardware perspective, as Figure 4 shown, it is a hardware structure diagram of the computer device where the AP device in the embodiments of the present specification is located. In addition to Figure 4 the processor 410, memory 430, network interface 420, and non-volatile memory 440 shown, the server or electronic device where the device 431 is located in the embodiments usually includes other hardware according to the actual functions of the computer device, which will not be elaborated here.

[0089] As Figure 5 shown, Figure 5 is a block diagram of an AP device management shown according to an exemplary embodiment of the present specification. The device includes:

[0090] An allocation module 510, configured to allocate a hot standby group for each AP group to be configured, where the hot standby group includes multiple ACs;

[0091] An election module 520, configured to elect a primary AC and a standby AC for the AP group in the hot standby group;

[0092] A management module 530, configured to manage the APs in the AP group by using the primary AC;

[0093] A switching module 540, configured to, when the primary AC is abnormal, determine the standby AC as the new primary AC and manage the APs in the AP group by using the new primary AC.

[0094] Optionally, the election module may include:

[0095] A first candidate AC determination sub-module, configured to determine a first candidate AC with the lowest main link load value in the hot standby group;

[0096] A first primary AC determination sub-module, configured to, if there is only one first candidate AC, determine the first candidate AC as the primary AC;

[0097] A second primary AC determination sub-module, configured to, if there are multiple first candidate ACs, determine the primary AC from the first candidate ACs according to the standby link load of the first candidate ACs;

[0098] A second candidate AC determination sub-module, configured to, for the other ACs in the hot standby group except the primary AC, determine a second candidate AC with the lowest standby link load value among the other ACs;

[0099] The first standby AC determination sub-module is configured to determine the second candidate AC as the standby AC if there is only one second candidate AC;

[0100] The second standby AC determination sub-module is configured to, if there are multiple second candidate ACs, determine the primary AC from the second candidate ACs according to the main link load of the second candidate ACs.

[0101] Optionally, the apparatus may further include:

[0102] The AP quantity acquisition module is configured to acquire the quantity of APs included in the AP group;

[0103] The splitting module is configured to split the AP group to obtain multiple logical groups if the quantity of APs included in the AP group is greater than a preset threshold;

[0104] The election module is further configured to elect a primary AC and a standby AC for the multiple logical groups.

[0105] Optionally, the preset threshold is less than or equal to the maximum hot standby specification of the hot standby group, and the maximum hot standby specification is determined according to the total quantity of ACs in the hot standby group, the quantity of managed APs of each AC, and the allowable quantity of faulty ACs.

[0106] Optionally, the apparatus may further include:

[0107] The target main link quantity determination module is configured to, under a predetermined condition, determine, for each of the other ACs in the hot standby group except the current primary AC, the target main link quantity when the other AC serves as the primary AC;

[0108] The calculation module is configured to calculate the difference between the main link quantity currently borne by the other AC and the target main link quantity;

[0109] The candidate primary AC determination module is configured to determine the other AC as a candidate primary AC if the difference is greater than the load difference threshold;

[0110] The replacement module is configured to elect a new primary AC from the candidate primary ACs to replace the current primary AC;

[0111] The predetermined condition may include at least one of the following: detecting uneven load of ACs in the hot standby group; detecting that a new AC joins the hot standby group; and a change occurs in the AP group corresponding to the hot standby group.

[0112] Optionally, the apparatus may further include:

[0113] The election module is further configured to, after determining the standby AC as the new primary AC, elect a standby AC for the AP group in the hot standby group.

[0114] Correspondingly, this specification also provides an electronic device, which includes a processor; and a memory for storing instructions executable by the processor; wherein, the processor is configured to: for each AP group to be configured, allocate a hot standby group to the AP group, the hot standby group includes multiple ACs; elect a primary AC and a standby AC of the AP group in the hot standby group; use the primary AC to manage the APs in the AP group; in the case of an exception of the primary AC, determine the standby AC as the new primary AC, and use the new primary AC to manage the APs in the AP group.

[0115] According to the embodiments of the present disclosure, multiple hot standby groups are formed through an AC cluster, which solves the problem that multiple ACs cannot establish backups and improves the reliability of the system.

[0116] For the specific implementation process of the functions and roles of each module in the above device, please refer to the implementation process of the corresponding steps in the above method for details, and will not be elaborated here.

[0117] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial descriptions of the method embodiments. The device embodiments described above are only illustrative. The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place, or may be distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in this specification. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0118] The specific embodiments of this specification are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve the desired results. Additionally, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0119] Those skilled in the art will readily think of other embodiments of this specification after considering the specification and practicing the invention claimed herein. This specification is intended to cover any variations, uses, or adaptations of this specification, which follow the general principles of this specification and include common general knowledge or conventional technical means in the technical field not claimed in this application. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of this specification are pointed out by the following claims.

[0120] It should be understood that the present specification is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present specification is only limited by the appended claims.

[0121] The above are only the preferred embodiments of the present specification and are not intended to limit the present specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present specification shall be included within the scope of protection of the present specification.

Claims

1. A method for managing APs, characterized in that: The method comprises: For each AP group to be configured, a hot standby group is allocated to the AP group, where the hot standby group includes a plurality of ACs; electing a master AC and a backup AC of the AP group in the hot standby group; Using the master AC to manage the APs in the AP group; In the case that the main AC is abnormal, the backup AC is determined as a new main AC, and the new main AC is used to manage the APs in the AP group.

2. The method according to claim 1, characterized in that The selecting a master AC and a backup AC of the AP group in the hot standby group includes: Determine a first candidate AC with the lowest primary link load value in the hot standby group; If there is only one first candidate AC, determining the first candidate AC as the primary AC; If there are multiple first candidate ACs, determining the primary AC from the first candidate ACs according to the backup link loads of the first candidate ACs; For other ACs in the hot standby group except the main AC, determine a second candidate AC with the lowest backup link load value among the other ACs; If there is only one second candidate AC, determine the second candidate AC as the backup AC; If there are multiple second candidate ACs, the primary AC is determined from the second candidate ACs according to the primary link loads of the second candidate ACs.

3. The method according to claim 1, characterized in that The method further comprises: Obtain the number of APs included in the AP group; If the number of APs included in the AP group is greater than a preset threshold, splitting the AP group to obtain multiple logical groups; A master AC and a backup AC are elected for the multiple logical groups.

4. The method according to claim 3, characterized in that The preset threshold is less than or equal to the maximum hot standby specification of the hot standby group, and the maximum hot standby specification is determined according to the total number of ACs in the hot standby group, the number of managed APs of each AC, and the allowed number of faulty ACs.

5. The method according to claim 1, characterized in that The method further comprises: Under predetermined conditions, for the AP group corresponding to the hot standby group, calculating the target number of primary links when each AC in the hot standby group serves as a primary AC; If the difference between the number of main links currently carried by the AC and the number of target main links is greater than the load difference threshold, a target AC is selected from the ACs whose number of main links currently carried is less than the number threshold, and the AP group corresponding to the AC is migrated to the target AC; The predetermined condition includes at least one of the following: detecting that the load of ACs in the hot standby group is uneven; detecting that a new AC joins the hot standby group; and a change in the AP group corresponding to the hot standby group.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: After determining the standby AC as the new active AC, electing a standby AC for the AP group in the hot standby group.

7. A device for managing APs, characterized in that: The device comprises: An allocation module, configured to allocate a hot standby group to each AP group to be configured, wherein the hot standby group includes a plurality of ACs; An election module, used to elect a master AC and a backup AC of the AP group in the hot standby group; A management module, configured to manage the APs in the AP group using the main AC; The switching module is used to determine the backup AC as a new main AC when the main AC is abnormal, and use the new main AC to manage the APs in the AP group.

8. The device according to claim 7, characterized in that The election module includes: A first candidate AC determination submodule, configured to determine a first candidate AC with the lowest primary link load value in the hot standby group; A first primary AC determining submodule, configured to determine the first candidate AC as the primary AC if there is only one first candidate AC; a second master AC determination submodule, configured to determine the master AC from the first candidate ACs according to the backup link loads of the first candidate ACs if there are multiple first candidate ACs; A second candidate AC determination submodule, configured to determine, for other ACs in the hot standby group except the main AC, a second candidate AC having the lowest backup link load value among the other ACs; A first backup AC determining submodule, configured to determine the second candidate AC as the backup AC if there is only one second candidate AC; The second standby AC determining submodule is configured to determine the primary AC from the second candidate ACs according to the primary link loads of the second candidate ACs if there are multiple second candidate ACs.

9. An electronic device, comprising: processor; a memory for storing processor-executable instructions; The processor is configured to execute the AP management method according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the AP management method according to any one of claims 1 to 6.