Master-slave ac synchronization method and device and electronic equipment

CN120529403BActive Publication Date: 2026-08-21NEW H3C TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510804340.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-16
Publication Date
2026-08-21
Estimated Expiration
2045-06-16

AI Technical Summary

Technical Problem

[0004]然而,在实际应用时常会出现诸如主备AC上同一AP所绑定的无线服务或无线服务的顺序不一致等情况,这样会影响主备AC为该AP提供的VSRP热备服务的正常运行,在此情况下通常是人工介入调整主备AC上该AP对应的无线服务配置信息(如所绑定的无线服务和WLAN ID等信息),以使主备AC为该AP提供的VSRP热备服务能够继续正常运行

Benefits of technology

[0022]由以上技术方案可以看出,本申请实施例中,在AP侧通过比较由主AC为该AP分配的第一无线服务配置信息集合与由备AC为该AP分配的第二无线服务配置信息集合,若第一无线服务配置信息集合未全部包含第二无线服务配置信息集合,则触发备AC为该AP重新分配无线服务配置信息,以使备AC为该AP分配的无线服务配置信息集合全部包含第二无线服务配置信息集合,也即使得主AC上针对于该AP的各无线服务以及各无线服务对应的BSSID,与备AC上针对于该AP的各无线服务以及各无线服务对应的BSSID一致,以保证主备AC为该AP提供的VSRP热备服务继续正常运行,这样能够实现自动化调整备AC上的无线服务配置信息来避免VSRP热备服务无法使用的情况,避免了现有人工方式所造成的诸如人工成本高、处理效率低等问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120529403B_ABST
    Figure CN120529403B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a master / standby AC synchronization method, device and electronic equipment. In the embodiments of the present application, the first wireless service configuration information set allocated to the AP by the master AC is compared with the second wireless service configuration information set allocated to the AP by the standby AC at the AP side. If the first wireless service configuration information set does not contain all the second wireless service configuration information set, the standby AC is triggered to reallocate wireless service configuration information to the AP, so that the wireless service configuration information set allocated to the AP by the standby AC contains all the second wireless service configuration information set, to ensure that the VSRP hot standby service provided by the master / standby AC to the AP continues to operate normally. In this way, the wireless service configuration information on the standby AC can be automatically adjusted to avoid the situation that the VSRP hot standby service cannot be used, and problems such as high labor cost and low processing efficiency caused by the existing manual mode are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method, apparatus and electronic equipment for synchronizing primary and backup AC systems. Background Technology

[0002] In Wireless Local Area Networks (WLANs), a common networking architecture is the combination of a Wireless Controller (AC) and Wireless Access Points (APs) for network communication. To ensure network stability, a dual-machine backup approach is typically used. This means that two ACs are deployed in the network: a primary AC and a backup AC. When the primary AC fails, the APs can automatically switch to the backup AC to ensure uninterrupted service. The key to achieving dual-machine backup lies in establishing a Virtual Service Redundancy Protocol (VSRP) hot standby service between the two ACs.

[0003] In practical applications, during the process of the primary and backup ACs coming online, the primary and backup ACs will apply for a corresponding WLAN identification (ID) for each wireless service according to the order in which the wireless services are bound to the AP's radio frequency in the local system. This ID is used to create a corresponding Basic Service Set Identification (BSSID) for each wireless service. The BSSID is used by the AP to establish a BSS interface so that the terminal can access the corresponding wireless service through the BSS interface. The prerequisite for the VSRP hot standby service provided by the primary and backup ACs for any AP to function properly is that the BSSIDs corresponding to each wireless service for that AP on the primary AC and the BSSIDs corresponding to each wireless service for that AP on the backup AC are consistent.

[0004] However, in practical applications, situations often arise where the wireless services bound to the same AP on the primary and backup ACs are inconsistent, or the order of the wireless services is inconsistent. This can affect the normal operation of the VSRP hot standby service provided by the primary and backup ACs for that AP. In such cases, manual intervention is usually required to adjust the wireless service configuration information (such as the bound wireless service and WLAN ID) for that AP on the primary and backup ACs, so that the VSRP hot standby service provided by the primary and backup ACs for that AP can continue to operate normally. However, this manual approach has problems such as high labor costs and low processing efficiency. Summary of the Invention

[0005] In view of this, this application provides a primary / backup AC synchronization method, apparatus, and electronic device to avoid the VSRP hot standby service becoming unavailable by automatically adjusting the wireless service configuration information on the backup AC.

[0006] This application provides a primary / backup AC synchronization method, which is applied to an access point (AP) in a network; the network includes a primary AC and a backup AC; the method includes:

[0007] After successfully connecting to the primary AC and the backup AC, the AP compares a first set of wireless service configuration information with a second set of wireless service configuration information. The first set of wireless service configuration information includes the wireless service configuration information allocated by the backup AC that the AP obtained during the process of successfully connecting to the backup AC. The second set of wireless service configuration information includes the wireless service configuration information allocated by the primary AC that the AP obtained during the process of successfully connecting to the primary AC.

[0008] If the first wireless service configuration information set does not fully include the second wireless service configuration information set, a first configuration synchronization request is sent to the backup AC so that the backup AC can reallocate wireless service configuration information for the AP based on the target wireless service configuration information indicated by the first configuration synchronization request.

[0009] This application embodiment also provides a primary / standby AC synchronization method, the method being applied to ACs in a network, the network further including other ACs besides the aforementioned AC, the method comprising:

[0010] When the AC is elected as the backup AC, after receiving an online access request from a wireless access point (AP) in the network, the AC sends a first set of wireless service configuration information to the AP; wherein, the first set of wireless service configuration information includes the wireless service configuration information allocated to the AP by the backup AC during the AP's successful access to the backup AC.

[0011] Upon receiving the first configuration synchronization request from the AP, the AP reallocates wireless service configuration information based on the target wireless service configuration information indicated by the first configuration synchronization request; wherein, the first configuration synchronization request is sent by the AP when it discovers that the first set of wireless service configuration information does not fully contain the second set of wireless service configuration information; the second set of wireless service configuration information contains the wireless service configuration information allocated by the master AC obtained by the AP during the process of successfully accessing the master AC.

[0012] This application embodiment also provides a primary / backup AC synchronization device, the device being applied to an AP in a network; the network includes a primary AC and a backup AC; the device includes:

[0013] The comparison module is used to compare a first set of wireless service configuration information with a second set of wireless service configuration information after the AP successfully connects to the primary AC and the backup AC; wherein the first set of wireless service configuration information includes wireless service configuration information allocated by the backup AC obtained by the AP during the process of successfully connecting to the backup AC; and the second set of wireless service configuration information includes wireless service configuration information allocated by the primary AC obtained by the AP during the process of successfully connecting to the primary AC.

[0014] The triggering module is configured to send a first configuration synchronization request to the backup AC if the first wireless service configuration information set does not fully include the second wireless service configuration information set, so that the backup AC can reallocate wireless service configuration information for the AP based on the target wireless service configuration information indicated by the first configuration synchronization request.

[0015] This application embodiment also provides another primary / standby AC synchronization device, which is applied to ACs in a network, and the network also includes other ACs besides the aforementioned AC. The device includes:

[0016] The sending module is configured to, when the AC is elected as the backup AC, send a first set of wireless service configuration information to the AP after receiving an online access request from an AP in the network; wherein, the first set of wireless service configuration information includes wireless service configuration information allocated to the AP by the backup AC during the AP's successful access to the backup AC.

