Main and standby AC synchronization method and device and electronic equipment

By comparing the wireless service configuration information of the primary and secondary AC on the AP side and triggering the backup AC reallocation, the problem of VSRP hot standby service abnormality in the wireless LAN due to inconsistent configurations is solved, and automated adjustment and efficient configuration synchronization are achieved.

CN120529403AActive Publication Date: 2025-08-22NEW H3C TECH CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In wireless LAN, the VSRP hot standby service cannot operate normally due to inconsistent wireless service configuration information during synchronization. The existing solutions rely on manual adjustments, which have high labor costs and low processing efficiency.

Method used

By comparing the wireless service configuration information sets of the main AC and the backup AC on the AP side, if inconsistent, the AP sends a configuration synchronization request to the backup AC, triggering the backup AC to reassign the wireless service configuration information to make it consistent with the main AC, so as to achieve automated adjustments.

Benefits of technology

It realizes automatic synchronization of wireless service configuration information, avoids manual intervention, reduces costs and improves processing efficiency, and ensures the normal operation of VSRP hot standby service.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120529403A_ABST
    Figure CN120529403A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a main and standby AC synchronization method and device and electronic equipment. According to the embodiment of the invention, the AP side compares the first wireless service configuration information set allocated to the AP by the main AC with the second wireless service configuration information set allocated to the AP by the standby AC, and if the first wireless service configuration information set does not completely contain the second wireless service configuration information set, the AP side does not completely contain the second wireless service configuration information set. If yes, the standby AC is triggered to redistribute wireless service configuration information for the AP, so that all wireless service configuration information sets distributed by the standby AC for the AP contain a second wireless service configuration information set, and the VSRP hot standby service provided by the main AC and the standby AC for the AP is ensured to continue 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 the problems of high labor cost, low processing efficiency and the like caused by an existing manual mode are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device and electronic device for master-slave AC synchronization. Background Art

[0002] Wireless Local Area Networks (WLANs) often utilize a wireless access controller (AC) + wireless access point (AP) architecture for network communication. To ensure network stability, a dual-host backup configuration is often employed. This refers to deploying two ACs—a primary AC and a backup AC—in the network. If the primary AC fails, the APs automatically switch to the backup AC to ensure continuous service. The key to achieving dual-host backup is establishing a Virtual Service Redundancy Protocol (VSRP) hot standby service between the two ACs.

[0003] In actual applications, when an AP goes online on the active and standby ACs, the active and standby ACs will apply for a corresponding WLAN ID for each wireless service in the order of the wireless services bound to the local AP radio. This ID is used to create a corresponding Basic Service Set Identification (BSSID) for each wireless service. This BSSID is used by the AP to establish a BSS interface so that terminals can access the corresponding wireless service through the BSS interface. The prerequisite for the VSRP hot standby service provided by the active and standby ACs to operate normally is that the BSSIDs corresponding to the wireless services of the AP on the active AC and the BSSIDs corresponding to the wireless services of the AP on the standby AC are consistent.

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

[0005] In view of this, the present application provides a method, apparatus, and electronic device for synchronizing a primary and a backup AC, so as to avoid the situation where the VSRP hot standby service cannot be used by automatically adjusting the wireless service configuration information on the backup AC.

[0006] The present invention provides a method for synchronizing a primary and a backup AC. The method is applied to an AP in a network. The network includes a primary AC and a backup AC. The method includes:

[0007] After the AP successfully accesses the primary AC and the backup AC, the AP compares a first wireless service configuration information set with a second wireless service configuration information set; wherein the first wireless service configuration information set includes wireless service configuration information allocated by the backup AC and obtained by the AP during successful access to the backup AC; and the second wireless service configuration information set includes wireless service configuration information allocated by the primary AC and obtained by the AP during successful access to the primary AC;

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

[0009] An embodiment of the present application further provides a method for synchronizing a master and a backup AC. The method is applied to an AC in a network, where the network also includes other ACs in addition to the AC. The method includes:

[0010] When the AC is elected as the standby AC, after receiving an online access request sent by a wireless access point AP in the network, the AC sends a first wireless service configuration information set to the AP; wherein the first wireless service configuration information set includes wireless service configuration information allocated to the AP by the standby AC when the AP successfully accesses the standby AC;

[0011] 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 is found that the first wireless service configuration information set does not fully include the second wireless service configuration information set; the second wireless service configuration information set includes the wireless service configuration information allocated by the primary AC and obtained by the AP when successfully accessing the primary AC.

[0012] The present application also provides a master / standby AC synchronization device, which is applied to an AP in a network; the network includes a master AC and a standby AC; and the device includes:

[0013] a comparison module, configured to compare, after the AP successfully accesses the primary AC and the backup AC, a first wireless service configuration information set and a second wireless service configuration information set; wherein the first wireless service configuration information set includes wireless service configuration information allocated by the backup AC and obtained by the AP during successful access to the backup AC; and the second wireless service configuration information set includes wireless service configuration information allocated by the primary AC and obtained by the AP during successful access to the primary AC;

[0014] The trigger module is configured to send a first configuration synchronization request to the standby AC if the first wireless service configuration information set does not completely include the second wireless service configuration information set, so that the standby AC reallocates wireless service configuration information to the AP based on the target wireless service configuration information indicated by the first configuration synchronization request.

[0015] An embodiment of the present application also provides another active / standby AC synchronization device, the device being applied to an AC in a network, the network also including other ACs in addition to the AC, the device including:

[0016] a sending module, configured to, when the AC is elected as a standby AC, upon receiving an online access request sent by an AP in the network, send a first wireless service configuration information set to the AP; wherein the first wireless service configuration information set includes wireless service configuration information allocated to the AP by the standby AC when the AP successfully accesses the standby AC;

