CN111491337B - Hotspot switching method and device - Google Patents

Hotspot switching method and device Download PDF

Info

Publication number
CN111491337B
CN111491337B CN201910080699.XA CN201910080699A CN111491337B CN 111491337 B CN111491337 B CN 111491337B CN 201910080699 A CN201910080699 A CN 201910080699A CN 111491337 B CN111491337 B CN 111491337B
Authority
CN
China
Prior art keywords
hotspot
value
hot spot
signal strength
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910080699.XA
Other languages
Chinese (zh)
Other versions
CN111491337A (en
Inventor
李秀勇
王志翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201910080699.XA priority Critical patent/CN111491337B/en
Publication of CN111491337A publication Critical patent/CN111491337A/en
Application granted granted Critical
Publication of CN111491337B publication Critical patent/CN111491337B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and equipment for switching hotspots, which are used for dynamically switching Wi-Fi hotspots roamed by a user according to the scanned signal intensity of the same-name hotspots and different-name hotspots, and improving the internet surfing experience of the user. The method comprises the following steps: scanning a first hotspot with the same name as a hotspot currently connected with and a second hotspot with a different name from the first hotspot; and determining whether to perform hotspot switching according to the first signal strength value of the first hotspot and the second signal strength value of the second hotspot. The method and the device determine whether to switch the Wi-Fi hotspots by utilizing the Wi-Fi hotspot signal strength which is searched by the terminal and has the same name as the current connection hotspot and the Wi-Fi hotspot signal strength which has different names, and avoid the interference of Wi-Fi hotspots with different names after the hotspots are switched.

Description

Hotspot switching method and device
Technical Field
The present invention relates to Wireless Fidelity (Wi-Fi) technologies, and in particular, to a method and an apparatus for hotspot switching.
Background
With the information and intelligence degree of modern life getting higher and higher, the application scenes of the Wi-Fi roaming technology are more and more, and due to the fact that the area of large-scale office or commercial places such as large-scale enterprises, office buildings and shopping malls is larger, the coverage range of one Wi-Fi hotspot network is smaller, a plurality of Wi-Fi hotspots with the same name are arranged at different positions in the places by utilizing the Wi-Fi roaming technology, after a mobile terminal user is connected with the Wi-Fi hotspots once in the whole places, the mobile terminal can be located in the coverage range of the Wi-Fi hotspot network with the same name when moving in the places, and the terminal can trigger the switching between the Wi-Fi hotspots with the same name based on the Wi-Fi roaming technology, so that different Wi-Fi hotspots can be automatically connected to achieve the hotspots of the mobile terminal.
However, at present, when switching Wi-Fi hotspots, only the influence generated when switching is performed between Wi-Fi hotspots with the same name is considered, and the influence of interference generated by other Wi-Fi hotspots which are located in the same channel or adjacent channels after the Wi-Fi hotspots are switched with the current terminal on the Wi-Fi hotspots connected with the current terminal is not considered, and when the number of the Wi-Fi hotspots of the same channel or adjacent channels which are located near the same position and are connected with the terminal is more, the signal intensity is stronger, the larger the interference on the Wi-Fi hotspots connected with the terminal is, the worse the experience of the terminal for connecting the Wi-Fi hotspots for surfing is.
Disclosure of Invention
The invention provides a method and equipment for switching hotspots, which are used for dynamically determining whether to switch Wi-Fi hotspots or not by utilizing the hotspot signal strength which is searched by a terminal and is same as the hotspot signal strength which is currently connected and different in name, so that the internet surfing experience of a user is greatly improved.
In a first aspect, the present invention provides a method for hot spot handover, where the method includes:
scanning a first hotspot with the same name as a hotspot currently connected with and a second hotspot with a different name from the first hotspot;
and determining whether to perform hotspot switching according to the first signal strength value of the first hotspot and the second signal strength value of the second hotspot.
According to the method, two factors influencing the user internet experience in the hotspot switching process, the signal intensity of the switching hotspot and the interference factor of the signal of the switching hotspot by other hotspot signals with different names from the switching hotspot are comprehensively considered, and whether Wi-Fi hotspot switching is carried out or not is determined by judging the signal intensity of the same-name hotspot working in different channels and the signal intensity of a non-same-name hotspot capable of being switched in the moving process of the terminal, so that the problem that the signal quality is reduced due to the interference of different-name hotspots on the hotspots after the hotspots are switched can be solved.
In a possible implementation manner, when scanning a first hotspot with the same name as a currently connected hotspot and a second hotspot with a different name from the first hotspot, the method further includes:
and adjusting a preset hot spot switching threshold value according to the first signal intensity value of the first hot spot and the second signal intensity value of the second hot spot.
In a possible implementation manner, the second hot spot is a hot spot of the same channel/adjacent channel as the scanned first hot spot.
In a possible implementation manner, adjusting a preset hot spot handover threshold according to the first signal strength value of the first hot spot and the second signal strength value of the second hot spot includes:
and adjusting a preset hot spot switching threshold value according to a difference value between the first signal strength value of the first hot spot and the second signal strength value of the second hot spot.
In a possible implementation manner, adjusting a preset hot spot handover threshold according to a difference between the first signal strength value and the second signal strength value includes:
determining whether the difference value between the second signal strength value and the first signal strength value is greater than a preset low threshold value;
if so, reducing the preset hotspot switching threshold value, otherwise, restoring the current hotspot switching threshold value to the preset hotspot switching threshold value.
In a possible implementation manner, reducing the preset hot spot handover threshold includes:
and when the difference value between the second signal intensity value and the first signal intensity value is larger than a preset low threshold value, reducing a preset hot spot switching threshold value by an amplitude value corresponding to the range according to the range of the difference value.
In a possible implementation manner, decreasing the preset hot spot switching threshold by the amplitude value corresponding to the range according to the range in which the difference is located includes:
and when the difference value is determined to be larger than a preset high threshold value, reducing a preset hot spot switching threshold value by the preset high threshold value.
In a possible implementation manner, decreasing the preset hot spot switching threshold by the amplitude value corresponding to the range according to the range in which the difference is located includes:
and when the difference value is determined to be not smaller than a preset low threshold value and not larger than a preset high threshold value, reducing a preset hotspot switching threshold value by the absolute value of the preset low threshold value.
In a second aspect, the present invention provides a device for hot spot handover, including: a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the processor to perform the steps of:
scanning a first hotspot with the same name as a hotspot currently connected with and a second hotspot with a different name from the first hotspot;
and determining whether to perform hotspot switching according to the first signal strength value of the first hotspot and the second signal strength value of the second hotspot.
In one possible implementation, the processor is specifically configured to:
and adjusting a preset hot spot switching threshold value according to the first signal intensity value of the first hot spot and the second signal intensity value of the second hot spot.
In a possible implementation manner, the second hot spot is a hot spot of the same channel/adjacent channel as the scanned first hot spot.
In one possible implementation, the processor is specifically configured to:
and adjusting a preset hot spot switching threshold value according to a difference value between the first signal strength value of the first hot spot and the second signal strength value of the second hot spot.
In one possible implementation, the processor is specifically configured to:
determining whether the difference value between the second signal strength value and the first signal strength value is greater than a preset low threshold value;
if so, reducing the preset hotspot switching threshold value, otherwise, restoring the current hotspot switching threshold value to the preset hotspot switching threshold value.
In one possible implementation, the processor is specifically configured to:
and when the difference value between the second signal intensity value and the first signal intensity value is larger than a preset low threshold value, reducing the preset hot spot switching threshold value by an amplitude value corresponding to the range according to the range of the difference value, and obtaining the adjusted hot spot switching threshold.
In one possible implementation, the processor is specifically configured to:
and when the difference value is determined to be larger than a preset high threshold value, reducing a preset hot spot switching threshold value by the preset high threshold value.
In one possible implementation, the processor is specifically configured to:
and when the difference value is determined to be not smaller than a preset low threshold value and not larger than a preset high threshold value, reducing a preset hotspot switching threshold value by the absolute value of the preset low threshold value.
In a third aspect, the present invention provides a device for hotspot switching, including: scanning module and switching module, wherein:
the scanning module is used for scanning a first hotspot with the same name as the currently connected hotspot and a second hotspot with a different name from the first hotspot;
and the switching module is used for determining whether to perform hotspot switching according to the first signal strength value of the first hotspot and the second signal strength value of the second hotspot.
As an optional implementation manner, the apparatus further includes a threshold adjustment module, configured to:
and adjusting a preset hot spot switching threshold value according to the first signal intensity value of the first hot spot and the second signal intensity value of the second hot spot.
As an optional implementation manner, the second hot spot is a hot spot of the same channel/adjacent channel as the scanned first hot spot.
As an optional implementation manner, the threshold adjusting module is specifically configured to:
and adjusting a preset hot spot switching threshold value according to the difference value between the first signal strength value and the second signal strength value.
As an optional implementation manner, the threshold adjusting module is specifically configured to:
determining whether the difference value between the second signal strength value and the first signal strength value is greater than a preset low threshold value;
if so, reducing the preset hotspot switching threshold value, otherwise, restoring the current hotspot switching threshold value to the preset hotspot switching threshold value.
As an optional implementation manner, the threshold adjusting module is specifically configured to:
and when the difference value between the second signal intensity value and the first signal intensity value is larger than a preset low threshold value, reducing the preset hot spot switching threshold value by an amplitude value corresponding to the range according to the range of the difference value, and obtaining the adjusted hot spot switching threshold.
As an optional implementation manner, the threshold adjusting module is specifically configured to:
and when the difference value is determined to be larger than a preset high threshold value, reducing a preset hot spot switching threshold value by the preset high threshold value.
As an optional implementation manner, the threshold adjusting module is specifically configured to:
and when the difference value is determined to be not smaller than a preset low threshold value and not larger than a preset high threshold value, reducing a preset hotspot switching threshold value by the absolute value of the preset low threshold value.
In a fourth aspect, the present invention provides a computer storage medium having stored thereon a computer program which, when executed by a processing unit, performs the steps of the method of the first aspect.
In addition, for technical effects brought by any one implementation manner of the second aspect to the fourth aspect, reference may be made to technical effects brought by different implementation manners of the first aspect, and details are not described here.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of a method for hot spot switching according to an embodiment of the present invention.
Fig. 2 is a schematic view of a Wi-Fi roaming hotspot switching scenario provided in an embodiment of the present invention.
Fig. 3 is a flowchart of a hotspot threshold adjustment method according to an embodiment of the present invention.
Fig. 4 is a detailed flowchart of a hotspot switching threshold adjustment method provided in the embodiment of the present invention.
Fig. 5 is a schematic diagram of a hot spot switching device according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of another hot spot switching device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The application scenario described in the embodiment of the present invention is for more clearly illustrating the technical solution of the embodiment of the present invention, and does not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by a person skilled in the art that with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems. In the description of the present invention, the term "plurality" means two or more unless otherwise specified.
The invention provides a method for switching hot spots, which is applied to a terminal and comprises the following steps:
step 101, scanning a first hotspot with the same name as a hotspot currently connected with and a second hotspot with a different name from the first hotspot;
and step 102, determining whether to perform hotspot switching according to the first signal strength value of the first hotspot and the second signal strength value of the second hotspot.
The hotspot may be, but is not limited to, a WiFi hotspot.
The second hot spot is a hot spot of the same channel/adjacent channel as the scanned first hot spot, the same channel refers to a channel with the same hot spot signal frequency, and the adjacent channel refers to an adjacent channel determined when the hot spot signal meets the interference condition based on the communication protocol standard.
The method is applied to the Wi-Fi roaming technology, and not only can the hotspot signal intensity value of the same name of the hotspot currently connected with the terminal be considered when the hotspot is switched, but also the hotspot signal intensity values of different names can be referred, so that the situation that the hotspot is switched to the same name hotspot greatly interfered by different hotspots can be avoided.
As an optional implementation manner, the magnitudes of the first signal strength value of the first hotspot and the second signal strength value of the second hotspot are directly compared, and according to a comparison result, there are two manners of performing hotspot switching:
the first method is as follows: when the second signal intensity value is higher than the first signal intensity value, hot spot switching is not carried out;
specifically, when the second signal strength value is higher than the first signal strength value, the currently connected hotspot is kept from being switched even if the hotspot switching condition is met, for example, the signal strength value of the currently connected hotspot is lower than a hotspot switching threshold value.
The second method comprises the following steps: when the second signal strength value is lower than the first signal strength value:
comparing the first signal strength value with a preset hotspot switching threshold value, if the first signal strength value is higher than the preset hotspot switching threshold value, carrying out hotspot switching, otherwise, not carrying out hotspot switching;
in summary, when the terminal performs hotspot switching, the signal intensity value of the currently connected hotspot/scanned first hotspot is compared with the preset hotspot switching threshold, in the embodiment of the present invention, the hotspot that is compared with the preset hotspot switching threshold is not limited too much, and may be the currently connected hotspot, the scanned same-name hotspot, or the scanned different-name hotspot, and the process of comparing the hotspot with the preset threshold during switching is performed at a certain time interval, or may be a real-time process, and the time interval of the comparison process is not limited too much in the embodiment of the present invention; in addition, the process of scanning the hotspot by the terminal may be scanning at a certain time interval, which may be regarded as a real-time process, and the time interval of the scanning is not limited too much in the embodiment of the present invention. Finally, the process of scanning by the terminal and the process of switching the hot spot by the terminal may be two independent processes or two processes performed alternately, and the process is not limited too much in the embodiment of the present invention.
As another optional implementation manner, when scanning a first hotspot with the same name as a currently connected hotspot and a second hotspot with a different name from the first hotspot, the terminal adjusts a preset hotspot switching threshold according to a first signal strength value of the first hotspot and a second signal strength value of the second hotspot.
In this embodiment, the hotspot switching threshold is dynamically adjusted, and the terminal uses the first signal strength value of the first hotspot and the second signal strength value of the second hotspot as factors for adjusting the switching threshold, so that the hotspot switching threshold can be dynamically adjusted, and interference caused by different hotspots after the terminal switches hotspots due to non-adjustment of the preset hotspot switching threshold is avoided. The following description will be made with reference to specific scenarios.
As shown in fig. 2, the existing Wi-Fi roaming technology is applied to large-scale office or business places such as large enterprises, office buildings, shopping malls, and the like, a plurality of Wi-Fi hotspots "TEST" with the same name are arranged in any one of the places, when the mobile terminal 200 is connected to a first hotspot a at a first location 201 and moves within the coverage area of the plurality of Wi-Fi hotspots, and when the mobile terminal 200 moves to a second location 202, according to a set Wi-Fi hotspot switching threshold, the Wi-Fi hotspot can be automatically switched to a first hotspot b without a user separately and manually connecting other hotspots, but a second hotspot c with the same channel/an adjacent channel as/to the currently connected first hotspot a is also arranged at the second location 202, at this time, the mobile terminal 200 is interfered by the second hotspot c after being connected to the first hotspot b, so as to affect the signal transmission quality of the connected first hotspot a, the experience of the user during Wi-Fi roaming is reduced.
It can be seen that, for the case that the preset hotspot switching threshold value is used to trigger the Wi-Fi hotspot switching, interference influence may be caused on the Wi-Fi hotspot connected to the current terminal by other Wi-Fi hotspots with different names, which are located in the same channel or adjacent channels, connected to the current terminal after switching, and when the number of the Wi-Fi hotspots with different names, which are located in the same channel or adjacent channels and are located near the same position, of the Wi-Fi hotspot connected to the terminal is larger, the signal intensity is stronger, and the larger the interference on the Wi-Fi hotspot connected to the terminal is, the worse the experience of the terminal in connecting to the Wi-Fi hotspot for surfing is.
In order to avoid switching to a hotspot with the same name, which is greatly affected by different hotspots, in this embodiment, a preset hotspot switching threshold value is adjusted according to a difference between a first signal strength value of the first hotspot and a second signal strength value of the second hotspot.
Fig. 3 is a flowchart illustrating the adjustment of the preset hot spot switching threshold in this embodiment, which specifically includes the following steps:
step 301, scanning a first hotspot with the same name as the currently connected hotspot and a second hotspot with a different name from the first hotspot.
Step 302: determining whether the difference between the second signal strength value and the first signal strength value is greater than a preset low threshold, if so, performing step 303, otherwise, performing step 304.
In implementation, for the case that there are a plurality of first hot spots/second hot spots scanned, the following two ways are used to determine whether the difference is greater than the preset low threshold:
the first method is as follows: determining a first signal strength value with the maximum signal strength value of a plurality of scanned first hot spots, determining a second signal strength value with the maximum signal strength value of a plurality of scanned second hot spots, and determining whether the difference value between the second signal strength value and the first signal strength value is greater than a preset low threshold value;
in a second mode, an average value of signal intensity values (higher than a certain value) of a plurality of scanned first hotspots is determined as the first signal intensity value, a second average value of signal intensity values (higher than a certain value) of a plurality of scanned second hotspots is determined as the second signal intensity value, and whether a difference value between the second signal intensity value and the first signal intensity value is greater than a preset low threshold value is determined.
In this embodiment, how to determine the first signal strength value and the second signal strength value is not specifically limited, and may be determined according to actual requirements or user requirements.
Step 303: and reducing a preset hot spot switching threshold value.
The preset hot spot switching threshold value may be defined by the user, or may be factory default.
Specifically, when it is determined that the difference between the second signal strength value and the first signal strength value is greater than the preset low threshold, the preset hot spot switching threshold is reduced by the amplitude value corresponding to the range according to the range in which the difference is located.
According to the range of the difference value, the following two implementation modes are adopted, and the preset hot spot switching threshold value is reduced by the amplitude value corresponding to the range:
1) when the difference value is determined to be larger than a preset high threshold value, reducing a preset hot spot switching threshold value by the preset high threshold value;
the difference is greater than the preset high threshold, which indicates that the second signal strength value is much greater than the first signal strength value, and the second hot spot may generate a large interference to the first hot spot.
2) And when the difference value is determined to be not smaller than a preset low threshold value and not larger than a preset high threshold value, reducing a preset hotspot switching threshold value by the absolute value of the preset low threshold value.
The difference is not smaller than the preset low threshold and not larger than the preset high threshold, which indicates that the second signal strength value is slightly larger than or equal to the first signal strength value, or the second hot spot signal strength is slightly smaller than the first hot spot signal strength, and according to the interference definition, even if the first signal strength value is higher than the second signal strength value within a certain range, the second hot spot can still generate small interference to the first hot spot.
According to interference definition in a communication standard, determining a signal intensity range in which the same channel/adjacent channel can generate interference, and determining a preset low threshold value and a preset high threshold value according to the intensity range. Optionally, the preset low threshold is a negative number, and the preset high threshold is a positive number.
Step 304: and restoring the current hotspot switching threshold value to a preset hotspot switching threshold value.
In summary, according to the two different interference situations, the preset hot spot handover threshold may be adjusted to different degrees, specifically, when it is determined that the difference between the second signal strength value and the first signal strength value is greater than the preset low threshold, according to a range in which the difference is located, the preset hot spot handover threshold is decreased by an amplitude value corresponding to the range, when the second hot spot signal strength is greater than the first hot spot signal strength, the hot spot handover threshold is decreased to a greater degree, when the second hot spot signal strength is slightly greater than or slightly less than the first hot spot signal strength, the hot spot handover threshold is decreased to a lesser degree, and when the second hot spot signal strength is far less than the first hot spot signal strength, the current hot spot handover threshold is restored to the preset hot spot handover threshold. According to the embodiment of the application, the preset hotspot switching threshold value can be adjusted more accurately according to the interference of different hotspots to the same hotspot in different degrees in actual conditions, so that the signal strength of the switching hotspot is ensured, the influence of the interference is considered, and the Wi-Fi roaming experience of a user can be greatly improved.
In order to optimize the hot spot switching threshold value to the greatest extent, the hot spot switching threshold value is dynamically adjusted in consideration of two factors, namely, a hot spot with a different name from a currently connected hot spot, and a difference value between signal strengths of the hot spot with the same name and the hot spot with the different name, a preset hot spot switching threshold value is adjusted, so that the hot spot switching threshold value is an optimal hot spot switching threshold value, a specific implementation procedure of adjusting the hot spot switching threshold value is described with a certain large place shown in fig. 2 as a background, a first position 201 and a second position 202 are respectively provided with a hot spot a with the same name and a first hot spot b, wherein the first hot spot a and the first hot spot b are named as TEST, the distance between the first hot spot a and the first hot spot b is 15 meters, the first hot spot a works at 2412MHz, the first hot spot b works at 2437MHz, and meanwhile, a second hot spot c which works at the same channel as the first hot spot b, and works at 2437MHz is arranged around the first hot spot b at the second position 202, the second hotspot name is GANRAO.
As shown in fig. 4, the specific implementation steps for adjusting the preset hot spot switching threshold value are as follows:
step 401: the terminal 200 connects to the first hot spot a, the scanned first hot spot a and the first hot spot b at the first location 201, and determines a signal strength value.
Specifically, the terminal 200 determines, at the first location 201, that the signal strength RSSI _ a of the first hot spot a is-50 db, and that the signal strength RSSI _ B of the first hot spot B is-73 db.
Step 402: the terminal 200 determines that hotspot switching is not required according to the signal strength values of the first hotspot a and the first hotspot b and a hotspot switching threshold value;
and if the signal strength value of the first hotspot a is higher than the hotspot switching threshold value, determining that hotspot switching is not needed.
Step 403: the terminal 200 moves from the first position 201 to the second position 202, scans the first hot spot a, the first hot spot b and the second hot spot c and determines a signal strength value;
specifically, the signal strength value of the first hotspot B is identified as RSSI _ B, and the signal strength value of the second hotspot c is identified as RSSI _ G.
Step 404: a difference in signal strength values for the first hotspot b and the second hotspot c is determined.
Step 405: and determining whether the difference value is smaller than a preset low threshold value, if so, executing step 406, otherwise, executing step 407.
Step 406: and restoring the current hotspot switching threshold value to a preset hotspot switching threshold value.
Specifically, the preset low threshold is-5 db, and the preset hot spot switching threshold is-70 db;
when RSSI _ G-RSSI _ B < -5db, the current hotspot switching threshold value is restored to-70 db.
Step 407: determining whether the difference is greater than a preset high threshold, if so, performing step 408; otherwise, step 409 is performed.
Step 408: and reducing the preset hot spot switching threshold value by 10 db.
Specifically, the preset high threshold is 10db, and when RSSI _ G-RSSI _ B > 10db, the preset hot spot handover threshold is reduced to-80 db.
Step 409: and when the difference is determined to be not smaller than the preset low threshold and not larger than the preset high threshold, reducing the preset hotspot switching threshold by 5 db.
Specifically, when-5 db is less than or equal to RSSI _ G and RSSI _ B is less than or equal to 10db, the preset hotspot switching threshold value is reduced to-75 db.
The above-mentioned determination process of the range of the difference value may be performed successively or in parallel.
As an optional implementation manner, while adjusting the hotspot switching threshold value described in the foregoing embodiment, the terminal scans a currently connected hotspot and determines a signal strength value of the connected hotspot, and directly performs hotspot switching when the signal strength value of the currently connected hotspot is smaller than the hotspot switching threshold value, and may determine to which hotspot to switch according to the existing manner, which is not described in detail herein.
Example two
Based on the same inventive concept, the second embodiment of the present invention further provides a device for hot spot switching, and since the device is a device in the method in the second embodiment of the present invention, and the principle of the device for solving the problem is similar to that of the method, the implementation of the device may refer to the implementation of the method, and repeated details are omitted.
As shown in fig. 5, the terminal 500 includes: a power supply 501, a processor 502, a memory 503, a display 504, and a Wireless Fidelity (WiFi) module 505. The terminal may further include a Radio Frequency (RF) circuit, an input unit, a camera, a communication interface, and a voice input unit, and it will be understood by those skilled in the art that the structure of the terminal shown in fig. 5 does not constitute a limitation of the terminal, and the terminal provided in the embodiments of the present application may include more or less components than those shown, or may combine some components, or may be arranged in different components.
The following describes the various components of the terminal 500 in detail with reference to fig. 5:
the terminal 500 may communicate with a network and other terminals through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The WiFi technology belongs to a short-distance wireless transmission technology, and the terminal 500 can Access an Access Point (AP) through the WiFi module 505, so as to Access a data network. The WiFi module 505 can be used for receiving and transmitting data during communication.
The display unit 504 may be used to display information input by a user or information provided to the user and various menus of the terminal 500. The display unit 504 is a display system of the terminal 500, and is used for presenting an interface and implementing human-computer interaction.
The memory 503 may be used to store software programs and modules. The processor 502 executes various functional applications and data processing of the terminal 500 by running the software programs and modules stored in the memory 503, and after the processor 502 executes the program codes in the memory 503, part or all of the processes in the method embodiment of the present invention can be implemented.
The processor is specifically configured to perform the steps of:
scanning a first hotspot with the same name as a hotspot currently connected with and a second hotspot with a different name from the first hotspot;
and determining whether to perform hotspot switching according to the first signal strength value of the first hotspot and the second signal strength value of the second hotspot.
In one possible implementation, the processor is specifically configured to:
and adjusting a preset hot spot switching threshold value according to the first signal intensity value of the first hot spot and the second signal intensity value of the second hot spot.
In a possible implementation manner, the second hot spot is a hot spot of the same channel/adjacent channel as the scanned first hot spot.
In one possible implementation, the processor is specifically configured to:
and adjusting a preset hot spot switching threshold value according to the first signal intensity value of the first hot spot and the second signal intensity value of the second hot spot.
In one possible implementation, the processor is specifically configured to:
determining whether the difference value between the second signal strength value and the first signal strength value is greater than a preset low threshold value;
if so, reducing the preset hotspot switching threshold value, otherwise, restoring the current hotspot switching threshold value to the preset hotspot switching threshold value.
In one possible implementation, the processor is specifically configured to:
and when the difference value between the second signal intensity value and the first signal intensity value is larger than a preset low threshold value, reducing the preset hot spot switching threshold value by an amplitude value corresponding to the range according to the range of the difference value, and obtaining the adjusted hot spot switching threshold.
In one possible implementation, the processor is specifically configured to:
and when the difference value is determined to be larger than a preset high threshold value, reducing a preset hot spot switching threshold value by the preset high threshold value.
In one possible implementation, the processor is specifically configured to:
and when the difference value is determined to be not smaller than a preset low threshold value and not larger than a preset high threshold value, reducing a preset hotspot switching threshold value by the absolute value of the preset low threshold value.
In one possible implementation, the processor is specifically configured to: the preset low threshold is a negative value.
EXAMPLE III
Based on the same inventive concept, the embodiment of the present invention further provides a hotspot switching device, and since the device is the device in the method in the embodiment of the present invention, and the principle of the device to solve the problem is similar to that of the method, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 6, the apparatus includes: a scanning module 600 and a switching module 601, wherein:
the scanning module 600 is configured to scan a first hotspot with the same name as a currently connected hotspot and a second hotspot with a different name from the first hotspot;
the switching module 601 is configured to determine whether to perform hotspot switching according to the first signal strength value of the first hotspot and the second signal strength value of the second hotspot.
As an optional implementation manner, the apparatus further includes a threshold adjustment module, configured to:
and adjusting a preset hot spot switching threshold value according to the first signal intensity value of the first hot spot and the second signal intensity value of the second hot spot.
As an optional implementation manner, the second hot spot is a hot spot of the same channel/adjacent channel as the scanned first hot spot.
As an optional implementation manner, the threshold adjusting module is specifically configured to:
and adjusting a preset hot spot switching threshold value according to the first signal intensity value of the first hot spot and the second signal intensity value of the second hot spot.
As an optional implementation manner, the threshold adjusting module is specifically configured to:
determining whether the difference value between the second signal strength value and the first signal strength value is greater than a preset low threshold value;
if so, reducing the preset hotspot switching threshold value, otherwise, restoring the current hotspot switching threshold value to the preset hotspot switching threshold value.
As an optional implementation manner, the threshold adjusting module is specifically configured to:
and when the difference value between the second signal intensity value and the first signal intensity value is larger than a preset low threshold value, reducing the preset hot spot switching threshold value by an amplitude value corresponding to the range according to the range of the difference value, and obtaining the adjusted hot spot switching threshold.
As an optional implementation manner, the threshold adjusting module is specifically configured to:
and when the difference value is determined to be larger than a preset high threshold value, reducing a preset hot spot switching threshold value by the preset high threshold value.
As an optional implementation manner, the threshold adjusting module is specifically configured to:
and when the difference value is determined to be not smaller than a preset low threshold value and not larger than a preset high threshold value, reducing a preset hotspot switching threshold value by the absolute value of the preset low threshold value.
As an alternative embodiment, the preset low threshold is a negative value.
Example four
The present invention provides a computer storage medium having stored thereon a computer program which, when executed by a processing unit, performs the steps of:
scanning a first hotspot with the same name as a hotspot currently connected with and a second hotspot with a different name from the first hotspot;
and determining whether to perform hotspot switching according to the first signal strength value of the first hotspot and the second signal strength value of the second hotspot.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A hotspot switching method is characterized by comprising the following steps:
scanning a first hotspot with the same name as a hotspot currently connected with and a second hotspot with a different name from the first hotspot;
determining that a second signal strength value of the second hotspot is higher than a first signal strength value of the first hotspot, and keeping a currently connected hotspot unchanged;
and determining that the second signal strength value is lower than the first signal strength value, comparing the first signal strength value with a preset hotspot switching threshold value, if the first signal strength value is higher than the preset hotspot switching threshold value, performing hotspot switching, otherwise, not performing hotspot switching, wherein the hotspot switching is to perform switching to the first hotspot.
2. The method of claim 1, wherein scanning for a first hotspot with a same name as a currently connected hotspot and a second hotspot with a different name from the first hotspot further comprises:
and adjusting a preset hot spot switching threshold value according to the first signal intensity value of the first hot spot and the second signal intensity value of the second hot spot.
3. The method of claim 1, wherein the second hot spot is a hot spot of a same/adjacent channel as the scanned first hot spot.
4. The method of claim 2, wherein adjusting a predetermined hot spot handover threshold according to the first signal strength value of the first hot spot and the second signal strength value of the second hot spot comprises:
and adjusting a preset hot spot switching threshold value according to a difference value between the first signal strength value of the first hot spot and the second signal strength value of the second hot spot.
5. The method of claim 4, wherein adjusting the predetermined hot spot handover threshold according to the difference between the first signal strength value and the second signal strength value comprises:
determining whether the difference value between the second signal strength value and the first signal strength value is greater than a preset low threshold value;
if so, reducing the preset hotspot switching threshold value, otherwise, restoring the current hotspot switching threshold value to the preset hotspot switching threshold value.
6. The method of claim 5, wherein reducing the predetermined hot spot handoff threshold comprises:
and when the difference value between the second signal intensity value and the first signal intensity value is larger than a preset low threshold value, reducing a preset hot spot switching threshold value by an amplitude value corresponding to the range according to the range of the difference value.
7. The method of claim 6, wherein reducing the predetermined hot spot switching threshold by the amplitude value corresponding to the range according to the range in which the difference is located comprises:
and when the difference value is determined to be larger than a preset high threshold value, reducing a preset hot spot switching threshold value by the preset high threshold value.
8. The method of claim 6, wherein reducing the predetermined hot spot switching threshold by the amplitude value corresponding to the range according to the range in which the difference is located comprises:
and when the difference value is determined to be not smaller than a preset low threshold value and not larger than a preset high threshold value, reducing a preset hotspot switching threshold value by the absolute value of the preset low threshold value.
9. An apparatus for hotspot switching, the apparatus comprising: a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the processor to perform the steps of:
scanning a first hotspot with the same name as a hotspot currently connected with and a second hotspot with a different name from the first hotspot;
determining that a second signal strength value of the second hotspot is higher than a first signal strength value of the first hotspot, and keeping a currently connected hotspot unchanged;
and determining that the second signal strength value is lower than the first signal strength value, comparing the first signal strength value with a preset hotspot switching threshold value, if the first signal strength value is higher than the preset hotspot switching threshold value, performing hotspot switching, otherwise, not performing hotspot switching, wherein the hotspot switching is to perform switching to the first hotspot.
10. The device of claim 9, wherein the processor is further configured to:
and adjusting a preset hot spot switching threshold value according to the first signal intensity value of the first hot spot and the second signal intensity value of the second hot spot.
CN201910080699.XA 2019-01-28 2019-01-28 Hotspot switching method and device Active CN111491337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910080699.XA CN111491337B (en) 2019-01-28 2019-01-28 Hotspot switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910080699.XA CN111491337B (en) 2019-01-28 2019-01-28 Hotspot switching method and device

