A roaming threshold setting method and device, electronic equipment and storage medium

By obtaining the signal strength detected by the target AP's neighboring APs and the roaming threshold baseline table, the roaming threshold is dynamically adjusted, solving the problem that the roaming threshold in the wireless LAN cannot adapt to complex networking situations, and improving the roaming experience of wireless terminals.

CN119421208BActive Publication Date: 2025-10-10NEW H3C TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411463016.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-10-10
Estimated Expiration
2044-10-18

AI Technical Summary

Technical Problem

In wireless local area networks, existing technologies cannot dynamically adjust roaming thresholds according to complex networking conditions, which affects the roaming experience of wireless terminals.

Method used

By obtaining the signal strength detected by the target AP's neighboring APs and combining it with the preset signal strength and roaming threshold baseline table, the roaming threshold is dynamically adjusted to adapt to different location scenarios and transmit power, achieving accurate roaming of the target AP.

Benefits of technology

Improves the roaming experience of wireless terminals, ensuring that wireless terminals can switch to APs with better signals in a timely and accurate manner in complex network environments, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119421208B_ABST
    Figure CN119421208B_ABST
Patent Text Reader

Abstract

The application provides a roaming threshold setting method and device, electronic equipment and a storage medium. The method is applied to a network device with a roaming threshold setting function, and comprises the following steps: after determining that a target AP is online, obtaining a signal strength of the target AP reported by a neighbor AP of the target AP; determining whether there is the target AP in a plurality of APs deployed in a plurality of position scenarios; if yes, determining a roaming threshold required by the target AP according to a transmission power of the target AP, a maximum signal strength of the target AP obtained, a preset signal strength and a roaming threshold baseline table corresponding to a position scenario where the target AP is located, and sending the determined roaming threshold to the target AP; otherwise, determining the roaming threshold required by the target AP according to the transmission power, the maximum signal strength, the preset signal strength and a roaming threshold baseline table corresponding to a common scenario, and sending the roaming threshold to the target AP. The application can improve the roaming experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, electronic device, and storage medium for setting a roaming threshold. Background Art

[0002] Currently, in a wireless local area network (WLAN), an access point (AP) actively detects the signal quality of wireless terminals connected to it. When it is detected that the signal quality of a wireless terminal is lower than a set roaming threshold, the AP guides the wireless terminal to roam.

[0003] Here, the roaming threshold is usually set by the administrator based on network management experience, which may not be able to cope with complex networking situations and affect the roaming experience of wireless terminals. Summary of the Invention

[0004] To overcome the problems existing in the related art, the present application provides a roaming threshold setting method, device, electronic device and storage medium.

[0005] According to a first aspect of an embodiment of the present application, a method for setting a roaming threshold is provided. The method is applied to a network device that has a roaming threshold setting function enabled. The method includes:

[0006] After determining that the target AP is online, obtaining the signal strength of the target AP detected by the neighbor AP reported by the neighbor AP of the target AP;

[0007] Determining whether the target AP exists among multiple APs deployed in pre-deployed multiple location scenarios;

[0008] If the judgment result is yes, determining a roaming threshold to be used by the target AP based on the transmit power of the target AP, the obtained maximum signal strength of the target AP, a preset signal strength, and a roaming threshold baseline table corresponding to the location scenario of the target AP obtained locally, and sending the determined roaming threshold to the target AP;

[0009] If the judgment result is no, determining a roaming threshold to be used by the target AP based on the transmit power, the maximum signal strength, the preset signal strength, and a roaming threshold baseline table corresponding to common scenarios obtained locally, and sending the determined roaming threshold to the target AP;

[0010] The roaming threshold baseline table corresponding to each location scenario and the common scenario includes each transmit power supported by the target AP and its corresponding roaming threshold;

[0011] When the network device is an access controller (AC), the target AP is a thin AP; or

[0012] When the network device is a cloud platform, the target AP is a fat AP.

[0013] According to a second aspect of an embodiment of the present application, a method for setting a roaming threshold is provided. The method is applied to a cloud AP, and the method includes:

[0014] After powering on, obtain the signal strength of the neighboring AP detected by the neighboring AP as reported by the neighboring AP;

[0015] If the local location scenario is configured, the roaming threshold to be used is set based on the local transmit power, the maximum signal strength obtained, the preset signal strength, and the roaming threshold baseline table corresponding to the local location scenario obtained from the local device.

[0016] If the location scenario is not configured locally, the roaming threshold to be used is set according to the transmit power, the maximum signal strength, the preset signal strength, and the roaming threshold baseline table corresponding to the common scenario obtained locally;

[0017] The roaming threshold baseline table corresponding to the location scenario and the common scenario includes each transmit power supported by the device and its corresponding roaming threshold.

[0018] According to a third aspect of an embodiment of the present application, a roaming threshold setting device is provided. The device is applied to a network device with a roaming threshold setting function enabled. The device includes:

[0019] An acquisition module, configured to, after determining that a target AP is online, acquire a signal strength of the target AP detected by a neighboring AP of the target AP and reported by the neighboring AP of the target AP;

[0020] A judgment module, configured to judge whether the target AP exists among multiple APs deployed in multiple pre-deployed location scenarios;