[0017] an allocation module, 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 is discovered that the first wireless service configuration information set does not fully include a second wireless service configuration information set; and the second wireless service configuration information set includes the wireless service configuration information allocated by the primary AC and obtained by the AP during successful access to the primary AC.

[0018] An embodiment of the present application further provides an electronic device, comprising:

[0019] processor; and

[0020] A computer-readable storage medium stores computer program instructions, which, when executed by a processor, cause the processor to execute the steps of the above method.

[0021] An embodiment of the present application further provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the processor is caused to execute the steps in the above method.

[0022] It can be seen from the above technical solution that in the embodiment of the present application, on the AP side, by comparing the first wireless service configuration information set assigned to the AP by the main AC with the second wireless service configuration information set assigned to the AP by the standby AC, if the first wireless service configuration information set does not fully include 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 assigned to the AP by the standby AC fully includes the second wireless service configuration information set, that is, the various wireless services for the AP on the main AC and the BSSID corresponding to each wireless service are consistent with the various wireless services for the AP on the standby AC and the BSSID corresponding to each wireless service, so as to ensure that the VSRP hot standby service provided by the main and standby ACs 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 where the VSRP hot standby service cannot be used, thereby avoiding problems such as high labor costs and low processing efficiency caused by existing manual methods.

[0023] Furthermore, compared to the existing method in which the main AC compares the wireless service configuration information of all APs in the network on the main and backup ACs in turn, the embodiment of the present application compares the wireless service configuration information of the AP on the main and backup ACs, that is, the above-mentioned first wireless service configuration information set and the second wireless service configuration information set on the AP side. This not only effectively reduces the workload of the main AC, but also effectively improves the efficiency of wireless service configuration information verification.

[0024] Furthermore, in an embodiment of the present 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 relative to the main AC, which can effectively avoid affecting the main AC business processing. BRIEF DESCRIPTION OF THE DRAWINGS

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

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

[0027] Figure 2 A schematic diagram of the method flow provided in an embodiment of the present application.

[0028] Figure 3 A flowchart of another method provided in an embodiment of the present application.

[0029] Figure 4 A schematic diagram of the device structure provided in an embodiment of the present application.

[0030] Figure 5 This is a schematic diagram of another device structure provided in an embodiment of the present application.

[0031] Figure 6 A schematic diagram of the electronic device structure provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0033] As described above, in a dual-machine backup networking scenario, the VSRP hot standby service provided by the active and standby ACs to the APs often fails to operate normally. There are many reasons why the VSRP hot standby service fails to operate normally, such as the inconsistency of the wireless services bound to the APs on the active and standby ACs or the order of the wireless services. Figure 1 The VSRP hot standby network shown below provides an example of this:

[0034] like Figure 1 The AC+AP network shown in the figure may include a primary AC 101, a backup AC 102, a core switch 103, an AP 104, and a client (i.e., terminal) 105. The AP 104 is connected to the primary AC 101 and the backup AC 102 via the core switch 103; the client 105 is connected to the AP 104, and the primary AC 101 and the backup AC 102 are connected via the core switch 103. It should be noted that the network of this embodiment may include multiple APs. Figure 1 The APs shown are only examples and are not intended to limit the number of APs in the network.

[0035] Based on this, for any AC in the above network (such as the main AC or the backup AC), when the AP goes online on the AC, the AC will apply for a corresponding WLAN ID for each wireless service in the order of the wireless services bound to the radio frequency of the local AP, and generate a BSSID corresponding to each wireless service based on the WLAN ID applied for each wireless service and the media access control (MAC) address of the AP. The BSSID is the identifier of the BSS interface. Afterwards, the AC can send each wireless service and its corresponding BSSID to the AP, so that the AP creates a corresponding BSS interface (which is a virtual interface) based on the received BSSID, wherein the client can access the AP through the BSS interface to further access the wireless service corresponding to the BSS interface.

[0036] For example, assuming that the MAC address of the AC is 0001-0001-0000, the wireless services bound to the radio frequency of the AP in the AC are wireless services 1, 2, 3, and 4, respectively; the AC generates a BSSID corresponding to each wireless service based on the WLAN ID applied for 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, respectively.

[0037] After an AP goes online on both the active and standby ACs, the active AC verifies that the AP's wireless service configuration information (such as the AP's bound wireless services and their corresponding BSSIDs) on the active AC is consistent with the AP's wireless service configuration information (such as the AP's bound wireless services and their corresponding BSSIDs) on the standby AC. If they are consistent, the VSRP hot standby service provided by the active and standby ACs for the AP will continue to operate normally. If they are inconsistent, the VSRP hot standby service provided by the active and standby ACs for the AP will not operate normally.

[0038] There are many reasons for the above inconsistencies. For example, the order of wireless services bound to APs on the primary and backup ACs is inconsistent. For example, the order of wireless services bound to APs on the primary AC is 1, 2, 3, 4, while the order of wireless services bound to APs on the backup AC is 4, 3, 2, 1. This will result in inconsistent WLAN IDs applied for the same wireless service on the primary and backup ACs, which will lead to inconsistent BSSIDs corresponding to the same wireless service on the primary and backup ACs. For another example, the order of wireless services bound to APs on the primary and backup ACs is inconsistent. For example, the order of wireless services bound to APs on the primary AC is 1, 2, 3, 4, while the order of wireless services bound to APs on the AC is 1, 2, 3. And so on. I won't give examples here to illustrate each one.

[0039] In actual applications, if the master and standby ACs find, through verification, that the wireless service configuration information for the same AP on the master and standby ACs is inconsistent, a prompt will be output to indicate that manual intervention is required to adjust the wireless service configuration information corresponding to the AP on the master and standby ACs, so that the VSRP hot standby service provided by the master and standby ACs for the AP can continue to operate normally. However, this manual method may have problems such as high labor costs and low processing efficiency. To this end, an embodiment of the present application provides a master and standby AC synchronization method that can avoid the situation where the VSRP hot standby service cannot be used by automatically adjusting the wireless service configuration information on the standby AC, thereby avoiding problems such as high labor costs and low processing efficiency caused by existing manual methods.

