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

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

Info

Publication number
CN113630828A
CN113630828A CN202111179498.9A CN202111179498A CN113630828A CN 113630828 A CN113630828 A CN 113630828A CN 202111179498 A CN202111179498 A CN 202111179498A CN 113630828 A CN113630828 A CN 113630828A
Authority
CN
China
Prior art keywords
roaming
channel
wireless access
access point
available
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.)
Granted
Application number
CN202111179498.9A
Other languages
Chinese (zh)
Other versions
CN113630828B (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.)
Jiangsu Seuic Technology Co ltd
Original Assignee
Jiangsu Seuic 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 Jiangsu Seuic Technology Co ltd filed Critical Jiangsu Seuic Technology Co ltd
Priority to CN202111179498.9A priority Critical patent/CN113630828B/en
Publication of CN113630828A publication Critical patent/CN113630828A/en
Application granted granted Critical
Publication of CN113630828B publication Critical patent/CN113630828B/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/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0072Transmission or use of information for re-establishing the radio link of resource information of target access point
    • 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/16Performing reselection for specific purposes
    • H04W36/18Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection

Landscapes

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

Abstract

The invention discloses a wireless roaming method, a wireless roaming device, computer equipment and a storage medium. The method is executed by a mobile terminal with a wireless roaming function, and comprises the following steps: if the roaming search triggering condition is determined to be met, acquiring a current frequency band matched with a channel of a current wireless access point; determining a candidate channel matched with the current frequency band in a roaming search channel learning list; wherein, the roaming search channel learning list comprises available channels determined according to a channel learning algorithm; and determining the optimal wireless access point from the available wireless access points matched with the candidate channels, and performing roaming switching according to the optimal wireless access point. By using the technical scheme of the invention, the wireless roaming switching of the terminal equipment can be realized quickly and accurately.

Description

Wireless roaming method, device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of wireless communication, in particular to a wireless roaming method, a wireless roaming device, computer equipment and a storage medium.
Background
The wireless roaming refers to a situation that a user crosses from a coverage area of one AP (Access Point) to a coverage area of another AP during a moving process in a coverage area of a wireless network.
At present, a wireless roaming mechanism of a terminal device is mainly to set a roaming trigger mechanism in Wifi firmware, when the terminal device is lower than triggered signal strength or signal quality, available wireless APs around are searched, and roaming authentication switching is performed after the wireless APs meeting conditions are searched to connect the APs. The existing wireless roaming mechanism mainly depends on signal reception of Wifi firmware and periodic AP search requests, which easily results in that an available AP cannot be found or the corresponding AP cannot be accurately and quickly switched.
Disclosure of Invention
The embodiment of the invention provides a wireless roaming method, a wireless roaming device, computer equipment and a storage medium, so as to realize the rapid and accurate wireless roaming switching of terminal equipment.
In a first aspect, an embodiment of the present invention provides a wireless roaming method, where the method includes:
if the roaming search triggering condition is determined to be met, acquiring a current frequency band matched with a channel of a current wireless access point;
determining a candidate channel matched with the current frequency band in a roaming search channel learning list; wherein, the roaming search channel learning list comprises available channels determined according to a channel learning algorithm;
and determining the optimal wireless access point from the available wireless access points matched with the candidate channels, and performing roaming switching according to the optimal wireless access point.
In a second aspect, an embodiment of the present invention further provides a wireless roaming apparatus, where the apparatus includes:
the current frequency band determining module is used for acquiring a current frequency band matched with a channel of a current wireless access point if the condition that roaming search triggering is met is determined;
the candidate channel determining module is used for determining a candidate channel matched with the current frequency band in the roaming search channel learning list; wherein, the roaming search channel learning list comprises available channels determined according to a channel learning algorithm;
and the optimal wireless access point determining module is used for determining the optimal wireless access point from the available wireless access points matched with the candidate channels and performing roaming switching according to the optimal wireless access point.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the wireless roaming method according to any one of the embodiments of the present invention.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the wireless roaming method according to any one of the embodiments of the present invention.
According to the embodiment of the invention, a roaming search channel learning list is constructed according to available channels determined by a channel learning algorithm in advance, when a roaming search triggering condition is met, candidate channels are screened from the roaming search channel learning list according to the current frequency band matched with the channel of the current wireless access point, and the optimal wireless access point is selected from the available wireless access points corresponding to the candidate channels for wireless roaming switching. The problem that in the prior art, a wireless roaming mechanism mainly depends on signal reception of Wifi firmware and periodic AP search requests, so that an available AP cannot be found or the AP cannot be accurately and quickly switched to a corresponding AP is solved, and the wireless roaming switching of the terminal equipment is quickly and accurately carried out.
Drawings
Fig. 1 is a flowchart of a wireless roaming method according to an embodiment of the present invention;
fig. 2 is a flowchart of a wireless roaming method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a wireless roaming device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a wireless roaming method according to an embodiment of the present invention, where the embodiment is applicable to a case of fast Wifi roaming handover of a mobile terminal, and the method may be executed by a wireless roaming apparatus, which may be implemented by software and/or hardware and is generally integrated in a mobile terminal supporting a wireless roaming function.
As shown in fig. 1, the technical solution of the embodiment of the present invention specifically includes the following steps:
and S110, if the roaming search triggering condition is determined to be met, acquiring a current frequency band matched with a channel of the current wireless access point.
In the roaming search triggering mechanism based on the Wifi firmware in the prior art, the period of detecting the current signal intensity by the Wifi firmware is long, and the roaming search triggering is prone to be untimely. Meanwhile, when the signal detection of the Wifi firmware is abnormal, or the signal intensity is suddenly high or suddenly low, the roaming search cannot be triggered. If the Wifi firmware detects an anomaly for a long time, the detection is stopped, thereby causing the roaming search triggering mechanism to terminate.
Therefore, according to the technical scheme of the embodiment, by setting the roaming search triggering condition, typically, the signal strength and the beacon loss number can be detected, the detection time interval is shortened, and the problems that the triggering is not timely and cannot be triggered due to the fact that the roaming search triggering is performed based on Wifi firmware can be solved.
Accordingly, the roaming search triggering condition may be that the signal strength or the number of lost beacons is detected at each detected time interval, and when the signal strength is low, or the signal strength cannot be detected for a long time, or the number of lost beacons is large, the roaming search triggering condition is satisfied.
The current wireless access point, that is, the current AP, refers to an AP to which the mobile terminal having the wireless roaming function is currently connected. The channel colloquially is frequency, which determines the frequency range in which the wireless AP communicates, and when there is a signal overlapping area between two adjacent wireless APs, different channels are allocated to the wireless APs, so as to avoid mutual interference of signals between the wireless APs. The current frequency band is a frequency band corresponding to a channel of the current AP, and for example, the channel frequency band may be divided into a 2.4GHz frequency band and a 5GHz frequency band.
In the embodiment of the invention, the roaming search triggering condition is set, so that the problems that the roaming search triggering based on the Wifi firmware is not timely triggered and cannot be triggered can be solved. When roaming search is triggered, the frequency band corresponding to the channel of the current AP is determined, so that an available channel can be selected only in the channels with the frequency bands matched with the current frequency band, the search range of the channel can be reduced, and the channel search efficiency is improved.
And S120, determining a candidate channel matched with the current frequency band in the roaming search channel learning list.
Wherein the roaming search channel learning list includes available channels determined according to a channel learning algorithm.
The available channels are determined in real time according to a channel learning algorithm, and after determining the available channels, the available channels are added to a roaming search channel learning list. And when roaming search is triggered, regarding available channels in the roaming search channel learning list, and taking channels with frequency ranges matched with the current frequency ranges as candidate channels.
In the embodiment of the invention, the channel learning is carried out in advance, the learned available channel is added to the roaming search channel learning list, when the roaming search is triggered, all channels are not searched, and only the candidate channel is searched in the available channel of the roaming search channel learning list, so that the roaming search efficiency can be improved, and the time delay during the roaming can be reduced.
And S130, determining the optimal wireless access point from the available wireless access points matched with the candidate channels, and performing roaming switching according to the optimal wireless access point.
And for each available AP corresponding to the candidate channel, selecting the optimal AP for roaming switching on the basis of the signal strength and the transmission rate, thereby avoiding the performance reduction of wireless communication.
It should be noted that, each time the optimal AP is determined from the available APs, roaming handover is performed in advance for the last time, the available AP list when the optimal AP is selected from the available APs is emptied, and only the available AP determined during the roaming handover is added to the available AP list, so that the scanning time can be reduced.
Optionally, determining an optimal wireless access point from the available wireless access points matched with the candidate channels may include: and determining the optimal wireless access point from the available wireless access points matched with the candidate channels according to the preset minimum residence time and the maximum residence time.
The minimum dwell time refers to the longest dwell time if the channel has no signal, and the maximum dwell time is the longest search time within the channel when the channel has a signal. Illustratively, the minimum residence time may be set to 20ms and the maximum residence time may be set to 30 ms. By setting a smaller value for the minimum residence time and the maximum residence time, the occupied time of the idle channel and the residence time of the congestion channel can be reduced, and the scanning time is optimized.
According to the technical scheme of the embodiment, a roaming search channel learning list is constructed according to available channels determined by a channel learning algorithm in advance, when a roaming search triggering condition is met, candidate channels are screened from the roaming search channel learning list according to a current frequency band matched with a channel of a current wireless access point, and an optimal wireless access point is selected from the available wireless access points corresponding to the candidate channels for wireless roaming switching. The problem that in the prior art, a wireless roaming mechanism mainly depends on signal reception of Wifi firmware and periodic AP search requests, so that an available AP cannot be found or the AP cannot be accurately and quickly switched to a corresponding AP is solved, and the wireless roaming switching of the terminal equipment is quickly and accurately carried out.
Example two
Fig. 2 is a flowchart of a wireless roaming method according to a second embodiment of the present invention, where the second embodiment of the present invention further embodies a specific condition for triggering roaming search, a process of acquiring a current frequency band matching with a channel of a current wireless access point, a process of determining an optimal wireless access point, and a process of performing roaming handover according to the optimal wireless access point, and adds a process of constructing a roaming search channel learning list.
Correspondingly, as shown in fig. 2, the technical solution of the embodiment of the present invention specifically includes the following steps:
s210, judging whether a preset available channel is received, if so, executing S220, and if not, executing S230.
In the embodiment of the invention, the effective search of the available channels and the reduction of useless channels are the key for quickly searching the roaming.
When the user sets an available channel, the available channel set by the user is added into the roaming search channel learning list, and the learning of the available channel is stopped.
And S220, adding the preset available channel into the roaming search channel learning list, and stopping determining the available channel according to the channel learning algorithm.
And S230, determining available channels by adopting at least one channel learning algorithm.
Accordingly, S230 may further include:
s231, obtaining a channel matched with the service set identification of the current wireless access point, and adding the channel into the roaming search channel learning list.
The Service Set Identifier (SSID) is a Service Set Identifier (SSID), and when the SSID of the channel is the same as the SSID of the current AP, it means that the roaming environment is the same, and the channel is used as an available channel and added to the roaming search channel learning list.
S232, obtaining the access point list information of the current wireless access point, and adding the channel matched with the access point list information into the roaming search channel learning list.
The access point list information, i.e. 802.11k information, the 802.11k information contains information about neighboring access points. And after the 802.11k information of the current AP is acquired, a channel matched with the adjacent access point is used as an available channel and is added into the roaming search channel learning list.
S233, determine whether the current roaming status is the wireless roaming status, if yes, execute S234, otherwise execute S235.
When the current state is idle, searching channels which are not in the roaming search channel learning list to confirm whether available channels exist.
When the roaming search is triggered for many times, but the available AP cannot be searched, the channels which are not in the roaming search channel learning list are searched to confirm whether the available channels exist.
And S234, judging whether the roaming search triggering condition is met but the number of times of not obtaining the available wireless access points exceeds the preset number, if so, executing S235, otherwise, executing S240.
S235, searching channels except the channels in the roaming search channel learning list, and adding the channels of the available wireless access points with matching into the roaming search channel learning list.
Optionally, for each available channel in the roaming search channel learning list, if the target available channel is not selected for roaming handover for a preset time or more, the target available channel may be deleted from the roaming search channel learning list, so as to reduce unnecessary channel searches.
And S240, detecting the current signal intensity at intervals of a first preset time interval.
In an embodiment of the present invention, the roaming trigger condition may be set based on the signal strength and the number of beacon losses.
Specifically, a first preset time interval may be set as the time interval for detecting the current signal strength, and for example, the current signal strength may be set to be detected every 1 s.
And S250, judging whether the current signal intensity is smaller than the roaming trigger signal intensity, if so, executing S290, otherwise, executing S260.
And when the current signal intensity is less than the preset roaming trigger signal intensity, triggering roaming search.
And S260, judging whether the current signal strength is not detected at the time interval more than or equal to the detection abnormal time interval, if so, executing S290, otherwise, executing S270.
If the current signal strength is not detected within the time interval of more than or equal to the detection abnormity, the signal detection is abnormal, and roaming search is triggered.
And S270, detecting the number of the continuous lost beacons at intervals of a second preset time interval.
The beacon is a channel identifier periodically sent by the AP, the beacon loss indicates that the communication between the mobile terminal and the AP is blocked, and when the number of the continuously lost beacons is greater than or equal to a preset beacon loss threshold value, roaming search is triggered.
And S280, judging whether the number of the continuously lost beacons is greater than or equal to a preset beacon loss threshold value, if so, executing S290, otherwise, returning to execute S240.
And S290, determining that the roaming search triggering condition is met.
And S2100, judging whether the service set identifier of the current wireless access point is a roaming service set identifier, if so, executing S2110, otherwise, executing S2210.
And if the SSID of the current AP is not the roaming SSID, scanning all channels and performing roaming switching.
If the SSID of the current AP is the roaming SSID, roaming search and roaming handover are performed in the manner of this embodiment.
And S2110, acquiring a current frequency band matched with a channel of the current wireless access point.
For example, the frequency band of the channel of the current AP may be 2.4GHz or 5GHz, and when the current frequency band is 2.4GHz, only the 2.4GHz channel is selected as the candidate channel in the roaming search channel learning list.
And S2120, determining candidate channels matched with the current frequency band in the roaming search channel learning list.
In the embodiment of the invention, the channel is screened through the current frequency band, so that the channel searching range can be reduced, and the fast roaming search can be realized.
And S2130, sequencing the available wireless access points matched with the candidate channels according to the signal intensity, and sequentially judging according to the sequence of the available wireless access points.
And for each available AP matched with the candidate channel, selecting the optimal AP for roaming switching, thereby ensuring the performance of wireless communication.
In the embodiment of the present invention, the optimal AP is selected based on the signal strength and the transmission speed.
S2140, determine whether the signal strength of the pending available wireless ap is greater than or equal to the predetermined signal strength, if so, execute S2150, otherwise execute S2210.
In the embodiment of the invention, the available APs are sequentially judged according to the signal strength of the available APs. If the signal strength of the available AP is greater than or equal to the preset signal strength, it indicates that the signal of the available AP is excellent, and roaming handover can be performed according to the available AP.
S2150, whether the difference between the signal intensity of the available wireless access point to be processed and the current signal intensity is larger than or equal to the stepping intensity is judged, if yes, S2160 is executed, and if not, S2210 is executed.
And when the signal intensity of the available AP is smaller than the preset signal intensity, further judging whether the difference value between the signal intensity of the available AP and the current signal intensity is larger than or equal to the stepping intensity, if so, indicating that the available AP is superior to the current AP, and performing roaming switching according to the available AP.
The step strength represents the difference between the signal strengths of the two APs, and when the step strength is small, it indicates that the AP can be switched for slight signal fluctuation, and when the step strength is large, it indicates that the AP needs to be switched with a large signal difference. The present embodiment does not limit the magnitude of the step intensity value.
And S2160, taking the available wireless access point to be processed as the optimal wireless access point.
In the embodiment of the invention, if the optimal wireless access point is determined, the wireless access point can be switched to the optimal wireless access point, and if the optimal wireless access point is not available, the roaming switching is not carried out.
And S2170, switching to the optimal wireless access point for pre-authentication.
In the embodiment of the invention, after the optimal AP is selected, the optimal AP channel is switched to for pre-authentication under the condition of ensuring normal communication of the current AP.
And after the pre-authentication is successful, directly connecting to the optimal AP, and informing disconnection of the current AP. And if the pre-authentication fails, switching back to the current AP. The data loss and roaming disconnection during roaming switching can be avoided, the packet loss rate is reduced, and the roaming switching time is shortened.
S2180, determining whether the pre-authentication is successful, if so, executing S2190, otherwise, executing S2200.
S2190, a disconnection notification is transmitted to the current wireless access point.
And S2200, switching back to the current wireless access point.
And S2210, ending.
According to the technical scheme of the embodiment, available channels are determined in advance according to at least one channel learning algorithm, a roaming search channel learning list is constructed, when the current signal strength is smaller than the roaming trigger signal strength, or is larger than or equal to the detection abnormal time interval, the current signal strength is still not detected, or the number of continuously lost beacons is larger than or equal to a preset beacon loss threshold, and the service set identifier of the current wireless access point is a roaming service set identifier, candidate channels are screened from the roaming search channel learning list according to the current frequency band matched with the channel of the current wireless access point, and in each available wireless access point corresponding to the candidate channels, the optimal wireless access point is selected according to the signal strength to perform wireless roaming switching. The problem that in the prior art, a wireless roaming mechanism mainly depends on signal reception of Wifi firmware and periodic AP search requests, so that an available AP cannot be found or the AP cannot be accurately and quickly switched to a corresponding AP is solved, and the wireless roaming switching of the terminal equipment is quickly and accurately carried out.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a wireless roaming apparatus in a third embodiment of the present invention, where the apparatus includes: a current frequency band determination module 310, a candidate channel determination module 320, and an optimal wireless access point determination module 330. Wherein:
a current frequency band determining module 310, configured to obtain a current frequency band matched with a channel of a current wireless access point if it is determined that a roaming search trigger condition is met;
a candidate channel determining module 320, configured to determine a candidate channel matching the current frequency band in the roaming search channel learning list; wherein, the roaming search channel learning list comprises available channels determined according to a channel learning algorithm;
and an optimal wireless access point determining module 330, configured to determine an optimal wireless access point from the available wireless access points that match the candidate channels, and perform roaming handover according to the optimal wireless access point.
According to the technical scheme of the embodiment, a roaming search channel learning list is constructed according to available channels determined by a channel learning algorithm in advance, when a roaming search triggering condition is met, candidate channels are screened from the roaming search channel learning list according to a current frequency band matched with a channel of a current wireless access point, and an optimal wireless access point is selected from the available wireless access points corresponding to the candidate channels for wireless roaming switching. The problem that in the prior art, a wireless roaming mechanism mainly depends on signal reception of Wifi firmware and periodic AP search requests, so that an available AP cannot be found or the AP cannot be accurately and quickly switched to a corresponding AP is solved, and the wireless roaming switching of the terminal equipment is quickly and accurately carried out.
According to the technical scheme of the embodiment, a roaming search channel learning list is constructed according to available channels determined by a channel learning algorithm in advance, when a roaming search triggering condition is met, candidate channels are screened from the roaming search channel learning list according to a current frequency band matched with a channel of a current wireless access point, and an optimal wireless access point is selected from the available wireless access points corresponding to the candidate channels for wireless roaming switching. The problem that in the prior art, a wireless roaming mechanism mainly depends on signal reception of Wifi firmware and periodic AP search requests, so that an available AP cannot be found or the AP cannot be accurately and quickly switched to a corresponding AP is solved, and the wireless roaming switching of the terminal equipment is quickly and accurately carried out.
On the basis of the foregoing embodiment, the current frequency band determining module 310 includes:
the current signal strength detection unit is used for detecting the current signal strength at intervals of a first preset time interval;
the first roaming search triggering judgment unit is used for determining that a roaming search triggering condition is met if the current signal strength is smaller than the roaming triggering signal strength or is larger than or equal to the detection abnormal time interval and the current signal strength is not detected;
a continuous loss beacon number detection unit, configured to detect the number of continuous loss beacons at intervals of a second preset time interval;
and the second roaming search triggering judgment unit is used for determining that the roaming search triggering condition is met if the number of the continuously lost beacons is greater than or equal to the preset beacon loss threshold value.
On the basis of the foregoing embodiment, the current frequency band determining module 310 includes:
and the service set identification judging unit is used for acquiring the current frequency band matched with the channel of the current wireless access point if the condition that the roaming search triggering condition is met and the service set identification of the current wireless access point is the roaming service set identification is determined.
On the basis of the above embodiment, the apparatus further includes:
the device comprises a preset available channel acquisition module, a roaming search channel learning list acquisition module and a channel learning algorithm acquisition module, wherein the preset available channel acquisition module is used for adding a preset available channel into the roaming search channel learning list and stopping determining the available channel according to the channel learning algorithm if the preset available channel is received;
an available channel determining module, configured to determine an available channel using at least one of the following channel learning algorithms:
acquiring a channel matched with a service set identifier of a current wireless access point, and adding the channel into a roaming search channel learning list;
acquiring access point list information of a current wireless access point, and adding a channel matched with the access point list information into a roaming search channel learning list;
if the current state is not the wireless roaming state or the number of times continuously exceeds the preset number and meets the roaming search triggering condition but the available wireless access point is not obtained, searching channels except the channel in the roaming search channel learning list, and adding the channel of the available wireless access point with the matched channel into the roaming search channel learning list.
On the basis of the foregoing embodiment, the optimal wireless access point determining module 330 includes:
the available wireless access point sequencing unit is used for sequencing the available wireless access points matched with the candidate channels according to the signal intensity and sequentially judging according to the sequence of the available wireless access points;
and the signal strength judging unit is used for taking the available wireless access point to be processed as the optimal wireless access point if the signal strength of the available wireless access point to be processed is greater than or equal to the preset signal strength and the difference value between the signal strength of the available wireless access point to be processed and the current signal strength is greater than or equal to the stepping strength.
On the basis of the foregoing embodiment, the optimal wireless access point determining module 330 includes:
and the optimal wireless access point determining unit is used for determining the optimal wireless access point from the available wireless access points matched with the candidate channels according to the preset minimum residence time and the maximum residence time.
On the basis of the foregoing embodiment, the optimal wireless access point determining module 330 includes:
the pre-authentication unit is used for switching to the optimal wireless access point for pre-authentication;
the current wireless access point disconnection unit is used for sending a disconnection notice to the current wireless access point if the pre-authentication is successful;
and the wireless access point switching unit is used for switching back to the current wireless access point if the current wireless access point is not the wireless access point.
The wireless roaming device provided by the embodiment of the invention can execute the wireless roaming method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a computer apparatus according to a fourth embodiment of the present invention, as shown in fig. 4, the computer apparatus includes a processor 70, a memory 71, an input device 72, and an output device 73; the number of processors 70 in the computer device may be one or more, and one processor 70 is taken as an example in fig. 4; the processor 70, the memory 71, the input device 72 and the output device 73 in the computer apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 4.
The memory 71 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as the modules corresponding to the wireless roaming method in the embodiment of the present invention (for example, the current frequency band determining module 310, the candidate channel determining module 320, and the optimal wireless access point determining module 330 in the wireless roaming apparatus). The processor 70 executes various functional applications and data processing of the computer device by executing software programs, instructions and modules stored in the memory 71, that is, implements the above-described wireless roaming method. The method comprises the following steps:
if the roaming search triggering condition is determined to be met, acquiring a current frequency band matched with a channel of a current wireless access point;
determining a candidate channel matched with the current frequency band in a roaming search channel learning list; wherein, the roaming search channel learning list comprises available channels determined according to a channel learning algorithm;
and determining the optimal wireless access point from the available wireless access points matched with the candidate channels, and performing roaming switching according to the optimal wireless access point.
The memory 71 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 71 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 71 may further include memory located remotely from the processor 70, which may be connected to a computer device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 72 may be used to receive input numeric or character information and generate key signal inputs relating to user settings and function controls of the computer apparatus. The output device 73 may include a display device such as a display screen.
EXAMPLE five
An embodiment of the present invention also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a wireless roaming method, the method including:
if the roaming search triggering condition is determined to be met, acquiring a current frequency band matched with a channel of a current wireless access point;
determining a candidate channel matched with the current frequency band in a roaming search channel learning list; wherein, the roaming search channel learning list comprises available channels determined according to a channel learning algorithm;
and determining the optimal wireless access point from the available wireless access points matched with the candidate channels, and performing roaming switching according to the optimal wireless access point.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the wireless roaming method provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the wireless roaming device, the units and modules included in the embodiment are only divided according to the functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A wireless roaming method, characterized by being performed by a mobile terminal having a wireless roaming function, the method comprising:
if the roaming search triggering condition is determined to be met, acquiring a current frequency band matched with a channel of a current wireless access point;
determining a candidate channel matched with the current frequency band in a roaming search channel learning list; wherein, the roaming search channel learning list comprises available channels determined according to a channel learning algorithm;
and determining the optimal wireless access point from the available wireless access points matched with the candidate channels, and performing roaming switching according to the optimal wireless access point.
2. The method of claim 1, wherein determining that a roaming search trigger condition is satisfied comprises:
detecting the current signal intensity at intervals of a first preset time interval;
if the current signal strength is less than the roaming trigger signal strength or is more than or equal to the detection abnormal time interval, the current signal strength is not detected, and the roaming search trigger condition is determined to be met;
detecting the number of the continuously lost beacons at intervals of a second preset time interval;
and if the number of the continuously lost beacons is greater than or equal to a preset beacon loss threshold value, determining that a roaming search triggering condition is met.
3. The method of claim 1 or 2, wherein if it is determined that the roaming search trigger condition is satisfied, acquiring a current frequency band matching a channel of a current wireless access point comprises:
and if the roaming search triggering condition is met and the service set identifier of the current wireless access point is the roaming service set identifier, acquiring the current frequency band matched with the channel of the current wireless access point.
4. The method of claim 1, wherein before determining the candidate channel matching the current band in the roaming search channel learning list, further comprising:
if the preset available channel is received, adding the preset available channel into a roaming search channel learning list, and stopping determining the available channel according to a channel learning algorithm;
otherwise, determining an available channel by adopting at least one channel learning algorithm:
acquiring a channel matched with a service set identifier of a current wireless access point, and adding the channel into a roaming search channel learning list;
acquiring access point list information of a current wireless access point, and adding a channel matched with the access point list information into a roaming search channel learning list;
if the current state is not the wireless roaming state or the number of times continuously exceeds the preset number and meets the roaming search triggering condition but the available wireless access point is not obtained, searching channels except the channel in the roaming search channel learning list, and adding the channel of the available wireless access point with the matched channel into the roaming search channel learning list.
5. The method of claim 1, wherein determining an optimal wireless access point among the available wireless access points that match the candidate channel comprises:
sequencing the available wireless access points matched with the candidate channels according to the signal intensity, and sequentially judging according to the sequence of the available wireless access points;
and if the signal intensity of the available wireless access point to be processed is greater than or equal to the preset signal intensity, and the difference value between the signal intensity of the available wireless access point to be processed and the current signal intensity is greater than or equal to the stepping intensity, taking the available wireless access point to be processed as the optimal wireless access point.
6. The method of claim 5, wherein determining the optimal wireless access point among the available wireless access points that match the candidate channel comprises:
and determining the optimal wireless access point from the available wireless access points matched with the candidate channels according to the preset minimum residence time and the maximum residence time.
7. The method of claim 1, wherein performing roaming handover according to an optimal wireless access point comprises:
switching to the optimal wireless access point for pre-authentication;
if the pre-authentication is successful, sending a disconnection notice to the current wireless access point;
otherwise, switching back to the current wireless access point.
8. A wireless roaming apparatus, deployed in a mobile terminal having a wireless roaming function, the apparatus comprising:
the current frequency band determining module is used for acquiring a current frequency band matched with a channel of a current wireless access point if the condition that roaming search triggering is met is determined;
the candidate channel determining module is used for determining a candidate channel matched with the current frequency band in the roaming search channel learning list; wherein, the roaming search channel learning list comprises available channels determined according to a channel learning algorithm;
and the optimal wireless access point determining module is used for determining the optimal wireless access point from the available wireless access points matched with the candidate channels and performing roaming switching according to the optimal wireless access point.
9. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the wireless roaming method of any one of claims 1-7.
10. A storage medium containing computer-executable instructions, which when executed by a computer processor, operate to perform the wireless roaming method of any one of claims 1-7.
CN202111179498.9A 2021-10-11 2021-10-11 Wireless roaming method, device, computer equipment and storage medium Active CN113630828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111179498.9A CN113630828B (en) 2021-10-11 2021-10-11 Wireless roaming method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111179498.9A CN113630828B (en) 2021-10-11 2021-10-11 Wireless roaming method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113630828A true CN113630828A (en) 2021-11-09
CN113630828B CN113630828B (en) 2022-02-08

