CN111918350A - Wireless roaming method, device, equipment and storage medium - Google Patents

Wireless roaming method, device, equipment and storage medium Download PDF

Info

Publication number
CN111918350A
CN111918350A CN202010750257.4A CN202010750257A CN111918350A CN 111918350 A CN111918350 A CN 111918350A CN 202010750257 A CN202010750257 A CN 202010750257A CN 111918350 A CN111918350 A CN 111918350A
Authority
CN
China
Prior art keywords
roaming
aps
information
stored
wireless
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.)
Pending
Application number
CN202010750257.4A
Other languages
Chinese (zh)
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.)
Spreadtrum Semiconductor Chengdu Co Ltd
Original Assignee
Spreadtrum Semiconductor Chengdu 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 Spreadtrum Semiconductor Chengdu Co Ltd filed Critical Spreadtrum Semiconductor Chengdu Co Ltd
Priority to CN202010750257.4A priority Critical patent/CN111918350A/en
Publication of CN111918350A publication Critical patent/CN111918350A/en
Pending legal-status Critical Current

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
    • H04W36/00837Determination of triggering parameters for hand-off
    • 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
    • H04W36/0085Hand-off measurements
    • 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 application provides a wireless roaming method, a device, equipment and a storage medium, wherein the method comprises the following steps: if the signal strength value of the currently connected second wireless access point AP is lower than a signal threshold value or the loss number of beacons reaches a roaming threshold value, searching whether information of one or more first roaming APs is stored, wherein the ID SSID of the first roaming AP is the same as the SSID of the second AP, and the encryption mode of the first roaming AP is the same as that of the second AP; if the information of the one or more first roaming APs is stored, a target AP for roaming is selected from the one or more first roaming APs. By implementing the method and the device, the optimal target AP can be quickly and efficiently found for roaming, and the influence of a wireless roaming process on the service is reduced.

Description