[0040] In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present application, and to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application are further described in detail below with reference to the accompanying drawings.

[0041] See also Figure 2 , Figure 2 This is a flow chart of the master-slave AC synchronization method provided by the embodiment of the present application. This flow describes the master-slave AC synchronization method provided by this embodiment from the perspective of the AP in the networking network; the network of this embodiment also includes a master AC and a backup AC. Figure 2 As shown, the process may include the following steps:

[0042] Step 201: After successfully accessing the active AC and the standby AC, the AP compares a first wireless service configuration information set with a 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 wireless service configuration information allocated by the standby AC and obtained by the AP when the AP successfully accesses the standby AC.

[0044] The second wireless service configuration information set includes at least one wireless service configuration information. Each wireless service configuration information in the second wireless service configuration information set is wireless service configuration information allocated by the primary AC and obtained by the AP when the AP successfully accesses the primary AC.

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

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

[0047] As for how the active AC and the standby AC allocate the wireless service configuration information set to the AP, an example will be given below and will not be described here in detail.

[0048] Step 202: If the first wireless service configuration information set does not completely include the second wireless service configuration information set, a first configuration synchronization request is sent to the standby AC, so that the standby AC reallocates wireless service configuration information to the 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 completely 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 active and standby ACs to this AP. In this case, this AP can send a first configuration synchronization request to the standby AC to trigger the standby AC to reallocate wireless service configuration information to 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 standby AC to this AP completely includes the second wireless service configuration information set, thereby allowing the VSRP hot standby service provided by the active and standby ACs to this AP 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 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, which is not specifically limited in this embodiment.

[0051] As an embodiment, 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 provide VSRP hot standby service for the AP when they receive the configuration consistency notification, that is, the VSRP hot standby service provided to the AP by normal operation.

[0052] Based on this, as an embodiment, after the above-mentioned standby AC reallocates wireless service configuration information for this AP, it will send the latest wireless service configuration information set allocated by the standby AC to this AP to this AP, so that when this AP finds through comparison that the latest wireless service configuration information set allocated by the standby AC for this AP on this AP all includes the latest wireless service configuration information set allocated by the main AC for this AP, it will send a configuration consistency notification to the main AC and the standby AC, so that the main AC and the standby AC 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 completely 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 part of the wireless service configuration information in the second wireless service configuration information set.

[0054] For example, assume that the first wireless service configuration information set on the AP is: wireless services 1, 2, and 3, whose corresponding WLAN IDs are WLAN1, WLAN2, and WLAN3, respectively, and whose corresponding BSSIDs are 0001-0001-0000, 0001-0001-0001, and 0001-0001-0002, respectively. "Wireless service 1, WLAN1, BSSID 0001-0001-0000" can be considered as one wireless service configuration information, i.e., the wireless service configuration information corresponding to wireless service 1. The second wireless service configuration information set is: wireless services 2, 1, and 3, whose corresponding WLAN IDs are WLAN1, WLAN2, and WLAN3, respectively, and whose corresponding BSSIDs are 0001-0001-0000, 0001-0001-0001, and 0001-0001-0002, respectively.

[0055] It can be seen that in the first wireless service configuration information set and the second wireless service configuration information set, the wireless service configuration information corresponding to wireless service 1 is different, the wireless service configuration information corresponding to wireless service 2 is also different, and 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 includes part of the wireless service configuration information in the second wireless service configuration information set, that is, the wireless service configuration information corresponding to wireless service 3. At this time, it can be considered that the first wireless service configuration information set does not completely include the second wireless service configuration information set.

[0056] As another example, assume that the first wireless service configuration information set on the AP is: wireless services 3 and 4, whose corresponding WLAN IDs are WLAN3 and WLAN4, respectively, and whose corresponding BSSIDs are 0001-0001-0002 and 0001-0001-0003, respectively. The second wireless service configuration information set is: wireless services 1 and 2, whose corresponding WLAN IDs are WLAN1 and WLAN2, respectively, and whose corresponding BSSIDs are 0001-0001-0000 and 0001-0001-0001, respectively. Therefore, the first wireless service configuration information set does not include the second wireless service configuration information set. Therefore, it can be considered that the first wireless service configuration information set does not fully include the second wireless service configuration information set.

[0057] Correspondingly, the fact 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 including all the wireless service configuration information in the second wireless service configuration information set.

[0058] For example, assume that the first wireless service configuration information set on the AP is: wireless services 1, 2, and 3, whose corresponding WLAN IDs are WLAN1, WLAN2, and WLAN3, respectively, and whose corresponding BSSIDs are 0001-0001-0000, 0001-0001-0001, and 0001-0001-0002, respectively. The second wireless service configuration information set on the AP is: wireless services 1 and 2, whose corresponding WLAN IDs are WLAN1 and WLAN2, respectively, and whose corresponding BSSIDs are 0001-0001-0000 and 0001-0001-0001, respectively. Therefore, the first wireless service configuration information set includes all the wireless service configuration information in the second wireless service configuration information set. Therefore, it can be considered that the first wireless service configuration information set completely includes the second wireless service configuration information set.

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

[0060] So far, completed Figure 2 The process shown.

[0061] pass Figure 2As can be seen from the shown process, in the embodiment of the present application, on the AP side, by comparing the first wireless service configuration information set allocated to the AP by the main AC with the second wireless service configuration information set allocated to the AP by the standby AC, if the first wireless service configuration information set does not fully include 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 fully includes the second wireless service configuration information set, that is, the various wireless services for the AP on the main AC and the BSSID corresponding to each wireless service are consistent with the various wireless services for the AP on the standby AC and the BSSID corresponding to each wireless service, so as to ensure that the VSRP hot standby service provided by the main and standby ACs 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 where the VSRP hot standby service cannot be used, thereby avoiding problems such as high labor costs and low processing efficiency caused by existing manual methods.

