Roaming method based on MESH WIFI, electronic device and computer program product
11611941 · 2023-03-21
Assignee
Inventors
Cpc classification
H04W52/244
ELECTRICITY
H04W52/367
ELECTRICITY
International classification
H04W84/18
ELECTRICITY
H04W52/26
ELECTRICITY
Abstract
A roaming method based on MESH WIFI executable by an electronic device, comprising: calculating noise values and interference coefficients of a primary access point (AP) and surrounding APs, adjusting power values between the primary AP and the surrounding APs based on the noise values and the interference coefficients according to normalization, and, when a target AP from the surrounding APs reaches a preset condition, switching the client to connect to the target AP.
Claims
1. A roaming method based on MESH WIFI executable by a client, comprising: by using a multiple access point (multi-AP) agent, monitoring a primary access point (AP) connected by the client in real-time and calculating noise values between the primary AP and surrounding APs according to mutual interference characteristics of the APs using formula (1) represented as:
2. The method of claim 1, further comprising: by using the multi-AP agent, if more than one target APs calculated using the formula (3) are qualified, calculating the noise values of the target APs using formula (4) represented as:
3. The method of claim 1, wherein the step of adjusting the power values between the primary AP and the surrounding APs according to the normalization further comprises: by using the multi-AP agent, defining maximum adjustable ranges of the powers for the surrounding APs; by using the multi-AP agent, providing a maximum adjustable range of the power to the surrounding APs based on a user distribution status of a basic service area (BSS) to obtain {(ΔP.sub.MAX,1), (ΔP.sub.MAX,2), . . . , (ΔP.sub.MAX,n)}; by using the multi-AP agent, discovering a reference AP to be served as the normalization base to obtain Min{ΔP.sub.MAX,1.Math.W.sub.t,1, ΔP.sub.MAX,2.Math.W.sub.t,2, . . . , ΔP.sub.MAX,n.Math.W.sub.t,n}; and by using the multi-AP agent, defining the adjusted power values of the surrounding APs if the reference AP is the i-th AP to obtain
4. The method of claim 1, further comprising: by using the multi-AP agent, if the formula (2) is not qualified, the process proceeds to block S1, repeating the step of calculating the noise values between the primary AP and the surrounding APs.
5. A roaming system based on MESH WIFI, comprising: a client; a multi-AP agent, configured to: monitor a primary access point (AP) connected by a client in real-time and calculate noise values between the primary AP and surrounding APs according to mutual interference characteristics of the APs using formula (1) represented as:
6. The system of claim 5, wherein: the multi-AP agent is further configured to, if more than one target APs calculated using the formula (3) are qualified, calculate the noise values of the target APs using formula (4) represented as:
7. The system of claim 5, wherein: the multi-AP agent is further configured to define maximum adjustable ranges of the powers for the surrounding APs, provide a maximum adjustable range of the power to the surrounding APs based on a user distribution status of a basic service area (BSS) to obtain {(ΔP.sub.MAX,1), (ΔP.sub.MAX,2) , . . . , (ΔP.sub.MAX,n)}, discover a reference AP to be served as the normalization base to obtain Min{ΔP.sub.MAX,1.Math.W.sub.t,1, ΔP.sub.MAX,2.Math.W.sub.t,2, . . . , ΔP.sub.MAX,n.Math.W.sub.t,n}, and define the adjusted power values of the surrounding APs if the reference AP is the i-th AP to obtain
8. The system of claim 5, wherein the multi-AP agent is further configured to, if the formula (2) is not qualified, repeat the step of calculating the noise values between the primary AP and the surrounding APs.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Many aspects of the preset disclosure can be better understood with reference to the following figures. The components in the figures are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the preset disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views. Implementations of the preset technology will now be described, by way of embodiments, with reference to the attached figures, wherein:
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6) It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features of the preset disclosure.
(7) Several definitions that apply throughout this disclosure will now be presented.
(8) The term “comprising,” when utilized, means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in the so-described combination, group, series, and the like.
(9)
(10) In block S1, an AP, also called the primary AP, connected by a client is monitored in real-time and noise values between the primary AP and surrounding APs are calculated according to the mutual interference characteristics using formula (1) represented as:
(11)
(12) In block S2, the noise values of the primary AP and the surrounding APs are substituted into the formula (2) to determine whether the formula (2) is qualified. The formula (2) is represented as:
(13)
where x and n represent individual times.
(14) If the formula (2) is not qualified, the process proceeds to block S1, and the step of calculating the noise values between the primary AP and the surrounding APs is repeated.
(15) In block S3, interference coefficients Wt(W1,W2) between the primary AP and the surrounding APs are calculated, where W1 indicates a leakage ratio calculated according to a center frequency of the primary AP, W2 indicates an interference source power calculated based on the RCPI values, and W(total)=(the interference source power)×(the leakage ratio). Referring to
(16) In block S4, power values between the primary AP and the surrounding APs are adjusted according to normalization. Maximum adjustable ranges of the powers for the surrounding APs are defined. A maximum adjustable range of the power is provided to the surrounding APs based on the user distribution status of the basic service area (BSS), thereby obtaining {(ΔP.sub.MAX,1), (ΔP.sub.MAX,2) , . . . , (ΔP.sub.MAX,n)}. A reference AP is discovered to be served as the normalization base to obtain Min{ΔP.sub.MAX,1.Math.W.sub.t,1, ΔP.sub.MAX,2.Math.W.sub.t,2, . . . , ΔP.sub.MAX,n.Math.W.sub.t,n}. The adjusted power values of the surrounding APs are defined, if the reference AP is the i-th AP, to obtain
(17)
(18) In block S5, it is determined whether at least one target AP calculated using the formula (3) is qualified, the formula (3) is represented as:
(19)
(20) In block S6, if at least one target AP calculated using the formula (3) is qualified, it is then determined whether only one target AP calculated using the formula (3) is qualified.
(21) In block S7, if only one target AP calculated using the formula (3) is qualified, the client is switched to connect to the target AP.
(22) In block S8, if more than one target APs calculated using the formula (3) are qualified, the noise values of the target APs are calculated using the formula (4) represented as:
(23)
(24) In block S9, the client is switched to connect to the target AP with the maximum noise value.
(25)
(26) The memory 220 stores a computer program, such as the roaming system based on MESH WIFI 230, which is executable by the processor 210. When the processor 210 executes the roaming system based on MESH WIFI 230, the blocks in one embodiment of the roaming method based on MESH WIFI applied in the electronic device 200 are implemented, such as blocks S1 to S9 shown in
(27) It will be understood by those skilled in the art that
(28) The processor 210 may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a Field-Programmable Gate Array (FPGA), or another programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 210 may be a microprocessor or other processor known in the art.
(29) The memory 220 can be used to store the roaming system based on MESH WIFI 230 and/or modules/units by running or executing computer programs and/or modules/units stored in the memory 220. The memory 220 may include a storage program area and a storage data area. In addition, the memory 220 may include a high-speed random access memory, a non-volatile memory such as a hard disk, a plug-in hard disk, a smart memory card (SMC), and a secure digital (SD) card, flash card, at least one disk storage device, flash device, or other volatile solid state storage device.
(30) The roaming system based on MESH WIFI 230 can be partitioned into one or more modules/units that are stored in the memory 220 and executed by the processor 210. The one or more modules/units may be a series of computer program instructions capable of performing particular functions of the roaming system based on MESH WIFI 230.
(31)
(32) The electronic device 200, such as a mobile phone, comprises a calculating and determining module 310 and a switching module 320.
(33) The calculating and determining module 310 monitors an AP, also called the primary AP, connected by a client in real-time and noise values between the primary AP and surrounding APs are calculated according to the mutual interference characteristics using formula (1) represented as:
(34)
(35) The calculating and determining module 310 substitutes the noise values of the primary AP and the surrounding APs into the formula (2) to determine whether the formula (2) is qualified. The formula (2) is represented as:
(36)
where x and n represent individual times.
(37) If the formula (2) is not qualified, the process proceeds to block S1, and the step of calculating the noise values between the primary AP and the surrounding APs is repeated.
(38) The calculating and determining module 310 calculates interference coefficients Wt(W1,W2) between the primary AP and the surrounding APs, where W1 indicates a leakage ratio calculated according to a center frequency of the primary AP, W2 indicates an interference source power calculated based on the RCPI values, and W(total)=(the interference source power)×(the leakage ratio). Referring to
(39) The calculating and determining module 310 adjusts power values between the primary AP and the surrounding APs according to normalization. Maximum adjustable ranges of the powers for the surrounding APs are defined. A maximum adjustable range of the power is provided to the surrounding APs based on the user distribution status of the basic service area (BSS), thereby obtaining {(ΔP.sub.MAX,1) , (ΔP.sub.MAX,2) , . . . , (ΔP.sub.MAX,n)}. A reference AP is discovered to be served as the normalization base to obtain Min{ΔP.sub.MAX,1.Math.W.sub.t,1, ΔP.sub.MAX,2.Math.W.sub.t,2, . . . , ΔP.sub.MAX,n.Math.W.sub.t,n}. The adjusted power values of the surrounding APs are defined, if the reference AP is the i-th AP, to obtain
(40)
(41) The calculating and determining module 310 determines whether at least one target AP calculated using the formula (3) is qualified, the formula (3) is represented as:
(42)
(43) If at least one target AP calculated using the formula (3) is qualified, the calculating and determining module 310 then determines whether only one target AP calculated using the formula (3) is qualified.
(44) If only one target AP calculated using the formula (3) is qualified, the switching module 320 switches the client to connect to the target AP.
(45) If more than one target APs calculated using the formula (3) are qualified, the calculating and determining module 310 calculates the noise values of the target APs using the formula (4) represented as:
(46)
(47) The switching module 320 switches the client to connect to the target AP with the maximum noise value.
(48) It is to be understood, however, that even though numerous characteristics and advantages of the preset disclosure have been set forth in the foregoing description, together with details of the structure and function of the preset disclosure, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the preset disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.