Wireless roaming method, device, equipment and storage medium
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a wireless roaming method, apparatus, device, and storage medium.
Background
During the moving process of the terminal device, the signal strength may be low, or a beacon loss (beacon loss) may occur continuously. This indicates that the signal quality of the current wireless network is poor and insufficient to support the current service of the terminal device. Especially for some services with high real-time requirements, such as network video, network conference, etc. If the roaming handover network cannot be performed quickly, the current service connection is interrupted.
Therefore, how to quickly and efficiently find the best wireless access point for roaming is an urgent problem to be solved.
Disclosure of Invention
The application discloses a wireless roaming method, a device, equipment and a storage medium, which can quickly and efficiently find out the optimal target AP for roaming and reduce the influence of a wireless roaming process on services.
The application provides a wireless roaming method, which comprises the following steps:
if the signal strength value of a second wireless Access Point (AP) which is currently connected is lower than a signal threshold value or the loss number of beacons reaches a roaming threshold value, searching whether information of one or more first roaming APs is stored, wherein the ID SSID of the first roaming AP is the same as the SSID of the second AP, and the encryption mode of the first roaming AP is the same as that of the second AP;
and if the information of the one or more first roaming APs is stored, selecting a target AP for roaming from the one or more first roaming APs.
The application provides a wireless roaming device, which includes:
a searching unit, configured to search whether information of one or more first roaming APs is stored if a signal strength value of a currently connected second wireless access point AP is lower than a signal threshold or a beacon loss number reaches a roaming threshold, where an identity SSID of the first roaming AP is the same as an SSID of the second AP, and an encryption manner of the first roaming AP is the same as an encryption manner of the second AP;
a selecting unit, configured to select a target AP for roaming from the one or more first roaming APs if the information of the one or more first roaming APs is stored.
The present application provides a wireless roaming device, including:
a memory comprising computer readable instructions;
a processor coupled to the memory, the processor configured to execute the computer-readable instructions to cause the wireless roaming device to perform the wireless roaming method described above.
A computer-readable storage medium is provided that stores one or more instructions adapted to be loaded by a processor and to perform the above-described wireless roaming method.
In the method, when the signal strength value of a second AP currently connected with the terminal equipment is lower than a signal threshold value or the beacon loss number reaches a roaming threshold value, the terminal equipment is triggered to roam; the terminal equipment selects the AP with the best signal quality from the stored roaming APs meeting the roaming conditions for roaming. Therefore, by implementing the method and the device, the optimal target AP can be quickly and efficiently found for roaming, and the influence of a wireless roaming process on the service is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for a person of ordinary skill in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a system framework diagram of a wireless roaming method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a wireless roaming method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating another wireless roaming method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating another wireless roaming method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a wireless roaming device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a wireless roaming apparatus according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and 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 application. In addition, the features in the embodiments and the examples described below may be combined with each other without conflict.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a system framework diagram of a wireless roaming method according to an embodiment of the present disclosure. As shown in fig. 1, the wireless roaming system includes a terminal device 101 and an Access Point (AP) 102. Among them, the terminal device 101 may also be called a Station (STA), and the terminal device 101 in the coverage of the wireless access point 102 may communicate through the wireless access point. The wireless access point 102 may convert a wired local area network to a wireless local area network to provide mutual access between the terminal device and the wired local area network. The number of the wireless access points 102 shown in fig. 1 is only an example, and the application does not limit the number of the access points. The wireless access point 102 may be multiple, for example: the wireless access point to which the terminal device 101 is currently connected, other wireless access points, and the like.
The terminal device may include, but is not limited to: smart phones (such as Android phones, iOS phones, etc.), tablet computers, portable personal computers, Mobile Internet Devices (MID for short), smart terminals (such as smart watches, bracelets, smart speakers, etc.), and the like.
The wireless roaming method provided by the present application is explained based on the system framework of the wireless roaming method. Referring to fig. 2, fig. 2 is a flowchart illustrating a wireless roaming method according to an embodiment of the present application, and as shown in fig. 2, the wireless roaming method includes, but is not limited to, the following steps:
s201: if the signal strength value of the currently connected second AP is lower than the signal threshold or the beacon loss number reaches the roaming threshold, the terminal device searches whether the information of one or more first roaming APs is stored.
When the signal strength value of the currently connected second AP is lower than the signal threshold or the beacon loss number reaches the roaming threshold, which indicates that the signal quality of the wireless network is poor and is not enough to support the current user service, the terminal device may be triggered to roam, and it is searched whether information of one or more first roaming APs is stored.
The signal threshold and the roaming threshold may be set by a user according to an actual application, and the embodiment of the present application is not limited. The second AP is the AP to which the terminal device is connected before triggering roaming. The first roaming AP is an AP that meets roaming conditions. Exemplary roaming conditions include: the Service Set Identifier (SSID) of the first roaming AP is the same as the SSID of the second AP, and the encryption method of the first roaming AP is the same as the encryption method of the second AP. Optionally, the roaming condition may further include: the signal strength value of the first roaming AP is greater than the signal threshold or the number of beacon losses is less than the roaming threshold.
The information of the first roaming AP includes, but is not limited to, the MAC Address (Media access control Address) of the AP, the channel (channel), the signal strength, the load, and the timestamp when the AP is scanned. Optionally, the storage manner of the information of the first roaming AP is not limited. For example, an AP information table may be established in which information for one or more first roaming APs is stored. Illustratively, as shown in table 1, table 1 is one possible implementation form of the AP information table.
TABLE 1
Indexing MAC address Channel with a plurality of channels Time stamp Signal strength Load(s)
000 xxx xxx xxx xxx xxx
Optionally, the terminal device is connected to the second AP, and the background performs periodic full channel scanning during service processing through the wireless network provided by the second AP. And when the background carries out periodic full-channel scanning, updating the AP information table according to the scanned information of the first roaming AP. Namely, if the terminal device scans a new AP meeting roaming conditions in the current environment, the new AP is added to the AP information table. Therefore, in the process of moving the terminal equipment, the AP meeting the roaming condition can be found in real time. Optionally, if it is found that the information of the first roaming AP stored in the AP information table is changed during scanning, the information of the AP is updated. If the signal quality of the first roaming AP information is found not to meet the roaming condition, the AP may be deleted from the AP information table. In the process of moving the terminal device, it can be ensured that the APs in the AP information table are all APs meeting roaming conditions.
Optionally, a timestamp when the first roaming AP is scanned is recorded in the AP information table, the information of the first roaming AP whose aging time reaches the time threshold in the AP information table is deleted according to the timestamp, and the aging time represents a duration of the current time from the timestamp. The time threshold value can be set in a self-defined mode according to the practical application condition. Illustratively, the time threshold is 60 seconds, and if the aging time of the AP1 exceeds 60 seconds, the AP1 is deleted from the AP information table. In the moving process of the terminal equipment, the first roaming AP with the aging time exceeding the time threshold is deleted, so that the real-time performance of the AP information in the AP information table can be ensured. Meanwhile, the situation that the state of the first roaming AP is changed but the mobile terminal considers that the AP meets the roaming condition is avoided.
S202: if the information of the one or more first roaming APs is stored, the terminal device selects a target AP for roaming from the one or more first roaming APs.
Wherein the target AP represents an AP with the best signal quality among the one or more first roaming APs, and the signal quality may be determined according to a roaming AP selection algorithm. Such as calculating the signal quality of the AP from the signal strength and the load of the AP.
In a possible implementation manner, if information of a first roaming AP is stored, the first roaming AP is the target AP. The terminal equipment disconnects the second AP which is connected currently and connects to the first roaming AP. By the method, the terminal equipment can directly roam through the stored first roaming AP after roaming is triggered, so that the time spent on scanning the target AP for a long time before roaming is skipped, the roaming processing process is accelerated, and the influence of the roaming process on the normal service of a user can be reduced.
In one possible implementation, if information of a plurality of first roaming APs is stored, a target AP for roaming is selected from the plurality of first roaming APs according to a roaming AP selection algorithm. The terminal equipment disconnects the second AP which is connected currently and connects to the target AP. By the method, the terminal equipment can directly select the target AP from the stored multiple first roaming APs for roaming after triggering roaming, so that the time spent on scanning the target AP for a long time before roaming is skipped, the roaming processing process is accelerated, and the influence of the roaming process on the normal service of a user can be reduced.
In the embodiment of the application, when the signal strength value of the second AP currently connected with the terminal equipment is lower than the signal threshold value or the beacon loss number reaches the roaming threshold value, the terminal equipment is triggered to roam; the terminal equipment selects the AP with the best signal quality from the stored roaming APs meeting the roaming conditions for roaming. Therefore, by implementing the method and the device, the optimal target AP can be quickly and efficiently found for roaming, and the influence of a wireless roaming process on the service is reduced.
Referring to fig. 3, fig. 3 is a flowchart illustrating another wireless roaming method according to an embodiment of the present application, and as shown in fig. 3, the wireless roaming method includes, but is not limited to, the following steps:
s301: and if the signal strength value of the currently connected second wireless access point AP is lower than the signal threshold or the beacon loss number reaches the roaming threshold, searching whether the information of one or more first roaming APs is stored.
The implementation of this step can refer to the description in step S201 in the above description, and is not described herein again.
S302: if the information of the one or more first roaming APs is stored, a target AP for roaming is selected from the one or more first roaming APs.
The implementation of this step can refer to the description in step S202 in the above description, and is not described herein again.
S303: and if the information of one or more first roaming APs is not stored, searching whether the AP channel list information is stored or not.
The AP channel list information is used for recording the channel information of the AP which is the same as the SSID of the second AP. The AP channel list information includes, but is not limited to: after the terminal device is connected to the second AP, in the background scanning process, the channel information of the AP with the same SSID as the second AP and a different MAC address (also referred to as Basic Service Set, BSSID) is recorded. The storage mode of the AP channel list information is not limited, and may be a part in the AP information table, or may be an independent AP channel list. Illustratively, the AP channel list includes index values and channel information of the AP, and the index values correspond to the channel information of the AP one to one.
S304: and if the AP channel list information is stored, scanning channels in the channels recorded by the AP channel list information according to the SSID of the second AP.
Optionally, the terminal device configures the relevant scanning parameters after triggering the channel scanning. Exemplarily, configuring the scanned channel as a channel in an AP channel list; the SSID is designated as the SSID of the second AP and then scanned. Therefore, the scanning range of the terminal device becomes smaller, and the computing resources of the terminal device can be reduced.
S305: if one or more third roaming APs are scanned, a target AP for roaming is selected from the one or more third roaming APs.
Wherein the third roaming AP is a scanned AP meeting the roaming condition. In the scanning process, if a beacon or a probe response frame (probe response) replied by one or more APs is received, it indicates that the scanned one or more third roaming APs meet the roaming condition. It should be noted that, if the third roaming AP replies the beacon or the probe response frame, it indicates that the SSID of the third roaming AP is the same as the SSID of the second AP, and the encryption method of the third roaming AP is the same as the encryption method of the second AP.
Optionally, the terminal device calculates roaming values of one or more third roaming APs according to a roaming AP selection algorithm; selecting a third roaming AP with the largest roaming value as a target AP; wherein the roaming value is used to indicate the load capacity and signal strength of the AP in the one or more third roaming APs, and the larger the roaming value is, the better the signal quality of the AP is. Optionally, an index value of a target AP having a largest roaming value among the plurality of third roaming APs is recorded. And after the scanning is finished, roaming to the target AP according to the index value.
Optionally, after roaming is successful, the roaming AP channel information recorded in the AP channel list is eliminated. The roaming AP channel information is then re-recorded based on the target AP (which may be understood as a new second AP) to form an AP channel list. Because the terminal equipment is in a mobile state, the roaming AP channel information recorded in the AP channel list is continuously updated, and the information of the roaming AP channel can be ensured to be real-time and accurate from one environment to another new environment.
In the embodiment of the application, when the signal strength value of the AP currently connected with the terminal equipment is lower than a signal threshold value or the loss number of beacons reaches a roaming threshold value, the terminal equipment is triggered to roam; if the terminal device does not find the stored roaming AP meeting the roaming condition, scanning again in the previously scanned channel recorded by the terminal device according to the SSID of the currently connected AP, and selecting the AP with the best signal quality for roaming after obtaining the roaming AP meeting the roaming condition. Therefore, by implementing the present application, the scanning range is reduced, the scanning results that the terminal device needs to process become less, and the computing resources of the terminal device can be reduced.
Referring to fig. 4, fig. 4 is a flowchart illustrating another wireless roaming method according to an embodiment of the present application, as shown in fig. 4, the wireless roaming method includes, but is not limited to, the following steps:
s401: and if the signal strength value of the currently connected second wireless access point AP is lower than the signal threshold or the beacon loss number reaches the roaming threshold, searching whether the information of one or more first roaming APs is stored.
S402: if the information of the one or more first roaming APs is stored, a target AP for roaming is selected from the one or more first roaming APs.
S403: and if the information of one or more first roaming APs is not stored, searching whether the AP channel list information is stored or not.
S404: and if the AP channel list information is stored, scanning channels in the channels recorded by the AP channel list information according to the SSID of the second AP. Then, step S406 is performed.
The implementation of steps S401 to S404 can refer to the description of steps S301 to S304 in the above description, and the description thereof is omitted here.
S405: and if the AP channel list information is not stored, performing full channel scanning according to the SSID of the second AP.
And after triggering full channel scanning, the terminal equipment configures relevant scanning parameters. Illustratively, the SSID is designated as the SSID of the second AP, and then a full channel scan is performed. Therefore, only the AP with the SSID same as that of the second AP responds to the full channel scan of the terminal device and feeds back a probe response frame; the APs with different SSIDs from the SSID of the second AP do not respond to the full channel scan of the terminal device; the scanning results that the terminal device needs to process become less, and the computing resources of the terminal device can be reduced. Meanwhile, the appointed SSID is the same as the SSID of the currently connected AP during scanning, so that the problem that the roaming AP with the hidden SSID cannot be scanned is solved.
S406: if one or more third roaming APs are scanned, a target AP for roaming is selected from the one or more third roaming APs.
The implementation of step S406 can refer to the description of step S305 in the above description, and is not repeated here.
S407: if one or more third roaming APs are not scanned, the scanning frequency of the full channel scan is decreased.
And if the target AP meeting the roaming condition is not found in the current environment, reducing the scanning frequency of full channel scanning. It should be noted that, each time the full channel scan is performed, the SSID needs to be designated as the SSID of the second AP. For example, if the time interval of the terminal device originally performing the full channel scanning is 10 seconds, but the target AP meeting the roaming condition is not found in the current environment, the time interval of the scanning may be increased to 15 seconds. By reducing the scanning frequency, further deterioration of the user network can be avoided.
In the embodiment of the application, when the signal strength value of the AP currently connected with the terminal equipment is lower than a signal threshold value or the loss number of beacons reaches a roaming threshold value, the terminal equipment is triggered to roam; if the terminal device does not find the stored roaming AP meeting the roaming condition and does not find the recorded previously scanned channel, performing full channel scanning of the specified SSID; and if the roaming AP meeting the roaming condition is not scanned in the full channel scanning, reducing the scanning frequency of the full channel scanning. Therefore, by implementing the present application, further deterioration of the user network can be avoided.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a wireless roaming apparatus 50 according to an embodiment of the present application, where the wireless roaming apparatus 50 may be mounted on a terminal device in the foregoing method embodiment. The wireless roaming device 50 shown in fig. 5 may be used to perform some or all of the functions of the method embodiments described in fig. 2-4 above. Wherein, the detailed description of each unit is as follows:
a searching unit 501, configured to search whether information of one or more first roaming APs is stored if a signal strength value of a currently connected second wireless access point AP is lower than a signal threshold or a beacon loss number reaches a roaming threshold, where an identity SSID of the first roaming AP is the same as an SSID of the second AP, and an encryption manner of the first roaming AP is the same as an encryption manner of the second AP.
A selecting unit 502, configured to select a target AP for roaming from the one or more first roaming APs if the information of the one or more first roaming APs is stored.
In an embodiment, the selecting unit 502 is further configured to:
if the information of one or more first roaming APs is not stored, searching whether AP channel list information is stored or not, wherein the AP channel list information is used for recording the channel information of the AP with the same SSID as that of the second AP;
if the AP channel list information is stored, channel scanning is carried out in the channel recorded by the AP channel list information according to the SSID of the second AP;
if one or more third roaming APs are scanned, a target AP for roaming is selected from the one or more third roaming APs.
In an embodiment, the selecting unit 502 is further configured to:
if the AP channel list information is not stored, performing full channel scanning according to the SSID of the second AP;
if one or more third roaming APs are scanned, a target AP for roaming is selected from the one or more third roaming APs.
In an embodiment, the selecting unit 502 is specifically configured to:
calculating roaming values of one or more third roaming APs according to a roaming AP selection algorithm;
selecting a third roaming AP with the largest roaming value as a target AP;
wherein the roaming value is used to indicate the load capacity and signal strength of the AP in the one or more third roaming APs, and the larger the roaming value is, the better the signal quality of the AP is.
In an embodiment, the selecting unit 502 is further configured to:
if one or more third roaming APs are not scanned, the scanning frequency of the full channel scan is decreased.
In an embodiment, the information of the first roaming AP is stored in an AP information table, and the selecting unit 502 is further configured to:
and when the background carries out periodic full-channel scanning, updating the AP information table according to the scanned information of the first roaming AP.
In an embodiment, the AP information table records a timestamp when the first roaming AP is scanned, and the selecting unit 502 is further configured to:
and deleting the information of the first roaming AP with the aging time reaching the time threshold in the AP information table according to the timestamp, wherein the aging time represents the time length between the current time and the timestamp.
According to an embodiment of the present application, some steps involved in the wireless roaming method shown in fig. 2 to 4 may be performed by various modules in the wireless roaming apparatus shown in fig. 5. For example, step S201 shown in fig. 2 may be performed by the search unit 501 shown in fig. 5, and step S202 may be performed by the selection unit 502 shown in fig. 5. The units in the wireless roaming device shown in fig. 5 may be respectively or entirely combined into one or several other units to form one or several other units, or some unit(s) may be further split into multiple functionally smaller units to form one or several other units, which may achieve the same operation without affecting the achievement of the technical effect of the embodiments of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the wireless roaming device may also include other units, and in practical applications, these functions may also be implemented by the assistance of other units, and may be implemented by cooperation of multiple units.
According to another embodiment of the present application, the wireless roaming apparatus as shown in fig. 5 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the respective methods as shown in fig. 2 to 4 on a general-purpose computing apparatus such as a computer including a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and the like as well as a storage element, and the wireless roaming method of the embodiment of the present application may be implemented. The computer program may be embodied on a computer-readable storage medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable storage medium.
Based on the same inventive concept, the principle and the advantageous effect of the wireless roaming device for solving the problem provided in the embodiment of the present application are similar to the principle and the advantageous effect of the wireless roaming method for solving the problem in the embodiment of the present application, and for brevity, the principle and the advantageous effect of the implementation of the method can be referred to, and are not described herein again.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a wireless roaming device according to an embodiment of the present application, where the wireless roaming device may be a terminal device in a method embodiment. The wireless roaming device comprises at least a processor 601, a communication interface 602 and a memory 603. The processor 601, the communication interface 602, and the memory 603 may be connected by a bus or other means, and the embodiment of the present application is exemplified by being connected by a bus. The processor 601 (or Central Processing Unit, CPU) is a computing core and a control core of the device, and can analyze various instructions in the device and various data of the Processing device, for example: the CPU can be used for analyzing a power-on and power-off instruction sent to the equipment by a user and controlling the equipment to carry out power-on and power-off operation; the following steps are repeated: the CPU may transmit various types of interactive data between the internal structures of the device, and so on. The communication interface 602 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI, mobile communication interface, etc.), and may be controlled by the processor 601 to transmit and receive data; the communication interface 602 may also be used for transmission and interaction of data internal to the device. A Memory 603(Memory) is a Memory device in the device for storing programs and data. It is understood that the memory 603 herein may include both the built-in memory of the device and, of course, the expansion memory supported by the device. The memory 603 provides storage space that stores the operating system of the device, which may include, but is not limited to: android system, iOS system, Windows Phone system, etc., which are not limited in this application.
In the embodiment of the present application, the processor 601 executes the executable program code in the memory 603 to perform the following operations:
if the signal strength value of a second wireless Access Point (AP) which is currently connected is lower than a signal threshold value or the loss number of beacons reaches a roaming threshold value, searching whether information of one or more first roaming APs is stored, wherein the ID SSID of the first roaming AP is the same as the SSID of the second AP, and the encryption mode of the first roaming AP is the same as that of the second AP;
and if the information of the one or more first roaming APs is stored, selecting a target AP for roaming from the one or more first roaming APs.
As an alternative embodiment, the processor 601 executes the executable program code in the memory 603 to perform the following operations:
if the information of one or more first roaming APs is not stored, searching whether AP channel list information is stored or not, wherein the AP channel list information is used for recording the channel information of the AP with the same SSID as that of the second AP;
if the AP channel list information is stored, channel scanning is carried out in the channel recorded by the AP channel list information according to the SSID of the second AP;
if one or more third roaming APs are scanned, a target AP for roaming is selected from the one or more third roaming APs.
As an alternative implementation, the processor 601 specifically performs the following operations by running the executable program code in the memory 603:
if the AP channel list information is not stored, performing full channel scanning according to the SSID of the second AP;
if one or more third roaming APs are scanned, a target AP for roaming is selected from the one or more third roaming APs.
As an alternative implementation, the processor 601 specifically performs the following operations by running the executable program code in the memory 603:
calculating roaming values of one or more third roaming APs according to a roaming AP selection algorithm;
selecting a third roaming AP with the largest roaming value as a target AP;
wherein the roaming value is used to indicate the load capacity and signal strength of the AP in the one or more third roaming APs, and the larger the roaming value is, the better the signal quality of the AP is.
As an alternative embodiment, the processor 601 executes the executable program code in the memory 603 to perform the following operations:
if one or more third roaming APs are not scanned, the scanning frequency of the full channel scan is decreased.
As an alternative embodiment, the information of the first roaming AP is stored in the AP information table, and the processor 601 executes the executable program code in the memory 603 to perform the following operations:
and when the background carries out periodic full-channel scanning, updating the AP information table according to the scanned information of the first roaming AP.
As an alternative embodiment, the AP information table records a timestamp when the first roaming AP is scanned, and the processor 601 executes the executable program code in the memory 603 to perform the following operations:
and deleting the information of the first roaming AP with the aging time reaching the time threshold in the AP information table according to the timestamp, wherein the aging time represents the time length between the current time and the timestamp.
Based on the same inventive concept, the principle and the beneficial effect of the problem solving of the wireless roaming device provided in the embodiment of the present application are similar to the principle and the beneficial effect of the problem solving of the wireless roaming method in the embodiment of the present application, and for brevity, the principle and the beneficial effect of the implementation of the method can be referred to, and are not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, where one or more instructions are stored in the computer-readable storage medium, and the one or more instructions are adapted to be loaded by a processor and perform the wireless roaming method described in the above method embodiment.
Embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the wireless roaming method described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the order of acts described, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the device can be merged, divided and deleted according to actual needs.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, which may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of wireless roaming, the method comprising:
if the signal strength value of a second wireless Access Point (AP) which is currently connected is lower than a signal threshold value or the loss number of beacons reaches a roaming threshold value, searching whether information of one or more first roaming APs is stored, wherein the ID SSID of the first roaming AP is the same as the SSID of the second AP, and the encryption mode of the first roaming AP is the same as that of the second AP;
and if the information of the one or more first roaming APs is stored, selecting a target AP for roaming from the one or more first roaming APs.
2. The method of claim 1, further comprising:
if the information of the one or more first roaming APs is not stored, searching whether AP channel list information is stored or not, wherein the AP channel list information is used for recording the channel information of the AP with the same SSID as that of the second AP;
if the AP channel list information is stored, scanning channels in channels recorded by the AP channel list information according to the SSID of the second AP;
if one or more third roaming APs are scanned, a target AP for roaming is selected from the one or more third roaming APs.
3. The method of claim 2, further comprising:
if the AP channel list information is not stored, carrying out full channel scanning according to the SSID of the second AP;
if one or more third roaming APs are scanned, a target AP for roaming is selected from the one or more third roaming APs.
4. The method of claim 2 or 3, wherein the selecting the target AP for roaming from the one or more third roaming APs comprises:
calculating roaming values for the one or more third roaming APs according to a roaming AP selection algorithm;
selecting a third roaming AP with the largest roaming value as a target AP;
wherein the roaming value is used to indicate the load capacity and signal strength of the AP in the one or more third roaming APs, and the larger the roaming value is, the better the signal quality of the AP is.
5. The method of claim 3, further comprising:
if the one or more third roaming APs are not scanned, the scanning frequency of the full channel scanning is reduced.
6. The method of claim 1, wherein information for the first roaming AP is stored in an AP information table, the method further comprising:
and when the background carries out periodic full-channel scanning, updating the AP information table according to the scanned information of the first roaming AP.
7. The method of claim 6, wherein the AP information table has a timestamp recorded when the first roaming AP is scanned, the method further comprising:
and deleting the information of the first roaming AP with the aging time reaching a time threshold in the AP information table according to the timestamp, wherein the aging time represents the time length between the current time and the timestamp.
8. A wireless roaming apparatus, characterized in that the apparatus comprises:
a searching unit, configured to search whether information of one or more first roaming APs is stored if a signal strength value of a currently connected second wireless access point AP is lower than a signal threshold or a beacon loss number reaches a roaming threshold, where an identity SSID of the first roaming AP is the same as an SSID of the second AP, and an encryption manner of the first roaming AP is the same as an encryption manner of the second AP;
a selecting unit, configured to select a target AP for roaming from the one or more first roaming APs if the information of the one or more first roaming APs is stored.
9. A wireless roaming device, characterized in that the device comprises:
a memory comprising computer readable instructions;
a processor coupled to the memory, the processor configured to execute the computer-readable instructions to cause the wireless roaming device to perform the wireless roaming method of any one of claims 1-7.
10. A computer-readable storage medium having stored thereon instructions which, when executed on a computer, cause the computer to perform the wireless roaming method of any one of claims 1-7.
CN202010750257.4A 2020-07-30 2020-07-30 Wireless roaming method, device, equipment and storage medium Pending CN111918350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010750257.4A CN111918350A (en) 2020-07-30 2020-07-30 Wireless roaming method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010750257.4A CN111918350A (en) 2020-07-30 2020-07-30 Wireless roaming method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111918350A true CN111918350A (en) 2020-11-10

Family

ID=73287380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010750257.4A Pending CN111918350A (en) 2020-07-30 2020-07-30 Wireless roaming method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111918350A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630828A (en) * 2021-10-11 2021-11-09 江苏东大集成电路***工程技术有限公司 Wireless roaming method, device, computer equipment and storage medium
CN114531712A (en) * 2022-02-23 2022-05-24 北京小米移动软件有限公司 Wireless communication method and apparatus, mobile terminal, and non-transitory readable storage medium
CN115243336A (en) * 2022-09-23 2022-10-25 武汉蜂巢易网科技有限公司 Method for preventing wireless terminal from switching among multiple APs
CN115243335A (en) * 2022-08-01 2022-10-25 普联技术有限公司 Terminal roaming setting method and device, terminal equipment and storage medium
CN115438095A (en) * 2022-08-31 2022-12-06 中华人民共和国广东海事局 Position information processing method, position information processing device, computer equipment and storage medium
EP4203557A4 (en) * 2021-01-27 2024-05-22 Samsung Electronics Co Ltd Electronic device, and wifi-based roaming method on electronic device
CN115243335B (en) * 2022-08-01 2024-06-07 普联技术有限公司 Terminal roaming setting method, device, terminal equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483894A (en) * 2009-01-06 2009-07-15 北京交通大学 Fast switching method for WLAN
CN101521924A (en) * 2009-04-27 2009-09-02 杭州华三通信技术有限公司 Switching method and device of wireless local area network
EP2498551A1 (en) * 2011-03-08 2012-09-12 Research In Motion Limited Improved Wi-Fi network access and a mobile terminal configured for the same
CN104602312A (en) * 2015-01-30 2015-05-06 海信集团有限公司 Wireless channel switching method and AP (Access Point)
CN105898808A (en) * 2015-11-25 2016-08-24 北京邮电大学 Handover decision method based on frame loss rate and received signal strength in IEEE 802.11 network
US20160286600A1 (en) * 2015-03-26 2016-09-29 Qualcomm Incorporated Multiple concurrent contexts virtual evolved session management (virtual esm)
CN106376042A (en) * 2015-07-23 2017-02-01 ***通信集团江苏有限公司 Method and device for switching WiFi access point
CN106454837A (en) * 2016-08-25 2017-02-22 上海斐讯数据通信技术有限公司 Access point switching device and switching method thereof
CN106658672A (en) * 2017-02-20 2017-05-10 广东欧珀移动通信有限公司 Wireless fidelity Wi-Fi connecting method and mobile terminal
CN107046699A (en) * 2017-04-27 2017-08-15 新华三技术有限公司 A kind of wireless terminal roaming method and device
CN108200592A (en) * 2018-03-27 2018-06-22 普联技术有限公司 A kind of wireless roaming method and roaming AP
CN109362110A (en) * 2018-12-17 2019-02-19 锐捷网络股份有限公司 Roaming switching method, equipment, network and storage medium
CN109413759A (en) * 2018-11-19 2019-03-01 连尚(新昌)网络科技有限公司 A kind of method and apparatus for being wirelessly connected

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483894A (en) * 2009-01-06 2009-07-15 北京交通大学 Fast switching method for WLAN
CN101521924A (en) * 2009-04-27 2009-09-02 杭州华三通信技术有限公司 Switching method and device of wireless local area network
EP2498551A1 (en) * 2011-03-08 2012-09-12 Research In Motion Limited Improved Wi-Fi network access and a mobile terminal configured for the same
CN104602312A (en) * 2015-01-30 2015-05-06 海信集团有限公司 Wireless channel switching method and AP (Access Point)
US20160286600A1 (en) * 2015-03-26 2016-09-29 Qualcomm Incorporated Multiple concurrent contexts virtual evolved session management (virtual esm)
CN106376042A (en) * 2015-07-23 2017-02-01 ***通信集团江苏有限公司 Method and device for switching WiFi access point
CN105898808A (en) * 2015-11-25 2016-08-24 北京邮电大学 Handover decision method based on frame loss rate and received signal strength in IEEE 802.11 network
CN106454837A (en) * 2016-08-25 2017-02-22 上海斐讯数据通信技术有限公司 Access point switching device and switching method thereof
CN106658672A (en) * 2017-02-20 2017-05-10 广东欧珀移动通信有限公司 Wireless fidelity Wi-Fi connecting method and mobile terminal
CN107046699A (en) * 2017-04-27 2017-08-15 新华三技术有限公司 A kind of wireless terminal roaming method and device
CN108200592A (en) * 2018-03-27 2018-06-22 普联技术有限公司 A kind of wireless roaming method and roaming AP
CN109413759A (en) * 2018-11-19 2019-03-01 连尚(新昌)网络科技有限公司 A kind of method and apparatus for being wirelessly connected
CN109362110A (en) * 2018-12-17 2019-02-19 锐捷网络股份有限公司 Roaming switching method, equipment, network and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4203557A4 (en) * 2021-01-27 2024-05-22 Samsung Electronics Co Ltd Electronic device, and wifi-based roaming method on electronic device
CN113630828A (en) * 2021-10-11 2021-11-09 江苏东大集成电路***工程技术有限公司 Wireless roaming method, device, computer equipment and storage medium
CN114531712A (en) * 2022-02-23 2022-05-24 北京小米移动软件有限公司 Wireless communication method and apparatus, mobile terminal, and non-transitory readable storage medium
CN114531712B (en) * 2022-02-23 2024-02-06 北京小米移动软件有限公司 Wireless communication method and device, mobile terminal and non-transitory readable storage medium
CN115243335A (en) * 2022-08-01 2022-10-25 普联技术有限公司 Terminal roaming setting method and device, terminal equipment and storage medium
CN115243335B (en) * 2022-08-01 2024-06-07 普联技术有限公司 Terminal roaming setting method, device, terminal equipment and storage medium
CN115438095A (en) * 2022-08-31 2022-12-06 中华人民共和国广东海事局 Position information processing method, position information processing device, computer equipment and storage medium
CN115243336A (en) * 2022-09-23 2022-10-25 武汉蜂巢易网科技有限公司 Method for preventing wireless terminal from switching among multiple APs
CN115243336B (en) * 2022-09-23 2022-12-20 武汉蜂巢易网科技有限公司 Method for preventing wireless terminal from switching among multiple APs

