AP self-checking method and AP
By simulating the message process to perform self-inspection on the AP, the problem of manual troubleshooting of RF anomalies in the WLAN network is solved, and automatic detection and recovery are achieved, reducing user impact and system consumption.
Patent Information
- Application Number
- CN202510948803.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-09
- Publication Date
- 2025-10-17
AI Technical Summary
In a WLAN network, when an AP's radio frequency is abnormal, existing technologies require users to manually troubleshoot and restart the AP, impacting user use and preventing automatic recovery.
The AP performs self-tests by simulating the message sending and receiving process. It uses an idle BSSID to simulate a client and a virtual AP for internal and external self-tests, identifies RF anomalies, and notifies the AC to reset it.
It realizes automatic detection and recovery of abnormal radio frequency without affecting normal network operation, reducing user impact and system consumption.
Smart Images

Figure CN120812633A_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of communication technology, and in particular to an AP self-test method and an AP. Background Art
[0002] WLAN: Wireless Local Area Network, wireless local area network.
[0003] AC: Access Controller, which controls and manages all APs in a WLAN. The AC also provides authentication services to wireless users by interacting with an authentication server.
[0004] AP: Access Point. It provides a bridge between wireless users and the LAN, translating wireless-to-wired and wired-to-wireless frames between wireless clients and the WLAN. It operates in two modes: FATAP, which independently handles STA access and authentication; and FITAP, which requires collaboration with an AC for STA access and authentication. This article refers to the FITAP mode.
[0005] BSSID: Basic Service Set Identification, basic service set identifier.
[0006] The current mainstream WLAN network is AC+FITAP mode:
[0007] (1) Fit AP: RF interface that provides access services to users;
[0008] (2) AC: manages all Fit APs in the network and provides all services other than access.
[0009] like Figure 1 As shown, in real-world networks, there may be tens of thousands of APs operating on the same network. If an AP experiences a radio anomaly (a "hanged" state where the AP is functional but one of its multiple radios is malfunctioning), this could be due to a chip issue or other reasons. Once this occurs, it rarely recovers automatically, leaving users unable to connect to the network for an extended period of time, or even unable to communicate even after previously connecting. The only solution is for users to detect and manually troubleshoot the issue, typically by restarting the AP. This can have a significant impact on user experience. Summary of the Invention
[0010] To overcome the problems existing in the related art, this specification provides an AP self-test method and an AP.
[0011] According to a first aspect of the embodiments of the present specification, a method for AP self-checking is provided, the method comprising:
[0012] When a first radio frequency of the AP is detected to be abnormal, a first idle BSSID and a second idle BSSID of the first radio frequency are obtained;
[0013] The first idle BSSID is simulated as a first detection client, and a message sending process is simulated by using the first detection client;
[0014] A virtual AP is simulated by using the second idle BSSID, and a message receiving process is simulated by using the virtual AP;
[0015] The internal processing logic of the AP is self-checked according to the simulated message sending process and the simulated message receiving process.
[0016] The method further comprises:
[0017] The first detection client is connected to a third BSSID in a second radio frequency;
[0018] According to the connection result, external self-checking of the AP is implemented.
[0019] The method for detecting that the first radio frequency of the AP is abnormal comprises:
[0020] When it is detected that the duration of no terminal connection of the first radio frequency of the AP exceeds a preset threshold, it is determined that the first radio frequency is abnormal; or,
[0021] When it is detected that the first radio frequency of the AP has only one-way traffic for a duration exceeding a preset threshold, it is determined that the first radio frequency is abnormal.
[0022] The method for obtaining the first idle BSSID and the second idle BSSID of the first radio frequency comprises:
[0023] The last BSSID of the first radio frequency is taken as the first idle BSSID;
[0024] The second-to-last BSSID of the first radio frequency is taken as the second idle BSSID.
[0025] The first detection client and the third BSSID belong to the same frequency band.
[0026] When it is determined that the first radio frequency has a fault through internal processing logic self-checking or external self-checking, the AC is notified to reset the first radio frequency.
[0027] As can be seen from the above embodiments, the internal processing logic self-check of the AP and the external self-check of the AP provided by the present disclosure can self-check and reset the abnormal radio frequency without affecting the normal radio frequency operation of the AP, without increasing the consumption of the system, and without affecting the normal network.
[0028] According to a second aspect of the embodiments of the present disclosure, an AP is provided, which comprises:
[0029] a detection module configured to, when detecting a first radio frequency of the AP is abnormal, acquire a first idle BSSID and a second idle BSSID of the first radio frequency;
[0030] a processing module configured to simulate the first idle BSSID as a first detection Client, simulate a message sending process by using the first detection Client, simulate a virtual AP by using the second idle BSSID, and simulate a message receiving process by using the virtual AP;
[0031] a self-check module configured to perform self-check on internal processing logic of the AP according to the simulated message sending process and the simulated message receiving process.
[0032] The processing module is further configured to connect the first detection Client to a third BSSID in a second radio frequency.
[0033] The self-check module is further configured to perform external self-check on the AP according to the connection result.
[0034] The detection module is specifically configured to determine that the first radio frequency is abnormal when detecting that a duration in which the first radio frequency of the AP has no terminal connection exceeds a preset threshold; or
[0035] The detection module is specifically configured to determine that the first radio frequency is abnormal when detecting that a duration in which the first radio frequency of the AP has only one-way traffic exceeds a preset threshold.
[0036] The processing module is specifically configured to take a last BSSID of the first radio frequency as the first idle BSSID, and take a second-to-last BSSID of the first radio frequency as the second idle BSSID.
[0037] The first detection Client and the third BSSID belong to the same frequency band.
[0038] The self-check module is further configured to notify an AC to reset the first radio frequency when determining that the first radio frequency has a fault through the internal processing logic self-check or the external self-check.
[0039] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0040] The accompanying drawings, which are incorporated herein and constitute part of this specification, illustrate embodiments consistent with the description and serve to explain the principles of the description.
[0041] Figure 1 is a schematic diagram of a wireless network architecture according to an example embodiment of the description.
[0042] Figure 2 is a schematic diagram of a method for AP self-checking according to an example embodiment of the description.
[0043] Figure 3 is a schematic diagram of a radio frequency BSSID architecture according to an example embodiment of the description. DETAILED DESCRIPTION
[0044] The example embodiments will be described in detail herein with reference to the attached drawings. The description of the example embodiments is only meant to be illustrative of some aspects of the description. Rather, they are merely examples of apparatus and methods consistent with some aspects of the description as detailed in the appended claims.
[0045] The terminology used in the description is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in the description and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0046] It will be understood that, although the terms first, second, third, etc. can be used herein to describe various information, these terms are not intended to denote a temporal or chronological order. Rather, these terms are used only to distinguish different sets of information from one another. For example, a first information can be termed a second information, and similarly, a second information can be termed a first information without departing from the scope of the description. As used herein, the word "if' can be interpreted to mean "when" or "upon" or "in response to determining" depending on the context.
[0047] Currently, when an abnormality in the radio frequency is identified, only manual troubleshooting by user perception can be relied on, and the AP is usually restarted to solve the problem, which has a huge impact on users with normal radio frequency (users with normal radio frequency are forced to go offline during the AP restart process).
[0048] To solve the above technical problems, the present disclosure provides an AP self-checking method as shown in Figure 2 The method comprises the following steps:
[0049] S201 When a first radio frequency of the AP is detected to be abnormal, a first idle BSSID and a second idle BSSID of the first radio frequency are obtained.
[0050] S202 The first idle BSSID is simulated as a first detection client, and a message sending process is simulated by using the first detection client.
[0051] S203 A virtual AP is simulated by using the second idle BSSID, and a message receiving process is simulated by using the virtual AP.
[0052] S204 The internal processing logic of the AP is self-checked according to the simulated message sending process and the simulated message receiving process.
[0053] In the present embodiment, the method for detecting the abnormal radio frequency of the AP can be implemented in the following manner:
[0054] 1. When it is detected that the duration of no terminal connection of a first radio frequency of the AP exceeds a preset threshold, it is determined that the first radio frequency is abnormal.
[0055] 2. When it is detected that the duration of only one-way traffic of a first radio frequency of the AP exceeds a preset threshold, it is determined that the first radio frequency is abnormal.
[0056] Specifically, for the first implementation manner, when it is detected that a certain radio frequency has no terminal connection for a long time (for example, 10 minutes), it can be determined that the radio frequency is abnormal.
[0057] For the second implementation manner, when it is detected that a certain radio frequency has terminal connection but only one-way traffic for a long time (for example, 10 minutes), that is, there is downlink traffic without uplink traffic or there is uplink traffic without downlink traffic, it can be determined that the radio frequency is abnormal.
[0058] At this time, the AP self-checking method provided by the present disclosure can be used.
[0059] In the present embodiment, when the AP is self-checked, the beacon of the AP, that is, the Beacon sending count, can be detected first.
[0060] Then, a first idle BSSID and a second idle BSSID of the abnormal radio frequency (the first radio frequency) are obtained. In the specific implementation, the administrator can specify a certain BSSID in the radio frequency as the first idle BSSID and the second idle BSSID. In the specific application, a radio frequency can include multiple BSSIDs, for example, as shown in Figure 3As shown, for example, the first radio frequency (RF) can include 16 BSSIDs, and in general, the BSSIDs in one radio frequency are not fully occupied, and when assigning BSSIDs, the BSSIDs are assigned from front to back, and thus, the last BSSID in the first radio frequency can be selected as the first idle BSSID, and the second last BSSID can be selected as the second idle BSSID.
[0061] In the embodiment, the BSSID 15 uses a default SSID: DETECT-SELF-XXX at this time, and the Client-Self attempts to connect to the DETECT-SELF-XXX; since the working mechanism of the WLAN is half duplex, if the radio frequency actually transmits a message outward, the radio frequency cannot actually receive the message. Therefore, the connection process is actually an internal processing, and the message is not actually transmitted to the air interface through the radio frequency. The process can be referred to as internal self-checking.
[0062] In the above process, scanning is not required, and direct message authentication is sufficient. That is, the Client-Self is connected to the DETECT-SELF-XXX as a Client; the connection process needs to go through the whole process of sending and receiving, but the message is not actually transmitted to the air interface, and only after the sending logic is processed, the receiving logic is directly entered.
[0063] When the connection is successful through the above method, the Client-Self is displayed as a client on the AC; after the connection is successful, the Client-Self attempts to send several data messages, and the processing process is consistent with the access process; and whether the sending logic and the receiving logic of the radio frequency are normal is determined.
[0064] When the connection is not successful through the above method, it is determined that the sending logic and the receiving logic of the first radio frequency are abnormal, and the AC can be notified to reset the first radio frequency.
[0065] When the connection is successful through the above method, external self-checking can be performed, and specifically, the first detection Client can be connected to the third BSSID in the second radio frequency, that is, the radio frequency of the AP is connected to another radio frequency of the AP as a Client. That is, the radio frequency 2 is connected to the radio frequency 3 of the AP as a Client.
[0066] Generally, the AP has multiple radio frequencies. Assuming that the AP has four radio frequencies: radio frequency 1 is a 2.4G frequency band, radio frequency 2 and radio frequency 3 are 5G frequency bands, and radio frequency 4 is a 6G frequency band. The AP will first perform radio frequency switching according to whether the radio frequency actually supports multi-band operation, and then perform detection. If radio frequency 1 works in the 2G frequency band but actually supports working in the 5G frequency band, the radio frequency will be switched to the 5G frequency band before detection, and the next radio frequency is used as the AP by default, for example, radio frequency 1 is used as the Client and directly connected to radio frequency 2, radio frequency 2 is used as the Client and can only be connected to radio frequency 3, and so on, and radio frequency 4 is used as the Client and connected to radio frequency 1. However, if the radio frequency does not support multi-band, the detection cannot be performed. Therefore, the prerequisite for detection is that more than two radio frequencies support working in the same frequency band. In one implementation, an adjustable radio frequency 5 can be set in the AP for detection, and the radio frequency 5 can be switched among the 2G, 4G, 5G, and 6G frequency bands, thereby meeting the above detection scheme.
[0067] Based on the above, assuming that radio frequency 2 (first radio frequency) and radio frequency 3 work in the 5G frequency band, detection is started.
[0068] The Client-Self (last BSSID) of radio frequency 2 attempts to connect to the third BSSID (for example, the BSSID 15 of radio frequency 3) of radio frequency 3. The connection process is the same as above, and if the connection is successful, the client will also be displayed on the AC. If the connection fails, it is determined that radio frequency 2 is abnormal, and the user can be fed back the fault reason, or the AC is notified to reset radio frequency 2.
[0069] As can be seen from the above embodiments, if the radio frequency is abnormal, the AP can detect and handle the abnormality and self-repair through the method. According to the detection result, the AC or other processing mode is reported, for example, the radio frequency is reset, the AP is restarted, and the like. At the same time, the AP detection method provided in the embodiment does not affect the use of the user and is not perceived by the user. It also does not affect the work of other APs in the network and does not increase the consumption of the system, and has no impact on the network. At the same time, the self-detection in the embodiment does not require other devices, including other APs or terminals, to cooperate, and the AP can be completed by itself, which is simple and convenient.
[0070] Based on the above method embodiments, the disclosure also provides an AP, which comprises:
[0071] a detection module, configured to, when a first radio frequency of the AP is detected to be abnormal, acquire a first idle BSSID and a second idle BSSID of the first radio frequency;
[0072] a processing module, configured to simulate the first idle BSSID as a first detection client, simulate a message sending process by using the first detection client, simulate a virtual AP by using the second idle BSSID, and simulate a message receiving process by using the virtual AP;
[0073] a self-checking module, configured to perform self-checking on internal processing logic of the AP according to the simulated message sending process and the simulated message receiving process.
[0074] The processing module is further configured to connect the first detection client to a third BSSID in the second radio frequency.
[0075] The self-checking module is further configured to perform external self-checking on the AP according to the connection result.
[0076] The detection module is specifically configured to determine that the first radio frequency is abnormal when it is detected that a duration in which the first radio frequency of the AP has no terminal connection exceeds a preset threshold value; or
[0077] The detection module is specifically configured to determine that the first radio frequency is abnormal when it is detected that a duration in which the first radio frequency of the AP has only one-way traffic exceeds a preset threshold value.
[0078] The processing module is specifically configured to take a last BSSID of the first radio frequency as the first idle BSSID and take a second-to-last BSSID of the first radio frequency as the second idle BSSID.
[0079] The first detection client and the third BSSID belong to a same frequency band.
[0080] The self-checking module is further configured to notify an AC to reset the first radio frequency when it is determined that the first radio frequency has a fault through the internal processing logic self-checking or the external self-checking.
[0081] For the device embodiment, since it basically corresponds to the method embodiment, the related parts can be referred to the part of the method embodiment. The device embodiment described above is only illustrative, wherein the modules described as separate components can or can not be physically separated, and the components displayed as modules can or can not be physical modules, that is, they can be located in one place or distributed on multiple network modules. According to actual needs, some or all of the modules can be selected to achieve the purpose of the scheme of the present application. Those skilled in the art can understand and implement it without creative labor.
[0082] The above described embodiments of the present description have been described. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order and still accomplish the desired result. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve the desired results. In certain implementations, multitasking and parallel processing can be advantageous or necessary.
[0083] Other embodiments of the present description will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. The specification and examples given are intended as illustrative only and not limiting of the true scope and spirit of the present description. The true scope and spirit of the present description are indicated by the following claims.
[0084] It should be understood that the present description is not limited to the precise structures as herein described and illustrated in the drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the present description. The scope of the description is limited only by the claims that follow.
[0085] The above descriptions are only the preferred embodiments of the present description and are not intended to limit the present description. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present description shall be included in the scope of protection of the present description.
Claims
1. A method for AP self-test, characterized in that: The method comprises: When detecting that a first radio frequency of the AP is abnormal, obtaining a first idle BSSID and a second idle BSSID of the first radio frequency; Simulating the first idle BSSID as a first detection client, and using the first detection client to simulate a message sending process; Using the second idle BSSID to simulate a virtual AP, and using the virtual AP to simulate a message receiving process; The internal processing logic of the AP is self-checked according to the simulated message sending process and the simulated message receiving process.
2. The method according to claim 1, characterized in that The method further comprises: Use the first detection client to connect to the third BSSID in the second radio frequency; An external self-check of the AP is performed according to the connection result.
3. The method according to claim 1, characterized in that The method for detecting an abnormality in the first radio frequency of an AP includes: When it is detected that the duration of no terminal connection to the first radio frequency of the AP exceeds a preset threshold, it is determined that the first radio frequency is abnormal; or, When it is detected that the duration of only unidirectional traffic on the first radio frequency of the AP exceeds a preset threshold, it is determined that the first radio frequency is abnormal.
4. The method according to claim 1, wherein The method for obtaining the first idle BSSID and the second idle BSSID of the first radio frequency includes: The last BSSID of the first radio frequency is used as the first idle BSSID; The second-to-last BSSID of the first radio frequency is used as the second idle BSSID.
5. The method according to claim 2, characterized in that The first detection Client and the third BSSID belong to the same frequency band.
6. The method according to claim 1 or 2, characterized in that When it is determined through internal processing logic self-test or external self-test that the first radio frequency has a fault, the AC is notified to reset the first radio frequency.
7. An AP, characterized in that: The AP includes: A detection module, configured to obtain a first idle BSSID and a second idle BSSID of the first radio frequency when detecting an abnormality in the first radio frequency of the AP; a processing module configured to simulate the first idle BSSID as a first detection client, simulate a message sending process using the first detection client, simulate a virtual AP using the second idle BSSID, and simulate a message receiving process using the virtual AP; The self-check module is used to perform a self-check on the internal processing logic of the AP according to the simulated message sending process and the simulated message receiving process.
8. The AP according to claim 7, wherein: The processing module is further configured to connect to a third BSSID in the second radio frequency using the first detection client; The self-test module is further configured to perform an external self-test on the AP according to the connection result.
9. The AP according to claim 7, wherein: The detection module is specifically configured to determine that the first radio frequency is abnormal when it is detected that the duration of no terminal connection to the first radio frequency of the AP exceeds a preset threshold; or When it is detected that the duration of only unidirectional traffic on the first radio frequency of the AP exceeds a preset threshold, it is determined that the first radio frequency is abnormal.
10. The AP according to claim 7, wherein: The processing module is specifically configured to use the last BSSID of the first radio frequency as the first idle BSSID, and use the second-to-last BSSID of the first radio frequency as the second empty BSSID.
11. The AP according to claim 8, wherein: The first detection Client and the third BSSID belong to the same frequency band.
12. The AP according to claim 7 or 8, characterized in that: The self-test module is further configured to notify the AC to reset the first radio frequency when it is determined through internal processing logic self-test or external self-test that the first radio frequency has a fault.