Abnormality processing method and device
By implementing the exception handling method in the central processor of the access point, selecting the backup radio frequency unit and controlling its working channel and BSSID, the network interruption problem caused by radio frequency unit exceptions in the wireless LAN is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202411479019.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-02-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In wireless LAN, when an abnormality occurs in the RF unit of the access point, the high-priority wireless terminal will be disconnected, resulting in network interruption and poor user experience.
By implementing the exception handling method in the central processor of the access point, when determining the abnormality of the target RF unit, other RF units are selected as the backup RF units, and they are controlled to work on the working channel of the target RF unit, using the same BSSID as wireless Terminal services are provided.
It ensures that the wireless terminal will not be disconnected, avoids the re-access process, allows the wireless terminal to continue to access network resources, and improves the user experience.
Smart Images

Figure CN119402896A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an exception handling method and device. Background Art
[0002] In a wireless local area network (WLAN), the radio frequency unit in the access point (AP) provides wireless services for wireless terminals. When an radio frequency unit in the AP that provides wireless services to high-priority wireless terminals fails, the wireless terminal connected to the radio frequency unit will be disconnected and try to access other radio frequency units in the current AP, or try to access radio frequency units in other APs.
[0003] During the re-access process, high-priority wireless terminals cannot access network resources, causing network interruption and resulting in a poor user experience. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present application provides an exception handling method and device.
[0005] According to a first aspect of an embodiment of the present application, there is provided an exception handling method, the method being applied to a central processing unit (CPU) in an AP, the method comprising:
[0006] When it is determined that a target radio frequency unit in the AP that provides wireless services for a high-priority wireless terminal is abnormal, selecting a backup radio frequency unit from other radio frequency units in the AP except the target radio frequency unit according to a preset selection strategy;
[0007] The backup radio frequency unit is controlled to operate on a target operating channel of the target radio frequency unit, and a target basic service set identifier (Basic Service Set Identifier, BSSID) of the target radio frequency unit is used to provide wireless services for a wireless terminal accessed to the target radio frequency unit.
[0008] According to a second aspect of an embodiment of the present application, there is provided an exception handling device, the device being applied to a CPU in an AP, the device comprising:
[0009] A selection module is used to select a backup radio frequency unit from other radio frequency units in the AP except the target radio frequency unit according to a preset selection strategy when it is determined that an abnormality occurs in a target radio frequency unit in the AP that provides wireless services for a high-priority wireless terminal;
[0010] The control module is used to control the backup radio frequency unit to work on the target working channel of the target radio frequency unit and use the target BSSID of the target radio frequency unit to provide wireless services for the wireless terminal connected to the target radio frequency unit.
[0011] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0012] In the embodiment of the present application, when the CPU in the AP determines that an abnormality occurs in the target radio frequency unit in the AP that provides wireless services to high-priority wireless terminals, it can select a backup radio frequency unit from other radio frequency units in the AP according to a preset selection strategy; and also control the backup radio frequency unit to work on the target working channel of the target radio frequency unit and use the target BSSID of the target radio frequency unit to provide wireless services to the wireless terminal connected to the target radio frequency unit. In this way, it is ensured that the wireless terminal connected to the target radio frequency unit will not be disconnected, and there is no need to re-initiate the access process, and can continue to access resources in the network, thereby improving the user experience.
[0013] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings, which are incorporated in the specification and constitute a part of this application, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
[0015] Figure 1 A flowchart of an exception handling method provided in an embodiment of the present application;
[0016] Figure 2A One of the schematic diagrams of the wireless service provided by AP1 according to the embodiment of the present application;
[0017] Figure 2B A second schematic diagram of a wireless service provided by AP1 according to an embodiment of the present application;
[0018] Figure 2C Schematic diagram 3 of the wireless service provided by AP1 according to the embodiment of the present application;
[0019] Figure 2D A fourth schematic diagram of a wireless service provided by AP1 according to an embodiment of the present application;
[0020] Figure 2E Schematic diagram 5 of the wireless service provided by AP1 according to the embodiment of the present application;
[0021] Figure 3A schematic diagram of the structure of an exception handling device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0023] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0024] It should be understood that, although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" or "if" as used herein may be interpreted as "at the time of" or "when...".
[0025] Next, the embodiments of the present application are described in detail.
[0026] The embodiment of the present application provides an exception handling method, which is applied to a CPU in an AP, such as Figure 1 As shown, the method may include the following steps:
[0027] S11. When it is determined that a target radio frequency unit in the AP that provides wireless services to a high-priority wireless terminal has an abnormality, a backup radio frequency unit is selected from other radio frequency units in the AP except the target radio frequency unit according to a preset selection strategy.
[0028] S12: Control the backup radio frequency unit to operate on the target operating channel of the target radio frequency unit, and use the target BSSID of the target radio frequency unit to provide wireless services for the wireless terminal connected to the target radio frequency unit.
[0029] Specifically, in the embodiment of the present application, the CPU may determine whether an abnormality occurs in the target radio frequency unit in the AP in the following manner:
[0030] If a reset message sent by the target radio frequency unit is received, it is determined that an abnormality occurs in the target radio frequency unit.
[0031] Specifically, in the above step S11, the CPU may select a backup radio frequency unit from other radio frequency units in the AP except the target radio frequency unit in any of the following ways:
[0032] The first method: randomly select a radio unit from other radio units in the AP except the target radio unit as the backup radio unit.
[0033] The second method: Select a radio unit with the smallest load from other radio units in the AP except the target radio unit as a backup radio unit.
[0034] The third method: a designated radio unit is selected from other radio units in the AP except the target radio unit as a backup radio unit.
[0035] It should be noted that, in the second manner, the radio frequency unit with the smallest load may be the radio frequency unit with the smallest channel utilization, or may be the radio frequency unit with the smallest number of wireless terminals connected, and so on.
[0036] In the third mode, a designated radio frequency unit is specially set in the AP as a backup radio frequency unit. Here, the number of the designated radio frequency units can be one or more.
[0037] Furthermore, in the embodiment of the present application, the CPU may also execute any of the following operation processes:
[0038] The first operation process: when it is determined that the target radio frequency unit has returned to normal, the target radio frequency unit is controlled to operate on the initial working channel of the backup radio frequency unit and use the initial BSSID of the backup radio frequency unit to provide wireless services; wherein the initial working channel is different from the target working channel, and the initial BSSID is different from the target BSSID.
[0039] In the first operation flow, when the target radio frequency unit recovers to normal, the backup radio frequency unit continues to operate on the target operating channel and uses the target BSSID to provide wireless services.
[0040] That is, the CPU implements the backup RF unit to permanently replace the target RF unit by executing the first operation flow.
[0041] The second operation process: when it is determined that the target radio unit has recovered to normal, the backup radio unit is controlled to work on the initial working channel of the backup radio unit, and the initial BSSID of the backup radio unit is used to provide wireless services;
[0042] The initial working channel is different from the target working channel, and the initial BSSID is different from the target BSSID.
[0043] In the second operation process, when the target radio frequency unit returns to normal, the target radio frequency unit continues to operate on the target working channel (i.e., the initial working channel of the target radio frequency unit) and uses the target BSSID (i.e., the initial BSSID of the target radio frequency unit) to provide wireless services.
[0044] That is, by executing the second operation mentioned above, the CPU realizes that the backup RF unit temporarily replaces the target RF unit when an abnormality occurs in the target RF unit, and when the target RF unit returns to normal, the backup RF unit is used to provide wireless services on the initial working channel of the backup RF unit using the initial BSSID of the backup RF unit.
[0045] The above exception handling method is described in detail below in conjunction with specific embodiments.
[0046] Assume that in a certain WLAN network, AP1 includes three radio frequency units, namely radio frequency unit 1 (denoted as Radio1), radio frequency unit 2 (denoted as Radio2) and radio frequency unit 3 (denoted as Radio3). Furthermore, assuming that the initial working channel of RF unit 1 is channel 36, and the BSSID of RF unit 1 is xxxx-yyyy-zz01, initially, RF unit 1 works on channel 36, and uses xxxx-yyyy-zz01 to provide wireless services for low-priority wireless terminals; assuming that the initial working channel of RF unit 2 is channel 149, and the BSSID of RF unit 2 is xxxx-yyyy-zz02, initially, RF unit 2 works on channel 149, and uses xxxx-yyyy-zz02 to provide wireless services for high-priority wireless terminals; assuming that the initial working channel of RF unit 3 is channel 1, and the BSSID of RF unit 3 is xxxx-yyyy-zz03, initially, RF unit 3 works on channel 1, and uses xxxx-yyyy-zz03 to provide wireless services for low-priority wireless terminals, such as Figure 2A shown.
[0047] Assume that at time 1, high-priority wireless terminal 1 accesses radio frequency unit 2 in AP1, and radio frequency unit 2 provides wireless service for wireless terminal 1, such as Figure 2B shown.
[0048] Assume that at time 2, the CPU in AP1 receives a reset message sent by RF unit 2. At this time, the CPU determines that RF unit 2 is abnormal. In this case, the CPU selects a RF unit with the least number of connected wireless terminals from RF unit 1 and RF unit 3 as a backup RF unit. Assume that RF unit 1 is selected, the CPU controls RF unit 1 to work on the working channel of RF unit 2 (i.e., channel 149) and uses the BSSID of RF unit 2 (i.e., xxxx-yyyy-zz02) to provide wireless services for wireless terminal 1, such as Figure 2C shown.
[0049] Next, assuming that at time 3, the CPU determines that the RF unit 2 has returned to normal, at this time, the CPU can control the RF unit 2 to work on the initial working channel of the backup RF unit (i.e., channel 36) and use the initial BSSID of the backup RF unit (i.e., xxxx-yyyy-zz01) to provide wireless services, such as Figure 2D shown.
[0050] Of course, the CPU can also control the radio frequency unit 1 to work on the initial working channel of the radio frequency unit 1 (ie, channel 36) and use the initial BSSID of the radio frequency unit 1 (ie, xxxx-yyyy-zz01) to provide wireless services, such as Figure 2E In this case, RF unit 2 continues to operate on channel 149 and uses xxxx-yyyy-zz02 to provide wireless services.
[0051] It can be seen from the above technical solutions that in the embodiment of the present application, when the CPU in the AP determines that an abnormality occurs in the target radio frequency unit in the AP that provides wireless services to high-priority wireless terminals, it can select a backup radio frequency unit from other radio frequency units in the AP according to a preset selection strategy; and also control the backup radio frequency unit to work on the target working channel of the target radio frequency unit and use the target BSSID of the target radio frequency unit to provide wireless services to the wireless terminal connected to the target radio frequency unit. In this way, it is ensured that the wireless terminal connected to the target radio frequency unit will not be disconnected, and there is no need to re-initiate the access process, and can continue to access resources in the network, thereby improving the user experience.
[0052] Based on the same inventive concept, the present application also provides an exception handling device, which is applied to the CPU in the AP, and its structural diagram is as follows: Figure 3 As shown, specifically including:
[0053] The selection module 31 is used to select a backup radio frequency unit from other radio frequency units in the AP except the target radio frequency unit according to a preset selection strategy when it is determined that an abnormality occurs in the target radio frequency unit in the AP that provides wireless services for the high-priority wireless terminal;
[0054] The control module 32 is used to control the backup radio frequency unit to work on the target working channel of the target radio frequency unit, and use the target BSSID of the target radio frequency unit to provide wireless services for the wireless terminal connected to the target radio frequency unit.
[0055] Preferably, the device further comprises:
[0056] Judgment module ( Figure 3 ), used to determine whether an abnormality occurs in the target radio frequency unit in the AP by the following method:
[0057] If a reset message sent by the target radio frequency unit is received, it is determined that an abnormality occurs in the target radio frequency unit.
[0058] Preferably, the selection module 31 is specifically used for:
[0059] Randomly select a radio frequency unit from other radio frequency units in the AP except the target radio frequency unit as a backup radio frequency unit; or,
[0060] Selecting a radio frequency unit with the smallest load from other radio frequency units in the AP except the target radio frequency unit as a backup radio frequency unit; or,
[0061] A designated radio frequency unit is selected from other radio frequency units in the AP except the target radio frequency unit as a backup radio frequency unit.
[0062] Preferably, the control module 32 is further used for:
[0063] When it is determined that the target radio frequency unit has recovered to normal, controlling the target radio frequency unit to operate on the initial working channel of the backup radio frequency unit and using the initial BSSID of the backup radio frequency unit to provide wireless services;
[0064] The initial working channel is different from the target working channel, and the initial BSSID is different from the target BSSID.
[0065] Preferably, the control module 32 is further used for:
[0066] When it is determined that the target radio frequency unit has recovered to normal, controlling the backup radio frequency unit to operate on the initial working channel of the backup radio frequency unit and using the initial BSSID of the backup radio frequency unit to provide wireless services;
[0067] The initial working channel is different from the target working channel, and the initial BSSID is different from the target BSSID.
[0068] It can be seen from the above technical solutions that in the embodiment of the present application, when the CPU in the AP determines that an abnormality occurs in the target radio frequency unit in the AP that provides wireless services to high-priority wireless terminals, it can select a backup radio frequency unit from other radio frequency units in the AP according to a preset selection strategy; and also control the backup radio frequency unit to work on the target working channel of the target radio frequency unit and use the target BSSID of the target radio frequency unit to provide wireless services to the wireless terminal connected to the target radio frequency unit. In this way, it is ensured that the wireless terminal connected to the target radio frequency unit will not be disconnected, and there is no need to re-initiate the access process, and can continue to access resources in the network, thereby improving the user experience.
[0069] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, 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. An exception handling method, characterized in that: The method is applied to a CPU in an access point AP, and the method comprises: When it is determined that a target radio frequency unit in the AP that provides wireless services for a high-priority wireless terminal is abnormal, selecting a backup radio frequency unit from other radio frequency units in the AP except the target radio frequency unit according to a preset selection strategy; The backup radio frequency unit is controlled to work on the target working channel of the target radio frequency unit, and a target basic service set identifier BSSID of the target radio frequency unit is used to provide wireless services for a wireless terminal connected to the target radio frequency unit.
2. The method according to claim 1, characterized in that Determine whether the target radio frequency unit in the AP is abnormal by: If a reset message sent by the target radio frequency unit is received, it is determined that an abnormality occurs in the target radio frequency unit.
3. The method according to claim 1, characterized in that According to a preset selection strategy, selecting a backup radio frequency unit from other radio frequency units in the AP except the target radio frequency unit specifically includes: Randomly select a radio frequency unit from other radio frequency units in the AP except the target radio frequency unit as a backup radio frequency unit; or, Selecting a radio frequency unit with the smallest load from other radio frequency units in the AP except the target radio frequency unit as a backup radio frequency unit; or, A designated radio frequency unit is selected from other radio frequency units in the AP except the target radio frequency unit as a backup radio frequency unit.
4. The method according to claim 1, characterized in that: The method further comprises: When it is determined that the target radio frequency unit has recovered to normal, controlling the target radio frequency unit to operate on the initial working channel of the backup radio frequency unit and using the initial BSSID of the backup radio frequency unit to provide wireless services; The initial working channel is different from the target working channel, and the initial BSSID is different from the target BSSID.
5. The method according to claim 1, characterized in that The method further comprises: When it is determined that the target radio frequency unit has recovered to normal, controlling the backup radio frequency unit to operate on the initial working channel of the backup radio frequency unit and using the initial BSSID of the backup radio frequency unit to provide wireless services; The initial working channel is different from the target working channel, and the initial BSSID is different from the target BSSID.
6. An exception handling device, characterized in that: The device is applied to a CPU in an access point AP, and the device includes: A selection module is used to select a backup radio frequency unit from other radio frequency units in the AP except the target radio frequency unit according to a preset selection strategy when it is determined that an abnormality occurs in a target radio frequency unit in the AP that provides wireless services for a high-priority wireless terminal; The control module is used to control the backup radio frequency unit to work on the target working channel of the target radio frequency unit and use the target basic service set identifier BSSID of the target radio frequency unit to provide wireless services for the wireless terminal connected to the target radio frequency unit.
7. The device according to claim 6, characterized in that The device also includes: The judging module is used to judge whether an abnormality occurs in the target radio frequency unit in the AP by: If a reset message sent by the target radio frequency unit is received, it is determined that an abnormality occurs in the target radio frequency unit.
8. The device according to claim 6, characterized in that The selection module is specifically used for: Randomly select a radio frequency unit from other radio frequency units in the AP except the target radio frequency unit as a backup radio frequency unit; or, Selecting a radio frequency unit with the smallest load from other radio frequency units in the AP except the target radio frequency unit as a backup radio frequency unit; or, A designated radio frequency unit is selected from other radio frequency units in the AP except the target radio frequency unit as a backup radio frequency unit.
9. The device according to claim 6, characterized in that The control module is also used for: When it is determined that the target radio frequency unit has recovered to normal, controlling the target radio frequency unit to operate on the initial working channel of the backup radio frequency unit and using the initial BSSID of the backup radio frequency unit to provide wireless services; The initial working channel is different from the target working channel, and the initial BSSID is different from the target BSSID.
10. The device according to claim 6, characterized in that The control module is also used for: When it is determined that the target radio frequency unit has recovered to normal, controlling the backup radio frequency unit to operate on the initial working channel of the backup radio frequency unit and using the initial BSSID of the backup radio frequency unit to provide wireless services; The initial working channel is different from the target working channel, and the initial BSSID is different from the target BSSID.
Citation Information
Patent Citations
Multi-radio-frequency-link wireless router and fault repairing method
CN107454616A
AP control method and device, wireless controller and storage medium
CN111918317A
Radio frequency module processing strategy, terminal and computer readable storage medium
CN112383905A
Network device, method and computer readable medium for accessing external network
CN114980091A
System and method for failover of mobile units in a wireless network
US20100110877A1