[0017] The allocation module is configured to, upon receiving a first configuration synchronization request from the AP, reallocate wireless service configuration information to the AP based on the target wireless service configuration information indicated by the first configuration synchronization request; wherein, the first configuration synchronization request is sent by the AP when it discovers that the first set of wireless service configuration information does not fully contain the second set of wireless service configuration information; the second set of wireless service configuration information contains the wireless service configuration information allocated by the main AC obtained by the AP during the process of successfully accessing the main AC.

[0018] This application also provides an electronic device, which includes:

[0019] Processor; and

[0020] A computer-readable storage medium storing computer program instructions that, when executed by a processor, cause the processor to perform the steps of the method described above.

[0021] This application also provides a computer-readable storage medium storing computer program instructions that, when executed by a processor, cause the processor to perform the steps in the above method.

[0022] As can be seen from the above technical solutions, in this embodiment, on the AP side, by comparing the first set of wireless service configuration information allocated by the primary AC to the AP with the second set of wireless service configuration information allocated by the backup AC to the AP, if the first set of wireless service configuration information does not completely include the second set of wireless service configuration information, the backup AC is triggered to reallocate wireless service configuration information for the AP, so that the set of wireless service configuration information allocated by the backup AC to the AP completely includes the second set of wireless service configuration information. This ensures that each wireless service and its corresponding BSSID on the primary AC for the AP are consistent with each wireless service and its corresponding BSSID on the backup AC, thus guaranteeing that the VSRP hot standby service provided by the primary and backup ACs for the AP continues to operate normally. This enables automated adjustment of the wireless service configuration information on the backup AC to avoid the situation where the VSRP hot standby service cannot be used, avoiding problems such as high labor costs and low processing efficiency caused by existing manual methods.

[0023] Furthermore, compared to the existing method where the primary AC sequentially compares the wireless service configuration information of all APs in the network on the primary and backup ACs, this embodiment compares the wireless service configuration information of the AP on the primary and backup ACs, namely the first set of wireless service configuration information and the second set of wireless service configuration information, at the AP side. This not only effectively reduces the workload of the primary AC, but also effectively improves the efficiency of wireless service configuration information verification.

[0024] Furthermore, in this embodiment of the application, when the first wireless service configuration information set does not fully include the second wireless service configuration information set, the wireless service configuration information is redistributed by triggering a backup AC that is relatively idle compared to the primary AC. This can effectively avoid the impact on the service processing of the primary AC. Attached Figure Description

[0025] The accompanying drawings, which are incorporated in and form part of this application, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0026] Figure 1 This is a schematic diagram of the AC+AP networking implementation provided in the embodiments of this application.

[0027] Figure 2 This is a schematic diagram of the method flow provided in the embodiments of this application.

[0028] Figure 3 This is a schematic diagram of another method flow provided for an embodiment of this application.

[0029] Figure 4 This is a schematic diagram of the device structure provided in the embodiments of this application.

[0030] Figure 5 This is a schematic diagram of another device structure provided for an embodiment of this application.

[0031] Figure 6 This is a schematic diagram of the electronic device structure provided in an embodiment of this application. Detailed Implementation

[0032] To enable those skilled in the art to better understand the technical solutions provided in the embodiments of this application, the application scenarios of the embodiments of this application are described below:

[0033] As described above, in a network scenario using dual-machine backup, the VSRP hot standby service provided by the primary and backup ACs to the APs often fails to function properly. There are many reasons why this VSRP hot standby service might fail, such as inconsistencies in the wireless services bound to the AP on the primary and backup ACs, or in the order of the wireless services. The following section will discuss... Figure 1 The VSRP hot standby network shown below serves as an example to illustrate this:

[0034] like Figure 1 The AC+AP network shown includes a main AC 101, a backup AC 102, a core switch 103, APs 104, and clients (i.e., terminals) 105. AP 104 is connected to both the main AC 101 and the backup AC 102 via the core switch 103; client 105 is connected to AP 104, and the main AC 101 and backup AC 102 are connected via the core switch 103. It should be noted that this embodiment may include multiple APs in its network configuration. Figure 1 The APs shown are for illustrative purposes only and are not intended to limit the number of APs in a network.

[0035] Based on this, for any AC (such as the primary AC or backup AC) in the above network, during the AP's online process on that AC, the AC will request a corresponding WLAN ID for each wireless service according to the order in which the wireless services are bound to the AP's radio frequency locally. Then, based on the requested WLAN ID for each wireless service and the AP's Media Access Control (MAC) address, the AC will generate a BSSID corresponding to each wireless service. This BSSID is the identifier of the BSS interface. Afterwards, the AC can send each wireless service and its corresponding BSSID to the AP, enabling the AP to create a corresponding BSS interface (a virtual interface) based on the received BSSID. Clients can then access the AP through this BSS interface to further access the wireless service corresponding to that BSS interface.

[0036] For example, assuming the MAC address of the AC is 0001-0001-0000, the wireless services bound to the AP's radio frequency in the local AC are wireless services 1, 2, 3, and 4 in sequence. The AC generates the BSSID corresponding to each wireless service based on the WLANID applied for by each wireless service and the MAC address of the AP. For example, the BSSIDs corresponding to wireless services 1, 2, 3, and 4 are 0001-0001-0000, 0001-0001-0001, 0001-0001-0002, and 0001-0001-0003 in sequence.

[0037] After the AP is online on both the primary and backup ACs, the primary AC will verify whether the wireless service configuration information corresponding to the AP on the primary AC (such as the wireless services bound to the AP and their corresponding BSSIDs) is consistent with the wireless service configuration information corresponding to the AP on the backup AC (such as the wireless services bound to the AP and their corresponding BSSIDs). If they are consistent, the VSRP hot standby service provided by the primary and backup ACs for that AP can continue to operate normally; if they are inconsistent, the VSRP hot standby service provided by the primary and backup ACs for that AP will not operate normally.

[0038] There are many reasons for the inconsistencies mentioned above. For example, the order in which the APs on the primary and backup ACs are bound to wireless services may be different. For instance, if the order is 1, 2, 3, 4, while the order is 4, 3, 2, 1, the WLAN IDs applied for for the same wireless service on the primary and backup ACs will be different, leading to different BSSIDs for the same wireless service on both ACs. Another example is that the wireless services bound to the APs on the primary and backup ACs may be different. For instance, if the primary AC's APs are bound to wireless services 1, 2, 3, 4, while the backup AC's APs are bound to wireless services 1, 2, 3, etc., these are just a few examples; we won't go into detail here.

[0039] In practical applications, if the primary and backup ACs detect inconsistencies in their wireless service configuration information for the same AP during verification, a prompt will be output indicating that manual intervention is required to adjust the wireless service configuration information corresponding to the AP on the primary and backup ACs. This ensures that the VSRP hot standby service provided by the primary and backup ACs for that AP can continue to operate normally. However, this manual method suffers from problems such as high labor costs and low processing efficiency. Therefore, this application provides a primary and backup AC synchronization method that can automatically adjust the wireless service configuration information on the backup AC to avoid situations where the VSRP hot standby service becomes unusable, thereby avoiding the problems caused by existing manual methods, such as high labor costs and low processing efficiency.

[0040] To enable those skilled in the art to better understand the technical solutions provided in the embodiments of this application, and to make the above-mentioned objectives, features and advantages of the embodiments of this application more apparent and understandable, the technical solutions in the embodiments of this application will be further described in detail below with reference to the accompanying drawings.

[0041] See Figure 2 , Figure 2 This is a flowchart illustrating the primary / backup AC synchronization method provided in this embodiment. This flowchart describes the primary / backup AC synchronization method from the perspective of the access points (APs) in the network; the network in this embodiment also includes a primary AC and a backup AC. Figure 2 As shown, the process may include the following steps:

[0042] Step 201: After successfully connecting to the primary AC and the backup AC, this AP compares the first wireless service configuration information set with the second wireless service configuration information set.

[0043] In this embodiment, the first wireless service configuration information set includes at least one wireless service configuration information. Each wireless service configuration information in the first wireless service configuration information set is a wireless service configuration information allocated by the backup AC and obtained by this AP during the process of successfully accessing the backup AC.

[0044] The second wireless service configuration information set contains at least one wireless service configuration information. Each wireless service configuration information in the second wireless service configuration information set is a wireless service configuration information allocated by the main AC to this AP during the process of successfully accessing the main AC.

[0045] Optionally, this embodiment does not specifically limit the content of the above-mentioned wireless service configuration information. For example, it may include at least one wireless service, the WLAN ID corresponding to each wireless service, and the BSSID corresponding to each wireless service. Here, a wireless service can refer to a service that can provide a specific wireless network, or it can be considered as a network slice that can provide a specific wireless network.

[0046] In this embodiment, as one example, the method further includes: the AP sending an online access request to the primary AC, and receiving a second set of wireless service configuration information allocated to the AP by the primary AC. After successfully accessing the primary AC (e.g., after receiving an online success notification from the primary AC), the AP sends an online access request to the backup AC, and receives a first set of wireless service configuration information allocated to the AP by the backup AC.

[0047] As for how the primary AC and backup AC allocate wireless service configuration information sets to this AP, examples will be provided below, and will not be elaborated here.

[0048] Step 202: If the first wireless service configuration information set does not fully include the second wireless service configuration information set, a first configuration synchronization request is sent to the backup AC so that the backup AC can reallocate wireless service configuration information for this AP based on the target wireless service configuration information indicated by the first configuration synchronization request.

[0049] In this embodiment, if the first wireless service configuration information set does not fully include the second wireless service configuration information set, as described above, it will affect the normal operation of the VSRP hot standby service provided by the primary and backup ACs to this AP. In this case, this AP can send a first configuration synchronization request to the backup AC to trigger the backup AC to reallocate wireless service configuration information for this AP based on the target wireless service configuration information indicated by the first configuration synchronization request, so that the wireless service configuration information set allocated by the backup AC to this AP fully includes the second wireless service configuration information set, thereby enabling the VSRP hot standby service provided by the primary and backup ACs to continue to operate normally.

[0050] In this embodiment, the target wireless service configuration information indicated by the first configuration synchronization request can be understood as the wireless service configuration information that needs to be synchronized. Optionally, the target wireless service configuration information indicated by the first configuration synchronization request can be each wireless service configuration information in the second wireless service configuration information set, or it can be wireless service configuration information in the second wireless service configuration information set that is inconsistent with the first wireless service configuration information set. This embodiment does not specifically limit the scope.

[0051] As an example, if the first wireless service configuration information set completely includes the second wireless service configuration information set, the AP will send a configuration consistency notification to the primary AC and the backup AC, so that the primary AC and the backup AC can provide VSRP hot standby service for the AP when they receive the configuration consistency notification, that is, the normal operation of the VSRP hot standby service provided to the AP.

[0052] Based on this, as an example, after the backup AC reallocates the wireless service configuration information for this AP, it will send the latest wireless service configuration information set allocated by the backup AC to this AP. When this AP finds through comparison that the latest wireless service configuration information set allocated by the backup AC on this AP completely includes the latest wireless service configuration information set allocated by the primary AC on this AP, it will send a configuration consistency notification to the primary AC and the backup AC, so that the primary AC and the backup AC can provide VSRP hot standby service for this AP when they receive the configuration consistency notification.

[0053] In this embodiment, the fact that the first wireless service configuration information set does not fully include the second wireless service configuration information set may include the following two situations: the first wireless service configuration information set does not include the second wireless service configuration information set, and the first wireless service configuration information set includes some wireless service configuration information from the second wireless service configuration information set.

[0054] For example, suppose the first set of wireless service configuration information on this AP is: wireless services 1, 2, and 3, whose corresponding WLANIDs are WLAN1, WLAN2, and WLAN3, and whose corresponding BSSIDs are 0001-0001-0000, 0001-0001-0001, and 0001-0001-0002, respectively; where "wireless service 1, WLAN1, BSSID 0001-0001-0000" can be considered as one set of wireless service configuration information, that is, the wireless service configuration information corresponding to wireless service 1, and so on. The second set of wireless service configuration information is: wireless services 2, 1, and 3, whose corresponding WLANIDs are WLAN1, WLAN2, and WLAN3, and whose corresponding BSSIDs are 0001-0001-0000, 0001-0001-0001, and 0001-0001-0002, respectively.

[0055] It is evident that the wireless service configuration information corresponding to wireless service 1 is different from that corresponding to wireless service 2 in the first wireless service configuration information set and the second wireless service configuration information set. Only the wireless service configuration information corresponding to wireless service 3 is the same. In other words, the first wireless service configuration information set only contains a portion of the wireless service configuration information in the second wireless service configuration information set, namely the wireless service configuration information corresponding to wireless service 3. Therefore, it can be considered that the first wireless service configuration information set does not fully contain the second wireless service configuration information set.

[0056] As another example, suppose the first set of wireless service configuration information on this AP is: wireless services 3 and 4, with corresponding WLAN IDs WLAN3 and WLAN4, and corresponding BSSIDs 0001-0001-0002 and 0001-0001-0003, respectively. The second set of wireless service configuration information is: wireless services 1 and 2, with corresponding WLAN IDs WLAN1 and WLAN2, and corresponding BSSIDs 0001-0001-0000 and 0001-0001, respectively. It is evident that the first set of wireless service configuration information does not include the second set of wireless service configuration information; therefore, it can be considered that the first set of wireless service configuration information does not fully encompass the second set of wireless service configuration information.

[0057] Accordingly, the statement that the first wireless service configuration information set completely includes the second wireless service configuration information set can be understood as the first wireless service configuration information set containing all the wireless service configuration information in the second wireless service configuration information set.

[0058] For example, suppose the first set of wireless service configuration information on this AP is: wireless services 1, 2, and 3, with corresponding WLAN IDs WLAN1, WLAN2, and WLAN3, and corresponding BSSIDs 0001-0001-0000, 0001-0001-0001, and 0001-0001-0002, respectively. The second set of wireless service configuration information on this AP is: wireless services 1 and 2, with corresponding WLAN IDs WLAN1 and WLAN2, and corresponding BSSIDs 0001-0001-0000 and 0001-0001, respectively. It can be seen that the first set of wireless service configuration information contains all the wireless service configuration information in the second set of wireless service configuration information; therefore, it can be considered that the first set of wireless service configuration information completely includes the second set of wireless service configuration information.

[0059] As for how the backup AC reassigns wireless service configuration information to this AP based on the target wireless service configuration information indicated by the first configuration synchronization request in this step, it will be described with examples below, and will not be elaborated here.

[0060] This concludes the process. Figure 2 The process is shown below.