[0062] Furthermore, compared to the existing method in which the main AC compares the wireless service configuration information of all APs in the network on the main and backup ACs in turn, the embodiment of the present application compares the wireless service configuration information of the AP on the main and backup ACs, that is, the above-mentioned first wireless service configuration information set and the second wireless service configuration information set on the AP side. This not only effectively reduces the workload of the main AC, but also effectively improves the efficiency of wireless service configuration information verification.

[0063] Furthermore, in an embodiment of the present 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 relative to the main AC, which can effectively avoid affecting the main AC business processing.

[0064] The following is the above Figure 2 The provided active / standby AC synchronization method is further described:

[0065] In actual applications, users will adjust the wireless services bound to the AP on the main AC and / or backup AC based on actual application needs, such as: adding at least one wireless service, deleting at least one bound wireless service, and / or modifying the order of bound wireless services, etc. This will cause the wireless service configuration information bound to the AP on the main AC and / or backup AC to change, which may lead to inconsistent wireless service configuration information sets corresponding to the same AP on the main and backup ACs.

[0066] Based on this, in this embodiment, as an embodiment, when the main AC in the network monitors a first wireless service configuration change event, the first wireless service configuration change event is caused by a change in at least one wireless service configuration information bound to an AP on the main AC. The main 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 wireless service configuration information set allocated by the primary 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 certain wireless service configuration information, the configuration change notification may additionally carry an instruction to delete the wireless service configuration information.

[0068] Afterwards, upon receiving the first configuration change notification from the primary AC, the AP readjusts the wireless service configuration information set allocated to the AP by the primary AC to obtain a third wireless service configuration information set. The AP then compares the third wireless service configuration information set with a fourth wireless service configuration information set, where the fourth wireless service configuration information set is the latest wireless service configuration information set allocated to the AP by the backup AC. If the fourth wireless service configuration information set does not fully include the third wireless service configuration information set, the AP sends a second configuration synchronization request to the backup AC, causing the backup AC to reallocate wireless service configuration information to the AP based on the target wireless service configuration information indicated in the second configuration synchronization request.

[0069] Accordingly, as another embodiment, when a standby AC in the network detects a second wireless service configuration change event caused by a change in at least one wireless service configuration information bound to an AP on the standby AC, the standby AC sends 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 and is not further described here.

[0070] Afterward, upon receiving the second configuration change notification sent by the standby AC, the AP readjusts the wireless service configuration information set allocated to the AP by the standby AC to obtain a fifth wireless service configuration information set. The AP then compares the fifth wireless service configuration information set with the sixth wireless service configuration information set, where the sixth wireless service configuration information set is the latest wireless service configuration information set allocated to the AP by the active AC. If the fifth wireless service configuration information set does not fully include the sixth wireless service configuration information set, the AP sends a third configuration synchronization request to the standby AC, causing the standby AC to reallocate wireless service configuration information to 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-mentioned 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 referred to the relevant description of comparing the first wireless service configuration information set and the second wireless service configuration information set in the above-mentioned step 202, which will not be repeated here.

[0072] As for how the backup AC specifically reallocates wireless service configuration information for the AP based on the target wireless service configuration information indicated by the second configuration synchronization request, and 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 repeated here.

[0073] The following describes the active / standby AC synchronization method provided by the embodiment of the present application from the perspective of an AC in the network:

[0074] See also Figure 3 , Figure 3 This is a flowchart of another method for synchronizing a primary and backup ACs provided in an embodiment of the present application. This flowchart describes the method for synchronizing a primary and backup ACs provided in this embodiment from the perspective of an AC in a network. As an example, the network in this embodiment may include two ACs, which will perform a primary and backup election to select a primary and backup AC. This embodiment does not specifically limit the specific method for performing this election.

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

[0076] Step 301: When the AC is selected as a backup AC, after receiving an online access request sent by an AP in the network, the AC sends a first wireless service configuration information set to the 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 wireless service configuration information allocated to the AP by the standby AC when the AP successfully accesses the standby AC.

[0078] In this embodiment, as an example, after receiving an online access request from an AP in the network, the AC processes the online access request. Subsequently, when the AC successfully connects to the AC, as previously described, the AC applies for a corresponding WLAN ID for each wireless service in the order of at least one wireless service bound to the AP's radio frequency. Based on the WLAN ID applied for each wireless service and the AP's MAC address, the AC generates a BSSID corresponding to each wireless service. Based on this, the AC can obtain the wireless service configuration information set assigned to the AP by the AC, namely, the first wireless service configuration information set, based on the wireless services bound to the AP and the WLAN IDs and BSSIDs corresponding to each wireless service, and send the first wireless service configuration information set to the AP.

[0079] Similarly, if the AC is elected as the primary AC, upon receiving an online access request from an AP in the network, the AC will send a second wireless service configuration information set to the AP. The specific process for obtaining the second wireless service configuration information set is similar to the process for obtaining the first wireless service configuration information set described above and will not be repeated here.

[0080] Step 302: upon receiving the 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.

