A method, device, system and storage medium for controlling terminal roaming handover
By establishing a distributed model between the wireless controller and the server, the signal strength and interference rate after the terminal is associated with each AP are predicted, which solves the problem of the inability to adaptively adjust the target AP in the existing technology, and improves the terminal roaming effect and AP utilization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- MAIPU COMM TECH CO LTD
- Filing Date
- 2024-12-02
- Publication Date
- 2026-06-02
AI Technical Summary
In existing technologies, the method of selecting the optimal target AP by threshold cannot be adaptively adjusted for any scenario, resulting in poor roaming performance on the terminal and affecting the user's internet experience.
A distributed model is established using a wireless controller and server. Based on the gamma distribution model, the signal strength and channel interference rate after the terminal is associated with each AP are predicted. Combined with the network load, the signal quality is evaluated from multiple dimensions, and the optimal target AP is selected.
It achieves adaptive adjustment, accurately recommends the optimal target AP, avoids multiple terminals from accessing the same AP, and improves the utilization rate of each AP in the network environment.
Smart Images

Figure CN122138227A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless communication technology, and in particular to a method, apparatus, system, and storage medium for controlling terminal roaming switching. Background Technology
[0002] In a wireless network, a terminal (Station, STA) establishes communication with a wireless access point (AP) via wireless signals, and its data packets are forwarded to the Internet by the AP. When a wireless network is deployed in a scenario with a large area, multiple APs are usually deployed in the area to ensure that the wireless signal covers all areas, and all APs are managed uniformly by a wireless controller (Access Controller, AC).
[0003] When a terminal moves from the signal coverage area of one access point (AP) to another, it disconnects from the previous AP and establishes a connection with the new one; this process is called wireless roaming. In existing solutions that guide active roaming, the terminal periodically detects the quality of the currently accessed wireless signal. When the signal is weak, it actively queries the AP, requesting a list of nearby APs with roaming capabilities and related information. The AP then actively guides the terminal to a better target AP based on information about its neighbors. Determining which AP is the optimal access point is crucial to this solution. A common approach is to set a threshold based on signal strength and AP load. When the signal strength falls below the threshold, the AP selects the optimal target AP based on the signal strength and load of its neighbors and guides the terminal to connect.
[0004] However, selecting the optimal target AP through threshold selection has certain drawbacks. It cannot make adaptive adjustments for any scenario, resulting in poor performance in guiding the terminal to roam and affecting the user's internet experience. Summary of the Invention
[0005] This application provides a method, apparatus, system, and storage medium for controlling terminal roaming switching, in order to solve the problem that in the prior art, when roaming guidance is performed, it is impossible to make adaptive adjustments for any scenario, resulting in poor effect of guiding the terminal to roam actively and affecting the user's Internet experience.
[0006] In a first aspect, this application provides a method for controlling terminal roaming switching, applied to a wireless controller AC, wherein the AC is communicatively connected to a server and to multiple wireless access points APs, the method comprising:
[0007] Within a preset time period, the server receives sampling information reported by each of the multiple APs according to the sampling period, and reports the sampling information of each AP to the server.
[0008] The server uses the sampling information as training samples to build a distribution model for each AP;
[0009] When a roaming request from a terminal forwarded by any AP is received, the signal quality of each AP is evaluated using the distribution model of each AP, and the target AP with the best signal quality is selected.
[0010] The target AP information is sent to any of the APs to guide the terminal to roam to the target AP.
[0011] The step of receiving the sampling information reported by each of the plurality of APs according to the sampling period, and reporting the sampling information of each AP to the server, includes:
[0012] The system receives the channel interference rate I, signal density P, signal strength R, and location distance S reported by each AP in each sampling period and reports them to the server, so that the server can establish a first gamma distribution model for the channel interference rate I and signal density P, and a second gamma distribution model for the signal strength R and location distance S for each AP.
[0013] Before evaluating the signal quality of each AP using its distribution model, the method further includes:
[0014] When the AC receives a roaming request from a terminal forwarded by any of the APs, it uses the signal density P in the sampling information reported by any of the APs in the current sampling period as the independent variable, and uses the first gamma distribution model established by the server for each AP to predict the channel interference rate I after the terminal is associated with each AP.
[0015] Meanwhile, using the location distance S related to the terminal in the sampling information reported by any AP during the current sampling period as the independent variable, the signal strength R of each AP associated with the terminal is predicted using the second gamma distribution model established by the server for each AP.
[0016] When a roaming request from a terminal forwarded by any AP is received, the signal quality of each AP is evaluated using the distribution model of each AP, including:
[0017] When a roaming request is received from a terminal forwarded by any AP, the signal quality of each AP is evaluated using the following formula.
[0018]
[0019] Where Q represents the signal quality of the AP, I is the channel interference rate predicted using the first gamma distribution model of this AP, R is the signal strength predicted using the second gamma distribution model of this AP, and L represents the network load of this AP currently reported.
[0020] The selection of the target AP with the best signal quality includes:
[0021] The AP with the best signal quality among all APs is selected as the target AP.
[0022] Secondly, this application provides a method for controlling terminal roaming switching, applied to a server, wherein the server is communicatively connected to a wireless controller (AC), and the AC is communicatively connected to multiple wireless access points (APs), the method comprising:
[0023] Receive the sampling information of each AP in each sampling period reported by the AC within a preset time period;
[0024] The sampling information is used as training samples to establish a distribution model for each AP;
[0025] The AC sends the distribution model established for each AP to the AC so that the AC can evaluate the signal quality of each AP based on the distribution model of each AP.
[0026] Wherein, the step of using the sampling information as training samples to establish a distribution model for each AP includes:
[0027] Using the channel interference rate I and signal density P, a first gamma distribution model of the channel interference rate I and signal density P is established for each AP. The first gamma distribution model satisfies the following constraint formula:
[0028] in,
[0029] P represents the signal density, f(P) represents the channel interference rate I, α1 represents the shape parameter, and β1 represents the scale parameter. α1 and β1 are obtained by the maximum likelihood estimation method and are the average of the signal density P reported by multiple sampling periods within the preset time period. variance γ 2 Satisfy the following relationship
[0030]
[0031] Where, γ 2 This represents the signal density P and mean value reported by multiple sampling periods within the preset time period. The variance;
[0032] Simultaneously, using signal strength R and location distance S, a second gamma distribution model of signal strength R and location distance S is established for each AP. The second gamma distribution model satisfies the following constraint formula:
[0033]
[0034] S represents the location distance, f(S) represents the signal strength R, α2 represents the shape parameter, and β2 represents the scale parameter. α2 and β2 are obtained by the maximum likelihood estimation method and are the average of the location distances S reported by multiple sampling periods within the preset time period. variance δ 2 Satisfy the following relationship
[0035]
[0036] Where, δ 2 This represents the distance S and mean value of the locations reported in multiple sampling periods within the preset time period. The variance.
[0037] Thirdly, this application provides a device for controlling terminal roaming switching, applied to a wireless controller AC, wherein the AC is communicatively connected to a server and to multiple wireless access points APs, and the device includes:
[0038] The receiving module is configured to receive sampling information reported by each of the plurality of APs according to the sampling period within a preset time period, and report the sampling information of each AP to the server; and to receive the distribution model established by the server for each AP using the sampling information as training samples.
[0039] The evaluation module is used to evaluate the signal quality of each AP using the distribution model of each AP when a roaming request is received from a terminal forwarded by any AP, and select the target AP with the best signal quality.
[0040] The guidance module is used to send the target AP information to any of the APs so as to guide the terminal to roam to the target AP.
[0041] Fourthly, this application provides a device for controlling terminal roaming switching, applied to a server, wherein the server is communicatively connected to a wireless controller (AC), and the AC is communicatively connected to multiple wireless access points (APs), and the device includes:
[0042] The receiving module is used to receive the sampling information of each AP reported by the AC in each sampling period;
[0043] The modeling module is used to establish a distribution model for each AP using the sampling information as training samples;
[0044] The sending module is used to send the distribution model established for each AP to the AC.
[0045] Fifthly, this application provides a system for controlling terminal roaming switching, the system including a wireless controller AC, a server, and wireless access points AP, wherein the AC is communicatively connected to the server and the AC is communicatively connected to multiple APs;
[0046] The AC is used to receive sampling information reported by each of the multiple APs according to the sampling period within a preset time period, and to report the sampling information of each AP to the server.
[0047] The server is configured to receive sampling information of each AP in each sampling period reported by the AC within a preset time period, use the sampling information as training samples to establish a distribution model for each AP; and to send the distribution model established for each AP to the AC.
[0048] The AC is also used to receive a distribution model established by the server for each AP using the sampling information as training samples; and to evaluate the signal quality of each AP using the distribution model of each AP when a roaming request forwarded by any AP is received, select the target AP with the best signal quality, and send the information of the target AP to any AP.
[0049] Each AP is configured to report its own sampling information according to the sampling period; to forward the roaming request to the AC after receiving a roaming request from a terminal associated with the device; and to receive information about the target AP sent by the AC and send the information about the target AP to the terminal in the roaming response.
[0050] In a sixth aspect, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method as described in any of the first aspects.
[0051] In a seventh aspect, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method as described in any of the second aspects.
[0052] The beneficial effects of this application's embodiments compared to existing technologies are as follows: This application utilizes AP sampling information as training samples to establish a mathematical model, which can realistically reflect the situation of each AP in the current access scenario, achieving the purpose of adaptive adjustment. Then, it uses the established mathematical model to predict the signal strength and channel interference rate after a specified terminal is associated with each AP. Finally, through the signal quality calculation formula introduced in this application, it calculates the optimal target AP from three different dimensions: signal strength, channel interference rate, and network load of the AP and recommends it to the specified terminal. Compared with a single threshold determination method, this application can better guide the terminal to actively roam to the optimal target AP, avoiding the situation where multiple terminals access the same AP, and can effectively improve the utilization rate of each AP in the networking environment. Attached Figure Description
[0053] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0054] Figure 1 This invention illustrates an application scenario for control terminal roaming switching according to an embodiment of the present invention;
[0055] Figure 2 A flowchart of a control terminal roaming switching method provided by an embodiment of the present invention is shown;
[0056] Figure 3 A flowchart of another control terminal roaming switching method provided by an embodiment of the present invention is shown;
[0057] Figure 4 A schematic diagram of a device for controlling terminal roaming switching provided by an embodiment of the present invention is shown;
[0058] Figure 5 This diagram illustrates another control terminal roaming switching device provided by an embodiment of the present invention. Detailed Implementation
[0059] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0060] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0061] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0062] It should be noted that the terms “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0063] Furthermore, it should be noted that, where there is no conflict, the features in the embodiments of the present invention can be combined with each other.
[0064] The inventors discovered that existing solutions for guiding terminal roaming to the point of view (STA) by selecting the optimal target access point (AP) through a threshold have certain shortcomings. They cannot make adaptive adjustments for any scenario, resulting in poor performance of the STA and affecting the user's internet browsing experience.
[0065] In view of this, this embodiment provides a method, apparatus, system, and storage medium for controlling terminal roaming handover. Its core improvement lies in: using a mathematical model generated through modeling to predict the signal strength and channel interference rate after a specified terminal is associated with each AP in the network; then calculating the signal quality from three different dimensions—signal strength, channel interference rate, and the network load of the AP; and selecting the optimal target AP to recommend to the specified terminal. This allows the method to not only adaptively adjust the prediction results for any scenario but also better guide the terminal to actively roam to the optimal target AP, effectively improving the utilization rate of each AP in the network environment. The specific implementation methods of this application will be further described in detail below with reference to the accompanying drawings and embodiments. The following embodiments are used to illustrate this application but are not intended to limit its scope.
[0066] Figure 1This is a schematic diagram of an application scenario for roaming handover of a control terminal provided in an embodiment of this application. The network architecture involved in this application scenario includes a server, a wireless controller (AC), a wireless access point (AP), and terminals (STA). The AC is connected to the server, AP1, AP2, and AP3 are connected to the AC, STA11 and STA12 are connected to AP1 (also referred to as terminals STA11 and STA12 being associated with wireless access point AP1), STA21 is connected to AP2, and STA31 and STA32 are connected to AP3.
[0067] It should be noted that the network involved in this implementation environment can be a Wireless Local Area Network (WLAN). The network architecture involved in this application scenario can be deployed in various areas such as shopping malls, supermarkets, office buildings, or parking lots.
[0068] Figure 2 This is a flowchart of a control terminal roaming switching method provided in an embodiment of this application, which is applied to, for example... Figure 1 The AC method in the application scenario shown includes the following steps:
[0069] Step 201: Within a preset time period, receive the sampling information reported by each of the multiple APs according to the sampling period, and report the sampling information of each AP to the server.
[0070] It should be noted that the sampling information reported by the AP includes at least the channel interference rate I, signal density P, signal strength R, and location distance S. Here, channel interference rate I refers to the data transmission error rate or data loss rate caused by channel interference; signal density P refers to the number of Wireless Fidelity (Wi-Fi) signals received per unit time within a specific area, and in this application specifically refers to the signal density at the spatial location of the terminal associated with the AP; signal strength R refers to the Received Signal Strength Indication (RSSI), and in this application specifically refers to the signal strength of the AP associated with the terminal; and location distance S specifically refers to the absolute distance between the terminal's current location and the AP.
[0071] In this step, within a preset time period, the AC receives the channel interference rate I, signal density P, signal strength R, and location distance S reported by each AP in each sampling period and reports them to the server. This allows the server to establish a first gamma distribution model for the channel interference rate I and signal density P, and a second gamma distribution model for the signal strength R and location distance S for each AP. Figure 1As shown, taking AP1 as an example, the AC will report the sampling information (e.g., channel interference rate I1 and signal density P related to STA11) reported by AP1 in each sampling period. 11 Signal strength R 11 Location distance S 11 And the signal density P associated with STA12 12 Signal strength R 12 Location distance S 12 The data is reported to the server, which uses this data to establish a first gamma distribution model for channel interference rate and signal density, and a second gamma distribution model for signal strength and location distance for AP1. The AC receives the sampling information reported by AP2 and AP3 in each sampling period and reports it to the server in the same way as AP1, so it will not be described again here.
[0072] It should be noted that the AC and the server can establish a communication connection through the Technical Report 069 (TR069) protocol, and use Hypertext Transfer Protocol (HTTP) messages to report the sampling information of each AP to the server.
[0073] Step 202: Receive the distribution model established by the server for each AP using the sampling information as training samples.
[0074] like Figure 1 As shown, in this step, after the preset time period ends, the AC receiving server uses the sampled information as training samples to establish distribution models for AP1, AP2, and AP3 respectively. Taking AP1 as an example, the AC receiving server establishes a first gamma distribution model of channel interference rate and signal density, and a second gamma distribution model of signal strength and location distance for AP1. The processing of the distribution models established by the AC receiving server for AP2 and AP3 is the same as for AP1, and will not be repeated here.
[0075] It should be noted that the server can send the distribution model established for each AP to the AC via HTTP messages. The mathematical formulas corresponding to each distribution model can be encapsulated in JavaScript Object Notation (JSON) format.
[0076] Step 203: When a roaming request is received from a terminal forwarded by any AP, the signal quality of each AP is evaluated using the distribution model of each AP, and the target AP with the best signal quality is selected.
[0077] It should be noted that in step 201, after the preset time period, each AP will still report its sampling information according to the sampling period. Preferably, the AP's sampling information includes channel interference rate I, signal density P, signal strength R, location distance S, and the network load L of the AP.
[0078] In this embodiment, when the AC receives a roaming request from a terminal forwarded by any AP, the AC uses the signal density P in the sampling information reported by the AP in its current sampling period as the independent variable, and utilizes the first gamma distribution model established by the server for each AP to predict the channel interference rate I after the terminal is associated with each AP. Simultaneously, the AC uses the location distance S related to the terminal in the sampling information reported by the AP in its current sampling period as the independent variable, and utilizes the second gamma distribution model established by the server for each AP to predict the signal strength R of each AP associated with the terminal. For example, as... Figure 1 As shown, when the AC receives the roaming request from STA11 forwarded by AP1, the AC will use the signal density P reported by AP1 during its current sampling period. 11 Using the first gamma distribution model established by Server for AP1, AP2, and AP3 respectively, the channel interference rates I'1, I'2, and I'3 associated with STA11 to AP1, AP2, and AP3 are predicted. Simultaneously, the location distance S associated with STA11 reported by AC at the current sampling period of AP1 is... 11 Using the second gamma distribution model established by Server for AP1, AP2, and AP3 respectively, predict the signal strength R' of AP1, AP2, and AP3 after association with STA11. 11 、R' 12 and R' 13 Then, using the predicted channel interference rate and signal strength, the signal quality Q of each AP is evaluated, and the AP with the highest signal quality Q is selected as the target AP. In this embodiment, the signal quality Q of an AP is directly proportional to the signal strength R and inversely proportional to the network load L and the channel interference rate I. Preferably, the signal quality of each AP can be evaluated using the following formula:
[0079]
[0080] Where Q represents the signal quality of the AP, I is the channel interference rate predicted using the first gamma distribution model of this AP, R is the signal strength predicted using the second gamma distribution model of this AP, and L represents the network load of this AP currently reported. For example, Figure 1 As shown, the network load L1 of AP1 is 2, the network load L2 of AP2 is 1, and the network load L3 of AP3 is 2. Based on the predicted channel interference rates I'1, I'2, I'3 and signal strength R'11 、R' 12 and R' 13 The signal quality Q1, Q2, and Q3 of AP1, AP2, and AP3 can be calculated. The AP corresponding to the maximum value among Q1, Q2, and Q3 is the target AP.
[0081] Step 204: Send the target AP information to any of the APs so as to guide the terminal to roam to the target AP.
[0082] In this step, the information sent to the target AP includes: Basic Service Set Identifier (BSSID), so that the roaming of the terminal associated with the AP can be directed to the target AP.
[0083] Figure 3 This is a flowchart of a control terminal roaming switching method provided in an embodiment of this application, which is applied to, for example... Figure 1 The server in the application scenario shown includes the following steps:
[0084] Step 301: Receive the sampling information of each AP in each sampling period reported by the AC within a preset time period.
[0085] In this step, the sampling information of the AP includes at least the channel interference rate I, signal density P, signal strength R, and location distance S.
[0086] Step 302: Use the sampling information as training samples to establish a distribution model for each AP.
[0087] In this embodiment, a first gamma distribution model of channel interference rate I and signal density P is established for each AP. The first gamma distribution model satisfies the following constraint formula:
[0088] in,
[0089] P represents the signal density, f(P) represents the channel interference rate I, α1 represents the shape parameter, and β1 represents the scale parameter. α1 and β1 are determined by...
[0090] The maximum likelihood estimation method is used to obtain the mean of the signal density P reported by multiple sampling periods within a preset time period. variance γ 2 Satisfy the following relationship
[0091]
[0092] Where, γ 2This represents the signal density P and mean value reported in multiple sampling periods within a preset time period. The variance;
[0093] Simultaneously, using signal strength R and location distance S, a second gamma distribution model of signal strength R and location distance S is established for each AP. The second gamma distribution model satisfies the following constraint formula:
[0094] in,
[0095] S represents the location distance, f(S) represents the signal strength R, α² represents the shape parameter, and β² represents the scale parameter. α² and β² are obtained by the maximum likelihood estimation method and are the average of the location distances S reported by multiple sampling periods within a preset time period. variance δ 2 Satisfy the following relationship
[0096]
[0097] Where, δ 2 This represents the distance S and mean of the locations reported by multiple sampling periods within a preset time period. The variance.
[0098] It should be noted that in step 301, the preset time period can be a positive integer multiple of the sampling period. The longer the preset time, the more accurate the distribution model established for each AP.
[0099] Step 303: Send the distribution model established for each AP to the AC so that the AC can evaluate the signal quality of each AP based on the distribution model of each AP.
[0100] In this step, after the preset time period ends, the server sends the first gamma distribution model and the second gamma distribution model established for each AP to the AC, which are used by the AC to evaluate the signal quality of each AP.
[0101] The following is in conjunction with the appendix Figure 4 This application describes a device 400 for implementing a control terminal roaming switching, applied to, for example... Figure 1 The AC shown, the device 400 includes:
[0102] The receiving module 401 is configured to receive sampling information reported by each of the plurality of APs according to the sampling period within a preset time period, and report the sampling information of each AP to the server; and to receive the distribution model established by the server for each AP using the sampling information as training samples.
[0103] The evaluation module 402 is used to evaluate the signal quality of each AP using the distribution model of each AP when a roaming request is received from a terminal forwarded by any AP, and select the target AP with the best signal quality.
[0104] The guidance module 403 is used to send the target AP information to any of the APs so as to guide the terminal to roam to the target AP.
[0105] It is understood that each component of the aforementioned control terminal roaming switching device 400 can be used to implement the corresponding steps in the aforementioned method embodiments. Since each step has been described in detail in the aforementioned method embodiments, it will not be repeated here.
[0106] like Figure 5 As shown in the figure, this application embodiment also provides a device 500 for controlling terminal roaming switching, applied to, for example... Figure 1 The server shown, the device 500 includes:
[0107] The receiving module 501 is used to receive the sampling information of each AP reported by the AC in each sampling period according to the sampling period;
[0108] Modeling module 502 is used to establish a distribution model for each AP using the sampling information as training samples;
[0109] The sending module 503 is used to send the distribution model established for each AP to the AC.
[0110] It is understood that each component of the aforementioned control terminal roaming switching device 500 can be used to implement the corresponding steps in the aforementioned method embodiments. Since each step has been described in detail in the aforementioned method embodiments, it will not be repeated here.
[0111] This application also provides a system for controlling terminal roaming switching, such as... Figure 1 As shown, it includes a wireless controller AC, a server, and a wireless access point AP.
[0112] The AC is used to receive sampling information reported by each of the multiple APs according to the sampling period within a preset time period, and to report the sampling information of each AP to the server.
[0113] The server is configured to receive sampling information of each AP in each sampling period reported by the AC within a preset time period, use the sampling information as training samples to establish a distribution model for each AP; and to send the distribution model established for each AP to the AC.
[0114] The AC is also used to receive a distribution model established by the server for each AP using the sampling information as training samples; and to evaluate the signal quality of each AP using the distribution model of each AP when a roaming request forwarded by any AP is received, select the target AP with the best signal quality, and send the information of the target AP to any AP.
[0115] Each AP is configured to report its own sampling information according to the sampling period; to forward the roaming request to the AC after receiving a roaming request from a terminal associated with the device; and to receive information about the target AP sent by the AC and send the information about the target AP to the terminal in the roaming response.
[0116] It is understood that each component of the above-mentioned control terminal roaming switching system can be used to implement the corresponding steps in the aforementioned method embodiments. Since each step has been described in detail in the aforementioned method embodiments, it will not be repeated here.
[0117] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. It is worth noting that the computer-readable storage medium mentioned in this application can be a non-volatile storage medium; in other words, it can be a non-transient storage medium.
[0118] The various parts of this specification are described in a progressive manner. Similar or identical parts between the different embodiments can be referred to interchangeably. Each embodiment focuses on its differences from other embodiments. In particular, the device embodiments, system embodiments, and storage medium embodiments are basically similar to the method embodiments, so the descriptions are relatively simple; relevant details can be found in the description of the method embodiments.
[0119] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for controlling terminal roaming switching, characterized in that, The method, applied to a wireless controller AC, which is communicatively connected to a server and to multiple wireless access points (APs), includes: Within a preset time period, the server receives sampling information reported by each of the multiple APs according to the sampling period, and reports the sampling information of each AP to the server. The server uses the sampling information as training samples to build a distribution model for each AP; When a roaming request from a terminal forwarded by any AP is received, the signal quality of each AP is evaluated using the distribution model of each AP, and the target AP with the best signal quality is selected. The target AP information is sent to any of the APs to guide the terminal to roam to the target AP.
2. The method as described in claim 1, characterized in that, The step of receiving the sampling information reported by each of the plurality of APs according to the sampling period, and reporting the sampling information of each AP to the server, includes: The system receives the channel interference rate I, signal density P, signal strength R, and location distance S reported by each AP in each sampling period and reports them to the server, so that the server can establish a first gamma distribution model for the channel interference rate I and signal density P, and a second gamma distribution model for the signal strength R and location distance S for each AP.
3. The method as described in claim 2, characterized in that, Before evaluating the signal quality of each AP using its distribution model, the method further includes: When the AC receives a roaming request from a terminal forwarded by any of the APs, it uses the signal density P in the sampling information reported by any of the APs in the current sampling period as the independent variable, and uses the first gamma distribution model established by the server for each AP to predict the channel interference rate I after the terminal is associated with each AP. Meanwhile, using the location distance S related to the terminal in the sampling information reported by any AP during the current sampling period as the independent variable, the signal strength R of each AP associated with the terminal is predicted using the second gamma distribution model established by the server for each AP.
4. The method as described in claim 3, characterized in that, When a roaming request from a terminal forwarded by any AP is received, the signal quality of each AP is evaluated using the distribution model of each AP, including: When a roaming request from a terminal forwarded by any AP is received, the signal quality of each AP is evaluated using the following formula: Where Q represents the signal quality of the AP, I is the channel interference rate predicted using the first gamma distribution model of this AP, R is the signal strength predicted using the second gamma distribution model of this AP, and L represents the network load of this AP currently reported. The selection of the target AP with the best signal quality includes: The AP with the best signal quality among all APs is selected as the target AP.
5. A method for controlling terminal roaming switching, characterized in that, Applied to a server, wherein the server is communicatively connected to a wireless controller (AC), and the AC is communicatively connected to multiple wireless access points (APs), the method includes: Receive the sampling information of each AP in each sampling period reported by the AC within a preset time period; The sampling information is used as training samples to establish a distribution model for each AP; The AC sends the distribution model established for each AP to the AC so that the AC can evaluate the signal quality of each AP based on the distribution model of each AP.
6. The method as described in claim 5, characterized in that, The step of using the sampling information as training samples to build a distribution model for each AP includes: Using the channel interference rate I and the signal density P, a first gamma distribution model of the channel interference rate I and the signal density P is established for each AP. The first gamma distribution model satisfies the following constraint formula: in, P represents the signal density, f(P) represents the channel interference rate I, α1 represents the shape parameter, and β1 represents the scale parameter. α1 and β1 are obtained by the maximum likelihood estimation method and are the average of the signal density P reported by multiple sampling periods within the preset time period. variance γ 2 Satisfy the following relationship Where, γ 2 This represents the signal density P and mean value reported by multiple sampling periods within the preset time period. The variance; Simultaneously, using signal strength R and location distance S, a second gamma distribution model of signal strength R and location distance S is established for each AP. The second gamma distribution model satisfies the following constraint formula: in, S represents the location distance, f(S) represents the signal strength R, α2 represents the shape parameter, and β2 represents the scale parameter. α2 and β2 are obtained by the maximum likelihood estimation method and are the average of the location distances S reported by multiple sampling periods within the preset time period. variance δ 2 Satisfy the following relationship Where, δ 2 This represents the distance S and mean value of the locations reported in multiple sampling periods within the preset time period. The variance.
7. A device for controlling terminal roaming switching, characterized in that, A device for use with a wireless controller AC, wherein the AC is communicatively connected to a server and to multiple wireless access points APs, the device comprising: The receiving module is configured to receive sampling information reported by each of the plurality of APs according to the sampling period within a preset time period, and report the sampling information of each AP to the server; and to receive the distribution model established by the server for each AP using the sampling information as training samples. The evaluation module is used to evaluate the signal quality of each AP using the distribution model of each AP when a roaming request is received from a terminal forwarded by any AP, and select the target AP with the best signal quality. The guidance module is used to send the target AP information to any of the APs so as to guide the terminal to roam to the target AP.
8. A device for controlling terminal roaming switching, characterized in that, The device is applied to a server, which is communicatively connected to a wireless controller (AC), and the AC is communicatively connected to multiple wireless access points (APs). The device includes: The receiving module is used to receive the sampling information of each AP reported by the AC in each sampling period; The modeling module is used to establish a distribution model for each AP using the sampling information as training samples; The sending module is used to send the distribution model established for each AP to the AC.
9. A system for controlling terminal roaming switching, characterized in that, The system includes a wireless controller AC, a server, and wireless access points AP. The AC is communicatively connected to the server and to multiple APs. The AC is used to receive sampling information reported by each of the multiple APs according to the sampling period within a preset time period, and to report the sampling information of each AP to the server. The server is used to receive the sampling information of each AP reported by the AC in each sampling period within a preset time period, and use the sampling information as training samples to establish a distribution model for each AP; And the distribution model established for each AP is used to send the AC to the AC; The AC is also used to receive the distribution model established by the server for each AP using the sampling information as training samples; And when a roaming request is received from a terminal forwarded by any AP, the system uses the distribution model of each AP to evaluate the signal quality of each AP, selects the target AP with the best signal quality, and sends the information of the target AP to the AP. Each of the APs is used to report the sampling information of this device according to the sampling period; The device is configured to receive a roaming request from a terminal associated with it and forward the roaming request to the AC; and to receive information about a target AP sent by the AC and send the information about the target AP to the terminal in a roaming response.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that, when executed by a processor, perform the steps of the method described in any one of claims 1-4 or claim 5 or 6.