[0061] pass Figure 2As can be seen from the process shown, in this embodiment of the application, on the AP side, by comparing the first set of wireless service configuration information allocated by the primary AC to the AP with the second set of wireless service configuration information allocated by the backup AC to the AP, if the first set of wireless service configuration information does not completely include the second set of wireless service configuration information, the backup AC is triggered to reallocate wireless service configuration information for the AP, so that the set of wireless service configuration information allocated by the backup AC to the AP completely includes the second set of wireless service configuration information. This ensures that each wireless service and its corresponding BSSID on the primary AC for the AP are consistent with each wireless service and its corresponding BSSID on the backup AC, thus ensuring that the VSRP hot standby service provided by the primary and backup ACs for the AP continues to operate normally. This enables automated adjustment of the wireless service configuration information on the backup AC to avoid the situation where the VSRP hot standby service cannot be used, avoiding problems such as high labor costs and low processing efficiency caused by existing manual methods.

[0062] Furthermore, compared to the existing method where the primary AC sequentially compares the wireless service configuration information of all APs in the network on the primary and backup ACs, this embodiment compares the wireless service configuration information of the AP on the primary and backup ACs, namely the first set of wireless service configuration information and the second set of wireless service configuration information, at the AP side. This not only effectively reduces the workload of the primary AC, but also effectively improves the efficiency of wireless service configuration information verification.

[0063] Furthermore, in this embodiment of the application, when the first wireless service configuration information set does not fully include the second wireless service configuration information set, the wireless service configuration information is redistributed by triggering a backup AC that is relatively idle compared to the primary AC. This can effectively avoid the impact on the service processing of the primary AC.

[0064] The following is about the above. Figure 2 The provided primary / standby AC synchronization method is described in further detail below:

[0065] In practical applications, users may adjust the wireless services bound to the APs on the primary AC and / or backup AC based on actual application needs. This may include adding at least one wireless service, deleting at least one bound wireless service, and / or modifying the order of bound wireless services. This will cause changes to the configuration information of the wireless services bound to the APs on the primary AC and / or backup AC, which may result in inconsistencies in the set of wireless service configuration information for the same AP on the primary and backup ACs.

[0066] Based on this, in this embodiment, as an example, when the master AC in the network detects a first wireless service configuration change event, the first wireless service configuration change event is caused by a change in the configuration information of at least one wireless service bound to an AP on the master AC. The master AC will send a first configuration change notification to the AP based on the first wireless service configuration change event.

[0067] Optionally, the first configuration change notification may carry the latest set of wireless service configuration information allocated by the master AC to the AP. Alternatively, the configuration change notification may carry the changed wireless service configuration information; it should be noted that if the change is the deletion of a certain wireless service configuration information, the configuration change notification may additionally carry an instruction to delete that wireless service configuration information.

[0068] Subsequently, upon receiving the first configuration change notification from the primary AC, the AP will readjust the set of wireless service configuration information allocated to it by the primary AC, resulting in a third set of wireless service configuration information. It will then compare this third set with a fourth set of wireless service configuration information, which is the latest set of wireless service configuration information allocated to the AP by the backup AC. If the fourth set of wireless service configuration information does not entirely contain the third set, a second configuration synchronization request will be sent to the backup AC, enabling the backup AC to reallocate wireless service configuration information for the AP based on the target wireless service configuration information indicated in the second configuration synchronization request.

[0069] Accordingly, as another embodiment, when the backup AC in the network detects a second wireless service configuration change event, this second wireless service configuration change event is caused by a change in the configuration information of at least one wireless service bound to the AP on the backup AC. The backup AC will send a second configuration change notification to the AP based on the second wireless service configuration change event. The specific content of the second configuration change notification is similar to that of the first configuration change notification described above, and will not be repeated here.

[0070] Subsequently, upon receiving the second configuration change notification from the backup AC, the AP will readjust the set of wireless service configuration information allocated to it by the backup AC, resulting in a fifth set of wireless service configuration information. It will then compare this fifth set with a sixth set of wireless service configuration information, which is the latest set of wireless service configuration information allocated to the AP by the primary AC. If the fifth set of wireless service configuration information does not entirely contain the sixth set, a third configuration synchronization request will be sent to the backup AC, enabling the backup AC to reallocate wireless service configuration information for the AP based on the target wireless service configuration information indicated in the third configuration synchronization request.

[0071] It should be noted that the above comparison of the fourth wireless service configuration information set and the third wireless service configuration information set, as well as the comparison of the fifth wireless service configuration information set and the sixth wireless service configuration information set, can be found in the relevant description of the comparison of the first wireless service configuration information set and the second wireless service configuration information set in step 202 above, and will not be repeated here.

[0072] As for how the backup AC reallocates wireless service configuration information for the AP based on the target wireless service configuration information indicated by the second configuration synchronization request, and how it reallocates wireless service configuration information for the AP based on the target wireless service configuration information indicated by the third configuration synchronization request, examples will be given below, and will not be elaborated here.

[0073] The following describes the primary / standby AC synchronization method provided in this application embodiment from the perspective of the AC in a network:

[0074] See Figure 3 , Figure 3 This is a flowchart illustrating another primary / standby AC synchronization method provided in this embodiment. This flowchart describes the primary / standby AC synchronization method from the perspective of the ACs in the network. As an example, the network in this embodiment may include two ACs, which will perform a primary / standby election to elect a primary AC and a standby AC. The specific method of primary / standby election is not specifically limited in this embodiment.

[0075] like Figure 3 As shown, the process may include the following steps:

[0076] Step 301: If this AC is elected as the backup AC, after receiving an online access request from an AP in the network, this AC sends a first set of wireless service configuration information to that AP.

[0077] In this embodiment, the first wireless service configuration information set includes at least one wireless service configuration information. Each wireless service configuration information in the first wireless service configuration information set is the wireless service configuration information allocated to the AP by the backup AC during the AP's successful access to the backup AC.

[0078] In this embodiment, as one example, after receiving an access request from an AP in the network, the AC will process the access request. Subsequently, when the AC successfully connects to the AP, as described above, the AC will, according to the order in which at least one wireless service is bound to the AP's radio frequency, request a corresponding WLANID for each wireless service, and generate a BSSID corresponding to each wireless service based on the requested WLANID and the AP's MAC address. Based on this, the AC can obtain the wireless service configuration information set allocated to the AP, i.e., the aforementioned first wireless service configuration information set, based on the wireless services bound to the AP and the corresponding WLANID and BSSID, and send the first wireless service configuration information set to the AP.

[0079] Similarly, when this AC is elected as the primary AC, after receiving an access request from an AP in the network, this AC will send a second set of wireless service configuration information to that AP. The specific process of obtaining the second set of wireless service configuration information is described above in the same manner as the process of obtaining the first set of wireless service configuration information, and will not be repeated here.

[0080] Step 302: Upon receiving the first configuration synchronization request of the AP, the wireless service configuration information is reallocated to the AP based on the target wireless service configuration information indicated by the first configuration synchronization request.

[0081] In this embodiment, the first configuration synchronization request is sent by the AP when it discovers that the first wireless service configuration information set does not fully contain the second wireless service configuration information set. As described above, the second wireless service configuration information set may contain at least one wireless service configuration information, and each wireless service configuration information in the second wireless service configuration information set is a wireless service configuration information allocated by the main AC during the AP's successful access to the main AC.

[0082] This concludes the process. Figure 3 The process is shown below.