[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 include the second wireless service configuration information set. As previously described, the second wireless service configuration information set may include at least one wireless service configuration information, and each wireless service configuration information in the second wireless service configuration information set is wireless service configuration information allocated by the primary AC and obtained by the AP during successful access to the primary AC.

[0082] So far, completed Figure 3 The process shown.

[0083] pass Figure 3As can be seen from the shown process, in the embodiment of the present application, the wireless service configuration information is reallocated to the AP on the standby AC side based on the first configuration synchronization request sent by the AP, so that the wireless service configuration information set allocated by the AC to the AP all includes the second wireless service configuration information set, that is, the various wireless services for the AP on the main AC and the BSSID corresponding to each wireless service are consistent with the various wireless services for the AP on the standby AC and the BSSID corresponding to each wireless service, so as to ensure that the VSRP hot standby service provided by the main and standby ACs 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 where the VSRP hot standby service cannot be used, and avoid problems such as high labor costs and low processing efficiency caused by existing manual methods.

[0084] Furthermore, in an embodiment of the present application, compared to the existing method in which the main AC compares the wireless service configuration information of all APs in the network on the main and backup ACs in sequence, this AC sends a first wireless service configuration information set to the AP after receiving an online access request sent by an AP in the network, so as to compare the first wireless service configuration information set allocated to the AP by the main AC with the second wireless service configuration information set allocated to the AP by the backup AC on the AP side. This not only effectively reduces the workload of the main AC, but also effectively improves the efficiency of wireless service configuration information verification.

[0085] Furthermore, in an embodiment of the present 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 relative to the main AC, which can effectively avoid affecting the main AC business processing.

[0086] The following is the above Figure 3 The provided active / standby AC synchronization method is further described:

[0087] In this embodiment, as described above, when the AP in the network finds that all the first wireless service configuration information includes the second wireless service configuration information, it sends a configuration consistency notification to the active AC and the standby AC.

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

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

[0090] In this embodiment, as an embodiment, the main AC in the network sends a first configuration change notification to the AP based on the first wireless service configuration change event, so that the AP readjusts the wireless service configuration information set allocated to the AP by the main AC on the AP based on the first configuration change notification, and obtains a third wireless service configuration information set. 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 main AC; compares the third wireless service configuration information set with the fourth wireless service configuration information set. The fourth wireless service configuration information set is the latest wireless service configuration information set allocated to the AP by the standby AC on the AP. If the fourth wireless service configuration information set does not completely include the third wireless service configuration information set, a second configuration synchronization request is sent to the standby AC.

[0091] In which, when the standby AC in the network receives the second configuration synchronization request sent by the above-mentioned AP, it reallocates the wireless service configuration information to the AP based on the target wireless service configuration information indicated by the second configuration synchronization request, so that the latest wireless service configuration information set reallocated by the standby AC to the AP all includes the third wireless service configuration information set.

[0092] Accordingly, as another embodiment, a standby AC in a network sends a second configuration change notification to an AP based on a second wireless service configuration change event, so that the AP readjusts the wireless service configuration information set allocated to the AP by the standby AC based on the second configuration change notification, thereby obtaining a fifth wireless service configuration information set, wherein 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 standby AC; compares the fifth wireless service configuration information set with a sixth wireless service configuration information set, where the sixth wireless service configuration information set is the latest wireless service configuration information set allocated to the AP by the active AC; and sends a third configuration synchronization request to the standby AC if the fifth wireless service configuration information set does not fully include the sixth wireless service configuration information set.

[0093] In which, when the standby AC in the network receives the third configuration synchronization request sent by the above-mentioned AP, it reallocates the wireless service configuration information to the AP based on the target wireless service configuration information indicated by the third configuration synchronization request, so that the latest wireless service configuration information set reallocated by the standby AC to the AP all includes the sixth wireless service configuration information set.

[0094] It should be noted that the specific contents of the second configuration synchronization request and the third configuration synchronization request here are similar to the above-mentioned first configuration synchronization request. For example, the target wireless service configuration information indicated by the second configuration synchronization request can be each wireless service configuration information 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 to the AP:

[0096] In this embodiment, as an embodiment, the above-mentioned reallocation of wireless service configuration information to the AP based on the target wireless service configuration information indicated by the first configuration synchronization request may be specifically 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 on the AC includes the target wireless service indicated by the target wireless service configuration information, then apply for 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 on the AC to the applied 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 on the AC, and then bind the applied WLAN ID to the target wireless service in the wireless service configuration information set allocated to the AP on the AC.

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

[0099] In this embodiment, as an embodiment, if the WLAN ID indicated by the current wireless service configuration information applied for above has been occupied by other wireless services in the wireless service configuration information set allocated by the AC to 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 applied for.

[0100] In this embodiment, as an embodiment, the WLAN ID indicated by the above-mentioned application for the target wireless service configuration information can be, for example, implemented as follows: the AC includes at least a stamgrd module and an APMGRD module. When the stamgrd module in the AC discovers that the wireless service configuration information set allocated to the AP on the AC includes 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 indicated by the target wireless service configuration information.

[0101] It should be noted that the above-mentioned reallocation of wireless service configuration information to 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 to the AP based on the target wireless service configuration information indicated by the third configuration synchronization request are similar to the specific implementation of the above-mentioned reallocation of wireless service configuration information to the AP based on the target wireless service configuration information indicated by the first configuration synchronization request, and will not be repeated here.

[0102] In order to facilitate understanding of the specific implementation process of the above-mentioned active / standby AC synchronization method, a specific embodiment is described below by way of example.

[0103] In this embodiment, as an example, the specific implementation process of the active / 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] After AP1 successfully connects to the master AC, the master AC applies for a corresponding WLAN ID for each wireless service based on the order in which AP1 is bound to the at least one wireless service. It then generates a BSSID for each wireless service based on the WLAN ID applied for each wireless service and AP1's MAC address. The master AC then sends AP1's corresponding wireless service configuration information (e.g., information including the wireless services bound to AP1 and the WLAN ID and BSSID corresponding to each wireless service) to AP1.

[0106] After receiving the wireless service configuration information set (i.e., the second wireless service configuration information set) sent by the master AC, AP1 will record the second wireless service configuration information, such as recording it in the local first table entry, and immediately take effect on the second wireless service configuration information for use by terminals in the network.

[0107] When AP1 receives the notification from the primary AC indicating that AP1 has successfully gone online, it will initiate the CAPWAP online process to the backup AC. Similar to the implementation process on the primary AC mentioned above, when AP1 successfully accesses the backup AC, the backup AC will apply for the corresponding WLAN ID for each wireless service in sequence based on the order of at least one wireless service to which AP1 is bound locally, and generate the BSSID corresponding to each wireless service based on the WLANID applied for each wireless service and AP1's MAC address. Among them, the backup AC will form a wireless service configuration information set corresponding to AP1 (that is, the above-mentioned first wireless service configuration information set) based on the wireless services to which AP1 is bound, and the WLAN ID and BSSID corresponding to each wireless service.

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

[0109] After receiving the configuration request information sent by AP1, the standby AC will send the local wireless service configuration information set corresponding to AP1 (ie, the first wireless service configuration information set) to AP1.

[0110] Optionally, after AP1 successfully accesses the standby AC, the standby AC may also proactively send the wireless service configuration information set corresponding to AP1 to AP1.

[0111] After receiving the wireless service configuration information set sent by the backup AC, AP1 will record the wireless service configuration information set, such as recording it in the local second table entry. It should be noted that AP1 will not take effect on the wireless service configuration information sent by the backup AC.

[0112] Based on this, AP1 compares the first wireless service configuration information set and the second wireless service configuration information set recorded locally.

[0113] If the first wireless service configuration information set completely includes the second wireless service configuration information set, AP1 will send a configuration consistency notification to the active AC and the standby AC, so that when the active AC and the standby 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 any inconsistency, AP1 will send a first configuration synchronization request to the standby AC to trigger the standby AC to reallocate wireless service configuration information to 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 standby AC to AP1 all includes the latest wireless service configuration information set allocated by the main AC to AP1 (that is, the above-mentioned second wireless service configuration information set).

[0115] As an embodiment, if any AC in the network finds 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, where the configuration change notification may carry the latest wireless service configuration information set allocated by the AC to AP1 on the AC.

[0116] After receiving the above-mentioned configuration change notification, AP1 will readjust the wireless service configuration information set allocated to AP1 by the AC on AP1 based on the wireless service configuration information set carried by the configuration change notification, such as updating the wireless service configuration information set allocated to AP1 by the AC on AP1 to the wireless service configuration information set carried by the configuration change notification.

[0117] Afterwards, when AP1 finds through comparison that the wireless service configuration information set allocated to AP1 by the standby AC locally does not fully include the wireless service configuration information set allocated to AP1 by the main AC, it sends a configuration synchronization request to the standby AC to trigger the standby AC to reallocate wireless service configuration information to AP1 based on the target wireless service configuration information indicated by the configuration synchronization request, so that the latest wireless service configuration information set reallocated to AP1 by the standby AC fully includes the latest wireless service configuration information set allocated to AP1 by the main AC.

[0118] This completes the description of the method provided in the embodiment of the present application. The following describes the device provided in the embodiment of the present application:

[0119] As an embodiment, this embodiment also provides a master-slave AC synchronization device. The device corresponds to Figure 2 The method flow is shown in FIG. Figure 4 As shown, the master-standby AC synchronization device 400 is applied to an AP in a network; the network includes a master AC and a standby AC; the master-standby AC synchronization device 400 includes:

[0120] The comparison module 401 is configured to compare, after the AP successfully accesses the primary AC and the backup AC, a first wireless service configuration information set and a second wireless service configuration information set; wherein the first wireless service configuration information set includes wireless service configuration information allocated by the backup AC and obtained by the AP during successful access to the backup AC; and the second wireless service configuration information set includes wireless service configuration information allocated by the primary AC and obtained by the AP during successful access to the primary AC.

[0121] The trigger module 402 is configured to send a first configuration synchronization request to the standby AC if the first wireless service configuration information set does not completely include the second wireless service configuration information set, so that the standby AC reallocates wireless service configuration information to the AP based on the target wireless service configuration information indicated by the first configuration synchronization request.

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

[0123] an online module, configured to send an online access request to the primary AC, and receive a second wireless service configuration information set allocated by the primary AC to the AP;

[0124] After successfully accessing the active AC, an online access request is sent to the standby AC, and a first wireless service configuration information set allocated by the standby AC to the AP is received.

[0125] As an embodiment, the trigger module 402 is also used to send a configuration consistency notification to the primary AC and the backup AC if the first wireless service configuration information set completely includes 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 receiving the configuration consistency notification.

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

[0127] A first receiving module is configured to receive a first configuration change notification sent by the primary AC based on a first wireless service configuration change event; wherein 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;

[0128] an adjusting module, configured to readjust, based on the first configuration change notification, a set of wireless service configuration information allocated by the primary AC to the AP on the AP to obtain a third set of wireless service configuration information;

[0129] The comparison module 401 is further configured to compare the third wireless service configuration information set with a fourth wireless service configuration information set, where the fourth wireless service configuration information set is a latest wireless service configuration information set allocated to the AP by the standby AC.

[0130] The trigger module 402 is further configured to send a second configuration synchronization request to the standby AC if the fourth wireless service configuration information set does not completely include the third wireless service configuration information set, so that the standby AC reallocates wireless service configuration information to the AP based on the target wireless service configuration information indicated by the second configuration synchronization request.

[0131] As an embodiment, the first receiving module is further configured to receive a second configuration change notification sent by the standby AC based on a second wireless service configuration change event; wherein 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 standby AC;

[0132] The adjustment module is further configured to readjust the wireless service configuration information set allocated to the AP by the standby AC on the AP based on the second configuration change notification to obtain a fifth wireless service configuration information set;

[0133] The comparison module 401 is further configured to compare the fifth wireless service configuration information set with a sixth wireless service configuration information set, where the sixth wireless service configuration information set is a latest wireless service configuration information set allocated to the AP by the primary AC.

[0134] The trigger module 402 is further configured to send a third configuration synchronization request to the standby AC if the fifth wireless service configuration information set does not completely include the sixth wireless service configuration information set, so that the standby AC reallocates wireless service configuration information to the AP based on the target wireless service configuration information indicated by the third configuration synchronization request.

[0135] So far, completed Figure 4 Structural description of the device shown.

[0136] As an embodiment, this embodiment also provides another master-slave AC synchronization device. Figure 3 The method flow is shown in FIG. Figure 3 As shown, the master-standby AC synchronization device 500 is applied to an AC in a network, wherein the network also includes other ACs in addition to the AC. The master-standby AC synchronization device 500 includes:

[0137] a sending module 501 configured to, when the AC is selected as a backup AC, send a first wireless service configuration information set to an AP in the network after receiving an online access request sent by the AP; wherein the first wireless service configuration information set includes wireless service configuration information allocated by the AC to the AP when the AP successfully accesses the AC;

[0138] The allocation module 502 is used to reallocate wireless service configuration information to the AP based on the target wireless service configuration information indicated by the first configuration synchronization request when receiving the first configuration synchronization request of the AP; wherein the first configuration synchronization request is sent by the AP when it is found that the first wireless service configuration information set does not fully include the second wireless service configuration information set; the second wireless service configuration information set includes the wireless service configuration information allocated by the main AC and obtained by the AP when successfully accessing the main AC.

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

[0140] The second receiving module is used to provide VSRP hot standby service for the AP when receiving the configuration consistency notification sent by the AP; wherein, the configuration consistency notification is sent by the AP when it finds that the first wireless service configuration information set all includes 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 readjusts the wireless service configuration information set allocated to the AP by the primary AC on the AP based on the first configuration change notification, to obtain a third wireless service configuration information set, wherein 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; compare the third wireless service configuration information set with a fourth wireless service configuration information set, where the fourth wireless service configuration information set is the latest wireless service configuration information set allocated to the AP by the standby AC on the AP; and if the fourth wireless service configuration information set does not completely include the third wireless service configuration information set, send a second configuration synchronization request to the standby AC;

[0142] Wherein, when the AC is elected as the backup AC, upon receiving the second configuration synchronization request from the AP, the AC reallocates the 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 standby AC, send a second configuration change notification to the AP based on a second wireless service configuration change event, so that the AP readjusts the wireless service configuration information set allocated to the AP by the standby AC on the AP based on the second configuration change notification, to obtain a fifth wireless service configuration information set, wherein 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 standby AC; compare the fifth wireless service configuration information set with a sixth wireless service configuration information set, where the sixth wireless service configuration information set is the latest wireless service configuration information set allocated to the AP by the active AC on the AP; and if the fifth wireless service configuration information set does not fully include the sixth wireless service configuration information set, send a third configuration synchronization request to the standby AC;

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

[0145] As an embodiment, the 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 wireless service configuration information set allocated by the AC to the AP includes the target wireless service indicated by the target wireless service configuration information, apply for 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 by the AC to the AP to the applied WLAN ID;

[0148] If the target wireless service is not included in the wireless service configuration information set allocated to the AP on the AC, apply for 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 applied WLAN ID to the wireless service configuration information set allocated to the AP on the AC.

[0149] So far, completed Figure 5 Structural description of the device shown.

[0150] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.

[0151] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present application scheme. Those of ordinary skill in the art can understand and implement it without paying any creative work.

[0152] See Figure 6 , is a schematic diagram of the hardware structure of an electronic device provided in an exemplary embodiment of the present application. The electronic device includes a processor and a computer-readable storage medium; the computer-readable storage medium stores a number of computer program instructions, which, when executed by the processor, implement the method disclosed in the above example of the present application. The electronic device may also include other hardware depending on its actual function, which will not be described in detail here.

[0153] Based on the same application concept as the above method, an embodiment of the present application also provides a computer-readable storage medium, on which a number of computer program instructions are stored. When the computer program instructions are executed by a processor, the method disclosed in the above example of the present application can be implemented.

[0154] Exemplarily, the computer-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that may contain or store information, such as executable instructions, messages, and the like. For example, the computer-readable storage medium may be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, a storage drive (such as a hard disk drive), a solid-state drive, any type of storage disk (such as a CD, DVD, etc.), or similar storage media, or a combination thereof.

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

Claims

1. A master / standby AC synchronization method, characterized in that: The method is applied to a wireless access point (AP) in a network; the network includes a primary wireless controller (AC) and a backup AC; the method includes: After the AP successfully accesses the primary AC and the backup AC, the AP compares a first wireless service configuration information set with a second wireless service configuration information set; wherein the first wireless service configuration information set includes wireless service configuration information allocated by the backup AC and obtained by the AP during successful access to the backup AC; and the second wireless service configuration information set includes wireless service configuration information allocated by the primary AC and obtained by the AP during successful access to the primary AC; If the first wireless service configuration information set does not completely include the second wireless service configuration information set, a first configuration synchronization request is sent to the standby AC, so that the standby AC reallocates wireless service configuration information to 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 comprises: Sending an online access request to the primary AC, and receiving a second wireless service configuration information set allocated by the primary AC to the AP; After successfully accessing the active AC, an online access request is sent to the standby AC, and a first wireless service configuration information set allocated by the standby AC to the AP is received.

3. The method according to claim 1, characterized in that The method further comprises: If the first wireless service configuration information set completely includes the second wireless service configuration information set, a configuration consistency notification is sent to the active AC and the standby AC, so that the active AC and the standby AC provide Virtual Service Redundancy Protocol (VSRP) hot standby service for the AP upon receiving the configuration consistency notification.