Similar Documents

Publication Publication Date Title
CN111918350A (en) Wireless roaming method, device, equipment and storage medium
US11240740B2 (en) Method for processing radio frequency resources and terminal
US20220400421A1 (en) Cell reselection method and apparatus, and communication device
US10219203B2 (en) Wireless local area network scanning method and wireless access point
CN108282845B (en) Network access method and mobile communication terminal
CN112074011B (en) Network registration method, device, computer equipment and storage medium
CN109362110B (en) Roaming switching method, equipment, network and storage medium
EP4044687A1 (en) Communication method and system, base station and terminal
US11412443B2 (en) Method for searching for network by terminal, terminal, and storage medium
CN114071644A (en) Access control method, device and communication equipment
US20240064587A1 (en) Cell reselection method, communication apparatus, and computer-readable storage medium
CN104041116A (en) Cell reselection method and device
CN111479213B (en) Evaluation method and device for position recommendation
CN116782317A (en) Roaming guide method, device, equipment, storage medium and system
CN103688574A (en) Methods and systems for self-tuning network search algorithms
CN105578567A (en) Network scanning method and terminal
WO2022033091A1 (en) Method for accessing base station by means of terminal, and base station, terminal and communication system
CN114641054A (en) Network connection method and device, storage medium and electronic device
CN110139296B (en) Terminal information acquisition method and device
CN112423335A (en) Communication method and device
CN112351473A (en) Method and system for selecting WiFi access point channel
EP4255036A1 (en) Cell determining method and apparatus, device, and storage medium
TWI775690B (en) Network accessing method and communications apparatus utilizing the same
CN113923756B (en) Control method and device for obtaining emergency service, terminal and readable storage medium
CN116709354B (en) Base station implementation method and device, base station and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201110

RJ01 Rejection of invention patent application after publication