CN109257783A - A kind of roaming switching method, device, system and readable storage medium storing program for executing - Google Patents
A kind of roaming switching method, device, system and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109257783A CN109257783A CN201811333944.5A CN201811333944A CN109257783A CN 109257783 A CN109257783 A CN 109257783A CN 201811333944 A CN201811333944 A CN 201811333944A CN 109257783 A CN109257783 A CN 109257783A
- Authority
- CN
- China
- Prior art keywords
- wifi module
- signal quality
- main connection
- redundancy
- wifi
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0083—Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/08—Reselecting an access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/16—Performing reselection for specific purposes
- H04W36/18—Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection 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 embodiment of the invention discloses a kind of roaming switching method, multiple WIFI modules are integrated in equipment, this method comprises: control redundancy WIFI module is connected to from currently connection AP with the different AP of title when carrying out information transmission by main connection WIFI module;Obtain redundancy WIFI module and main connection WIFI module signal quality information;Redundancy WIFI module of the signal quality better than main connection WIFI module is judged whether there is according to signal quality information;If it does, determining optimal WIFI module in WIFI module of the signal quality better than main connection WIFI module;The current main connection WIFI module of optimal WIFI module substitution is subjected to information transmission.The speed of roaming switch can be improved in this method, improves overall signal transmission quality.The present invention also provides a kind of roaming switch device, system and readable storage medium storing program for executing, have above-mentioned beneficial effect.
Description
Technical field
The present invention relates to wireless information transfer technical field, more particularly to a kind of roaming switching method, device, system and
Readable storage medium storing program for executing.
Background technique
People require network communication higher and higher, it is desirable to break the restriction of different region or objective condition, realize
The communication of any mode is carried out from anywhere at any time with any equipment, therefore, under mobile working environment, is provided
Information network resource just becomes one of main application range of WLAN, i.e., ambulant support just becomes one of realization WLAN very
Important aspect.For the more excellent communication effect for realizing two mobility network resource, need to carry out roaming switch.
When the AP signal quality that the process of roaming switch currently connects is poor, switching to signal quality, more preferably AP is carried out
Communication.
Current roaming switch process substantially may comprise steps of: equipment is connected to a certain AP, to other AP signals
Quality is detected, if detecting, optimal AP signal quality is higher than current connection AP signal connecting quality in other AP signals,
The connection with current AP is then cut off, then is connected to current optimal AP.
It in the connection of cutting and current AP, then is connected to during optimal AP, needs to connect current optimal AP in advance
Formal connection after connecing, the process of pre-connection include increasing station name, sending connection request, interactive key, association site information etc., in advance
It is essential when the process of connection is during roaming switch, but pre-connection can expend certain time, it is current straight disconnecting
To information Transmission during optimal AP is connected to, overall signal transmission certainly will be will affect.
In order to be reduced as far as possible since handoff procedure bring overall signal transmission quality declines problem, uses subtract as far as possible at present
Few roaming switch number, current AP signal and optimal AP signal difference are more than to switch over after critical value, but roaming number
Reduction is further meant that can not be connected to optimal AP in time, realize Optimal Signals transmission.
As it can be seen that how to improve the speed of roaming switch, improve overall signal transmission quality, be those skilled in the art urgently
It solves the problems, such as.
Summary of the invention
The purpose of the embodiment of the present invention is that providing a kind of roaming switching method, the speed of roaming switch can be improved, improve
Overall signal transmission quality;It is a further object of the present invention to provide a kind of roaming switch device, system and readable storage medium storing program for executing, tools
There is above-mentioned beneficial effect.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of roaming switching method, it is integrated in equipment multiple
WIFI module, this method comprises:
When carrying out information transmission by main connection WIFI module, control redundancy WIFI module is connected to and currently connect AP
With the different AP of title;Wherein, the current connection AP is the AP that the main connection WIFI module currently connects;
Obtain the redundancy WIFI module and the main connection WIFI module signal quality information;
Redundancy of the signal quality better than the main connection WIFI module is judged whether there is according to the signal quality information
WIFI module;
If it does, determining optimal WIFI mould in WIFI module of the signal quality better than the main connection WIFI module
Block;
The optimal current main connection WIFI module of WIFI module substitution is subjected to information transmission.
Preferably, signal quality is judged whether there is better than the main connection WIFI module according to the signal quality information
Redundancy WIFI module after, further includes:
Redundancy WIFI module if there is signal quality better than the main connection WIFI module, determines that signal quality is better than
The redundancy WIFI module of the main connection WIFI module is alternative WIFI module;
Calculate the signal quality difference of the alternative WIFI module and the main connection WIFI module;
Judge whether there is the difference greater than signal difference threshold value;
It is then, described to determine optimal WIFI module in WIFI module of the signal quality better than the main connection WIFI module,
Specifically: if there is being greater than the difference of signal difference threshold value, optimal WIFI module is determined in the alternative WIFI module.
Preferably, the redundancy WIFI module and the main connection WIFI module signal quality information are obtained, comprising:
The live signal quality for obtaining the main connection WIFI module, obtains main connection signal value;
Judge whether the main connection signal value reaches preset signals quality threshold;
If not up to, obtaining the live signal quality information of the redundancy WIFI module.
Preferably, after judging whether the main connection signal value reaches preset signals quality threshold, further includes:
If reaching, the live signal quality information of the redundancy WIFI module is obtained every preset time;
It is judged whether there is according to the live signal quality information of the redundancy WIFI module obtained every preset time
Redundancy WIFI module of the signal quality better than the main connection WIFI module;
If it does, determining optimal WIFI mould in WIFI module of the signal quality better than the main connection WIFI module
Block;
The optimal current main connection WIFI module of WIFI module substitution is subjected to information transmission.
Preferably, the acquisition redundancy WIFI module and the main connection WIFI module signal quality information, comprising:
Obtain the redundancy WIFI module and the main connection WIFI module signal strength information;
Then, signal quality is judged whether there is according to the signal quality information and is better than the superfluous of the main connection WIFI module
Remaining WIFI module, specifically: signal quality is judged whether there is better than the main connection WIFI according to the signal strength information
The redundancy WIFI module of module.
Preferably, optimal WIFI module is determined in WIFI module of the signal quality better than the main connection WIFI module,
Include:
When the quantity of the optimal WIFI module is greater than 1, the time-consuming shortest WIFI module conduct of wherein AP connection is chosen
Optimal WIFI module.
Preferably, before the progress information transmission by main connection WIFI module, further includes:
WIFI module each in equipment is connected to the AP of same names;
Signal quality detection is carried out to each WIFI module, obtains test result;
The optimal WIFI module of current signal quality is filtered out according to the test result, current signal quality is optimal
WIFI module is as main connection WIFI module, then using connection WIFI module non-master in equipment as redundancy WIFI module.
The present invention discloses a kind of roaming switch device, is integrated with multiple WIFI modules in equipment, which includes:
WIFI controls connection unit, for controlling redundancy WIFI when carrying out information transmission by main connection WIFI module
Module is connected to from currently connection AP with the different AP of title;Wherein, the current connection AP is the main connection WIFI module
The AP currently connected;
Signal quality acquiring unit, for obtaining the redundancy WIFI module and the main connection WIFI module signal quality
Information;
Redundancy Quality estimation unit, for judging whether there is signal quality better than described according to the signal quality information
The redundancy WIFI module of main connection WIFI module;
Optimal WIFI determination unit, for being determined in WIFI module of the signal quality better than the main connection WIFI module
Optimal WIFI module;
WIFI module replacement unit, for the optimal current main connection WIFI module of WIFI module substitution to be carried out information
Transmission.
The present invention discloses a kind of roaming switch system, comprising:
Roaming switch equipment, for controlling redundancy WIFI module when carrying out information transmission by main connection WIFI module
It is connected to from currently connection AP with the different AP of title;Wherein, the current connection AP is that the main connection WIFI module is current
The AP of connection;Obtain the redundancy WIFI module and the main connection WIFI module signal quality information;According to the signal matter
Amount information judges whether there is redundancy WIFI module of the signal quality better than the main connection WIFI module;If it does, believing
Number quality determines optimal WIFI module in the WIFI module better than the main connection WIFI module;The optimal WIFI module is replaced
In generation, current main connection WIFI module carried out information transmission;
Several WIFI modules, for carrying out AP connection and information biography according to the link order of the roaming switch equipment
It is defeated.
The present invention discloses a kind of readable storage medium storing program for executing, and program is stored on the readable storage medium storing program for executing, and described program is located
The step of reason device realizes the roaming switching method when executing.
The roaming switching method provided by the invention it can be seen from above-mentioned technical proposal, is integrated with multiple in a device
WIFI module is transmitted by the normal information that main connection WIFI module completes equipment, controls other WIFI modules as redundancy
WIFI module is connected to and currently connect AP with the AP of title but different location, in the connection of each redundancy WIFI module, completes
Most of work in AP connection transmission, including increase the operation of the pre-connections such as station name, interactive key, determine it is to be replaced most
When excellent redundancy WIFI module, after the connection for disconnecting main connection WIFI module and current AP, directly goes to and pre-connection work is completed
WIFI module carry out the operation such as channel switching, without when cutting off last AP connection equipment and being in work halted state into
Row includes that trifling pre-connection works, and substantially reduces information transmission dead time during roaming switch, improves roaming switch
Speed, as caused by substantially reducing during overall transfer because of roaming switch information transmit time out, also improve
Overall signal transmission quality.
Invention additionally discloses a kind of roaming switch device, system and readable storage medium storing program for executing, have above-mentioned beneficial effect, herein
It repeats no more.
Detailed description of the invention
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below
It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people
For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of existing roaming switch process schematic;
Fig. 2 is a kind of handoff procedure schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of roaming switching method provided in an embodiment of the present invention;
Fig. 4 is a kind of equipment AP connection schematic diagram provided in an embodiment of the present invention;
Fig. 5 is another roaming switching method schematic diagram provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of roaming switch device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of roaming switch system provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this
Embodiment in invention, those of ordinary skill in the art are without making creative work, obtained every other
Embodiment belongs to the scope of the present invention.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.
Roaming switch process needs to undergo the current connection of some disconnections at present, grasps with new AP pre-connection formally connect etc.
Make, since the information and movement front and back execution sequence of interaction required for different roaming type switchings may be different, herein only
It needs to complete to increase station name to switch to new AP, send connection request, interactive key, association site information and channel switching work
As example, then existing roaming switch process after disconnecting current connection, is just able to achieve to new since a link block is arranged
The roaming switch of connection is as shown in Figure 1 a kind of existing roaming switch process schematic, and currently successively roaming switch has needed
Switch at disconnecting current connection+increase station name, sending connection request, interactive key, association site information, channel.
In the present invention, be integrated with multiple WIFI modules in equipment, multiple WIFI modules may be implemented the connection of AP with
And normal information transmission.Main connection WIFI module and redundancy WIFI module are determined to WIFI module in equipment, with main connection
WIFI module is transmitted as the information that information transmission modular carries out equipment and information receiving end, other idle WIFI modules are as superfluous
Remaining WIFI module.Since multiple WIFI modules are same data transmission set, when main connection WIFI module carries out information transmission,
Redundancy WIFI module not can be carried out information transmission, but can complete various pre-connections before carrying out information transmission and operate, shown in Fig. 1
Roaming switch process for, redundancy WIFI module can complete increase station name, send connection request, interactive key, associated stations
Point information operation, continues to use the process of roaming switch, and for the work of whole roaming switch, handoff procedure as shown in Fig. 2, by
Various pre-connection operations are completed before disconnecting current connection in optimal AP, need to only be completed to disconnect current connection in switching, be cut
Channel switching is carried out after changing WIFI module.
The handoff procedure of WIFI module relative to pre-connection operate (such as increase station name, send connection request, interaction it is close
Key, association site information) needed for expend time greatly shorten, therefore, the business blank time after disconnecting also can be big
It is big to shorten, overall signal transmission quality can be improved to avoid handoff procedure excessively delaying to regular traffic.
Next, roaming switching method provided by the embodiment of the present invention is discussed in detail.Fig. 3 provides for the embodiment of the present invention
A kind of roaming switching method flow chart, this method specifically includes that
Step s310: when by main connection WIFI module carry out information transmission when, control redundancy WIFI module be connected to
Different APs of the current connection AP with title.
The AP of connection WIFI module connection based on current connection AP, redundancy WIFI module are connected to the current connection same title of AP
Different AP, can guarantee equipment and information receiving end in consolidated network with title, to guarantee the normal letter under the network
Breath transmission, AP difference guarantees can be to the detection of the wireless access point of different location under the network, to complete to Optimal Signals matter
The screening of amount.It should be noted that controlling redundancy WIFI module due to that may have a redundancy WIFI module in equipment incessantly
Being connected to need to guarantee at least to be connected in the presence of a redundancy WIFI module and currently connect from currently connection AP with the different AP of title
Different APs of the AP with title are met, to guarantee the detection to same title each position AP signal as far as possible, should guarantee each redundancy WIFI as far as possible
The AP that module is connected is different, that is, controls the first redundancy WIFI module and be connected to difference with other WIFI modules with title
AP, wherein the first redundant module can be any one redundancy WIFI module.
A kind of equipment AP connection schematic diagram is illustrated in figure 4 to be divided into place there are six the AP of same name for AP1 extremely
AP6, there are six WIFI module in equipment, main connection WIFI module is connected to AP5 progress information transmission, five redundancy WIFI modules
It is respectively connected to AP1, AP2, AP3, AP4 and AP6, in order to realize the detection to AP signal quality is correspondingly connected with respectively.
It should be noted that without limitation to the quantity of WIFI module in equipment, it is not necessarily to and AP tie point quantity in place
Matching need to only guarantee that the connection to the same title different location AP other than current connection AP may be implemented in redundant module.
Wherein it is determined that the method for main connection WIFI module and redundancy WIFI module without limitation, can be set in equipment
WIFI module is connected based on default WIFI module, other WIFI modules are as redundancy WIFI module;It can also be according to each in system
WIFI module is connected to the signal quality after same names AP and determines the optimal WIFI module of current signal quality as main connection
WIFI module, other WIFI modules are as redundancy WIFI module;Or it can also arbitrarily specify wherein some WIFI module conduct
Main connection WIFI module etc..
Wherein, to guarantee signal transmission quality of the equipment when powering on initial, roaming switch number is reduced to the greatest extent, preferably
Ground can determine main connection WIFI module and redundancy WIFI module by signal connecting quality.Specifically, it is determined that main connection
The process of WIFI module and redundancy WIFI module can specifically refer to following steps:
WIFI module each in equipment is connected to the AP of same names;
The detection of AP signal quality is carried out to each WIFI module, obtains test result;
The optimal WIFI module of current signal quality is filtered out according to result, by the WIFI module that current signal quality is optimal
As main connection WIFI module, then other WIFI modules are as redundancy WIFI module.
Specifically, multiple WIFI modules are integrated in equipment in advance, each WIFI module is configured to Station mode;Often
A WIFI module is all configured to connect to the AP of same names (title is identical, but the position of AP distribution can be different);WIFI mould
When block First Contact Connections, the signal quality that multiple WIFI modules are connected to after AP is obtained;The signal matter of more multiple WIFI connections
Amount chooses the WIFI module of connection signal better quality as main connection WIFI module, carries out data reception/transmission, remaining
WIFI module disconnects and the connection of AP, as redundancy WIFI module.
It, at this time can be with if current optimal WIFI module is multiple, i.e., multiple WIFI signal uniform qualities, and best in quality
It arbitrarily selects one of as optimal WIFI module, it is preferable that if multiple WIFI module signal qualities are consistent and optimal, according to
Test result, which filters out, connects time-consuming shortest WIFI module in the consistent and optimal WIFI module of signal quality, selection first connects
WIFI module, as main connection WIFI module, the optimal WIFI module of the comprehensive performance for selecting connection speed fast as
Main connection WIFI, can improve information transmission performance to a certain extent.
Step s320: redundancy WIFI module and main connection WIFI module signal quality information are obtained.
The concrete signal quality information type for including in signal quality information can need self-setting according to comparison, than
Such as may include signal strength, degree of stability, AP connection speed, can optionally one or several as comparison condition.By
Larger in the performance of data transmission and the correlation of signal quality, when signal quality is good, data transmission is more smooth, for as far as possible
Lower comparison process to the excessive occupancy of system resource, reduces comparison process time-consuming, improve roaming switch efficiency, it is preferable that can
To carry out the comparison of signal quality according only to signal strength information, then redundancy WIFI module and main connection WIFI module signal are obtained
Quality information specifically: obtain redundancy WIFI module and main connection WIFI module signal strength information;Then, believed according to signal quality
Breath judges whether there is redundancy WIFI module of the signal quality better than main connection WIFI module, specifically: believed according to signal strength
Breath judges whether there is redundancy WIFI module of the signal quality better than main connection WIFI module.
The performance monitoring of main connection WIFI module can be carried out simultaneously with the performance monitoring to each redundancy WIFI module, i.e.,
Performance monitoring is carried out to WIFI modules all in equipment simultaneously, in order to find more preferably information transmission mode in time.Due to setting
The WIFI module quantity of standby middle setting may be more, may occupy a no small system to the performance monitoring of all WIFI modules
System resource to reduce the expenditure to WIFI module performance monitoring to system resource to the greatest extent, while guaranteeing in time to pass system information
The adjustment of defeated mode, to meet data transportation requirements, it is preferable that the live signal quality of available main connection WIFI module,
Obtain main connection signal value;Judge whether main connection signal value reaches preset signals quality threshold;If not up to, obtaining redundancy
The live signal quality information of WIFI module.
If main connection signal value is not up to preset signals quality threshold, illustrate that the data of current main connection WIFI module pass
Defeated performance is more excellent, can satisfy normal data transmission, is unable to satisfy system in the transmission performance of current main connection WIFI module
When data transportation requirements, i.e., when main connection signal value is not up to preset signals quality threshold, then the progress to redundancy WIFI module
The monitoring of live signal quality, it is ensured that in time to the adjustment of system information transmissions mode.
If main connection signal value is not up to preset signals quality threshold, can without the monitoring of redundancy WIFI module,
The performance monitoring of low frequency can also be carried out, it is not limited here.For the information transmission for realizing higher efficiency, adjusted in time to more excellent
Lower power consumption while WIFI module as far as possible, when main connection signal value reaches preset signals quality threshold, it is preferable that can be with every
The live signal quality information of redundancy WIFI module is obtained every preset time;According to the redundancy WIFI mould obtained every preset time
The live signal quality information of block judges whether there is redundancy WIFI module of the signal quality better than main connection WIFI module;If
In the presence of the determining optimal WIFI module in WIFI module of the signal quality better than main connection WIFI module;By optimal WIFI module
The current main connection WIFI module of substitution carries out information transmission.
Step s330: redundancy of the signal quality better than main connection WIFI module is judged whether there is according to signal quality information
WIFI module.
The present embodiment is to carry out the comparison of signal strength as signal quality comparison means, other comparison means
Referring to the introduction of the present embodiment.
The process of signal quality comparison is then carried out for example, the AP5 signal strength-that current main connection WIFI module connects
65dBm, the AP3 signal strength -34dBm that redundancy WIFI module 1 connects, the AP4 signal strength-that redundancy WIFI module 2 connects
55dBm, the AP6 signal strength -87dBm that redundancy WIFI module 3 connects;Then according to the more available redundancy of signal strength
The signal strength of WIFI module 1 and redundancy WIFI module 2 is superior to current main connection WIFI module.
Wherein, it can simplify calculating process although being compared according only to signal strength, it is possible that multiple signals
The equal and optimal situation of intensity, optimal selection in this case according to can depend on the circumstances, such as when be unsatisfactory for again into
Row other parameters can arbitrarily select one of WIFI module as optimal WIFI module when referring to;It is other when being easy to get
When the Connecting quantity compared for performance, assisted Selection foundation can also be used as, this kind of method can performance parameter from many aspects
It is middle to choose the optimal WIFI module of various aspects, promote information transmission performance.
Preferably, when the quantity of optimal WIFI module is greater than 1, optimal WIFI module is substituted into current main connection WIFI mould
Block carries out information transmission and is specifically as follows: choosing the time-consuming shortest WIFI module of wherein AP connection as optimal WIFI module.It is logical
The relatively outer comparison for carrying out AP connection time-consuming in signal difference is crossed, may be implemented while simplifying calculating process to multiple high
The further screening of performance WIFI module carries out efficient information biography to filter out the time-consuming short high quality WIFI module of connection
It is defeated.
Step s340: optimal WIFI module is determined in WIFI module of the signal quality better than main connection WIFI module.
Determine that the process of optimal WIFI module generally can be to carry out performance in selecting step s320 in redundancy WIFI module
The WIFI module of best performance in comparison procedure, for example signal quality difference is carried out when comparing, difference maximum can be chosen, that is, is believed
Number strongest WIFI module of intensity is as optimal WIFI module.For example, the AP5 signal of current main connection WIFI module connection is strong
Degree -65dBm, the AP3 signal strength -34dBm that redundancy WIFI module 1 connects, the AP4 signal strength-that redundancy WIFI module 2 connects
55dBm, then redundancy WIFI module 1 and redundancy WIFI module 2 are the redundancy WIFI mould better than current main connection WIFI module
Block, then optimal WIFI module can choose the strongest redundancy WIFI module 1 of signal strength.It is of course also possible in step s320 institute
It carries out additional performance outside the performance comparison procedure done to compare, it is not limited here.
Step s350: the current main connection WIFI module of optimal WIFI module substitution is subjected to information transmission.
Since optimal WIFI module at this time completes connection beam worker when main connection WIFI module carries out data communication
Make, and switching performance is optimal by analysis, and the replacement process of optimal WIFI module may include: to interrupt main connection WIFI mould
Block switches to complete the optimal WIFI module of pre-connection operation, is connected to new AP, need to only substitute optimal WIFI module current
Main connection WIFI module carries out information and transmits the roaming switch process that can be realized to more dominance energy.Therefore, it is mentioned in the present embodiment
The roaming switch time of service disconnection is needed to greatly shorten in the roaming switching method of confession.
Based on above-mentioned introduction, roaming switching method provided in this embodiment is integrated with multiple WIFI modules in a device, leads to
The normal information transmission that main connection WIFI module completes equipment is crossed, other WIFI modules is controlled and is connected to as redundancy WIFI module
AP is connect with the AP of title but different location with current, in the connection of each redundancy WIFI module, is completed in AP connection transmission
Most of work, including increase the operation of the pre-connections such as station name, interactive key, determining optimal redundancy WIFI module to be replaced
When, after the connection for disconnecting main connection WIFI module and current AP, directly go to the WIFI module progress that pre-connection work is completed
The operations such as channel switching include trifling pre- without carrying out when cutting off last AP connection equipment and being in work halted state
Work is connected, information transmission dead time during roaming switch is substantially reduced, the speed of roaming switch is improved, due to whole
Information caused by substantially reducing in body transmission process because of roaming switch transmits time out, also improves overall signal transmission matter
Amount.
It can be carried out immediately after detecting the presence of due to the redundancy WIFI module of current signal quality in above-described embodiment
The replacement of main connection WIFI module, due to switching the letter with system after the connection of main connection WIFI module during roaming switch
Breath transmission will appear blank, i.e. information Transmission at this time, and transmitting bring to system Global Information to make up this part influences,
The data transmission performance of WIFI module after should guaranteeing switching as far as possible is much better than current main connection WIFI module, otherwise for being
Overall signal transmission unite it is possible that the case where losing more than gain.
To mitigate the influence that unnecessary roaming switch etc. transmits system Global Information as far as possible, it is preferable that can basis
After signal quality information judges whether there is redundancy WIFI module of the signal quality better than main connection WIFI module, if there is letter
Number quality determines redundancy of the signal quality better than main connection WIFI module better than the redundancy WIFI module of main connection WIFI module
WIFI module is alternative WIFI module;Calculate the signal quality difference of alternative WIFI module and main connection WIFI module;Judgement is
It is no to have the difference greater than signal difference threshold value.Then, it is determined most in WIFI module of the signal quality better than main connection WIFI module
Excellent WIFI module, specifically: if there is being greater than the difference of signal difference threshold value, optimal WIFI mould is determined in alternative WIFI module
Block.
To deepen the understanding to roaming switching method provided by the invention, the present embodiment is to realize robot and control centre
Roaming switch for be introduced, main flow is referring to Fig. 5, wherein SminFor the lowest threshold of signal quality;Δ Smin is
The lowest threshold of two WIFI module signal quality differences;SkFor the AP signal of current arbitrary WIFI module connection.
Mainly it may comprise steps of:
Multiple WIFI modules are integrated in robot, each WIFI module is configured to Station mode;Each WIFI module
All it is configured to connect to the AP of same names.
When WIFI module First Contact Connections, the signal quality that multiple WIFI modules are connected to after AP is obtained.
The signal quality of more multiple WIFI connections is chosen the WIFI module of connection signal better quality to carry out data and is connect
It transmits/receives and send, remaining WIFI module disconnects and the connection of AP;If multiple WIFI signal uniform qualities, what selection first connected
WIFI module;
One signal connecting quality threshold value is set, while the signal difference threshold value of multiple WIFI modules is set.
The signal quality for the WIFI module that timing acquisition is currently connect with AP, when signal quality of the signal quality lower than setting
Threshold value, remaining WIFI module are initially connected to identical AP, while obtaining the signal quality after connection.
If the signal quality of the WIFI module currently connected is better than remaining WIFI module, WIFI is without switching.
If the signal quality of the WIFI module currently connected is worse than remaining WIFI module, and difference has been more than the letter of setting
Number difference threshold, then the WIFI module that wherein signal quality is best is selected to be received/transmitted, the WIFI module currently connected
Disconnect the connection with AP.
It allows not connected WIFI module to go to be connected to identical AP every preset time, while obtaining the signal matter of connection
Amount, if signal quality is better than the WIFI module currently connected, and difference is more than the signal difference threshold value of setting, even if currently connecting
The signal quality connect does not reach the signal quality threshold of setting, to carry out the switching of WIFI yet.
The roaming switching method roaming switch time provided in this embodiment is short, and fast roaming switching may be implemented, promote system
System information transmission performance.
Fig. 6 is a kind of structural schematic diagram of roaming switch device provided in an embodiment of the present invention, and roaming switch device is main
It is determined including WIFI control connection unit 610, signal quality acquiring unit 620, redundancy Quality estimation unit 630, optimal WIFI
Unit 640 and WIFI module replacement unit 650.
Wherein, WIFI controls connection unit 610 and is mainly used for controlling when carrying out information transmission by main connection WIFI module
Redundancy WIFI module processed is connected to from currently connection AP with the different AP of title;
Signal quality acquiring unit 620 is mainly used for obtaining redundancy WIFI module and main connection WIFI module signal quality letter
Breath;
Redundancy Quality estimation unit 630 is mainly used for judging whether there is signal quality according to signal quality information better than master
Connect the redundancy WIFI module of WIFI module;
Optimal WIFI determination unit 640 is mainly used in WIFI module of the signal quality better than main connection WIFI module really
Fixed optimal WIFI module;
WIFI module replacement unit 650 is mainly used for the current main connection WIFI module of optimal WIFI module substitution carrying out letter
Breath transmission.
It preferably, can be between redundancy Quality estimation unit and optimal WIFI determination unit in above-mentioned roaming switch device
Further include: dif ference judgment unit is determined for the redundancy WIFI module if there is signal quality better than main connection WIFI module
Signal quality is alternative WIFI module better than the redundancy WIFI module of main connection WIFI module;Calculate alternative WIFI module and main company
Connect the signal quality difference of WIFI module;Judge whether there is the difference greater than signal difference threshold value.
The optimal WIFI determination unit then connecting with dif ference judgment unit is specifically used for: if there is being greater than signal difference threshold value
Difference, optimal WIFI module is determined in alternative WIFI module.
Preferably, signal quality acquiring unit can specifically include:
Main signal obtains subelement, for obtaining the live signal quality of main connection WIFI module, obtains main connection signal
Value;
Main signal judgment sub-unit, for judging whether main connection signal value reaches preset signals quality threshold;
Redundancy obtains subelement, if obtaining the live signal quality information of redundancy WIFI module for not up to.
Can be also connected with after main signal judgment sub-unit redundancy timing acquisition subelement, redundancy determination subelement, it is optimal really
Stator unit and replacement subelement.
Wherein, if redundancy timing acquisition subelement is for reaching, the real-time of redundancy WIFI module is obtained every preset time
Signal quality information;
Redundancy determination subelement is used for the live signal quality letter according to the redundancy WIFI module obtained every preset time
Breath judges whether there is redundancy WIFI module of the signal quality better than main connection WIFI module;
Optimal determining subelement, for if it does, in WIFI module of the signal quality better than main connection WIFI module
Determine optimal WIFI module;
Subelement is replaced, for the current main connection WIFI module of optimal WIFI module substitution to be carried out information transmission.
Preferably, signal quality acquiring unit specifically can be used for: obtain redundancy WIFI module and main connection WIFI module
Signal strength information;
Then, redundancy Quality estimation unit is specifically used for: judging whether there is signal quality according to signal strength information and is better than
The redundancy WIFI module of main connection WIFI module.
When signal quality acquiring unit specifically can be used for: obtaining redundancy WIFI module and main connection WIFI module signal is strong
When spending information, it is preferable that optimal WIFI determination unit specifically can be used for: when the quantity of optimal WIFI module is greater than 1, choosing
Wherein the time-consuming shortest WIFI module of AP connection is as optimal WIFI module.
Preferably, roaming switch device can be with further include: WIFI module type determining units, for by WIFI each in equipment
Module is connected to the AP of same names;Signal quality detection is carried out to each WIFI module, obtains test result;According to test result
The optimal WIFI module of current signal quality is filtered out, using the optimal WIFI module of current signal quality as main connection WIFI mould
Block, then using connection WIFI module non-master in equipment as redundancy WIFI module.
The explanation of feature may refer to the related description of embodiment corresponding to Fig. 4 in embodiment corresponding to Fig. 6, here no longer
It repeats one by one.
The speed of roaming switch can be improved in roaming switch device provided in this embodiment, improves overall signal and transmits matter
Amount.
Fig. 7 is a kind of structural schematic diagram of roaming switch system provided in an embodiment of the present invention, and roaming switch system is main
Including roaming switch equipment 710 and several WIFI modules 720.
Wherein, roaming switch equipment 710 is mainly used for controlling superfluous when carrying out information transmission by main connection WIFI module
Remaining WIFI module is connected to from currently connection AP with the different AP of title;Obtain redundancy WIFI module and main connection WIFI module letter
Number quality information;Redundancy WIFI mould of the signal quality better than main connection WIFI module is judged whether there is according to signal quality information
Block;If it does, determining optimal WIFI module in WIFI module of the signal quality better than main connection WIFI module;It will be optimal
The current main connection WIFI module of WIFI module substitution carries out information transmission;
Several WIFI modules 720 are mainly used for carrying out AP connection according to the link order of roaming switch equipment and information passes
It is defeated.
Roaming switch system provided in this embodiment can refer to the introduction of above-mentioned roaming switching method, no longer go to live in the household of one's in-laws on getting married one by one here
It states.
Present embodiment discloses a kind of readable storage medium storing program for executing, program is stored on readable storage medium storing program for executing, program is by processor
The step of roaming switching method is realized when execution, wherein roaming switching method can refer to the corresponding embodiment of Fig. 3, herein no longer
It repeats.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Detailed Jie has been carried out to roaming switching method provided by the present invention, device, system and readable storage medium storing program for executing above
It continues.Specific case used herein is expounded the principle of the present invention and embodiment party+formula, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention.It should be pointed out that for those skilled in the art
For, it without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention, these improve and repair
Decorations also fall into the protection scope of the claims in the present invention.
Claims (10)
1. a kind of roaming switching method, which is characterized in that multiple WIFI modules are integrated in equipment, this method comprises:
When carrying out information transmission by main connection WIFI module, control redundancy WIFI module is connected to and currently to connect AP of the same name
The different AP of title;Wherein, the current connection AP is the AP that the main connection WIFI module currently connects;
Obtain the redundancy WIFI module and the main connection WIFI module signal quality information;
Redundancy WIFI of the signal quality better than the main connection WIFI module is judged whether there is according to the signal quality information
Module;
If it does, determining optimal WIFI module in WIFI module of the signal quality better than the main connection WIFI module;
The optimal current main connection WIFI module of WIFI module substitution is subjected to information transmission.
2. roaming switching method as described in claim 1, which is characterized in that judge whether to deposit according to the signal quality information
After signal quality is better than the redundancy WIFI module of the main connection WIFI module, further includes:
Redundancy WIFI module if there is signal quality better than the main connection WIFI module, determines signal quality better than described
The redundancy WIFI module of main connection WIFI module is alternative WIFI module;
Calculate the signal quality difference of the alternative WIFI module and the main connection WIFI module;
Judge whether there is the difference greater than signal difference threshold value;
Then, described to determine optimal WIFI module in WIFI module of the signal quality better than the main connection WIFI module, specifically
Are as follows: if there is being greater than the difference of signal difference threshold value, optimal WIFI module is determined in the alternative WIFI module.
3. roaming switching method as described in claim 1, which is characterized in that obtain the redundancy WIFI module and the main company
Connect WIFI module signal quality information, comprising:
The live signal quality for obtaining the main connection WIFI module, obtains main connection signal value;
Judge whether the main connection signal value reaches preset signals quality threshold;
If not up to, obtaining the live signal quality information of the redundancy WIFI module.
4. roaming switching method as claimed in claim 3, which is characterized in that judge whether the main connection signal value reaches pre-
If after signal quality threshold, further includes:
If reaching, the live signal quality information of the redundancy WIFI module is obtained every preset time;
Signal is judged whether there is according to the live signal quality information of the redundancy WIFI module obtained every preset time
Redundancy WIFI module of the quality better than the main connection WIFI module;
If it does, determining optimal WIFI module in WIFI module of the signal quality better than the main connection WIFI module;
The optimal current main connection WIFI module of WIFI module substitution is subjected to information transmission.
5. roaming switching method as described in claim 1, which is characterized in that the redundancy WIFI module and described of obtaining
Main connection WIFI module signal quality information, comprising:
Obtain the redundancy WIFI module and the main connection WIFI module signal strength information;
Then, redundancy of the signal quality better than the main connection WIFI module is judged whether there is according to the signal quality information
WIFI module, specifically: signal quality is judged whether there is better than the main connection WIFI mould according to the signal strength information
The redundancy WIFI module of block.
6. roaming switching method as claimed in claim 5, which is characterized in that be better than the main connection WIFI mould in signal quality
Optimal WIFI module is determined in the WIFI module of block, comprising:
When the quantity of the optimal WIFI module is greater than 1, the time-consuming shortest WIFI module of wherein AP connection is chosen as optimal
WIFI module.
7. roaming switching method as described in claim 1, which is characterized in that described to carry out information by main connection WIFI module
Before transmission, further includes:
WIFI module each in equipment is connected to the AP of same names;
Signal quality detection is carried out to each WIFI module, obtains test result;
The optimal WIFI module of current signal quality is filtered out according to the test result, by the WIFI that current signal quality is optimal
Module is as main connection WIFI module, then using connection WIFI module non-master in equipment as redundancy WIFI module.
8. a kind of roaming switch device, which is characterized in that be integrated with multiple WIFI modules in equipment, which includes:
WIFI controls connection unit, for controlling redundancy WIFI module when carrying out information transmission by main connection WIFI module
It is connected to from currently connection AP with the different AP of title;Wherein, the current connection AP is that the main connection WIFI module is current
The AP of connection;
Signal quality acquiring unit, for obtaining the redundancy WIFI module and the main connection WIFI module signal quality letter
Breath;
Redundancy Quality estimation unit, for judging whether there is signal quality better than the main company according to the signal quality information
Connect the redundancy WIFI module of WIFI module;
Optimal WIFI determination unit, for determining optimal in WIFI module of the signal quality better than the main connection WIFI module
WIFI module;
WIFI module replacement unit, for the optimal current main connection WIFI module of WIFI module substitution to be carried out information biography
It is defeated.
9. a kind of roaming switch system characterized by comprising
Roaming switch equipment, for when carrying out information transmission by main connection WIFI module, control redundancy WIFI module to be connected
To the different AP from current connection AP with title;Wherein, the current connection AP is that the main connection WIFI module currently connects
AP;Obtain the redundancy WIFI module and the main connection WIFI module signal quality information;Believed according to the signal quality
Breath judges whether there is redundancy WIFI module of the signal quality better than the main connection WIFI module;If it does, in signal matter
Amount determines optimal WIFI module in the WIFI module better than the main connection WIFI module;The optimal WIFI module substitution is worked as
Preceding main connection WIFI module carries out information transmission;
Several WIFI modules, for carrying out AP connection and information transmission according to the link order of the roaming switch equipment.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with program on the readable storage medium storing program for executing, described program is located
It manages and is realized when device executes as described in any one of claim 1 to 7 the step of roaming switching method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811333944.5A CN109257783A (en) | 2018-11-09 | 2018-11-09 | A kind of roaming switching method, device, system and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811333944.5A CN109257783A (en) | 2018-11-09 | 2018-11-09 | A kind of roaming switching method, device, system and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109257783A true CN109257783A (en) | 2019-01-22 |
Family
ID=65043327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811333944.5A Pending CN109257783A (en) | 2018-11-09 | 2018-11-09 | A kind of roaming switching method, device, system and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109257783A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110913447A (en) * | 2019-12-30 | 2020-03-24 | Oppo广东移动通信有限公司 | Network control method, network control device, storage medium and electronic equipment |
CN111491337A (en) * | 2019-01-28 | 2020-08-04 | 青岛海信移动通信技术股份有限公司 | Hotspot switching method and device |
CN111741500A (en) * | 2020-08-03 | 2020-10-02 | 成都极米科技股份有限公司 | Roaming method in multilink scene, multilink device and storage medium |
CN112788692A (en) * | 2019-11-11 | 2021-05-11 | 华为技术有限公司 | Communication method and device |
CN114466430A (en) * | 2022-02-18 | 2022-05-10 | 深圳酷源数联科技有限公司 | Roaming method of mining rail transit WIFI terminal, terminal and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104703256A (en) * | 2015-03-20 | 2015-06-10 | 惠州Tcl移动通信有限公司 | Method and system of dynamically connecting MT (Mobile Terminal) with quick AP (Access Point) |
CN105430699A (en) * | 2015-11-18 | 2016-03-23 | 北京华信联创科技有限公司 | Method, device and system for inter-AP high-speed switching of terminal in WLAN network |
CN105828378A (en) * | 2015-08-27 | 2016-08-03 | 维沃移动通信有限公司 | Wireless fidelity (WIFI) connection method and terminal equipment |
CN106102098A (en) * | 2016-05-27 | 2016-11-09 | 华为技术有限公司 | A kind of method and device accessing WIFI network |
US20180184346A1 (en) * | 2015-06-09 | 2018-06-28 | Huawei Technologies Co., Ltd. | Frequency band switching method and terminal |
-
2018
- 2018-11-09 CN CN201811333944.5A patent/CN109257783A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104703256A (en) * | 2015-03-20 | 2015-06-10 | 惠州Tcl移动通信有限公司 | Method and system of dynamically connecting MT (Mobile Terminal) with quick AP (Access Point) |
US20180184346A1 (en) * | 2015-06-09 | 2018-06-28 | Huawei Technologies Co., Ltd. | Frequency band switching method and terminal |
CN105828378A (en) * | 2015-08-27 | 2016-08-03 | 维沃移动通信有限公司 | Wireless fidelity (WIFI) connection method and terminal equipment |
CN105430699A (en) * | 2015-11-18 | 2016-03-23 | 北京华信联创科技有限公司 | Method, device and system for inter-AP high-speed switching of terminal in WLAN network |
CN106102098A (en) * | 2016-05-27 | 2016-11-09 | 华为技术有限公司 | A kind of method and device accessing WIFI network |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111491337A (en) * | 2019-01-28 | 2020-08-04 | 青岛海信移动通信技术股份有限公司 | Hotspot switching method and device |
CN111491337B (en) * | 2019-01-28 | 2022-01-28 | 青岛海信移动通信技术股份有限公司 | Hotspot switching method and device |
CN112788692A (en) * | 2019-11-11 | 2021-05-11 | 华为技术有限公司 | Communication method and device |
CN110913447A (en) * | 2019-12-30 | 2020-03-24 | Oppo广东移动通信有限公司 | Network control method, network control device, storage medium and electronic equipment |
CN110913447B (en) * | 2019-12-30 | 2022-01-07 | Oppo广东移动通信有限公司 | Network control method, network control device, storage medium and electronic equipment |
CN111741500A (en) * | 2020-08-03 | 2020-10-02 | 成都极米科技股份有限公司 | Roaming method in multilink scene, multilink device and storage medium |
CN111741500B (en) * | 2020-08-03 | 2020-12-01 | 成都极米科技股份有限公司 | Roaming method in multilink scene, multilink device and storage medium |
US11963046B2 (en) | 2020-08-03 | 2024-04-16 | Chengdu Xgimi Technology Co., Ltd. | Roaming method in a multi-link scenario, multi-link device, and storage medium |
CN114466430A (en) * | 2022-02-18 | 2022-05-10 | 深圳酷源数联科技有限公司 | Roaming method of mining rail transit WIFI terminal, terminal and computer readable storage medium |
CN114466430B (en) * | 2022-02-18 | 2023-08-01 | 深圳酷源数联科技有限公司 | Roaming method of mine track traffic WIFI terminal, terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109257783A (en) | A kind of roaming switching method, device, system and readable storage medium storing program for executing | |
CN110267301B (en) | Method for acquiring terminal capability in dual-connection system | |
US8478262B2 (en) | Method and apparatus for delegating signal quality handover measuring of a user equipment in wireless communication to a neighbouring user equipment | |
CN103491578B (en) | Network shunt method and device | |
US20080176566A1 (en) | Handover control system, method for the same, and mobile communication system and radio base station using the same | |
US11057808B2 (en) | Method and device for managing Pcell or PScell | |
CN108370516B (en) | Method for cell measurement report and user equipment | |
CN101909322A (en) | Mobile terminal and method for reporting mobile state thereof | |
CN101296481A (en) | Method, system and device for switching between networks | |
KR101514955B1 (en) | Method for changing the wireless access point associated with a terminal in a wifi-dect wireless telecommunications network | |
WO2016065590A1 (en) | Inter-small cell switching method, device and system | |
CN103220740A (en) | Cell switching method and device | |
CN108243463A (en) | A kind of cell switching method of LTE high ferros | |
JP4747173B2 (en) | Target cell search method and system for multimode-multiband terminal in mobile communication environment | |
CN102244912A (en) | Method and system for switching networks | |
CN103581945A (en) | Measurement configuration processing method and device | |
WO2014012255A1 (en) | Method for determining handover cell and base station | |
RU2417557C2 (en) | Intra-frequency and inter-frequency measurement in radio communication system | |
CN109219978A (en) | Cut-in method, user equipment, control equipment and communication system | |
JP2008511200A (en) | Multimode-multiband terminal handover method and system using multi-target cells in mobile communication environment | |
CN102547764A (en) | Method, system and device for improving mobile robustness | |
CN101772113B (en) | Switching method and base station node | |
CN111586743B (en) | Wireless network communication method, network equipment and terminal equipment | |
CN103491615A (en) | Wireless communication method, terminal, base station and wireless communication system | |
CN103167567B (en) | The method and apparatus of mobile terminal base station shifting |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190122 |