Family

ID=78390870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111179498.9A Active CN113630828B (en) 2021-10-11 2021-10-11 Wireless roaming method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113630828B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390617A (en) * 2021-12-28 2022-04-22 山东有人物联网股份有限公司 WLAN network switching method, device, equipment and readable storage medium
CN114980236A (en) * 2022-08-02 2022-08-30 荣耀终端有限公司 Roaming switching method, routing equipment, terminal equipment and storage medium
CN115119276A (en) * 2022-07-18 2022-09-27 煤炭科学技术研究院有限公司 Network connection method and device of industrial wireless network and electronic equipment
CN115175166A (en) * 2022-07-25 2022-10-11 东集技术股份有限公司 Wireless roaming access point determining method and device, electronic equipment and storage medium
CN115209502A (en) * 2022-07-11 2022-10-18 北京国基科技股份有限公司 Wireless network roaming switching method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101444128A (en) * 2003-12-30 2009-05-27 思科技术公司 Methods and apparatus for reducing roaming latency in a mobile node
CN102158895A (en) * 2011-05-09 2011-08-17 北京傲天动联技术有限公司 Method for promoting station roaming speed in wireless network
CN110278592A (en) * 2019-05-15 2019-09-24 深圳市优博讯科技股份有限公司 A kind of data communications method, terminal and system
CN110602738A (en) * 2018-06-12 2019-12-20 Oppo广东移动通信有限公司 Network connection method and device and electronic device
CN111757426A (en) * 2014-03-28 2020-10-09 华为终端有限公司 Roaming network access method and device
CN111918350A (en) * 2020-07-30 2020-11-10 展讯半导体(成都)有限公司 Wireless roaming method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101444128A (en) * 2003-12-30 2009-05-27 思科技术公司 Methods and apparatus for reducing roaming latency in a mobile node
CN102158895A (en) * 2011-05-09 2011-08-17 北京傲天动联技术有限公司 Method for promoting station roaming speed in wireless network
CN111757426A (en) * 2014-03-28 2020-10-09 华为终端有限公司 Roaming network access method and device
CN110602738A (en) * 2018-06-12 2019-12-20 Oppo广东移动通信有限公司 Network connection method and device and electronic device
CN110278592A (en) * 2019-05-15 2019-09-24 深圳市优博讯科技股份有限公司 A kind of data communications method, terminal and system
CN111918350A (en) * 2020-07-30 2020-11-10 展讯半导体(成都)有限公司 Wireless roaming method, device, equipment and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390617A (en) * 2021-12-28 2022-04-22 山东有人物联网股份有限公司 WLAN network switching method, device, equipment and readable storage medium
CN114390617B (en) * 2021-12-28 2023-12-22 山东有人物联网股份有限公司 WLAN network switching method, device, equipment and readable storage medium
CN115209502A (en) * 2022-07-11 2022-10-18 北京国基科技股份有限公司 Wireless network roaming switching method and device
CN115209502B (en) * 2022-07-11 2023-08-22 北京国基科技股份有限公司 Wireless network roaming switching method and device
CN115119276A (en) * 2022-07-18 2022-09-27 煤炭科学技术研究院有限公司 Network connection method and device of industrial wireless network and electronic equipment
CN115175166A (en) * 2022-07-25 2022-10-11 东集技术股份有限公司 Wireless roaming access point determining method and device, electronic equipment and storage medium
CN115175166B (en) * 2022-07-25 2023-09-15 东集技术股份有限公司 Wireless roaming access point determining method, device, electronic equipment and storage medium
CN114980236A (en) * 2022-08-02 2022-08-30 荣耀终端有限公司 Roaming switching method, routing equipment, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN113630828B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN113630828B (en) Wireless roaming method, device, computer equipment and storage medium
JP5102319B2 (en) Radio base station search method, radio base station search apparatus, and radio base station search program
CN105451285B (en) Redirecting cell method based on circuit domain dropping CSFB
EP3001734B1 (en) System, program and method for radio terminal to find access point
CA2760907C (en) Systems and methods for mobile stations to identify radio access technologies
US8676213B2 (en) Indication of user equipment mobility state to enhance mobility and call performance
KR102249994B1 (en) Method and apparatus for performing priority based cell reselection
WO2014155044A1 (en) Access point selection in a wireless network
WO2018126420A1 (en) Communication method, terminal device, and network device
JP2009089372A (en) Mobile communication system, radio base station control apparatus, radio terminal device, and program used for mobile communication system
CN106255157B (en) A method of redirection process between optimization multimode user terminal mode
JP2022003843A (en) Terminal apparatus and base station apparatus in wireless communication system in which handover including relay transmission path is executed, control method thereof, and program
EP1603275A1 (en) Access point
CN112243272B (en) Pilot frequency switching method and device
JP2005277507A (en) Mobile communication assisting device, mobile communication terminal, and mobile communication system
JP2015211237A (en) Radio terminal device and radio communication system
US10075909B2 (en) Method to select a candidate cell during cell selection
KR101472571B1 (en) Method and Apparatus for the handover
CN112040525B (en) Roaming method and device
CN106304140B (en) Method, device and base station for reducing call drop rate in execution of ANR (automatic neighbor relation)
CN110519828B (en) Multi-AP-based 5G priority access configuration method, device and medium
CN113613294A (en) Network access method, device, terminal equipment and storage medium
CN113228819A (en) Operation of access points and autonomous group owners
CN108605276B (en) Communication device, base station device, control method, and storage medium
WO2023015532A1 (en) Cell reselection method and apparatus, device, 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
CB02 Change of applicant information

Address after: No.15 Xinghuo Road, Jiangbei new district, Nanjing, Jiangsu Province, 210031

Applicant after: Dongji Technology Co.,Ltd.

Address before: No.15 Xinghuo Road, Jiangbei new district, Nanjing, Jiangsu Province, 210031

Applicant before: JIANGSU SEUIC TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant