Roaming method and device
Through the radio frequency unit scanning and broadcast request message mechanism of APs in the wireless LAN, APs with the highest signal quality of wireless terminals are collected and reported, which solves the problem of poor roaming effect of wireless terminals and improves user experience.
Patent Information
- Application Number
- CN202410621965.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-08-30
AI Technical Summary
In wireless LANs, the delay in sending detection request messages by wireless terminals in a timely manner results in inaccurate received signal quality, affecting roaming effects and thus affecting user experience.
The AP scans all channels that need to be scanned through the radio frequency unit in scanning mode, and when a weak signal terminal is detected, it sends a broadcast request message carrying a list of weak signal terminals and a list of neighbor APs. After receiving the response, it determines the maximum signal quality. target AP and report it to the AC to guide wireless terminals to roam.
A dedicated radio frequency unit is used to collect the APs with the highest signal quality of wireless terminals, without affecting access services, and report them to the AC in a timely manner to improve the roaming effect of wireless terminals and improve user experience.
Smart Images

Figure CN118574175A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a roaming method and device. Background Art
[0002] In a wireless local area network (WLAN), a wireless terminal will send a probe request message when roaming is required. All access points (APs) that receive the probe request message will report the monitored signal quality of the wireless terminal to the corresponding access controller (AC), and the AC will guide the wireless terminal to roam to the AP with the highest monitored signal quality.
[0003] In this roaming process, the AP receiving the probe request message may monitor inaccurate signal quality due to the wireless terminal not sending the probe request message in time, which in turn leads to poor roaming effect of the wireless terminal and affects user experience. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present application provides a roaming method and device.
[0005] According to a first aspect of an embodiment of the present application, a roaming method is provided, where the method is applied to an AP, and the method includes:
[0006] Scanning all channels that need to be scanned according to a preset channel scanning rule by using a first radio frequency unit in the scanning mode;
[0007] When the current channel is scanned by the first radio frequency unit and the CPU in the first radio frequency unit monitors that the local first weak signal terminal list is not empty, the first radio frequency unit sends a first broadcast request message carrying the first weak signal terminal list and the first neighbor AP list on the current channel, wherein the neighbor APs in the first neighbor AP list are the neighbor APs scanned by the AP through the first radio frequency unit;
[0008] For the first wireless terminal in the first weak signal terminal list, if the first broadcast response message for the first broadcast request message sent by the neighbor AP in the first neighbor AP list that scanned the first wireless terminal is received through the first radio frequency unit, then when the CPU determines the target neighbor AP with the highest signal quality of the scanned first wireless terminal according to the first broadcast response message, and when the second radio frequency unit in working mode in itself monitors that the signal quality of the first wireless terminal is not greater than a first set threshold, the CPU reports the target neighbor AP to the AC to which it is connected, so that the AC guides the first wireless terminal to roam to the target neighbor AP;
[0009] Among them, the first wireless terminal in the first weak signal terminal list is added by the CPU when the AP monitors through the second radio frequency unit that the signal quality of the first wireless terminal is not greater than a second set threshold, and the first set threshold is less than the second set threshold.
[0010] According to a second aspect of an embodiment of the present application, a roaming device is provided. The device is applied to an AP. The device includes a first radio frequency unit, a second radio frequency unit, and a CPU, wherein:
[0011] The first radio frequency unit is configured to scan all channels that need to be scanned according to a preset channel scanning rule when in a scanning mode; and receive a first broadcast response message for the first broadcast request message sent by a neighbor AP in the first neighbor AP list that scans the first wireless terminal;
[0012] The CPU is used for triggering the first radio frequency unit to send a first broadcast request message carrying the first weak signal terminal list and a first neighbor AP list on the current channel when the first radio frequency unit scans the current channel and monitors that the first local weak signal terminal list is not empty, wherein the neighbor APs in the first neighbor AP list are the neighbor APs scanned by the first radio frequency unit; and
[0013] When the target neighbor AP with the highest signal quality of the first wireless terminal scanned is determined according to the first broadcast response message, and the second radio frequency unit monitors that the signal quality of the first wireless terminal is not greater than a first set threshold in the working mode, the target neighbor AP is reported to the AC to which the AP is connected, so that the AC guides the first wireless terminal to roam to the target neighbor AP;
[0014] The first wireless terminal in the first weak signal terminal list is added by the CPU when the second radio frequency unit monitors that the signal quality of the first wireless terminal is not greater than a second set threshold, and the first set threshold is less than the second set threshold.
[0015] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0016] In an embodiment of the present application, the AP scans all channels that need to be scanned through the first radio frequency unit in the scanning mode, and when the current channel is scanned through the first radio frequency unit and the CPU monitors that the local weak signal terminal list is not empty, the AP sends a broadcast request message carrying the weak signal terminal list and the neighbor AP list on the current channel through the first radio frequency unit, so that the AP can subsequently decide through the CPU based on the relevant broadcast response message collected by the first radio frequency unit to scan the neighbor AP with the highest signal quality of the wireless terminal in the weak signal terminal list. When the second radio frequency unit in the working mode monitors that the signal quality of the wireless terminal is not greater than the first set threshold, the CPU reports the decided neighbor AP to the AC to which it is connected, and the AC guides the wireless terminal to roam to the decided neighbor AP.
[0017] In this way, the AP collects and scans the AP with the highest signal quality for the relevant wireless terminal through a dedicated radio frequency unit without affecting the normal provision of access services; and the collected APs are reported to the relevant AC so that the AC can promptly guide the wireless terminal to roam to the decided neighbor AP, which can improve the roaming effect of the wireless terminal and thus improve the user experience.
[0018] 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
[0019] 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.
[0020] Figure 1 One of the flowcharts of a roaming method provided in an embodiment of the present application;
[0021] Figure 2 A second flowchart of a roaming method provided in an embodiment of the present application;
[0022] Figure 3 A schematic diagram of the structure of a roaming device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] 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.
[0024] 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.
[0025] 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...".
[0026] Next, the embodiments of the present application are described in detail.
[0027] The embodiment of the present application provides a roaming method, which is applied to an AP, such as Figure 1 As shown, the method may include the following steps:
[0028] S11 . Scan all channels that need to be scanned according to a preset channel scanning rule by using the first radio frequency unit in the scanning mode.
[0029] S12: When the current channel is scanned by the first radio frequency unit and the CPU in the first radio frequency unit monitors that the local first weak signal terminal list is not empty, the first radio frequency unit sends a first broadcast request message carrying the first weak signal terminal list and the first neighbor AP list on the current channel.
[0030] In this step, the neighbor APs in the first neighbor AP list are neighbor APs scanned by the AP through the first radio frequency unit.
[0031] S13. For the first wireless terminal in the first weak signal terminal list, if the first broadcast response message to the first broadcast request message is received from the neighbor AP in the first neighbor AP list in which the first wireless terminal is scanned through the first radio frequency unit, then when the CPU determines the target neighbor AP with the highest signal quality of the scanned first wireless terminal according to the first broadcast response message, and when the second radio frequency unit in working mode in itself monitors that the signal quality of the first wireless terminal is not greater than the first set threshold, the CPU reports the target neighbor AP to the access controller AC to which it is connected, so that the AC guides the first wireless terminal to roam to the target neighbor AP.
[0032] In this step, the first wireless terminal in the first weak signal terminal list is added by the CPU when the AP monitors through the second radio frequency unit that the signal quality of the first wireless terminal is not greater than the second set threshold, and the first set threshold is less than the second set threshold.
[0033] It should be noted that the first RF unit and the second RF unit are different RF units. When the first RF unit is in the scanning mode, the second RF unit is in the working mode; when the first RF unit is in the working mode, the second RF unit is in the scanning mode.
[0034] Specifically, in the above step S11, the AP may scan all channels that need to be scanned in the following manner:
[0035] All channels that need to be scanned are scanned for a set duration in a polling manner.
[0036] Of course, the AP may also use other methods to scan all channels that need to be scanned, and this application does not limit the specific scanning method.
[0037] Here, the duration can be set by the administrator based on network experience and configured in advance on the AP.
[0038] It should be noted that in the above step S12, the reason why the first neighbor AP list is carried in the first broadcast request message is mainly to allow the neighbor APs in the first weak signal terminal list to send corresponding broadcast response messages when they receive the first broadcast request message and scan the first wireless terminal. It is not necessary for all APs that have received the first broadcast request message and scanned the first wireless terminal to respond, so as to save air interface resources.
[0039] In addition, in the embodiment of the present application, initially, the first weak signal terminal list may be empty.
[0040] Specifically, in the above step S13, when the AP determines, through the CPU, the target AP with the highest signal quality of the scanned first wireless terminal, it can be implemented in the following manner:
[0041] First way:
[0042] If the number of first broadcast response messages (i.e., the first broadcast response message received by the first radio frequency unit) is one, and the signal quality of the first wireless terminal scanned by the source neighbor AP of the first broadcast message carried in the first broadcast message is greater than a second set threshold, and the time interval between the first time point when the first broadcast response message is received and the second time point when the source neighbor AP carried in the first broadcast message scans the first wireless terminal is less than the set time interval, the source neighbor AP is determined as the target AP with the maximum signal quality of the scanned first wireless terminal;
[0043] If there are multiple first broadcast response messages, then among all the first broadcast response messages, select the first broadcast response message that carries a signal quality of the first wireless terminal that is greater than a second set threshold, and a time interval between a third time point when the corresponding first broadcast response message is received and a fourth time point when the corresponding source neighbor AP carried in the corresponding first broadcast message scans the first wireless terminal that is less than the set time interval;
[0044] Among the selected first broadcast response messages, continue to select the first broadcast response message carrying the first wireless terminal with the greatest signal quality;
[0045] If the number of first broadcast response messages that continue to be selected is one, the source neighbor AP of the first broadcast response message that continues to be selected is determined as the target AP with the largest signal quality of the scanned first wireless terminal;
[0046] If the number of first broadcast response messages that are continuously selected is multiple, a source neighbor AP of a first broadcast response message that is continuously selected is randomly determined as a target AP with the highest signal quality of the scanned first wireless terminal.
[0047] Second way:
[0048] If the number of first broadcast response messages (i.e., the first broadcast response message received by the first radio frequency unit) is one, when the signal quality of the first wireless terminal scanned by the source neighbor AP of the first broadcast message carried in the first broadcast message is greater than the second set threshold and the difference between the signal quality and the second set threshold is not less than the third set threshold, and the time interval between the fifth time point when the first broadcast response message is received and the sixth time point when the source neighbor AP carried in the first broadcast message scans the first wireless terminal is less than the set time interval, the source neighbor AP is determined as the target AP with the largest signal quality of the scanned first wireless terminal;
[0049] If there are multiple first broadcast response messages, then among all the first broadcast response messages, select the first broadcast response message that carries a signal quality of the first wireless terminal that is greater than a second set threshold and the difference between the signal quality of the first wireless terminal and the second set threshold is not less than a third set threshold, and the time interval between a seventh time point when the corresponding first broadcast response message is received and an eighth time point when the corresponding source neighbor AP carried in the corresponding first broadcast message scans the first wireless terminal is less than the set time interval;
[0050] Among the selected first broadcast response messages, continue to select the first broadcast response message carrying the first wireless terminal with the greatest signal quality;
[0051] If the number of first broadcast response messages that continue to be selected is one, the source neighbor AP of the first broadcast response message that continues to be selected is determined as the target AP with the largest signal quality of the scanned first wireless terminal;
[0052] If the number of first broadcast response messages that are continuously selected is multiple, a source neighbor AP of a first broadcast response message that is continuously selected is randomly determined as a target AP with the highest signal quality of the scanned first wireless terminal.
[0053] Of course, in the embodiment of the present application, the AP can also use other methods through the CPU to determine the target AP with the highest signal quality of the scanned first wireless terminal. The present application does not limit the method for determining the target AP with the highest signal quality of the scanned first wireless terminal.
[0054] It should be noted that, in the embodiment of the present application, the signal quality of the first wireless terminal may be the signal strength of the first wireless terminal, for example, a received signal strength indication (RSSI) value.
[0055] It should be further explained that, in the embodiment of the present application, the first set threshold, the second set threshold, the third set threshold, and the set time interval can all be set by the administrator based on network experience and configured in advance on the AP.
[0056] In addition, in the embodiment of the present application, the specific guiding process of the AC guiding the first wireless terminal to roam to the target neighbor AP is a prior art and will not be described in detail here.
[0057] Furthermore, in the embodiment of the present application, the AP may also perform the following operations:
[0058] If a second broadcast request message carrying a second weak signal terminal list and a second neighbor AP list is received from other APs on the current channel through the first radio frequency unit, when the CPU determines that it is in the second neighbor AP list and the second wireless terminal in the second weak signal terminal list is scanned through the first radio frequency unit, the first radio frequency unit sends a second broadcast response message to other APs through the first radio frequency unit, carrying the signal quality of the second wireless terminal scanned by the first radio frequency unit recorded by the CPU and the ninth time point when the first radio frequency unit scanned the second wireless terminal.
[0059] Furthermore, in the embodiment of the present application, the AP may also perform the following operations:
[0060] When the signal quality of the first wireless terminal is monitored by the second radio frequency unit to be greater than the second set threshold, the first wireless terminal in the first weak signal terminal list is deleted by the CPU.
[0061] The above roaming method is described in detail below in conjunction with specific embodiments.
[0062] Assume that in a certain WLAN network, at time 1, AP1 in the network detects that the RSSI value of wireless terminal 1 is not greater than the second set threshold value through its own radio frequency unit 1 in working mode. At this time, AP1 adds wireless terminal 1 to weak signal terminal list 1 (such as Figure 3 Step 1) as shown.
[0063] Assume that AP1 scans the channel (for example, channel 1) on which the radio frequency unit 1 is currently working through the radio frequency unit 2 in the scanning mode, and AP1 monitors through CPU1 that the weak signal terminal list 1 is not empty (for example, the weak signal terminal list 1 only includes wireless terminal 1), and scans two neighboring APs (for example, AP2 and AP3) through the radio frequency unit 2. At this time, AP1 sends a broadcast request message 1 (for example, a broadcast request message 1 carrying the weak signal terminal list 1 and the neighboring AP list 1 (including AP2 and AP3)) on the current channel through the radio frequency unit 2. Figure 3 Step 2) as shown.
[0064] When AP2 receives the broadcast request message 1 through the radio frequency unit 3 in the scanning mode, the CPU 2 in AP2 finds that there is a record of scanning the wireless terminal 1, and also determines that AP2 is in the neighbor AP list 1. At this time, AP2 sends a broadcast response message 1 (such as time point 1) carrying the RSSI value of the wireless terminal 1 recorded by the CPU 2 and the time point when the radio frequency unit 3 scanned the wireless terminal 1 to AP1 through the radio frequency unit 3. Figure 3 Step 3) as shown.
[0065] When AP3 receives the broadcast request message 1 through the radio frequency unit 4 in the scanning mode, the CPU 3 in AP3 finds that there is a record of scanning the wireless terminal 1, and also determines that AP3 is in the neighbor AP list 1. At this time, AP3 sends a broadcast response message 2 (such as time point 2) carrying the RSSI value of the wireless terminal 1 recorded by the CPU 4 and the time point when the radio frequency unit 4 scanned the wireless terminal 1 to AP1 through the radio frequency unit 4. Figure 3 Step 4) as shown.
[0066] When AP1 receives broadcast response message 1 and broadcast response message 2 through radio unit 2, assuming that CPU1 determines that the neighbor AP with the largest RSSI value of wireless terminal 1 scanned is AP2 based on these two messages (the specific determination process can adopt the first method or the second method above), then, when AP1 monitors that the RSSI value of wireless terminal 1 is not greater than the first set threshold through radio unit 1, CPU1 reports AP2 to the AC to which it is connected (such as Figure 3 Step 5) as shown.
[0067] AC guides wireless terminal 1 to roam to AP2, such as Figure 3 Step 6 as shown.
[0068] It can be seen from the above technical scheme that in an embodiment of the present application, the AP scans all channels that need to be scanned through the first radio frequency unit in the scanning mode of itself, and when the current channel is scanned through the first radio frequency unit and the local weak signal terminal list is monitored by the CPU and is not empty, the AP sends a broadcast request message carrying the weak signal terminal list and the neighbor AP list on the current channel through the first radio frequency unit, so that the AP can subsequently decide through the CPU based on the relevant broadcast response message collected by the first radio frequency unit to scan the neighbor AP with the highest signal quality of the wireless terminal in the weak signal terminal list. When the second radio frequency unit in the working mode of itself monitors that the signal quality of the wireless terminal is not greater than the first set threshold, the CPU reports the decided neighbor AP to the AC to which it is connected, and the AC guides the wireless terminal to roam to the decided neighbor AP.
[0069] In this way, the AP collects and scans the AP with the highest signal quality for the relevant wireless terminal through a dedicated radio frequency unit without affecting the normal provision of access services; and the collected APs are reported to the relevant AC so that the AC can promptly guide the wireless terminal to roam to the decided neighbor AP, which can improve the roaming effect of the wireless terminal and thus improve the user experience.
[0070] Based on the same inventive concept, the present application also provides a roaming device, which is applied to an AP, and its structural diagram is shown in FIG. Figure 3 As shown, the device includes a first radio frequency unit 31, a second radio frequency unit 32 and a CPU 33, wherein:
[0071] The first radio frequency unit 31 is used to scan all channels that need to be scanned according to a preset channel scanning rule when in a scanning mode; and receive a first broadcast response message for the first broadcast request message sent by a neighbor AP in the first neighbor AP list that scans the first wireless terminal;
[0072] The CPU 32 is used to trigger the first radio frequency unit 31 to send a first broadcast request message carrying the first weak signal terminal list and the first neighbor AP list on the current channel when the first radio frequency unit 31 scans the current channel and monitors that the local first weak signal terminal list is not empty, wherein the neighbor APs in the first neighbor AP list are the neighbor APs scanned by the first radio frequency unit; and
[0073] When the target neighbor AP with the highest signal quality of the first wireless terminal scanned is determined according to the first broadcast response message, and the second radio frequency unit 32 monitors that the signal quality of the first wireless terminal is not greater than a first set threshold in the working mode, the target neighbor AP is reported to the AC to which the AP is connected, so that the AC guides the first wireless terminal to roam to the target neighbor AP;
[0074] The first wireless terminal in the first weak signal terminal list is added by the CPU when the second radio frequency unit monitors that the signal quality of the first wireless terminal is not greater than a second set threshold, and the first set threshold is less than the second set threshold.
[0075] Preferably, the CPU 33 is specifically configured to determine the target AP having the highest signal quality of the scanned first wireless terminal by:
[0076] If the number of the first broadcast response messages is one, and the signal quality of the first wireless terminal scanned by the source neighbor AP of the first broadcast message carried in the first broadcast message is greater than the second set threshold, and the time interval between the first time point when the first broadcast response message is received and the second time point when the source neighbor AP carried in the first broadcast message scans the first wireless terminal is less than the set time interval, the source neighbor AP is determined as the target AP with the highest signal quality of the scanned first wireless terminal;
[0077] If the number of the first broadcast response messages is multiple, then among all the first broadcast response messages, select the first broadcast response message that carries a signal quality of the first wireless terminal greater than the second set threshold, and a time interval between a third time point when the corresponding first broadcast response message is received and a fourth time point when the corresponding source neighbor AP carried in the corresponding first broadcast message scans the first wireless terminal is less than the set time interval;
[0078] Among the selected first broadcast response messages, continue to select the first broadcast response message carrying the greatest signal quality of the first wireless terminal;
[0079] If the number of first broadcast response messages that continue to be selected is one, the source neighbor AP of the first broadcast response message that continues to be selected is determined as the target AP with the highest signal quality of the first wireless terminal scanned;
[0080] If the number of first broadcast response messages that are continuously selected is more than one, a source neighbor AP of a first broadcast response message that is continuously selected is randomly determined as a target AP with the highest signal quality of the first wireless terminal that is scanned.
[0081] Preferably, the CPU 33 is specifically configured to determine the target AP having the highest signal quality of the scanned first wireless terminal by:
[0082] If the number of the first broadcast response messages is one, when the signal quality of the first wireless terminal scanned by the source neighbor AP of the first broadcast message carried in the first broadcast message is greater than the second set threshold and the difference between the signal quality and the second set threshold is not less than the third set threshold, and the time interval between the fifth time point when the first broadcast response message is received and the sixth time point when the source neighbor AP carried in the first broadcast message scans the first wireless terminal is less than the set time interval, the source neighbor AP is determined as the target AP with the highest signal quality of the scanned first wireless terminal;
[0083] If the number of the first broadcast response messages is multiple, then among all the first broadcast response messages, the first broadcast response message is selected, in which the signal quality of the first wireless terminal carried is greater than the second set threshold and the difference between the signal quality of the first wireless terminal and the second set threshold is not less than the third set threshold, and the time interval between the seventh time point when the corresponding first broadcast response message is received and the eighth time point when the corresponding source neighbor AP carried in the corresponding first broadcast message scans the first wireless terminal is less than the set time interval;
[0084] Among the selected first broadcast response messages, continue to select the first broadcast response message carrying the greatest signal quality of the first wireless terminal;
[0085] If the number of first broadcast response messages that continue to be selected is one, the source neighbor AP of the first broadcast response message that continues to be selected is determined as the target AP with the highest signal quality of the first wireless terminal scanned;
[0086] If the number of first broadcast response messages that are continuously selected is more than one, a source neighbor AP of a first broadcast response message that is continuously selected is randomly determined as a target AP with the highest signal quality of the first wireless terminal that is scanned.
[0087] Preferably, the first radio frequency unit 31 is further used for:
[0088] receiving, on the current channel, a second broadcast request message sent by other APs and carrying a second weak signal terminal list and a second neighbor AP list;
[0089] The CPU 33 is also used for:
[0090] When it is determined that the AP is in the second neighbor AP list and the first radio frequency unit 31 scans the second wireless terminal in the second weak signal terminal list, the first radio frequency unit 31 is triggered to send a second broadcast response message to the other APs, carrying the signal quality of the second wireless terminal scanned by the first radio frequency unit recorded by the CPU and the ninth time point when the second wireless terminal was scanned.
[0091] Preferably, the CPU is further used for:
[0092] When the second radio frequency unit 32 detects that the signal quality of the first wireless terminal is greater than the second set threshold, the first wireless terminal is deleted from the first weak signal terminal list.
[0093] It can be seen from the above technical scheme that in an embodiment of the present application, the AP scans all channels that need to be scanned through the first radio frequency unit in the scanning mode of itself, and when the current channel is scanned through the first radio frequency unit and the local weak signal terminal list is monitored by the CPU and is not empty, the AP sends a broadcast request message carrying the weak signal terminal list and the neighbor AP list on the current channel through the first radio frequency unit, so that the AP can subsequently decide through the CPU based on the relevant broadcast response message collected by the first radio frequency unit to scan the neighbor AP with the highest signal quality of the wireless terminal in the weak signal terminal list. When the second radio frequency unit in the working mode of itself monitors that the signal quality of the wireless terminal is not greater than the first set threshold, the CPU reports the decided neighbor AP to the AC to which it is connected, and the AC guides the wireless terminal to roam to the decided neighbor AP.
[0094] In this way, the AP collects and scans the AP with the highest signal quality for the relevant wireless terminal through a dedicated radio frequency unit without affecting the normal provision of access services; and the collected APs are reported to the relevant AC so that the AC can promptly guide the wireless terminal to roam to the decided neighbor AP, which can improve the roaming effect of the wireless terminal and thus improve the user experience.
[0095] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A roaming method, characterized in that: The method is applied to an access point AP, and the method comprises: Scanning all channels that need to be scanned according to a preset channel scanning rule by using a first radio frequency unit in the scanning mode; When the current channel is scanned by the first radio frequency unit and the CPU in the first radio frequency unit monitors that the local first weak signal terminal list is not empty, the first radio frequency unit sends a first broadcast request message carrying the first weak signal terminal list and the first neighbor AP list on the current channel, wherein the neighbor APs in the first neighbor AP list are the neighbor APs scanned by the AP through the first radio frequency unit; For the first wireless terminal in the first weak signal terminal list, if the first broadcast response message for the first broadcast request message sent by the neighbor AP in the first neighbor AP list that scanned the first wireless terminal is received through the first radio frequency unit, then when the CPU determines the target neighbor AP with the highest signal quality of the scanned first wireless terminal according to the first broadcast response message, and when the second radio frequency unit in working mode in itself monitors that the signal quality of the first wireless terminal is not greater than a first set threshold, the CPU reports the target neighbor AP to the access controller AC to which it is connected, so that the AC guides the first wireless terminal to roam to the target neighbor AP; Among them, the first wireless terminal in the first weak signal terminal list is added by the CPU when the AP monitors through the second radio frequency unit that the signal quality of the first wireless terminal is not greater than a second set threshold, and the first set threshold is less than the second set threshold.
2. The method according to claim 1, characterized in that Determine the target AP with the highest signal quality of the first wireless terminal scanned by the following method: If the number of the first broadcast response messages is one, and the signal quality of the first wireless terminal scanned by the source neighbor AP of the first broadcast message carried in the first broadcast message is greater than the second set threshold, and the time interval between the first time point when the first broadcast response message is received and the second time point when the source neighbor AP carried in the first broadcast message scans the first wireless terminal is less than the set time interval, the source neighbor AP is determined as the target AP with the highest signal quality of the scanned first wireless terminal; If the number of the first broadcast response messages is multiple, then among all the first broadcast response messages, select the first broadcast response message that carries a signal quality of the first wireless terminal greater than the second set threshold, and a time interval between a third time point when the corresponding first broadcast response message is received and a fourth time point when the corresponding source neighbor AP carried in the corresponding first broadcast message scans the first wireless terminal is less than the set time interval; Among the selected first broadcast response messages, continue to select the first broadcast response message carrying the greatest signal quality of the first wireless terminal; If the number of first broadcast response messages that continue to be selected is one, the source neighbor AP of the first broadcast response message that continues to be selected is determined as the target AP with the highest signal quality of the first wireless terminal scanned; If the number of first broadcast response messages that are continuously selected is more than one, a source neighbor AP of a first broadcast response message that is continuously selected is randomly determined as a target AP with the highest signal quality of the first wireless terminal that is scanned.
3. The method according to claim 1, characterized in that Determine the target AP with the highest signal quality of the first wireless terminal scanned by the following method: If the number of the first broadcast response messages is one, when the signal quality of the first wireless terminal scanned by the source neighbor AP of the first broadcast message carried in the first broadcast message is greater than the second set threshold and the difference between the signal quality and the second set threshold is not less than the third set threshold, and the time interval between the fifth time point when the first broadcast response message is received and the sixth time point when the source neighbor AP carried in the first broadcast message scans the first wireless terminal is less than the set time interval, the source neighbor AP is determined as the target AP with the highest signal quality of the scanned first wireless terminal; If the number of the first broadcast response messages is multiple, then among all the first broadcast response messages, the first broadcast response message is selected, in which the signal quality of the first wireless terminal carried is greater than the second set threshold and the difference between the signal quality of the first wireless terminal and the second set threshold is not less than the third set threshold, and the time interval between the seventh time point when the corresponding first broadcast response message is received and the eighth time point when the corresponding source neighbor AP carried in the corresponding first broadcast message scans the first wireless terminal is less than the set time interval; Among the selected first broadcast response messages, continue to select the first broadcast response message carrying the greatest signal quality of the first wireless terminal; If the number of first broadcast response messages that continue to be selected is one, the source neighbor AP of the first broadcast response message that continues to be selected is determined as the target AP with the highest signal quality of the first wireless terminal scanned; If the number of first broadcast response messages that are continuously selected is more than one, a source neighbor AP of a first broadcast response message that is continuously selected is randomly determined as a target AP with the highest signal quality of the first wireless terminal that is scanned.
4. The method according to claim 1, characterized in that: The method further comprises: If a second broadcast request message carrying a second weak signal terminal list and a second neighbor AP list is received from other APs on the current channel through the first radio frequency unit, when the CPU determines that it is in the second neighbor AP list and the second wireless terminal in the second weak signal terminal list is scanned through the first radio frequency unit, a second broadcast response message carrying the signal quality of the second wireless terminal scanned by the first radio frequency unit recorded by the CPU and the ninth time point when the second wireless terminal is scanned is sent to the other APs through the first radio frequency unit.
5. The method according to claim 1, characterized in that The method further comprises: When the signal quality of the first wireless terminal is monitored by the second radio frequency unit to be greater than the second set threshold, the first wireless terminal in the first weak signal terminal list is deleted by the CPU.
6. A roaming device, characterized in that: The device is applied to an access point AP, and comprises a first radio frequency unit, a second radio frequency unit and a CPU, wherein: The first radio frequency unit is used to scan all channels that need to be scanned according to a preset channel scanning rule when in a scanning mode; and receive a first broadcast response message for the first broadcast request message sent by a neighbor AP in the first neighbor AP list that scans the first wireless terminal; The CPU is used for triggering the first radio frequency unit to send a first broadcast request message carrying the first weak signal terminal list and a first neighbor AP list on the current channel when the first radio frequency unit scans the current channel and monitors that the first local weak signal terminal list is not empty, wherein the neighbor APs in the first neighbor AP list are the neighbor APs scanned by the first radio frequency unit; and When the target neighbor AP with the highest signal quality of the first wireless terminal scanned is determined according to the first broadcast response message, and the second radio frequency unit monitors that the signal quality of the first wireless terminal is not greater than a first set threshold in the working mode, the target neighbor AP is reported to the access controller AC to which the AP is accessed, so that the AC guides the first wireless terminal to roam to the target neighbor AP; The first wireless terminal in the first weak signal terminal list is added by the CPU when the second radio frequency unit monitors that the signal quality of the first wireless terminal is not greater than a second set threshold, and the first set threshold is less than the second set threshold.
7. The device according to claim 6, characterized in that The CPU is specifically configured to determine a target AP having the highest signal quality of the first wireless terminal scanned by: If the number of the first broadcast response messages is one, and the signal quality of the first wireless terminal scanned by the source neighbor AP of the first broadcast message carried in the first broadcast message is greater than the second set threshold, and the time interval between the first time point when the first broadcast response message is received and the second time point when the source neighbor AP carried in the first broadcast message scans the first wireless terminal is less than the set time interval, the source neighbor AP is determined as the target AP with the highest signal quality of the scanned first wireless terminal; If the number of the first broadcast response messages is multiple, then among all the first broadcast response messages, select the first broadcast response message that carries a signal quality of the first wireless terminal greater than the second set threshold, and a time interval between a third time point when the corresponding first broadcast response message is received and a fourth time point when the corresponding source neighbor AP carried in the corresponding first broadcast message scans the first wireless terminal is less than the set time interval; Among the selected first broadcast response messages, continue to select the first broadcast response message carrying the greatest signal quality of the first wireless terminal; If the number of first broadcast response messages that continue to be selected is one, the source neighbor AP of the first broadcast response message that continues to be selected is determined as the target AP with the highest signal quality of the first wireless terminal scanned; If the number of first broadcast response messages that are continuously selected is more than one, a source neighbor AP of a first broadcast response message that is continuously selected is randomly determined as a target AP with the highest signal quality of the first wireless terminal that is scanned.
8. The device according to claim 6, characterized in that The CPU is specifically configured to determine a target AP having the highest signal quality of the first wireless terminal scanned by: If the number of the first broadcast response messages is one, when the signal quality of the first wireless terminal scanned by the source neighbor AP of the first broadcast message carried in the first broadcast message is greater than the second set threshold and the difference between the signal quality and the second set threshold is not less than the third set threshold, and the time interval between the fifth time point when the first broadcast response message is received and the sixth time point when the source neighbor AP carried in the first broadcast message scans the first wireless terminal is less than the set time interval, the source neighbor AP is determined as the target AP with the highest signal quality of the scanned first wireless terminal; If the number of the first broadcast response messages is multiple, then among all the first broadcast response messages, the first broadcast response message is selected, in which the signal quality of the first wireless terminal carried is greater than the second set threshold and the difference between the signal quality of the first wireless terminal and the second set threshold is not less than the third set threshold, and the time interval between the seventh time point when the corresponding first broadcast response message is received and the eighth time point when the corresponding source neighbor AP carried in the corresponding first broadcast message scans the first wireless terminal is less than the set time interval; Among the selected first broadcast response messages, continue to select the first broadcast response message carrying the greatest signal quality of the first wireless terminal; If the number of first broadcast response messages that continue to be selected is one, the source neighbor AP of the first broadcast response message that continues to be selected is determined as the target AP with the highest signal quality of the first wireless terminal scanned; If the number of first broadcast response messages that are continuously selected is more than one, a source neighbor AP of a first broadcast response message that is continuously selected is randomly determined as a target AP with the highest signal quality of the first wireless terminal that is scanned.
9. The device according to claim 6, characterized in that The first radio frequency unit is further used for: receiving a second broadcast request message carrying a second weak signal terminal list and a second neighbor AP list sent by other APs on the current channel; The CPU is further used for: When it is determined that the AP is in the second neighbor AP list and the first radio frequency unit scans the second wireless terminal in the second weak signal terminal list, the first radio frequency unit is triggered to send a second broadcast response message to the other APs, carrying the signal quality of the second wireless terminal scanned by the first radio frequency unit recorded by the CPU and the ninth time point when the second wireless terminal was scanned.
10. The device according to claim 6, characterized in that The CPU is further used for: When the second radio frequency unit detects that the signal quality of the first wireless terminal is greater than the second set threshold, the first wireless terminal is deleted from the first weak signal terminal list.