[0083] pass Figure 3As can be seen from the process shown, in this embodiment of the application, the backup AC reassigns wireless service configuration information for the AP based on the first configuration synchronization request sent by the AP, so that the set of wireless service configuration information allocated by the AC for the AP completely includes the second set of wireless service configuration information. This ensures that each wireless service and its corresponding BSSID on the primary AC for the AP are consistent with each wireless service and its corresponding BSSID on the backup AC, thus ensuring that the VSRP hot standby service provided by the primary and backup ACs for the AP continues to operate normally. This enables automated adjustment of the wireless service configuration information on the backup AC to avoid the situation where the VSRP hot standby service cannot be used, avoiding problems such as high labor costs and low processing efficiency caused by existing manual methods.

[0084] Furthermore, in this embodiment, compared to the existing method where the primary AC sequentially compares the wireless service configuration information of all APs in the network on the primary and backup ACs, this AC sends a first set of wireless service configuration information to an AP after receiving an online access request from an AP in the network. This allows the AP to compare the first set of wireless service configuration information allocated by the primary AC to the AP with the second set of wireless service configuration information allocated by the backup AC to the AP. This not only effectively reduces the workload of the primary AC but also effectively improves the efficiency of wireless service configuration information verification.

[0085] Furthermore, in this embodiment of the application, when the first wireless service configuration information set does not fully include the second wireless service configuration information set, the wireless service configuration information is redistributed by triggering a backup AC that is relatively idle compared to the primary AC. This can effectively avoid the impact on the service processing of the primary AC.

[0086] The following is about the above. Figure 3 The provided primary / standby AC synchronization method is described in further detail below:

[0087] In this embodiment, as described above, when the AP in the network discovers that the first wireless service configuration information contains all the second wireless service configuration information, it will send a configuration consistency notification to the primary AC and the backup AC.

[0088] Based on this, as an example, when any AC in the network receives a configuration consistency notification sent by an AP, the AC will provide VSRP hot standby service for that AP, that is, the VSRP hot standby service provided by the AP during normal operation.

[0089] The following describes the specific implementation process after the AC detects a wireless service configuration change event:

[0090] In this embodiment, as one example, the primary AC in the network sends a first configuration change notification to the AP based on a first wireless service configuration change event. This causes the AP to readjust the set of wireless service configuration information allocated to it by the primary AC based on the first configuration change notification, resulting in a third set of wireless service configuration information. The first wireless service configuration change event is caused by a change in at least one wireless service configuration information bound to the AP on the primary AC. The third set of wireless service configuration information is compared with a fourth set of wireless service configuration information. The fourth set of wireless service configuration information is the latest set of wireless service configuration information allocated to the AP by the backup AC. If the fourth set of wireless service configuration information does not fully include the third set of wireless service configuration information, a second configuration synchronization request is sent to the backup AC.

[0091] When the backup AC in the network receives the second configuration synchronization request sent by the AP, it reallocates the wireless service configuration information for the AP based on the target wireless service configuration information indicated by the second configuration synchronization request, so that the latest set of wireless service configuration information reallocated by the backup AC for the AP completely includes the third set of wireless service configuration information.

[0092] Accordingly, as another embodiment, the backup AC in the network sends a second configuration change notification to the AP based on a second wireless service configuration change event, so that the AP readjusts the set of wireless service configuration information allocated to the AP by the backup AC based on the second configuration change notification, and obtains a fifth set of wireless service configuration information. The second wireless service configuration change event is caused by a change in at least one set of wireless service configuration information bound to the AP on the backup AC. The fifth set of wireless service configuration information is compared with a sixth set of wireless service configuration information, where the sixth set of wireless service configuration information is the latest set of wireless service configuration information allocated to the AP by the primary AC. If the fifth set of wireless service configuration information does not fully include the sixth set of wireless service configuration information, a third configuration synchronization request is sent to the backup AC.

[0093] When the backup AC in the network receives the third configuration synchronization request sent by the AP, it reallocates the wireless service configuration information for the AP based on the target wireless service configuration information indicated by the third configuration synchronization request, so that the latest set of wireless service configuration information reallocated by the backup AC for the AP completely includes the sixth set of wireless service configuration information.

[0094] It should be noted that the specific content of the second and third configuration synchronization requests here is similar to that of the first configuration synchronization request mentioned above. For example, the target wireless service configuration information indicated by the second configuration synchronization request can be the configuration information of each wireless service in the third wireless service configuration information set, or it can be the wireless service configuration information in the third wireless service configuration information set that is inconsistent with the fourth wireless service configuration information set, and so on.

[0095] The following describes how to reallocate wireless service configuration information for the AP:

[0096] In this embodiment, as one example, the above-mentioned reallocation of wireless service configuration information for the AP based on the target wireless service configuration information indicated by the first configuration synchronization request can be implemented as follows: for each target wireless service configuration information indicated by the first configuration synchronization request:

[0097] If the wireless service configuration information set allocated to the AP by the AC contains the target wireless service indicated by the target wireless service configuration information, then request the WLAN ID indicated by the target wireless service configuration information, and adjust the WLAN ID corresponding to the target wireless service in the wireless service configuration information set allocated to the AP by the AC to the requested WLAN ID. Specifically, first release the WLAN ID corresponding to the target wireless service in the wireless service configuration information set allocated to the AP by the AC, and then bind the requested WLAN ID to the target wireless service in the wireless service configuration information set allocated to the AP by the AC.

[0098] If the wireless service configuration information set allocated to the AP on the AC does not contain the target wireless service, then request the WLAN ID indicated by the target wireless service configuration information, and add the wireless service configuration information including the target wireless service and the requested WLAN ID to the wireless service configuration information set allocated to the AP on the AC.

[0099] In this embodiment, as an example, if the WLAN ID indicated by the current wireless service configuration information requested above has been occupied by other wireless services in the wireless service configuration information set allocated by the AC for the AP, the WLAN ID occupied by other wireless services can be released first, and then the WLAN ID indicated by the current wireless service configuration information can be requested again.

[0100] In this embodiment, as one example, the above-mentioned application for the WLAN ID indicating the target wireless service configuration information can be implemented in a specific way, for example, by having at least a stamgrd module and an APMGRD module in the AC. When the stamgrd module in the AC discovers that the set of wireless service configuration information allocated to the AP on the AC contains the target wireless service indicated by the target wireless service configuration information, it will apply to the APMGRD module in the AC for the WLAN ID indicating the target wireless service configuration information.

[0101] It should be noted that the above-mentioned reallocation of wireless service configuration information for the AP based on the target wireless service configuration information indicated by the second configuration synchronization request, and the reallocation of wireless service configuration information for the AP based on the target wireless service configuration information indicated by the third configuration synchronization request, are similar in specific implementation to the above-mentioned reallocation of wireless service configuration information for the AP based on the target wireless service configuration information indicated by the first configuration synchronization request, and will not be described again here.

[0102] To facilitate understanding of the specific implementation process of the above-mentioned master-slave AC synchronization method, the following is a description through specific embodiments.

[0103] In this embodiment, as an example, the specific implementation process of the primary / standby AC synchronization method provided in this embodiment is as follows:

[0104] For any AP in the network, such as AP1, AP1 will initiate a CAPWAP (Controlling and Provisioning of Wireless Access Point) online process to the primary and backup ACs in the network when it needs to go online. As for the specific implementation of the CAPWAP online process, this embodiment does not specifically limit it.

[0105] Once AP1 successfully connects to the main AC, the main AC will, based on the order in which AP1 is bound to at least one wireless service locally, request a corresponding WLAN ID for each wireless service, and generate a BSSID for each wireless service based on the requested WLAN ID and AP1's MAC address. Afterwards, the main AC will send the wireless service configuration information set corresponding to AP1 (which may include the wireless services bound to AP1, as well as the corresponding WLAN IDs and BSSIDs) to AP1.

[0106] After AP1 receives the set of wireless service configuration information (i.e., the aforementioned second set of wireless service configuration information) sent by the main AC, it will record the second set of wireless service configuration information in the first entry of its local database and immediately make the second set of wireless service configuration information effective for use by the terminals in the network.

[0107] When AP1 receives a notification from the primary AC indicating successful online status, it initiates a CAPWAP online process to the backup AC. Similar to the implementation on the primary AC, after AP1 successfully connects to the backup AC, the backup AC will, based on the order in which AP1 is bound to at least one wireless service locally, request a corresponding WLAN ID for each wireless service, and generate a BSSID for each wireless service based on the requested WLAN ID and AP1's MAC address. The backup AC will then construct a wireless service configuration information set for AP1 (i.e., the first wireless service configuration information set mentioned above) based on the wireless services bound to AP1 and the corresponding WLAN IDs and BSSIDs of each wireless service.

[0108] When AP1 receives a notification from the backup AC indicating that AP1 has successfully gone online, AP1 will send a configuration request message to the backup AC.

[0109] After receiving the configuration request information sent by AP1, the backup AC will send the wireless service configuration information set corresponding to AP1 in its local storage (i.e., the first wireless service configuration information set mentioned above) to AP1.

[0110] Optionally, after AP1 successfully connects to the backup AC, the backup AC can also proactively send the wireless service configuration information set corresponding to AP1 to AP1.

[0111] After receiving the wireless service configuration information set from the backup AC, AP1 records this set of wireless service configuration information in the second entry of its local database. It should be noted that AP1 does not apply the wireless service configuration information issued by the backup AC.

[0112] Based on this, AP1 will compare the first set of wireless service configuration information and the second set of wireless service configuration information that are already recorded locally.

[0113] If the first wireless service configuration information set contains the entire second wireless service configuration information set, AP1 will send a configuration consistency notification to the primary AC and the backup AC, so that when the primary AC and the backup AC receive the configuration consistency notification, they will establish a VSRP hot standby for AP1 to provide VSRP hot standby service for AP1.

[0114] If there is a discrepancy, AP1 will send a first configuration synchronization request to the backup AC to trigger the backup AC to reallocate wireless service configuration information for AP1 based on the target wireless service configuration information indicated by the first configuration synchronization request, so that the latest wireless service configuration information set reallocated by the backup AC to AP1 completely includes the latest wireless service configuration information set allocated by the primary AC to AP1 (that is, the aforementioned second wireless service configuration information set).

[0115] As an example, if any AC in the network discovers that at least one wireless service configuration information bound to AP1 on the AC has changed, the AC will send a configuration change notification to AP1, wherein the configuration change notification may carry the latest set of wireless service configuration information allocated by the AC to AP1 on the AC.

[0116] After receiving the above configuration change notification, AP1 will readjust the set of wireless service configuration information allocated to AP1 by the AC based on the set of wireless service configuration information carried in the configuration change notification. For example, it will update the set of wireless service configuration information allocated to AP1 by the AC to the set of wireless service configuration information carried in the configuration change notification.

[0117] Subsequently, AP1 will compare and find that the set of wireless service configuration information allocated to AP1 by the backup AC in the local area does not fully include the set of wireless service configuration information allocated to AP1 by the primary AC. If AP1 does not do so, it will send a configuration synchronization request to the backup AC to trigger the backup AC to reallocate wireless service configuration information to AP1 based on the target wireless service configuration information indicated by the configuration synchronization request. This will ensure that the latest set of wireless service configuration information reallocated to AP1 by the backup AC fully includes the latest set of wireless service configuration information allocated to AP1 by the primary AC.

[0118] This concludes the description of the method provided in the embodiments of this application. The apparatus provided in the embodiments of this application will now be described:

[0119] As an example, this embodiment also provides a primary / standby AC synchronization device. This device corresponds to... Figure 2 The method flow is shown below. Figure 4 As shown, the primary / backup AC synchronization device 400 is applied to an AP in a network; the network includes a primary AC and a backup AC; the primary / backup AC synchronization device 400 includes:

[0120] The comparison module 401 is used to compare a first set of wireless service configuration information with a second set of wireless service configuration information after the AP successfully accesses the primary AC and the backup AC; wherein the first set of wireless service configuration information includes wireless service configuration information allocated by the backup AC obtained by the AP during the process of successfully accessing the backup AC; and the second set of wireless service configuration information includes wireless service configuration information allocated by the primary AC obtained by the AP during the process of successfully accessing the primary AC.

[0121] The triggering module 402 is configured to send a first configuration synchronization request to the backup AC if the first wireless service configuration information set does not fully include the second wireless service configuration information set, so that the backup AC can reallocate wireless service configuration information for the AP based on the target wireless service configuration information indicated by the first configuration synchronization request.

[0122] As one embodiment, the device further includes an online module;

[0123] The online module is used to send an online access request to the main AC and to receive a second set of wireless service configuration information allocated by the main AC to the AP.

[0124] After successfully connecting to the primary AC, the AP sends an online access request to the backup AC and receives the first set of wireless service configuration information allocated by the backup AC to the AP.

[0125] As an example, the triggering module 402 is further configured to send a configuration consistency notification to the primary AC and the backup AC if the first wireless service configuration information set contains all of the second wireless service configuration information set, so that the primary AC and the backup AC provide VSRP hot standby service for the AP when they receive the configuration consistency notification.

[0126] As one embodiment, the device further includes: a first receiving module and an adjustment module;

[0127] The first receiving module is configured to receive a first configuration change notification sent by the main AC based on a first wireless service configuration change event; wherein the first wireless service configuration change event is caused by a change in the configuration information of at least one wireless service bound to the AP on the main AC;

[0128] The adjustment module is used to readjust the set of wireless service configuration information allocated to the AP by the master AC based on the first configuration change notification, so as to obtain a third set of wireless service configuration information.

[0129] The comparison module 401 is also used to compare the third wireless service configuration information set with the fourth wireless service configuration information set, wherein the fourth wireless service configuration information set is the latest wireless service configuration information set allocated to the AP by the backup AC on the AP.

[0130] The triggering module 402 is further configured to send a second configuration synchronization request to the backup AC if the fourth wireless service configuration information set does not fully include the third wireless service configuration information set, so that the backup AC can reallocate wireless service configuration information for the AP based on the target wireless service configuration information indicated by the second configuration synchronization request.

[0131] As one embodiment, the first receiving module is further configured to receive a second configuration change notification sent by the backup AC based on a second wireless service configuration change event; wherein the second wireless service configuration change event is caused by a change in the configuration information of at least one wireless service bound to the AP on the backup AC;

[0132] The adjustment module is also used to readjust the set of wireless service configuration information allocated to the AP by the backup AC based on the second configuration change notification, so as to obtain a fifth set of wireless service configuration information.

[0133] The comparison module 401 is also used to compare the fifth wireless service configuration information set with the sixth wireless service configuration information set, wherein the sixth wireless service configuration information set is the latest wireless service configuration information set allocated to the AP by the master AC on the AP;

[0134] The triggering module 402 is further configured to send a third configuration synchronization request to the backup AC if the fifth wireless service configuration information set does not fully include the sixth wireless service configuration information set, so that the backup AC can reallocate wireless service configuration information for the AP based on the target wireless service configuration information indicated by the third configuration synchronization request.