4. The method according to claim 1, wherein The method further comprises: receiving a first configuration change notification sent by the primary AC based on a first wireless service configuration change event; wherein 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; Based on the first configuration change notification, readjust the wireless service configuration information set allocated to the AP by the primary AC on the AP to obtain a third wireless service configuration information set; compare the third wireless service configuration information set with a fourth wireless service configuration information set, where 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; If the fourth wireless service configuration information set does not completely include the third wireless service configuration information set, a second configuration synchronization request is sent to the standby AC, so that the standby AC reallocates wireless service configuration information to the AP based on the target wireless service configuration information indicated by the second configuration synchronization request.

5. The method according to claim 1, wherein The method further comprises: receiving a second configuration change notification sent by the standby AC based on a second wireless service configuration change event; wherein 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 standby AC; Based on the second configuration change notification, readjust the wireless service configuration information set allocated to the AP by the backup AC on the AP to obtain a fifth wireless service configuration information set; compare the fifth wireless service configuration information set with a sixth wireless service configuration information set, where the sixth wireless service configuration information set is the latest wireless service configuration information set allocated to the AP by the primary AC on the AP; If the fifth wireless service configuration information set does not completely include the sixth wireless service configuration information set, a third configuration synchronization request is sent to the standby AC, so that the standby AC reallocates wireless service configuration information to the AP based on the target wireless service configuration information indicated by the third configuration synchronization request.

6. A master-slave AC synchronization method, characterized in that: The method is applied to a wireless controller AC in a network, wherein the network also includes other ACs in addition to the AC, and the method includes: When the AC is elected as the standby AC, after receiving an online access request sent by a wireless access point AP in the network, the AC sends a first wireless service configuration information set to the AP; wherein the first wireless service configuration information set includes wireless service configuration information allocated to the AP by the standby AC when the AP successfully accesses the standby AC; 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 is found that the first wireless service configuration information set does not fully include the second wireless service configuration information set; the second wireless service configuration information set includes the wireless service configuration information allocated by the primary AC and obtained by the AP when successfully accessing the primary AC.

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

8. The method according to claim 6, characterized in that The method further comprises: When the AC is elected as the primary AC, sending a first configuration change notification to the AP based on a first wireless service configuration change event, so that the AP readjusts the wireless service configuration information set allocated to the AP by the primary AC on the AP based on the first configuration change notification to obtain a third wireless service configuration information set, where 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; comparing the third wireless service configuration information set with a fourth wireless service configuration information set, where the fourth wireless service configuration information set is the latest wireless service configuration information set allocated to the AP by the standby AC on the AP; and sending a second configuration synchronization request to the standby AC if the fourth wireless service configuration information set does not completely include the third wireless service configuration information set; Wherein, when the AC is elected as the backup AC, upon receiving the second configuration synchronization request from the AP, the AC reallocates the 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 comprises: When the AC is elected as the standby AC, sending a second configuration change notification to the AP based on a second wireless service configuration change event, so that the AP readjusts the wireless service configuration information set allocated to the AP by the standby AC on the AP based on the second configuration change notification to obtain a fifth wireless service configuration information set, where 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 standby AC; comparing the fifth wireless service configuration information set with a sixth wireless service configuration information set, where the sixth wireless service configuration information set is the latest wireless service configuration information set allocated to the AP by the active AC on the AP; and sending a third configuration synchronization request to the standby AC if the fifth wireless service configuration information set does not completely include the sixth wireless service configuration information set. Wherein, when the AC is selected as the backup AC, upon receiving the third configuration synchronization request from the AP, the AC reallocates the 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 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 includes the target wireless service indicated by the target wireless service configuration information, apply for the wireless local area network WLAN identification 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 applied WLAN ID; If the target wireless service is not included in the wireless service configuration information set allocated to the AP on the AC, apply for 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 applied WLAN ID to the wireless service configuration information set allocated to the AP on the AC.

11. A master-slave AC synchronization device, characterized in that: The device is applied to a wireless access point AP in a network; the network includes a main wireless controller AC and a backup AC; the device includes: a comparison module, configured to compare, after the AP successfully accesses the primary AC and the backup AC, a first wireless service configuration information set and a second wireless service configuration information set; wherein the first wireless service configuration information set includes wireless service configuration information allocated by the backup AC and obtained by the AP during successful access to the backup AC; and the second wireless service configuration information set includes wireless service configuration information allocated by the primary AC and obtained by the AP during successful access to the primary AC; The trigger module is configured to send a first configuration synchronization request to the standby AC if the first wireless service configuration information set does not completely include the second wireless service configuration information set, so that the standby AC reallocates wireless service configuration information to the AP based on the target wireless service configuration information indicated by the first configuration synchronization request.

12. A master-slave AC synchronization device, characterized in that: The device is applied to a wireless controller AC in a network, wherein the network also includes other ACs in addition to the AC, and the device includes: a sending module, configured to, when the AC is elected as a standby AC, upon receiving an online access request sent by a wireless access point AP in the network, send a first wireless service configuration information set to the AP; wherein the first wireless service configuration information set includes wireless service configuration information allocated to the AP by the standby AC when the AP successfully accesses the standby AC; an allocation module, 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 is discovered that the first wireless service configuration information set does not fully include a second wireless service configuration information set; and the second wireless service configuration information set includes the wireless service configuration information allocated by the primary AC and obtained by the AP during successful access to the primary AC.

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

Citation Information

Patent Citations

  • Wireless controller service information backup method and equipment

    CN101583144A

  • Wireless network control method and wireless controller

    CN102083136A

  • Wireless controller disaster recovery method and system thereof

    CN104185196A

  • Method and device for updating BSSID (Basic Service Set ID) and network connection method and device

    CN107135548A

  • Data backup method and apparatus

    CN108934035A