[0021] a first determining module configured to, when the determination result of the determining module is yes, determine a roaming threshold to be used by the target AP based on the transmit power of the target AP, the obtained maximum signal strength of the target AP, a preset signal strength, and a roaming threshold baseline table corresponding to the location scenario of the target AP obtained locally, and send the determined roaming threshold to the target AP;

[0022] a second determining module, configured to, when the determination result of the determining module is negative, determine a roaming threshold to be used by the target AP based on the transmit power, the maximum signal strength, the preset signal strength, and a locally acquired roaming threshold baseline table corresponding to common scenarios, and send the determined roaming threshold to the target AP;

[0023] The roaming threshold baseline table corresponding to each location scenario and the common scenario includes each transmit power supported by the target AP and its corresponding roaming threshold;

[0024] When the network device is an AC, the target AP is a thin AP; or,

[0025] When the network device is a cloud platform, the target AP is a fat AP.

[0026] According to a fourth aspect of an embodiment of the present application, a roaming threshold setting device is provided, the device being applied to a cloud AP, the device including:

[0027] an acquisition module, configured to, after the cloud AP is powered on, acquire a signal strength reported by a neighbor AP of the cloud AP when the neighbor AP detects the cloud AP;

[0028] A first setting module is configured to set a roaming threshold to be used by the cloud AP based on the transmit power of the cloud AP, the obtained maximum signal strength of the cloud AP, the preset signal strength, and a roaming threshold baseline table corresponding to the location scenario of the cloud AP obtained locally, if the location scenario of the cloud AP is configured locally;

[0029] A second setting module is configured to set a roaming threshold to be used by the cloud AP according to the transmit power, the maximum signal strength, the preset signal strength, and a roaming threshold baseline table corresponding to common scenarios obtained locally, if the location scenario of the cloud AP is not configured locally;

[0030] The roaming threshold baseline tables corresponding to the location scenario of the cloud AP and the common scenario both include various transmit powers supported by the cloud AP and their corresponding roaming thresholds.

[0031] According to a fifth aspect of an embodiment of the present application, an electronic device is provided, comprising a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to implement the method steps of any of the above-mentioned roaming threshold setting methods.

[0032] According to a sixth aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the method steps of any of the above-mentioned roaming threshold setting methods are implemented.

[0033] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:

[0034] In an embodiment of the present application, a network device with the roaming threshold setting function enabled can determine the roaming threshold to be used by the target AP based on the transmit power of the online target AP, the maximum signal strength of the target AP's signal strengths reported by neighboring APs, and a related roaming threshold baseline table. Alternatively, a cloud AP can set the roaming threshold to be used by the target AP based on its own transmit power, the maximum signal strength of the signal strengths of the target APs detected by neighboring APs, and a related roaming threshold baseline table. In this way, empirical values ​​are no longer used, and wireless terminals can be guided to roam in a timely manner, thereby improving the roaming experience of wireless terminals.

[0035] 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

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

[0037] Figure 1 This is a flowchart of a method for setting a roaming threshold provided in an embodiment of the present application;

[0038] Figure 2 A second flowchart of a method for setting a roaming threshold provided in an embodiment of the present application;

[0039] Figure 3 This is a structural diagram of a device for setting a roaming threshold provided in an embodiment of the present application;

[0040] Figure 4 A second structural diagram of a roaming threshold setting device provided in an embodiment of the present application;

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

[0042] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0043] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. As used in this application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should 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.

[0044] It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words "if" or "if" as used herein may be interpreted as "when" or "when".

[0045] Next, the embodiments of the present application are described in detail.

[0046] The embodiment of the present application provides a method for setting a roaming threshold value, which is applied to a network device that has a roaming threshold setting function enabled, such as Figure 1 As shown, the method may include the following steps:

[0047] S11 . After determining that the target AP is online, obtain the signal strength of the target AP detected by the neighboring AP of the target AP and reported by the neighboring AP of the target AP.

[0048] S12. Determine whether a target AP exists among multiple APs deployed in pre-deployed multiple location scenarios; if the determination result is yes, execute step S13; if the determination result is no, execute step S14.

[0049] S13. Determine the roaming threshold that the target AP needs to use based on the target AP's transmission power, the obtained maximum signal strength of the target AP, the preset signal strength, and the roaming threshold baseline table corresponding to the target AP's location scenario obtained locally, and send the determined roaming threshold to the target AP.

[0050] S14: Determine the roaming threshold to be used by the target AP based on the transmit power, maximum signal strength, preset signal strength, and a locally acquired roaming threshold baseline table corresponding to common scenarios, and send the determined roaming threshold to the target AP.

[0051] It should be noted that, in the embodiment of the present application, the roaming threshold baseline table corresponding to each location scenario and common scenario includes the various transmit powers supported by the target AP and their corresponding roaming thresholds.

[0052] Furthermore, when the network device enabled with the roaming threshold setting function is an AC, the target AP is a Fit AP.

[0053] Alternatively, when the network device enabled with the roaming threshold setting function is a cloud platform, the target AP is a fat AP.

[0054] If the roaming threshold setting function is enabled on an AC, you can obtain the target AP's signal strength as reported by its neighboring APs using the following methods:

[0055] Receive the target AP's signal strength reported by other APs that have detected the target AP.

[0056] In a case where the network device enabled with the roaming threshold setting function is a cloud platform, upon receiving an online message reported by an AC to which the target AP is connected and indicating that the target AP is online, it is determined that the target AP is online.

[0057] In this case, the network device enabled with the roaming threshold setting function can obtain the signal strength of the target AP detected by the neighboring AP of the target AP as reported by the neighboring AP in the following way:

[0058] Receives the signal strength of the target AP reported by the AC and reported by other APs that have detected the target AP.

[0059] Here, no matter which acquisition method is used, other APs can be understood as neighboring APs of the target AP, and the signal strength of the target AP reported by other APs is the signal strength measured by other APs when receiving the detection message broadcast by the target AP.

[0060] It should be further noted that, in the embodiment of the present application, the roaming threshold baseline table corresponding to each location scenario is generated in the following manner:

[0061] For each location scenario, under a sampling environment corresponding to the location scenario, for each transmit power supported by the first sampling AP, obtaining a signal strength of a sampling wireless terminal located at a midline position between the first sampling AP and the second sampling AP detected by the first sampling AP when operating based on the transmit power, and determining the obtained signal strength as a roaming threshold corresponding to the transmit power, wherein all transmit powers supported by the first sampling AP are the same as all transmit powers supported by the target AP, and the signal strength of the first sampling AP detected by the second sampling AP is a preset signal strength;

[0062] A baseline table including each transmit power and its corresponding roaming threshold is generated and used as the roaming threshold baseline table corresponding to the location scenario.

[0063] In addition, the roaming threshold baseline table corresponding to common scenarios is generated in the following way:

[0064] Calculate the average value of the roaming thresholds corresponding to the same transmit power in the roaming threshold baseline table generated by the system for all location scenarios, and use the calculated average value as the new roaming threshold corresponding to the same transmit power. All roaming threshold baseline tables contain the same transmit power.

[0065] A baseline table including all transmit powers and their corresponding new roaming thresholds is generated and used as a roaming threshold baseline table corresponding to common scenarios.

[0066] Here, the preset signal strength may be a better signal strength within the wireless coverage range of a single AP, for example, the preset signal strength may be -65dBm.

[0067] It should be noted that, for the same transmit power, in different location scenarios, the signal strength of the relevant sampled wireless terminal obtained by the network device with the roaming threshold setting function enabled may be different.

[0068] These location scenarios may include a designated stadium, a designated office area, a designated factory workshop, and so on.

[0069] For example, when the location scenario is a target stadium, assuming that the network device that enables the roaming threshold setting function is an AC, assuming that the transmission power supported by the first sampling AP has a power range of 1 to 30 dBm, and assuming that the preset signal strength is -65 dBm, then the roaming threshold baseline table corresponding to the target stadium generated by the AC can be shown in Table 1 below.

[0070]

[0071] Table 1

[0072] Specifically, in the above step S12, the network device with the roaming threshold setting function enabled may determine the roaming threshold to be used by the target AP in the following manner:

[0073] If the maximum signal strength is greater than the preset signal strength, the difference between the maximum signal strength and the preset signal strength is calculated, and the calculated difference is subtracted from the transmit power to obtain a first calculation result. The roaming threshold corresponding to the first calculation result is searched in the roaming threshold baseline table corresponding to the location scenario of the target AP, and the found roaming threshold is determined as the roaming threshold to be used by the target AP.

[0074] If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, and the transmit power and the calculated difference are added to obtain a second calculation result. The roaming threshold corresponding to the second calculation result is searched in the roaming threshold baseline table corresponding to the location scenario of the target AP, and the found roaming threshold is determined as the roaming threshold to be used by the target AP.

[0075] For example, assume that the network device enabled with the roaming threshold setting function is an AC, assume that the location scenario of the target AP is the above-mentioned target stadium, assume that the transmit power of the target AP is 20dBm, and if the maximum signal strength obtained by the AC is -65dBm, then the AC directly determines the roaming threshold corresponding to 20dBm in Table 1 as the roaming threshold that the target AP needs to use.

[0076] If the maximum signal strength obtained by the AC is -60dBm, that is, greater than the preset signal strength, in this case, the AC first calculates the difference between the maximum signal strength obtained and the preset signal strength. Then, it subtracts the calculated difference from the transmit power to obtain the result (that is, 15dBm). The AC searches the roaming threshold corresponding to 15dBm in the roaming threshold baseline table corresponding to the target stadium and determines the roaming threshold corresponding to 15dBm as the roaming threshold to be used by the target AP.

[0077] Specifically, in the above step S13, the network device with the roaming threshold setting function enabled may determine the roaming threshold to be used by the target AP in the following manner:

[0078] If the maximum signal strength is the preset signal strength, the roaming threshold corresponding to the transmit power is searched in the roaming threshold baseline table for common scenarios. The found roaming threshold is used as the roaming threshold for the target AP.

[0079] If the maximum signal strength is greater than the preset signal strength, the difference between the maximum signal strength and the preset signal strength is calculated, and the calculated difference is subtracted from the transmit power to obtain a third calculation result. The roaming threshold corresponding to the third calculation result is searched in the roaming threshold baseline table corresponding to the common scenario, and the found roaming threshold is determined as the roaming threshold to be used by the target AP.

[0080] If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, and the transmit power and the calculated difference are added to obtain a fourth operation result. In the roaming threshold baseline table corresponding to the normal scenario, the roaming threshold corresponding to the fourth operation result is searched, and the found roaming threshold is determined as the roaming threshold to be used by the target AP.

[0081] The embodiment of the present application also provides a roaming threshold setting method, which is applied to a cloud AP, such as Figure 2 As shown, the method may include the following steps:

[0082] S21. After powering on, obtain the signal strength of the neighboring AP detected by the neighboring AP reported by the neighboring AP.

[0083] S22. If the location scenario in which the device is located is configured locally, the device sets the roaming threshold to be used based on its own transmit power, the maximum signal strength obtained, the preset signal strength, and the roaming threshold baseline table corresponding to the location scenario in which the device is located obtained locally.

[0084] S23. If the location scenario is not configured locally, set the roaming threshold to be used based on the transmit power, maximum signal strength, preset signal strength, and the roaming threshold baseline table corresponding to the common scenario obtained locally.

[0085] It should be noted that, in the embodiment of the present application, the roaming threshold baseline table corresponding to the location scenario and the common scenario includes the various transmit powers supported by the scenario and the corresponding roaming thresholds.

[0086] It should be further noted that the roaming threshold baseline table corresponding to the location scenario of the cloud AP and the common scenario can be generated by the above-mentioned network device with the roaming threshold setting function enabled, and configured by the administrator on the cloud AP side.

[0087] Specifically, in the above step S22, the cloud AP can set the roaming threshold to be used by itself in the following manner:

[0088] If the maximum signal strength is the preset signal strength, the roaming threshold corresponding to the transmit power is searched in the roaming threshold baseline table corresponding to the location scenario, and the roaming threshold found is set as the roaming threshold to be used.

[0089] If the maximum signal strength is greater than the preset signal strength, the device calculates the difference between the maximum signal strength and the preset signal strength, performs a subtraction operation on the transmit power and the calculated difference to obtain a first calculation result, searches the roaming threshold corresponding to the first calculation result in the roaming threshold baseline table corresponding to the location scenario, and sets the found roaming threshold as the roaming threshold to be used by the device.

[0090] If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, and the transmit power and the calculated difference are added to obtain a second calculation result. The roaming threshold corresponding to the second calculation result is searched in the roaming threshold baseline table corresponding to the location scenario, and the found roaming threshold is determined as the roaming threshold to be used by the target AP.

[0091] Specifically, in the above step S23, the cloud AP can set the roaming threshold to be used by itself in the following manner:

[0092] If the maximum signal strength is the preset signal strength, the roaming threshold corresponding to the transmit power is searched in the roaming threshold baseline table corresponding to the common scenario, and the found roaming threshold is set as the roaming threshold to be used.

[0093] If the maximum signal strength is greater than the preset signal strength, the device calculates the difference between the maximum signal strength and the preset signal strength, performs a subtraction operation on the transmit power and the calculated difference to obtain a third calculation result, searches the roaming threshold corresponding to the third calculation result in the roaming threshold baseline table corresponding to the common scenario, and sets the found roaming threshold as the desired roaming threshold.

[0094] If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, and the transmit power and the calculated difference are added to obtain a fourth operation result. In the roaming threshold baseline table corresponding to the normal scenario, the roaming threshold corresponding to the fourth operation result is searched, and the found roaming threshold is determined as the roaming threshold to be used by the target AP.

[0095] As can be seen from the above technical solutions, in the embodiment of the present application, a network device with the roaming threshold setting function enabled can determine the roaming threshold that the target AP needs to use based on the transmit power of the online target AP, the maximum signal strength of the target AP's signal strengths detected by neighboring APs and reported by neighboring APs, and a related roaming threshold baseline table; or, a cloud AP can set the roaming threshold that the target AP needs to use based on its own transmit power, the maximum signal strength of the signal strength detected by neighboring APs and reported by neighboring APs, and a related roaming threshold baseline table. In this way, empirical values ​​are no longer used, and wireless terminals can be guided to roam in a timely manner, thereby improving the roaming experience of wireless terminals.

[0096] Based on the same inventive concept, the present application also provides a roaming threshold setting device, which is applied to a network device that enables the roaming threshold setting function. Figure 3 As shown, specifically including:

[0097] An acquisition module 31 is configured to, after determining that a target AP is online, acquire a signal strength of the target AP detected by a neighboring AP of the target AP as reported by the neighboring AP;

[0098] A judging module 32 is configured to judge whether the target AP exists among the multiple APs deployed in the pre-deployed multiple location scenarios;

[0099] a first determining module 33 configured to, when the determination result of the determining module 32 is yes, determine a roaming threshold to be used by the target AP based on the transmit power of the target AP, the obtained maximum signal strength of the target AP, a preset signal strength, and a locally obtained roaming threshold baseline table corresponding to the location scenario of the target AP, and send the determined roaming threshold to the target AP;

[0100] a second determining module 34 configured to, when the determination result of the determining module 32 is negative, determine a roaming threshold to be used by the target AP based on the transmit power, the maximum signal strength, the preset signal strength, and a locally acquired roaming threshold baseline table corresponding to common scenarios, and send the determined roaming threshold to the target AP;

[0101] The roaming threshold baseline table corresponding to each location scenario and the common scenario includes each transmit power supported by the target AP and its corresponding roaming threshold;

[0102] When the network device is an access controller AC, the target AP is a thin AP; or,

[0103] When the network device is a cloud platform, the target AP is a fat AP.

[0104] Preferably, the device further comprises:

[0105] Generate Module( Figure 3 (not shown) for generating a roaming threshold baseline table corresponding to each location scenario in the following manner:

[0106] For each location scenario, under a sampling environment corresponding to the location scenario, for each transmit power supported by the first sampling AP, obtaining a signal strength of a sampling wireless terminal located at a midline position between the first sampling AP and the second sampling AP detected by the first sampling AP when operating based on the transmit power, and determining the obtained signal strength as a roaming threshold corresponding to the transmit power, wherein all transmit powers supported by the first sampling AP are the same as all transmit powers supported by the target AP, and the signal strength of the first sampling AP detected by the second sampling AP is the preset signal strength;

[0107] Generate a baseline table including each transmit power and its corresponding roaming threshold, and use it as a roaming threshold baseline table corresponding to the location scenario; and

[0108] Generate a roaming threshold baseline table for common scenarios using the following methods:

[0109] Calculate the average of the roaming thresholds corresponding to the same transmit power in the roaming threshold baseline table generated for all location scenarios, and use the calculated average as the new roaming threshold corresponding to the same transmit power;

[0110] A baseline table including all transmit powers and their corresponding new roaming thresholds is generated and used as a roaming threshold baseline table corresponding to common scenarios.

[0111] Preferably, the first determining module 33 is specifically configured to:

[0112] If the maximum signal strength is the preset signal strength, searching the roaming threshold corresponding to the transmit power in the roaming threshold baseline table corresponding to the location scenario of the target AP, and determining the found roaming threshold as the roaming threshold to be used by the target AP;

[0113] If the maximum signal strength is greater than the preset signal strength, calculating a difference between the maximum signal strength and the preset signal strength, performing a subtraction operation on the transmit power and the calculated difference to obtain a first operation result, searching a roaming threshold corresponding to the first operation result in a roaming threshold baseline table corresponding to the location scenario of the target AP, and determining the found roaming threshold as the roaming threshold to be used by the target AP;

[0114] If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, and the transmission power and the calculated difference are added to obtain a second calculation result. In the roaming threshold baseline table corresponding to the location scenario of the target AP, the roaming threshold corresponding to the second calculation result is searched, and the found roaming threshold is determined as the roaming threshold that the target AP needs to use.

[0115] Preferably, the second determining module 34 is specifically configured to:

[0116] If the maximum signal strength is the preset signal strength, searching the roaming threshold corresponding to the transmit power in the roaming threshold baseline table corresponding to a common scenario, and determining the found roaming threshold as the roaming threshold to be used by the target AP;

[0117] If the maximum signal strength is greater than the preset signal strength, calculating a difference between the maximum signal strength and the preset signal strength, performing a subtraction operation on the transmit power and the calculated difference to obtain a third operation result, searching a roaming threshold corresponding to the third operation result in a roaming threshold baseline table corresponding to a common scenario, and determining the found roaming threshold as the roaming threshold to be used by the target AP;

[0118] If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, the transmit power and the calculated difference are added to obtain a fourth operation result, and the roaming threshold corresponding to the fourth operation result is searched in the roaming threshold baseline table corresponding to the normal scenario, and the found roaming threshold is determined as the roaming threshold to be used by the target AP.

[0119] This application also provides a roaming threshold setting device, which is applied to a cloud AP. The schematic diagram of its structure is shown in FIG. Figure 4 As shown, specifically including:

[0120] An acquisition module 41 is configured to, after the cloud AP is powered on, acquire a signal strength of the cloud AP detected by the neighbor AP, as reported by the neighbor AP of the cloud AP;

[0121] A first setting module 42 is configured to set a roaming threshold to be used by the cloud AP based on the transmit power of the cloud AP, the obtained maximum signal strength of the cloud AP, the preset signal strength, and a roaming threshold baseline table corresponding to the location scenario of the cloud AP obtained locally, if the location scenario of the cloud AP is configured locally;

[0122] A second setting module 43 is configured to set a roaming threshold to be used by the cloud AP based on the transmit power, the maximum signal strength, the preset signal strength, and a roaming threshold baseline table corresponding to common scenarios obtained locally, if the location scenario of the cloud AP is not locally configured;

[0123] The roaming threshold baseline tables corresponding to the location scenario of the cloud AP and the common scenario both include various transmit powers supported by the cloud AP and their corresponding roaming thresholds.

[0124] Preferably, the first setting module 42 is specifically configured to:

[0125] If the maximum signal strength is the preset signal strength, searching the roaming threshold corresponding to the transmit power in the roaming threshold baseline table corresponding to the location scenario of the cloud AP, and setting the found roaming threshold as the roaming threshold to be used by the cloud AP;

[0126] If the maximum signal strength is greater than the preset signal strength, calculating a difference between the maximum signal strength and the preset signal strength, performing a subtraction operation on the transmit power and the calculated difference to obtain a first calculation result, searching a roaming threshold corresponding to the first calculation result in a roaming threshold baseline table corresponding to the location scenario, and setting the found roaming threshold as the roaming threshold to be used by the user;

[0127] If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, and the transmit power and the calculated difference are added to obtain a second calculation result. In the roaming threshold baseline table corresponding to the location scenario, the roaming threshold corresponding to the second calculation result is searched, and the found roaming threshold is determined as the roaming threshold to be used by the target AP.

[0128] Preferably, the second setting module 43 is specifically used to:

[0129] If the maximum signal strength is the preset signal strength, searching the roaming threshold corresponding to the transmit power in the roaming threshold baseline table corresponding to the common scenario, and setting the found roaming threshold as the roaming threshold to be used by the cloud AP;

[0130] If the maximum signal strength is less than the preset signal strength, a difference between the preset signal strength and the maximum signal strength is calculated, the transmit power and the calculated difference are added to obtain a fourth operation result, in the roaming threshold baseline table corresponding to the normal scenario, a roaming threshold corresponding to the fourth operation result is searched, and the searched roaming threshold is determined as the roaming threshold required by the target AP.

[0131] From the above technical solutions, it can be seen that in the embodiments of the present application, the network device enabled with the roaming threshold setting function can determine the roaming threshold required by the target AP based on the transmit power of the online target AP, the maximum signal strength in the signal strengths of the target AP detected by the neighbor APs reported by the neighbor APs of the target AP, and the related roaming threshold baseline table; or the cloud AP can set the roaming threshold required by the target AP based on the transmit power of the cloud AP itself, the maximum signal strength in the signal strengths of the cloud AP detected by the neighbor APs reported by the neighbor APs, and the related roaming threshold baseline table. In this way, the experience value is no longer used, and the wireless terminal can be guided to roam in time, thereby improving the roaming experience of the wireless terminal.

[0132] The embodiments of the present application also provide an electronic device, as shown in the accompanying drawings, which comprises a processor 51 and a machine readable storage medium 52, the machine readable storage medium 52 stores machine executable instructions capable of being executed by the processor 51, and the processor 51 is prompted by the machine executable instructions to implement the steps of any of the roaming threshold setting methods. Figure 5

[0133] The machine readable storage medium described above can include a random access memory (RAM) and can also include a non-volatile memory (NVM), for example, at least one disk memory. Optionally, the machine readable storage medium can also be at least one storage device located away from the aforementioned processor.

[0134] ​The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

[0135] In another embodiment provided by the present application, a computer-readable storage medium is further provided, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the steps of any of the above-mentioned roaming threshold setting methods are implemented.

[0136] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, 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 method for setting a roaming threshold, characterized in that: The method is applied to a network device that has a roaming threshold setting function enabled, and the method includes: After determining that the target access point AP is online, obtaining the signal strength of the target AP detected by the neighbor AP reported by the neighbor AP of the target AP; Determining whether the target AP exists among multiple APs deployed in pre-deployed multiple location scenarios; If the judgment result is yes, determining a roaming threshold to be used by the target AP based on the transmit power of the target AP, the obtained maximum signal strength of the target AP, a preset signal strength, and a roaming threshold baseline table corresponding to the location scenario of the target AP obtained locally, and sending the determined roaming threshold to the target AP; If the judgment result is no, determining a roaming threshold to be used by the target AP based on the transmit power, the maximum signal strength, the preset signal strength, and a roaming threshold baseline table corresponding to common scenarios obtained locally, and sending the determined roaming threshold to the target AP; The roaming threshold baseline table corresponding to each location scenario and the common scenario includes each transmit power supported by the target AP and its corresponding roaming threshold; When the network device is an access controller AC, the target AP is a thin AP; or, When the network device is a cloud platform, the target AP is a fat AP.

2. The method according to claim 1, characterized in that The roaming threshold baseline table for each location scenario is generated in the following way: For each location scenario, under a sampling environment corresponding to the location scenario, for each transmit power supported by the first sampling AP, obtaining a signal strength of a sampling wireless terminal located at a midline position between the first sampling AP and the second sampling AP detected by the first sampling AP when operating based on the transmit power, and determining the obtained signal strength as a roaming threshold corresponding to the transmit power, wherein all transmit powers supported by the first sampling AP are the same as all transmit powers supported by the target AP, and the signal strength of the first sampling AP detected by the second sampling AP is the preset signal strength; Generate a baseline table including each transmit power and its corresponding roaming threshold, and use it as the roaming threshold baseline table corresponding to the location scenario; The roaming threshold baseline table for common scenarios is generated in the following way: Calculate the average of the roaming thresholds corresponding to the same transmit power in the roaming threshold baseline table generated for all location scenarios, and use the calculated average as the new roaming threshold corresponding to the same transmit power; A baseline table including all transmit powers and their corresponding new roaming thresholds is generated and used as a roaming threshold baseline table corresponding to common scenarios.

3. The method according to claim 2, characterized in that Determining a roaming threshold to be used by the target AP based on the transmit power of the target AP, the obtained maximum signal strength of the target AP, a preset signal strength, and a locally obtained roaming threshold baseline table corresponding to the location scenario of the target AP includes: If the maximum signal strength is the preset signal strength, searching the roaming threshold corresponding to the transmit power in the roaming threshold baseline table corresponding to the location scenario of the target AP, and determining the found roaming threshold as the roaming threshold to be used by the target AP; If the maximum signal strength is greater than the preset signal strength, calculating a difference between the maximum signal strength and the preset signal strength, performing a subtraction operation on the transmit power and the calculated difference to obtain a first operation result, searching a roaming threshold corresponding to the first operation result in a roaming threshold baseline table corresponding to the location scenario of the target AP, and determining the found roaming threshold as the roaming threshold to be used by the target AP; If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, and the transmission power and the calculated difference are added to obtain a second calculation result. In the roaming threshold baseline table corresponding to the location scenario of the target AP, the roaming threshold corresponding to the second calculation result is searched, and the found roaming threshold is determined as the roaming threshold that the target AP needs to use.

4. The method according to claim 2, characterized in that Determining a roaming threshold to be used by the target AP according to the transmit power, the maximum signal strength, the preset signal strength, and a locally acquired roaming threshold baseline table corresponding to common scenarios includes: If the maximum signal strength is the preset signal strength, searching the roaming threshold corresponding to the transmit power in the roaming threshold baseline table corresponding to a common scenario, and determining the found roaming threshold as the roaming threshold to be used by the target AP; If the maximum signal strength is greater than the preset signal strength, calculating a difference between the maximum signal strength and the preset signal strength, performing a subtraction operation on the transmit power and the calculated difference to obtain a third operation result, searching a roaming threshold corresponding to the third operation result in a roaming threshold baseline table corresponding to a common scenario, and determining the found roaming threshold as the roaming threshold to be used by the target AP; If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, the transmit power and the calculated difference are added to obtain a fourth operation result, and the roaming threshold corresponding to the fourth operation result is searched in the roaming threshold baseline table corresponding to the normal scenario, and the found roaming threshold is determined as the roaming threshold to be used by the target AP.

5. A roaming threshold setting method, characterized in that: The method is applied to a cloud access point AP, and the method includes: After powering on, obtain the signal strength of the neighboring AP detected by the neighboring AP as reported by the neighboring AP; If the local location scenario is configured, the roaming threshold to be used is set based on the local transmit power, the maximum signal strength obtained, the preset signal strength, and the roaming threshold baseline table corresponding to the local location scenario obtained from the local device. If the location scenario is not configured locally, the roaming threshold to be used is set according to the transmit power, the maximum signal strength, the preset signal strength, and the roaming threshold baseline table corresponding to the common scenario obtained locally; The roaming threshold baseline table corresponding to the location scenario and the common scenario includes each transmit power supported by the device and its corresponding roaming threshold.

6. The method according to claim 5, characterized in that Set the roaming threshold based on the device's transmit power, the maximum signal strength it obtains, the preset signal strength, and the locally acquired roaming threshold baseline table corresponding to its location scenario. The following information is provided: If the maximum signal strength is the preset signal strength, searching the roaming threshold corresponding to the transmit power in the roaming threshold baseline table corresponding to the location scenario where the mobile station is located, and setting the found roaming threshold as the roaming threshold to be used by the mobile station; If the maximum signal strength is greater than the preset signal strength, calculating a difference between the maximum signal strength and the preset signal strength, performing a subtraction operation on the transmit power and the calculated difference to obtain a first calculation result, searching a roaming threshold corresponding to the first calculation result in a roaming threshold baseline table corresponding to the location scenario, and setting the found roaming threshold as the roaming threshold to be used by the user; If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, and the transmit power and the calculated difference are added to obtain a second calculation result. The roaming threshold corresponding to the second calculation result is searched in the roaming threshold baseline table corresponding to the location scenario where the AP is located, and the found roaming threshold is determined as the roaming threshold that the AP needs to use.

7. The method according to claim 5, characterized in that Setting a roaming threshold to be used by the user based on the transmit power, the maximum signal strength, the preset signal strength, and a locally acquired roaming threshold baseline table corresponding to common scenarios includes: If the maximum signal strength is the preset signal strength, searching the roaming threshold corresponding to the transmit power in the roaming threshold baseline table corresponding to the common scenario, and setting the found roaming threshold as the roaming threshold to be used by the user; If the maximum signal strength is greater than the preset signal strength, calculating a difference between the maximum signal strength and the preset signal strength, performing a subtraction operation on the transmit power and the calculated difference to obtain a third operation result, searching a roaming threshold corresponding to the third operation result in a roaming threshold baseline table corresponding to a common scenario, and setting the found roaming threshold as the roaming threshold to be used by the mobile station; If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, and the transmit power and the calculated difference are added to obtain a fourth calculation result. In the roaming threshold baseline table corresponding to the normal scenario, the roaming threshold corresponding to the fourth calculation result is searched, and the found roaming threshold is determined as the roaming threshold to be used.

8. A roaming threshold setting device, characterized in that: The apparatus is applied to a network device that enables a roaming threshold setting function, and includes: An acquisition module is used to obtain, after determining that a target access point AP is online, a signal strength of the target AP detected by a neighbor AP of the target AP as reported by the neighbor AP; A judgment module, configured to judge whether the target AP exists among multiple APs deployed in multiple pre-deployed location scenarios; a first determining module configured to, when the determination result of the determining module is yes, determine a roaming threshold to be used by the target AP based on the transmit power of the target AP, the obtained maximum signal strength of the target AP, a preset signal strength, and a roaming threshold baseline table corresponding to the location scenario of the target AP obtained locally, and send the determined roaming threshold to the target AP; a second determining module, configured to, when the determination result of the determining module is negative, determine a roaming threshold to be used by the target AP based on the transmit power, the maximum signal strength, the preset signal strength, and a locally acquired roaming threshold baseline table corresponding to common scenarios, and send the determined roaming threshold to the target AP; The roaming threshold baseline table corresponding to each location scenario and the common scenario includes each transmit power supported by the target AP and its corresponding roaming threshold; When the network device is an access controller AC, the target AP is a thin AP; or, When the network device is a cloud platform, the target AP is a fat AP.

9. The device according to claim 8, characterized in that The device further comprises: The generation module is used to generate a roaming threshold baseline table corresponding to each location scenario in the following manner: For each location scenario, under a sampling environment corresponding to the location scenario, for each transmit power supported by the first sampling AP, obtaining a signal strength of a sampling wireless terminal located at a midline position between the first sampling AP and the second sampling AP detected by the first sampling AP when operating based on the transmit power, and determining the obtained signal strength as a roaming threshold corresponding to the transmit power, wherein all transmit powers supported by the first sampling AP are the same as all transmit powers supported by the target AP, and the signal strength of the first sampling AP detected by the second sampling AP is the preset signal strength; Generate a baseline table including each transmit power and its corresponding roaming threshold, and use it as a roaming threshold baseline table corresponding to the location scenario; and Generate a roaming threshold baseline table for common scenarios using the following methods: Calculate the average of the roaming thresholds corresponding to the same transmit power in the roaming threshold baseline table generated for all location scenarios, and use the calculated average as the new roaming threshold corresponding to the same transmit power; A baseline table including all transmit powers and their corresponding new roaming thresholds is generated and used as a roaming threshold baseline table corresponding to common scenarios.

10. The device according to claim 9, characterized in that The first determining module is specifically configured to: If the maximum signal strength is the preset signal strength, searching the roaming threshold corresponding to the transmit power in the roaming threshold baseline table corresponding to the location scenario of the target AP, and determining the found roaming threshold as the roaming threshold to be used by the target AP; If the maximum signal strength is greater than the preset signal strength, calculating a difference between the maximum signal strength and the preset signal strength, performing a subtraction operation on the transmit power and the calculated difference to obtain a first operation result, searching a roaming threshold corresponding to the first operation result in a roaming threshold baseline table corresponding to the location scenario of the target AP, and determining the found roaming threshold as the roaming threshold to be used by the target AP; If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, and the transmission power and the calculated difference are added to obtain a second calculation result. In the roaming threshold baseline table corresponding to the location scenario of the target AP, the roaming threshold corresponding to the second calculation result is searched, and the found roaming threshold is determined as the roaming threshold that the target AP needs to use.

11. The device according to claim 9, characterized in that The second determining module is specifically configured to: If the maximum signal strength is the preset signal strength, searching the roaming threshold corresponding to the transmit power in the roaming threshold baseline table corresponding to a common scenario, and determining the found roaming threshold as the roaming threshold to be used by the target AP; If the maximum signal strength is greater than the preset signal strength, calculating a difference between the maximum signal strength and the preset signal strength, performing a subtraction operation on the transmit power and the calculated difference to obtain a third operation result, searching a roaming threshold corresponding to the third operation result in a roaming threshold baseline table corresponding to a common scenario, and determining the found roaming threshold as the roaming threshold to be used by the target AP; If the maximum signal strength is less than the preset signal strength, the difference between the preset signal strength and the maximum signal strength is calculated, the transmit power and the calculated difference are added to obtain a fourth operation result, and the roaming threshold corresponding to the fourth operation result is searched in the roaming threshold baseline table corresponding to the normal scenario, and the found roaming threshold is determined as the roaming threshold to be used by the target AP.

12. A roaming threshold setting device, characterized in that: The device is applied to a cloud access point AP, and includes: an acquisition module, configured to, after the cloud AP is powered on, acquire a signal strength reported by a neighbor AP of the cloud AP when the neighbor AP detects the cloud AP; A first setting module is configured to set a roaming threshold to be used by the cloud AP based on the transmit power of the cloud AP, the obtained maximum signal strength of the cloud AP, the preset signal strength, and a roaming threshold baseline table corresponding to the location scenario of the cloud AP obtained locally, if the location scenario of the cloud AP is configured locally; A second setting module is configured to set a roaming threshold to be used by the cloud AP according to the transmit power, the maximum signal strength, the preset signal strength, and a roaming threshold baseline table corresponding to common scenarios obtained locally, if the location scenario of the cloud AP is not configured locally; The roaming threshold baseline tables corresponding to the location scenario of the cloud AP and the common scenario both include various transmit powers supported by the cloud AP and their corresponding roaming thresholds.

13. An electronic device, characterized in that: The method comprises a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to implement the method steps according to any one of claims 1 to 7.

14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Terminal roaming method and device

    CN114189924A

  • Method and Apparatus Enabling Deployment Information Controlled Connection Procedures in a Wireless Network

    US20180049077A1