[0135] This concludes the process. Figure 4 Structural description of the device shown.

[0136] As an example, this embodiment also provides another primary / standby AC synchronization device. This device corresponds to... Figure 3 The method flow is shown below. Figure 3 As shown, the primary / backup AC synchronization device 500 is applied to ACs in a network, which also includes other ACs besides the one mentioned above. The primary / backup AC synchronization device 500 includes:

[0137] The sending module 501 is configured to, when the AC is elected as the backup AC, send a first set of wireless service configuration information to the AP after receiving an online access request from an AP in the network; wherein, the first set of wireless service configuration information includes the wireless service configuration information allocated to the AP by the AC during the AP's successful access to the AC.

[0138] The allocation module 502 is configured to, upon receiving a first configuration synchronization request from the AP, reallocate wireless service configuration information to the AP based on the target wireless service configuration information indicated by the first configuration synchronization request; wherein, the first configuration synchronization request is sent by the AP when it discovers that the first set of wireless service configuration information does not fully contain the second set of wireless service configuration information; the second set of wireless service configuration information contains the wireless service configuration information allocated by the main AC obtained by the AP during the process of successfully accessing the main AC.

[0139] As one embodiment, the device further includes a second receiving module;

[0140] The second receiving module is used to provide VSRP hot standby service to the AP when it receives a configuration consistency notification sent by the AP; wherein the configuration consistency notification is sent by the AP when it discovers that the first wireless service configuration information set completely contains the second wireless service configuration information set.

[0141] As an embodiment, the sending module 501 is further configured to, when the AC is elected as the primary AC, send a first configuration change notification to the AP based on a first wireless service configuration change event, so that the AP, based on the first configuration change notification, readjusts the set of wireless service configuration information allocated to the AP by the primary AC to the AP, to obtain a third set of wireless service configuration information. The first wireless service configuration change event is caused by a change in at least one set of wireless service configuration information bound to the AP on the primary AC. The third set of wireless service configuration information is compared with a fourth set of wireless service configuration information, where the fourth set of wireless service configuration information is the latest set of wireless service configuration information allocated to the AP by the backup AC. If the fourth set of wireless service configuration information does not fully include the third set of wireless service configuration information, a second configuration synchronization request is sent to the backup AC.

[0142] When the AC is elected as the backup AC, upon receiving the second configuration synchronization request from the AP, the AC reallocates wireless service configuration information to the AP based on the target wireless service configuration information indicated by the second configuration synchronization request.

[0143] As an embodiment, the sending module 501 is further configured to, when the AC is elected as the backup AC, send a second configuration change notification to the AP based on a second wireless service configuration change event, so that the AP, based on the second configuration change notification, readjusts the set of wireless service configuration information allocated to the AP by the backup AC to the AP, and obtains a fifth set of wireless service configuration information. The second wireless service configuration change event is caused by a change in at least one set of wireless service configuration information bound to the AP on the backup AC. The fifth set of wireless service configuration information is compared with a sixth set of wireless service configuration information, where the sixth set of wireless service configuration information is the latest set of wireless service configuration information allocated to the AP by the primary AC. If the fifth set of wireless service configuration information does not fully include the sixth set of wireless service configuration information, a third configuration synchronization request is sent to the backup AC.

[0144] When the AC is elected as the backup AC, upon receiving the third configuration synchronization request from the AP, the AC reallocates wireless service configuration information to the AP based on the target wireless service configuration information indicated by the third configuration synchronization request.

[0145] As one embodiment, the step of reallocating wireless service configuration information to the AP based on the target wireless service configuration information indicated by the first configuration synchronization request includes:

[0146] For each target wireless service configuration information indicated by the first configuration synchronization request:

[0147] If the set of wireless service configuration information allocated by the AC to the AP contains the target wireless service indicated by the target wireless service configuration information, then request the WLAN ID indicated by the target wireless service configuration information and adjust the WLAN ID corresponding to the target wireless service in the set of wireless service configuration information allocated by the AC to the AP to the requested WLAN ID.

[0148] If the target wireless service is not included in the set of wireless service configuration information allocated to the AP on the AC, then the WLAN ID indicated by the target wireless service configuration information is requested, and the wireless service configuration information including the target wireless service and the requested WLAN ID is added to the set of wireless service configuration information allocated to the AP on the AC.

[0149] This concludes the process. Figure 5 Structural description of the device shown.

[0150] The specific implementation process of the functions and roles of each module in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.

[0151] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0152] Please see Figure 6 This is a schematic diagram of the hardware structure of an electronic device provided as an exemplary embodiment of this application. The electronic device includes a processor and a computer-readable storage medium; the computer-readable storage medium stores a plurality of computer program instructions, which, when executed by the processor, implement the method disclosed in the above example of this application. Depending on the actual function of the electronic device, other hardware may also be included, which will not be elaborated further.

[0153] Based on the same concept as the above method, this application also provides a computer-readable storage medium storing a plurality of computer program instructions, which, when executed by a processor, can implement the method disclosed in the above examples of this application.

[0154] For example, the aforementioned computer-readable storage medium can be any electronic, magnetic, optical, or other physical storage device that can contain or store information, such as executable instructions, messages, etc. For instance, computer-readable storage media can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or combinations thereof.

[0155] The above are merely preferred embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for synchronizing primary and backup AC systems, characterized in that, The method is applied to wireless access points (APs) in a network; the network includes a primary wireless controller (AC) and a backup AC; the method includes: After successfully connecting to the primary AC and the backup AC, the AP compares a first set of wireless service configuration information with a second set of wireless service configuration information. The first set of wireless service configuration information includes the wireless service configuration information allocated by the backup AC that the AP obtained during the successful connection to the backup AC. The second set of wireless service configuration information includes the wireless service configuration information allocated by the primary AC that the AP obtained during the successful connection to the primary AC. The wireless service configuration information includes each wireless service to which the AP is bound and its corresponding BSSID. If the first wireless service configuration information set does not fully include the second wireless service configuration information set, a first configuration synchronization request is sent to the backup AC so that the backup AC can reallocate wireless service configuration information for the AP based on the target wireless service configuration information indicated by the first configuration synchronization request.

2. The method according to claim 1, characterized in that, The method further includes: Send an online access request to the main AC, and receive a second set of wireless service configuration information allocated by the main AC to the AP; After successfully connecting to the primary AC, the AP sends an online access request to the backup AC and receives the first set of wireless service configuration information allocated by the backup AC to the AP.

3. The method according to claim 1, characterized in that, The method further includes: If the first wireless service configuration information set contains all of the second wireless service configuration information set, then a configuration consistency notification is sent to the primary AC and the backup AC, so that the primary AC and the backup AC provide Virtual Service Redundancy Protocol (VSRP) hot standby service for the AP when they receive the configuration consistency notification.

4. The method according to claim 1, characterized in that, The method further includes: The system receives a first configuration change notification sent by the master AC based on a first wireless service configuration change event; wherein the first wireless service configuration change event is caused by a change in the configuration information of at least one wireless service bound to the AP on the master AC. Based on the first configuration change notification, the set of wireless service configuration information allocated to the AP by the primary AC on the AP is readjusted to obtain a third set of wireless service configuration information; the third set of wireless service configuration information is compared with the fourth set of wireless service configuration information, and the fourth set of wireless service configuration information is the latest set of wireless service configuration information allocated to the AP by the backup AC on the AP. If the fourth wireless service configuration information set does not fully include the third wireless service configuration information set, a second configuration synchronization request is sent to the backup AC so that the backup AC can reallocate wireless service configuration information for the AP based on the target wireless service configuration information indicated by the second configuration synchronization request.

5. The method according to claim 1, characterized in that, The method further includes: Receive a second configuration change notification sent by the backup AC based on a second wireless service configuration change event; wherein the second wireless service configuration change event is caused by a change in the configuration information of at least one wireless service bound to the AP on the backup AC; Based on the second configuration change notification, the set of wireless service configuration information allocated to the AP by the backup AC on the AP is readjusted to obtain a fifth set of wireless service configuration information; the fifth set of wireless service configuration information is compared with the sixth set of wireless service configuration information, and the sixth set of wireless service configuration information is the latest set of wireless service configuration information allocated to the AP by the primary AC on the AP; If the fifth set of wireless service configuration information does not fully include the sixth set of wireless service configuration information, a third configuration synchronization request is sent to the backup AC so that the backup AC can reallocate wireless service configuration information for the AP based on the target wireless service configuration information indicated by the third configuration synchronization request.

6. A method for synchronizing primary and backup AC systems, characterized in that, The method is applied to a wireless controller (AC) in a network, which also includes other ACs besides the AC mentioned above. The method includes: When the AC is elected as the backup AC, after receiving an online access request from a wireless access point (AP) in the network, the AC sends a first set of wireless service configuration information to the AP. The first set of wireless service configuration information includes the wireless service configuration information allocated to the AP by the backup AC during the AP's successful access to the backup AC. The wireless service configuration information includes each wireless service that the AP is bound to and its corresponding BSSID. Upon receiving the first configuration synchronization request from the AP, the AP reallocates wireless service configuration information based on the target wireless service configuration information indicated by the first configuration synchronization request; wherein, the first configuration synchronization request is sent by the AP when it discovers that the first set of wireless service configuration information does not fully contain the second set of wireless service configuration information; the second set of wireless service configuration information contains the wireless service configuration information allocated by the master AC obtained by the AP during the process of successfully accessing the master AC.

7. The method according to claim 6, characterized in that, The method further includes: Upon receiving a configuration consistency notification from the AP, the system provides Virtual Service Redundancy Protocol (VSRP) hot standby service to the AP; wherein, the configuration consistency notification is sent by the AP when it discovers that the first wireless service configuration information set completely contains the second wireless service configuration information set.

8. The method according to claim 6, characterized in that, The method further includes: When the AC is elected as the primary AC, it sends a first configuration change notification to the AP based on a first wireless service configuration change event. This causes the AP to readjust the set of wireless service configuration information allocated to it by the primary AC based on the first configuration change notification, resulting in a third set of wireless service configuration information. The first wireless service configuration change event is caused by a change in at least one wireless service configuration information bound to the AP on the primary AC. The third set of wireless service configuration information is compared with a fourth set of wireless service configuration information, which is the latest set of wireless service configuration information allocated to the AP by the backup AC. If the fourth set of wireless service configuration information does not fully include the third set of wireless service configuration information, a second configuration synchronization request is sent to the backup AC. When the AC is elected as the backup AC, upon receiving the second configuration synchronization request from the AP, the AC reallocates wireless service configuration information to the AP based on the target wireless service configuration information indicated by the second configuration synchronization request.

9. The method according to claim 6, characterized in that, The method further includes: When the AC is elected as the backup AC, a second configuration change notification is sent to the AP based on a second wireless service configuration change event. This causes the AP to readjust the set of wireless service configuration information allocated to it by the backup AC based on the second configuration change notification, resulting in a fifth set of wireless service configuration information. The second wireless service configuration change event is caused by a change in at least one wireless service configuration information bound to the AP on the backup AC. The fifth set of wireless service configuration information is compared with a sixth set of wireless service configuration information, where the sixth set of wireless service configuration information is the latest set of wireless service configuration information allocated to the AP by the primary AC. If the fifth set of wireless service configuration information does not fully include the sixth set of wireless service configuration information, a third configuration synchronization request is sent to the backup AC. When the AC is elected as the backup AC, upon receiving the third configuration synchronization request from the AP, the AC reallocates wireless service configuration information to the AP based on the target wireless service configuration information indicated by the third configuration synchronization request.

10. The method according to claim 6, characterized in that, The step of reallocating wireless service configuration information to the AP based on the target wireless service configuration information indicated by the first configuration synchronization request includes: For each target wireless service configuration information indicated by the first configuration synchronization request: If the wireless service configuration information set allocated by the AC to the AP contains the target wireless service indicated by the target wireless service configuration information, then request the WLAN identifier ID indicated by the target wireless service configuration information, and adjust the WLAN ID corresponding to the target wireless service in the wireless service configuration information set allocated by the AC to the AP to the requested WLAN ID. If the target wireless service is not included in the set of wireless service configuration information allocated to the AP on the AC, then the WLAN ID indicated by the target wireless service configuration information is requested, and the wireless service configuration information including the target wireless service and the requested WLAN ID is added to the set of wireless service configuration information allocated to the AP on the AC.

11. A master / standby AC synchronization device, characterized in that, The device is used in a wireless access point (AP) in a network; the network includes a primary wireless controller (AC) and a backup AC; the device includes: A comparison module is used to compare a first set of wireless service configuration information with a second set of wireless service configuration information after the AP successfully connects to the primary AC and the backup AC. The first set of wireless service configuration information includes wireless service configuration information allocated by the backup AC and obtained by the AP during successful connection to the backup AC. The second set of wireless service configuration information includes wireless service configuration information allocated by the primary AC and obtained by the AP during successful connection to the primary AC. The wireless service configuration information includes each wireless service to which the AP is bound and its corresponding BSSID. The triggering module is configured to send a first configuration synchronization request to the backup AC if the first wireless service configuration information set does not fully include the second wireless service configuration information set, so that the backup AC can reallocate wireless service configuration information for the AP based on the target wireless service configuration information indicated by the first configuration synchronization request.

12. A master / standby AC synchronization device, characterized in that, The device is used in a network of wireless controllers (ACs), the network also including other ACs besides the aforementioned AC, and the device includes: The sending module is configured to, when the AC is elected as the backup AC, send a first set of wireless service configuration information to the AP after receiving an online access request from a wireless access point (AP) in the network; wherein, the first set of wireless service configuration information includes wireless service configuration information allocated to the AP by the backup AC during the AP's successful access to the backup AC, and the wireless service configuration information includes each wireless service bound to the AP and its corresponding BSSID. The allocation module is configured to, upon receiving a first configuration synchronization request from the AP, reallocate wireless service configuration information to the AP based on the target wireless service configuration information indicated by the first configuration synchronization request; wherein, the first configuration synchronization request is sent by the AP when it discovers that the first set of wireless service configuration information does not fully contain the second set of wireless service configuration information; the second set of wireless service configuration information contains the wireless service configuration information allocated by the master AC obtained by the AP during the process of successfully accessing the master AC.

13. An electronic device, characterized in that, The electronic device includes: Processor; and A computer-readable storage medium storing computer program instructions that, when executed by the processor, cause the processor to perform the steps of the method of any one of claims 1 to 5 or 6 to 10.

Citation Information

Patent Citations

  • Data backup method and apparatus

    CN108934035A

  • Method and server used for information synchronization between master equipment and standby equipment

    WO2012013050A1