Publications (2)

Publication Number Publication Date
CN111491337A CN111491337A (en) 2020-08-04
CN111491337B true CN111491337B (en) 2022-01-28

Family

ID=71795844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910080699.XA Active CN111491337B (en) 2019-01-28 2019-01-28 Hotspot switching method and device

Country Status (1)

Country Link
CN (1) CN111491337B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115243335B (en) * 2022-08-01 2024-06-07 普联技术有限公司 Terminal roaming setting method, device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917424A (en) * 2012-10-25 2013-02-06 陕西科技大学 AP (application process) switching method used in WiFi (wireless fidelity) communication
CN107113669A (en) * 2014-12-18 2017-08-29 高通股份有限公司 Scanning channel reduces to improve WI FI system powers
CN108076464A (en) * 2017-12-13 2018-05-25 上海连尚网络科技有限公司 A kind of Wi-Fi hotspot connection bootstrap technique, equipment and medium in terminal
CN108834164A (en) * 2018-04-17 2018-11-16 中兴通讯股份有限公司 WiFi connection control method, device and equipment, storage medium
CN109257783A (en) * 2018-11-09 2019-01-22 浙江国自机器人技术有限公司 A kind of roaming switching method, device, system and readable storage medium storing program for executing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI109163B (en) * 2000-02-24 2002-05-31 Nokia Corp Method and apparatus for supporting mobility in a telecommunication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917424A (en) * 2012-10-25 2013-02-06 陕西科技大学 AP (application process) switching method used in WiFi (wireless fidelity) communication
CN107113669A (en) * 2014-12-18 2017-08-29 高通股份有限公司 Scanning channel reduces to improve WI FI system powers
CN108076464A (en) * 2017-12-13 2018-05-25 上海连尚网络科技有限公司 A kind of Wi-Fi hotspot connection bootstrap technique, equipment and medium in terminal
CN108834164A (en) * 2018-04-17 2018-11-16 中兴通讯股份有限公司 WiFi connection control method, device and equipment, storage medium
CN109257783A (en) * 2018-11-09 2019-01-22 浙江国自机器人技术有限公司 A kind of roaming switching method, device, system and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN111491337A (en) 2020-08-04

Similar Documents

Publication Publication Date Title
JP7027662B2 (en) Measurement reporting method and related devices
US11019549B2 (en) Cell handover method and apparatus
US10356681B2 (en) Client roaming in a distributed multi-band wireless networking system
EP3925286B1 (en) Communications device and method for adapting relaxed radio measurement procedure
CN106332201B (en) Wireless hotspot switching method and mobile terminal
CN104244283B (en) Wireless communication method and wireless communication device
WO2018082904A1 (en) Communications device and method
US9992733B2 (en) Device and method for opportunistic roaming
CN111083738B (en) Load balancing method and equipment
US20110009149A1 (en) Wireless communication method, base station, indoor communication system and handover method
CN105517076A (en) Cell reselection method and device for mobile terminal
CN105282683A (en) Mobile communication device and wireless communication method
CN108541029B (en) Cell switching method and device
CN111543082B (en) Cell configuration device and method
US20130295928A1 (en) User terminal and communication method
EP2892265A1 (en) Method, device and system for processing communication service
US20170134959A1 (en) Wireless communication system, base station apparatus, and method for controlling wireless communication system
CN111491337B (en) Hotspot switching method and device
JP2016158192A (en) Terminal, wireless communication system, and message transmission method
CN103167567B (en) The method and apparatus of mobile terminal base station shifting
JP4927958B2 (en) Mobile station with semi-active mode
JP2007503745A (en) Method and apparatus for parameter re-encoding
US11452008B2 (en) Wireless roaming method, access point device, and mobile station
CN102986260B (en) A kind of base station sub-system knows the method and apparatus of capacity of mobile terminal
US20230199590A1 (en) Variable time-to-trigger value for transmission of measurement report for wireless networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder