Roaming threshold setting method and device, electronic equipment and storage medium

By dynamically determining the roaming threshold, the problem that the roaming threshold setting in the prior art is not suitable for complex networking is solved, and timely roaming guidance and better roaming experience of wireless terminals are realized.

CN119421208AActive Publication Date: 2025-02-11NEW H3C TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, the roaming threshold is set by the administrator's experience, and may not be able to adapt to complex networking situations, affecting the roaming experience of wireless terminals.

Method used

By obtaining the signal strength reported by the neighbor AP of the target AP and determining whether the target AP is in a pre-deployed position scenario, the appropriate ones are dynamically determined and sent according to the transmission power, maximum signal strength, preset signal strength and corresponding roaming threshold baseline table Roaming threshold.

Benefits of technology

It realizes timely roaming guidance of wireless terminals, improves roaming experience, and avoids insufficient adaptability caused by experience value setting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119421208A_ABST
    Figure CN119421208A_ABST
Patent Text Reader

Abstract

The invention provides a roaming threshold setting method and device, electronic equipment and a storage medium. The method is applied to network equipment which enables a roaming threshold setting function, and comprises the following steps: after determining that a target AP is online, acquiring signal strength of the target AP reported by a neighbor AP of the target AP; judging whether a target AP exists in a plurality of APs deployed in a plurality of pre-deployed position scenes or not; if yes, according to the transmitting power of the target AP, the obtained maximum signal strength of the target AP, the preset signal strength and a roaming threshold baseline table corresponding to the position scene where the target AP is located, determining a roaming threshold required to be used by the target AP, and sending the determined roaming threshold to the target AP; and otherwise, according to the transmitting power, the maximum signal strength, a preset signal strength and a roaming threshold baseline table corresponding to the common scene, determining a roaming threshold required to be used by the target AP, and sending the roaming threshold to the target AP. The roaming experience can be improved.
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 roaming threshold setting method, device, electronic device and storage medium. Background Art

[0002] Currently, in a wireless local area network (WLAN), an access point (AP) actively detects the signal quality of a wireless terminal connected to itself. When it is detected that the signal quality of the 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 the wireless terminal. Summary of the invention

[0004] In order 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 roaming threshold setting method is provided, the method being applied to a network device with a roaming threshold setting function enabled, the method comprising:

[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] Determine whether the target AP exists among multiple APs deployed in multiple pre-deployed location scenarios;

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

[0009] If the judgment result is no, determining the roaming threshold to be used by the target AP according to the transmit power, the maximum signal strength, the preset signal strength and the roaming threshold baseline table corresponding to the common scene 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 roaming threshold setting method is provided, the method being applied to a cloud AP, the method comprising:

[0014] After power-on, obtain the signal strength of the neighbor AP detected by the neighbor AP reported by the neighbor AP;

[0015] If the location scenario is 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 location scenario obtained locally.

[0016] If the location scenario of the local device is not configured, 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 being applied to a network device with a roaming threshold setting function enabled, the device comprising:

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

[0020] A determination module, used to determine whether the target AP exists among multiple APs deployed in multiple pre-deployed location scenarios;

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

[0022] A second determination module is used to determine the roaming threshold to be used by the target AP according to the transmit power, the maximum signal strength, the preset signal strength and the roaming threshold baseline table corresponding to the common scene obtained locally when the judgment result of the judgment module is no, 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 comprising:

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

[0028] A first setting module is used to set the roaming threshold to be used by the cloud AP according to the transmit power of the cloud AP, the obtained maximum signal strength of the cloud AP, the preset signal strength and the 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 used to set the roaming threshold to be used by the cloud AP according to the transmit power, the maximum signal strength, the preset signal strength and the roaming threshold baseline table corresponding to the common scene obtained locally if the location scenario of the cloud AP is not configured locally;

[0030] The roaming threshold baseline table corresponding to the location scenario of the cloud AP and the common scenario includes each transmit power supported by the cloud AP and its corresponding roaming threshold.

[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, and 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 solution provided by the embodiments of the present application may have the following beneficial effects:

[0034] In the embodiment of the present application, the 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 signal strength of the target AP detected by the neighbor AP reported by the neighbor AP of the target AP, and the relevant roaming threshold baseline table; or, the 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 the neighbor AP reported by the neighbor AP, and the relevant roaming threshold baseline table. In this way, the experience value is no longer used, and the wireless terminal can be guided to roam in a timely manner, thereby improving the roaming experience of the wireless terminal.

[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 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.

[0037] Figure 1 One of the flowcharts 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 One of the structural schematic diagrams of a roaming threshold setting device 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, 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.

[0043] 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.

[0044] 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...".

[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, which is applied to a network device that enables a roaming threshold setting function, 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 neighbor AP of the target AP and reported by the neighbor AP of the target AP.

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

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

[0050] S14: Determine the roaming threshold that the target AP needs to use according to the transmit power, the maximum signal strength, the preset signal strength, and the roaming threshold baseline table corresponding to the common scene acquired locally, 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 each transmit power supported by the target AP and its corresponding roaming threshold.

[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] When the network device with the roaming threshold setting function enabled is an AC, you can obtain the signal strength of the target AP detected by the neighbor APs of the target AP as reported by the neighbor APs in the following ways:

[0055] Receive the signal strength of the target AP reported by other APs that detect the target AP.

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

[0057] Furthermore, 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 neighbor AP reported by the neighbor AP of the target AP in the following manner:

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

[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 the sampling environment corresponding to the location scenario, for each transmit power supported by the first sampling AP, obtain the signal strength of the sampled wireless terminal located at the midline position between the first sampling AP and the second sampling AP when the first sampling AP works based on the transmit power, and determine the obtained signal strength as the 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 a roaming threshold baseline table corresponding to the location scenario.

[0063] In addition, the roaming threshold baseline table corresponding to the common scenario 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 corresponding to all location scenarios generated by itself, and use the calculated average value as the new roaming threshold corresponding to the same transmit power, wherein the transmit powers included in all roaming threshold baseline tables are the same;

[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 a common scenario.

[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 -65 dBm.

[0067] It should be noted that for the same transmission 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 AC, assuming that the power range of the transmission power supported by the first sampling AP is 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 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 transmit power and the calculated difference are subtracted to obtain a first operation result. The roaming threshold corresponding to the first operation 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, the transmit power and the calculated difference are added to obtain a second calculation result, and 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 that the target AP needs to use.

[0075] For example, assume that the network device enabled with the roaming threshold setting function is AC, assume that the location scenario of the target AP is the above-mentioned target stadium, assume that the transmission power of the target AP is 20dBm, and if the maximum signal strength obtained by AC is -65dBm, then 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 subtracts the transmit power from the calculated difference to obtain the calculation result (that is, 15dBm), and searches for 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 that the target AP needs to use.

[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 corresponding to the common scenario, and the found roaming threshold is determined as the roaming threshold to be used by 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 transmit power and the calculated difference are subtracted to obtain a third operation result. In the roaming threshold baseline table corresponding to the common scenario, the roaming threshold corresponding to the third operation result is searched, 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, 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 that the target AP needs to use.

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

[0082] S21. After power-on, obtain the signal strength of the neighbor AP detected by itself reported by its neighbor AP.

[0083] S22. If the location scenario in which the device is located is configured locally, the roaming threshold to be used is set according to the device's 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 of the local device is not configured locally, the roaming threshold to be used is set according to 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 each transmission power supported by itself and its corresponding roaming threshold.

[0086] It should be further explained 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 where the roaming threshold is located, and the found roaming threshold is set as the roaming threshold to be used by the roaming threshold;

[0089] 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 transmit power and the calculated difference are subtracted to obtain a first operation result. The roaming threshold corresponding to the first operation result is searched in the roaming threshold baseline table corresponding to the location scenario where the mobile station is located, and the searched roaming threshold is set as the roaming threshold to be used by the mobile station.

[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, the transmit power and the calculated difference are added to obtain a second calculation result, and 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 target AP needs to use.

[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 by the user.

[0093] 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 transmit power and the calculated difference are subtracted to obtain a third operation result. In the roaming threshold baseline table corresponding to the common scenario, the roaming threshold corresponding to the third operation result is searched, and the searched roaming threshold is set as the roaming threshold to be used by the user.

[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, 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 that the target AP needs to use.

[0095] It can be seen from the above technical solutions that in the embodiment of the present application, the 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 signal strength of the target AP detected by the neighbor AP reported by the neighbor AP of the target AP, and the relevant roaming threshold baseline table; or, the 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 the neighbor AP reported by the neighbor AP, and the relevant roaming threshold baseline table. In this way, the experience value is no longer used, and the wireless terminal can be guided to roam in a timely manner, thereby improving the roaming experience of the wireless terminal.

[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 a roaming threshold setting function. Figure 3 As shown, specifically including:

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

[0098] A determination module 32, configured to determine whether the target AP exists among multiple APs deployed in multiple pre-deployed location scenarios;

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

[0100] A second determination module 34 is configured to determine, when the determination result of the determination module 32 is no, 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 roaming threshold baseline table corresponding to a common scenario obtained locally, 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 ), used to generate a roaming threshold baseline table corresponding to each location scenario in the following manner:

[0106] For each location scenario, under the sampling environment corresponding to the location scenario, for each transmit power supported by the first sampling AP, obtain the signal strength of the sampling wireless terminal located at the midline position between the first sampling AP and the second sampling AP detected by the first sampling AP when working based on the transmit power, and determine the obtained signal strength as the 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 the roaming threshold baseline table corresponding to common scenarios in the following ways:

[0109] Calculate the average value of the roaming thresholds corresponding to the same transmit power in the roaming threshold baseline table corresponding to all location scenarios generated by itself, and use the calculated average value 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 a common scenario.

[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, the difference between the maximum signal strength and the preset signal strength is calculated, the transmit power and the calculated difference are subtracted 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;

[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, the transmit power and the calculated difference are added to obtain a second calculation result, and 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 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 the 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, a difference between the maximum signal strength and the preset signal strength is calculated, and a subtraction operation is performed on the transmit power and the calculated difference to obtain a third operation result, and a roaming threshold corresponding to the third operation result is searched in a roaming threshold baseline table corresponding to a common scenario, and the found roaming threshold is determined 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 that the target AP needs to use.

[0119] The present application also provides a roaming threshold setting device, which is applied to a cloud AP, and its structural diagram is as follows: Figure 4 As shown, specifically including:

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

[0121] A first setting module 42 is used to set the roaming threshold to be used by the cloud AP according to the transmit power of the cloud AP, the obtained maximum signal strength of the cloud AP, the preset signal strength and the 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 used to set the roaming threshold to be used by the cloud AP according to the transmit power, the maximum signal strength, the preset signal strength and the roaming threshold baseline table corresponding to the common scene obtained locally if the location scenario of the cloud AP is not configured locally;

[0123] The roaming threshold baseline table corresponding to the location scenario of the cloud AP and the common scenario includes each transmit power supported by the cloud AP and its corresponding roaming threshold.

[0124] Preferably, the first setting module 42 is specifically used for:

[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, a difference between the maximum signal strength and the preset signal strength is calculated, and a subtraction operation is performed on the transmit power and the calculated difference to obtain a first operation result, and a roaming threshold corresponding to the first operation result is searched in a roaming threshold baseline table corresponding to the location scenario where the mobile station is located, and the searched roaming threshold is set as the roaming threshold to be used by the mobile station;

[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, the transmit power and the calculated difference are added to obtain a second calculation result, and the roaming threshold corresponding to the second calculation result is searched in the roaming threshold baseline table corresponding to the location scenario where the roaming threshold is located, and the found roaming threshold is determined as the roaming threshold that the target AP needs to use.

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

[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, 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 that the target AP needs to use.

[0131] It can be seen from the above technical solutions that in the embodiment of the present application, the 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 signal strength of the target AP detected by the neighbor AP reported by the neighbor AP of the target AP, and the relevant roaming threshold baseline table; or, the 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 the neighbor AP reported by the neighbor AP, and the relevant roaming threshold baseline table. In this way, the experience value is no longer used, and the wireless terminal can be guided to roam in a timely manner, thereby improving the roaming experience of the wireless terminal.

[0132] The present application also provides an electronic device, such as Figure 5 As shown, it includes a processor 51 and a machine-readable storage medium 52, wherein the machine-readable storage medium 52 stores machine-executable instructions that can be executed by the processor 51, and the processor 51 is prompted by the machine-executable instructions to implement the steps of any of the above-mentioned roaming threshold setting methods.

[0133] The machine-readable storage medium may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk storage. Optionally, the machine-readable storage medium may also be at least one storage device located away from the 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, discrete hardware components.

[0135] In another embodiment provided by the present application, a computer-readable storage medium is provided, in which a computer program is stored. 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 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 method for setting a roaming threshold, characterized in that: The method is applied to a network device that enables a roaming threshold setting function, 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; Determine whether the target AP exists among multiple APs deployed in multiple pre-deployed location scenarios; If the judgment result is yes, the roaming threshold to be used by the target AP is determined according to the transmit power of the target AP, the obtained maximum signal strength of the target AP, the preset signal strength and the roaming threshold baseline table corresponding to the location scenario of the target AP obtained locally, and the determined roaming threshold is sent to the target AP; If the judgment result is no, determining the roaming threshold to be used by the target AP according to the transmit power, the maximum signal strength, the preset signal strength and the roaming threshold baseline table corresponding to the common scene 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 corresponding to each location scenario is generated in the following way: For each location scenario, under the sampling environment corresponding to the location scenario, for each transmit power supported by the first sampling AP, obtain the signal strength of the sampling wireless terminal located at the midline position between the first sampling AP and the second sampling AP detected by the first sampling AP when working based on the transmit power, and determine the obtained signal strength as the 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; The roaming threshold baseline table corresponding to common scenarios is generated in the following way: Calculate the average value of the roaming thresholds corresponding to the same transmit power in the roaming threshold baseline table corresponding to all location scenarios generated by itself, and use the calculated average value 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 a common scenario.

3. The method according to claim 2, characterized in that Determining the roaming threshold to be used by the target AP according to the transmit power of the target AP, the obtained maximum signal strength of the target AP, the preset signal strength, and a roaming threshold baseline table corresponding to the location scenario of the target AP obtained locally, specifically 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, the difference between the maximum signal strength and the preset signal strength is calculated, the transmit power and the calculated difference are subtracted 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; 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 second calculation result, and 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 that the target AP needs to use.

4. The method according to claim 2, characterized in that: Determining the roaming threshold to be used by the target AP according to the transmit power, the maximum signal strength, the preset signal strength, and a roaming threshold baseline table corresponding to a common scenario obtained locally, specifically 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 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, a difference between the maximum signal strength and the preset signal strength is calculated, and a subtraction operation is performed on the transmit power and the calculated difference to obtain a third operation result, and a roaming threshold corresponding to the third operation result is searched in a roaming threshold baseline table corresponding to a common scenario, and the found roaming threshold is determined 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 that the target AP needs to use.

5. A method for setting a roaming threshold, characterized in that: The method is applied to a cloud access point AP, and the method comprises: After power-on, obtain the signal strength of the neighbor AP detected by the neighbor AP reported by the neighbor AP; If the location scenario is 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 location scenario obtained locally. If the location scenario of the local device is not configured, 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 The roaming threshold to be used is set based on the roaming threshold of the device, the maximum signal strength of the device, the preset signal strength, and the roaming threshold baseline table corresponding to the location scenario of the device obtained locally. Specifically, the roaming threshold 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 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, a difference between the maximum signal strength and the preset signal strength is calculated, and a subtraction operation is performed on the transmit power and the calculated difference to obtain a first operation result, and a roaming threshold corresponding to the first operation result is searched in a roaming threshold baseline table corresponding to the location scenario where the mobile station is located, and the searched roaming threshold is set 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, the transmit power and the calculated difference are added to obtain a second calculation result, and 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 itself needs to use.

7. The method according to claim 5, characterized in that According to the transmit power, the maximum signal strength, the preset signal strength, and a roaming threshold baseline table corresponding to a common scenario obtained locally, setting a roaming threshold to be used by the user, specifically including: 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 the 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 for 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 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, 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 scene, and the found roaming threshold is determined as the roaming threshold that needs to be used.

8. A roaming threshold setting device, characterized in that: The device is applied to a network device with a roaming threshold setting function enabled, and the device includes: An acquisition module, configured to, after determining that a target access point AP is online, acquire a signal strength of the target AP detected by the neighbor AP reported by the neighbor AP of the target AP; A determination module, used to determine whether the target AP exists among multiple APs deployed in multiple pre-deployed location scenarios; A first determination module is used to determine the roaming threshold to be used by the target AP according to the transmit power of the target AP, the obtained maximum signal strength of the target AP, the preset signal strength and the roaming threshold baseline table corresponding to the location scenario of the target AP obtained locally when the judgment result of the judgment module is yes, and send the determined roaming threshold to the target AP; A second determination module is used to determine the roaming threshold to be used by the target AP according to the transmit power, the maximum signal strength, the preset signal strength and the roaming threshold baseline table corresponding to the common scene obtained locally when the judgment result of the judgment module is no, 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 also includes: 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 the sampling environment corresponding to the location scenario, for each transmit power supported by the first sampling AP, obtain the signal strength of the sampling wireless terminal located at the midline position between the first sampling AP and the second sampling AP detected by the first sampling AP when working based on the transmit power, and determine the obtained signal strength as the 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 the roaming threshold baseline table corresponding to common scenarios in the following ways: Calculate the average value of the roaming thresholds corresponding to the same transmit power in the roaming threshold baseline table corresponding to all location scenarios generated by itself, and use the calculated average value 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 a common scenario.

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, the difference between the maximum signal strength and the preset signal strength is calculated, the transmit power and the calculated difference are subtracted 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; 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 second calculation result, and 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 that the target AP needs to use.

11. The device according to claim 9, characterized in that The second determining module is specifically used 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 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, a difference between the maximum signal strength and the preset signal strength is calculated, and a subtraction operation is performed on the transmit power and the calculated difference to obtain a third operation result, and a roaming threshold corresponding to the third operation result is searched in a roaming threshold baseline table corresponding to a common scenario, and the found roaming threshold is determined 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 that the target AP needs to use.

12. A roaming threshold setting device, characterized in that: The device is applied to a cloud access point AP, and the device includes: An acquisition module, configured to acquire, after the cloud AP is powered on, a signal strength of the cloud AP detected by the neighbor AP reported by the neighbor AP of the cloud AP; A first setting module is used to set the roaming threshold to be used by the cloud AP according to the transmit power of the cloud AP, the obtained maximum signal strength of the cloud AP, the preset signal strength and the 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 used to set the roaming threshold to be used by the cloud AP according to the transmit power, the maximum signal strength, the preset signal strength and the roaming threshold baseline table corresponding to the common scene obtained locally if the location scenario of the cloud AP is not configured locally; The roaming threshold baseline table corresponding to the location scenario of the cloud AP and the common scenario includes each transmit power supported by the cloud AP and its corresponding roaming threshold.

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 described in 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 of any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Terminal roaming method and device

    CN114189924A

  • Terminal roaming setting method and device, terminal equipment and storage medium

    CN115243335A

  • Wireless access point switching method and device

    CN116600355A

  • Dynamic roaming threshold determination method and device based on FTTR, equipment and medium

    CN118250682A

  • Wireless communication roaming with coexisting radio access technologies

    US20160157162A1