CN107708163A - A kind of roving link switching method, mobile terminal, network modules and storage medium - Google Patents

A kind of roving link switching method, mobile terminal, network modules and storage medium Download PDF

Info

Publication number
CN107708163A
CN107708163A CN201710846530.1A CN201710846530A CN107708163A CN 107708163 A CN107708163 A CN 107708163A CN 201710846530 A CN201710846530 A CN 201710846530A CN 107708163 A CN107708163 A CN 107708163A
Authority
CN
China
Prior art keywords
link
wap
roving
primary
signal strength
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
CN201710846530.1A
Other languages
Chinese (zh)
Other versions
CN107708163B (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.)
Technology Co Ltd Of Xin Ruiwang Section Of Shenzhen
Original Assignee
Technology Co Ltd Of Xin Ruiwang Section Of Shenzhen
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 Technology Co Ltd Of Xin Ruiwang Section Of Shenzhen filed Critical Technology Co Ltd Of Xin Ruiwang Section Of Shenzhen
Priority to CN201710846530.1A priority Critical patent/CN107708163B/en
Publication of CN107708163A publication Critical patent/CN107708163A/en
Application granted granted Critical
Publication of CN107708163B publication Critical patent/CN107708163B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/18Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

The invention discloses a kind of roving link switching method, mobile terminal, network modules and storage medium, the present invention obtains WAP to be connected by searching for available WAP in current environment;And link is established respectively with the WAP to be connected, select a link to enter row data communication as primary link from the link, remaining link is as standby link;Then according to the primary link and standby link, preparatory condition is unsatisfactory in the communication quality for detecting the primary link, when needing to carry out roving link switching, a link is chosen from the standby link, and the link switching of selection is subjected to data communication for primary link, so as to solve the problems, such as link down, packet loss present in current wireless local area network (WLAN) system roving link handoff procedure, user terminal data communication in roving link handoff procedure is not disrupted, provides the user the network experience that reliable network service improves user.

Description

A kind of roving link switching method, mobile terminal, network modules and storage medium
Technical field
The present invention relates to communication technical field, more particularly to a kind of roving link switching method, mobile terminal, network modules And storage medium.
Background technology
In recent years, with wireless technology development and reach its maturity, wireless network is rapidly applied to each of life Aspect, many facilities are brought to us, at present both at home and abroad to wireless network (Wireless Fidelity, WiFi) should With relatively broad.Can be wirelessly mutual by PC, handheld device (such as Pad, mobile phone) terminal as one kind The technology being connected, WiFi network can it is fast-developing the reason for one of be due to 802.11 technologies (International Power electronic engineering Can be WLAN formulate standard) provide mobility, mobility require wireless terminal (Station, STA) possess from One WAP (Access Point, AP) still keeps upper level applications net when being transitioned on another WAP The function of network connection, this function are referred to as roaming.
In existing WLAN (Wireless Local Area Networks, WLAN) system, typical roaming Process is:STA first carries out all channel scanning before roaming, collects available AP lists, then first disconnects the AP currently connected, then Again the most strong AP of next signal is associated, but is still using first going to sweep when being STA roamings the problem of this process is present The AP lists of surrounding are retouched, are then turned off the AP currently connected, then the method for associating next AP again, and due to data safety It is required that it is close to pass through Extensible Authentication Protocol (EAP Over Lan, EAPOL) message interaction based on LAN in AP association process Key process, therefore can still have communication link short interruption across the moment of scan channel and roaming switch in roam procedure Moment, the moment duration is from a few tens of milliseconds to hundreds of milliseconds, so as to cause packet loss.For some to network connectivity requirements For strict application or equipment, the packet loss is insufferable, and network service outages, application crash etc. can be triggered abnormal Behavior.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill Art.
The content of the invention
It is a primary object of the present invention to provide a kind of roving link switching method, mobile terminal, network modules and deposit Storage media, it is intended to solve the problems, such as existing link down, packet loss during existing wireless local area network (WLAN) system roaming switch.
To achieve the above object, the invention provides a kind of roving link switching method, the roving link switching method Comprise the following steps:
Available WAP in current environment is searched for, obtains WAP to be connected;
Link is established respectively with the WAP to be connected, and a link is selected from the link as primary link Enter row data communication, remaining link is as standby link;
When the communication quality for detecting the primary link is unsatisfactory for preparatory condition, a chain is chosen from the standby link Road, and be that primary link carries out data communication by the link switching of selection.
Preferably, available WAP in the search current environment, obtains WAP step to be connected, has Body includes:
Available WAP in current environment is searched for, the logical of each WAP is obtained according to the WAP Believe parameter;
According to the messaging parameter, the weighted signal strength value of the WAP is calculated;
By the weighted signal strength value compared with predetermined threshold value, according to comparative result from the WAP Choose WAP to be connected.
Preferably, the messaging parameter includes:In service set, Basic Service Set Identification, channel and signal intensity At least one of;
Correspondingly, it is described according to the messaging parameter, the weighted signal strength value step of the WAP is calculated, is had Body includes:
Preset weights corresponding to obtaining each messaging parameter and each messaging parameter, the weighted average of each messaging parameter is calculated, And using the weighted signal strength value of the weighted average of calculating WAP as corresponding to.
Preferably, described to select a link to enter row data communication as primary link from the link, remaining link is made For standby link step, specifically include:
Link corresponding to the maximum WAP of the weighted signal strength value is chosen as primary link progress data to lead to Letter, remaining link is as standby link.
Preferably, the step of communication quality that ought detect the primary link is unsatisfactory for preparatory condition, specifically includes:
The messaging parameter of the primary link is obtained in real time, and calculates the current weighted signal strength value of the primary link;
When the current weighted signal strength value is no more than predetermined threshold value, assert that the communication quality of the primary link is discontented with Sufficient preparatory condition.
Preferably, it is described that a link is chosen from the standby link, and the link switching being selected is entered for primary link Row data communication step, is specifically included:
Messaging parameter corresponding to obtaining the WAP of each standby link connection, according to the messaging parameter, is calculated each standby The current weighted signal strength value of the WAP of link connection;
Link where choosing the maximum WAP of current weighted signal strength value is used as Target Link, and described in general Target Link switches to primary link to enter row data communication.
Preferably, it is described to establish link step respectively with the WAP to be connected, specifically include:
The first default radio frames of WAP transmission to link to be established are authenticated association and establish Radio Link.
Preferably, the WAP is wireless by the second default radio frames feedback when current wireless protocol is constant Environmental information, the radio environment information include:In channel utilization rate, noise figure and neighbor radio access points channel list extremely One item missing.
In addition, to achieve the above object, the present invention also proposes a kind of mobile terminal, and the mobile terminal includes:
The roving link switching that memory, processor and being stored in can be run on the memory and on the processor Program, the step of roving link changeover program is arranged for carrying out roving link switching method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of network modules, and the module includes:Memory, processing Device and the roving link changeover program that can be run on the memory and on the processor is stored in, the roving link is cut Change the step of program is arranged for carrying out roving link switching method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, and roaming is stored with the storage medium Link switching program, roving link switching side as described above is realized when the roving link changeover program is executed by processor The step of method.
The present invention obtains WAP to be connected by searching for available WAP in current environment;And with institute State WAP to be connected and establish link respectively, select a link to carry out data as primary link from the link and lead to Letter, remaining link is as standby link;Then according to the primary link and standby link, the communication quality of the primary link is being detected Preparatory condition is unsatisfactory for, it is necessary to when carrying out roving link switching, chooses a link from the standby link, and by the chain of selection Road switches to primary link to enter row data communication, exists so as to solve in current wireless local area network (WLAN) system roving link handoff procedure Link down, packet loss the problem of, make user terminal in roving link handoff procedure data communication be not disrupted, carried for user The network that user is improved for reliable network service is experienced.
Brief description of the drawings
Fig. 1 is the structural representation of the roaming device for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 2 is the schematic flow sheet of roving link switching method first embodiment of the present invention;
Fig. 3 is the schematic flow sheet of roving link switching method second embodiment of the present invention;
Fig. 4 is to associate procedure chart of reaching the standard grade between wireless terminal and WAP in the prior art;
Fig. 5 is that wireless terminal and WAP associate procedure chart of reaching the standard grade in second embodiment of the invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
Reference picture 1, Fig. 1 are the roaming device structural representation for the hardware running environment that scheme of the embodiment of the present invention is related to.
In the specific implementation, the roaming device both can be a mobile terminal or a network modules, originally Embodiment is not any limitation as to this.
As shown in figure 1, the roaming device can include:Processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005, less radio-frequency 1006.Wherein, communication bus 1002 be used for realize these components it Between connection communication.User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), Optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally include Wireline interface, the wave point (such as WI-FI interfaces) of standard.Memory 1005 can be high-speed RAM memory or steady Fixed memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of The storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that the roaming device structure shown in Fig. 1 does not form the limit to roaming device It is fixed, it can include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, it can be deposited as in a kind of memory 1005 of computer-readable storage medium including operating system, data Module, network communication module, Subscriber Interface Module SIM and roving link changeover program are stored up, the network communication module can be to use Family equipment provides network service.
The roaming device can be a kind of special device that can realize WLAN roving link handoff functionality, Its hardware state can be set according to the actual requirements, and the present embodiment is not any limitation as to this;The user equipment can be user's end End, such as:The equipment such as smart mobile phone, tablet personal computer, notebook computer or Intelligent bracelet, the present embodiment are not any limitation as to this.
In the roaming device shown in Fig. 1, network interface 1004 is mainly used in connecting user equipment, is carried out with user equipment Data communicate, it may also be used for connection server, enter row data communication with server;Less radio-frequency 1006, it is wireless to be configured to transmitting Radio frequency, Radio Link is established with WAP;User interface 1003 is mainly used in carrying out data interaction with user;The present invention is unrestrained Processor 1001, memory 1005 in trip device can be arranged in roaming device, and the roaming device passes through processor The roving link changeover program stored in 1001 calling memories 1005, and perform following operate:
Available WAP in current environment is searched for, obtains WAP to be connected;
Link is established respectively with the WAP to be connected, and a link is selected from the link as primary link Enter row data communication, remaining link is as standby link;
When the communication quality for detecting the primary link is unsatisfactory for preparatory condition, a chain is chosen from the standby link Road, and be that primary link carries out data communication by the link switching of selection.
Further, processor 1001 can call the roving link changeover program stored in memory 1005, also perform Operate below:
Available WAP in current environment is searched for, the logical of each WAP is obtained according to the WAP Believe parameter;
According to the messaging parameter, the weighted signal strength value of the WAP is calculated;
By the weighted signal strength value compared with predetermined threshold value, according to comparative result from the WAP Choose WAP to be connected.
Further, processor 1001 can call the roving link changeover program stored in memory 1005, also perform Operate below:
Preset weights corresponding to obtaining each messaging parameter and each messaging parameter, the weighted average of each messaging parameter is calculated, And using the weighted signal strength value of the weighted average of calculating WAP as corresponding to.
Further, processor 1001 can call the roving link changeover program stored in memory 1005, also perform Operate below:
Link corresponding to the maximum WAP of the weighted signal strength value is chosen as primary link progress data to lead to Letter, remaining link is as standby link.
Further, processor 1001 can call the roving link changeover program stored in memory 1005, also perform Operate below:
The messaging parameter of the primary link is obtained in real time, and calculates the current weighted signal strength value of the primary link;
When the current weighted signal strength value is no more than predetermined threshold value, assert that the communication quality of the primary link is discontented with Sufficient preparatory condition.
Further, processor 1001 can call the roving link changeover program stored in memory 1005, also perform Operate below:
Messaging parameter corresponding to obtaining the WAP of each standby link connection, according to the messaging parameter, is calculated each standby The current weighted signal strength value of the WAP of link connection;
Link where choosing the maximum WAP of current weighted signal strength value is used as Target Link, and described in general Target Link switches to primary link to enter row data communication.
Further, processor 1001 can call the roving link changeover program stored in memory 1005, also perform Operate below:
The first default radio frames of WAP transmission to link to be established are authenticated association and establish Radio Link.
The beneficial effect of the embodiment of the present invention is:Roaming device by searching for available WAP in current environment, Obtain WAP to be connected;And link is established respectively with the WAP to be connected, select one from the link Bar link enters row data communication as primary link, and remaining link is as standby link;Then according to the primary link and standby link, The communication quality for detecting the primary link is unsatisfactory for preparatory condition, it is necessary to when carrying out roving link switching, from the standby link One link of middle selection, and be that primary link carries out data communication by the link switching of selection, so as to solve current wireless local During net system roaming link switching the problem of existing link down, packet loss, user terminal is set to switch in roving link Data communication is not disrupted in journey, provides the user the network experience that reliable network service improves user.
Based on above-mentioned hardware configuration, roving link switching method embodiment of the present invention is proposed.
Reference picture 2, Fig. 2 are a kind of schematic flow sheet of roving link switching method first embodiment of the present invention.
In the present embodiment, it the described method comprises the following steps:
Step S10:Available WAP in current environment is searched for, obtains WAP to be connected;
It should be noted that the executive agent of the method for the present embodiment is roaming device, i.e. one kind can realize wireless office The device of domain network roaming link switching function.
It should be understood that roaming device can be by being scanned to receive to a range of wireless signal of surrounding environment Collect available WAP in current environment, its range size scanned can be configured according to specific demand, for example, will Using roaming device position as the center of circle, radius 10m scope obtains available wireless in the range of being somebody's turn to do as default scanning range Access point.
It should be noted that among the available WAP that roaming device searches, and not all available nothing Line access point is all target access, for example, it may be possible to which existing situation is, available WAP itself, it is handled up or can The number of terminals of access has practically already been achieved the limit, although searched at it is then available, can not be carried for roaming device For reliable network service, therefore roaming device needs obtain some satisfactions from the available wireless access point searched and necessarily connected The WAP of narrow bars part is as access point to be connected.
Further, in the embodiment of the present invention, roaming device provides wirelessly connecing for reliable network service in order to obtain Access point, the roaming device can be by searching for available WAP in current environment, then according to the WAP The messaging parameter of each WAP is obtained, and according to the messaging parameter, the weighted signal for calculating the WAP is strong Angle value;By the weighted signal strength value compared with predetermined threshold value, selected according to comparative result from the WAP Take WAP to be connected.
It is understood that after roaming device is searching the available wireless access point in current environment preset range, The messaging parameter of each available wireless access point can be collected, the messaging parameter can include:Service set, basic service set Mark, channel, signal intensity, noise figure, channel utilization rate and last discovery time etc.;Certainly, it is described logical in actual conditions Letter parameter can also include being used for the relevant parameter for characterizing the other attributes of WAP, and this implementation is not any limitation as to this.
In the specific implementation, roaming device after the messaging parameter of each available wireless access point is got, can be according to advance The weights of each messaging parameter of setting calculate the weighted average of the messaging parameter of corresponding WAP, and will calculate Weighted signal strength of the weighted average gone out as the WAP, for example, roaming device gets available wireless access Point A signal intensity is -50, and noise figure is -90, and WAP A letter can be calculated according to signal strength values and noise figure Road ratio [(- 50)-(- 90)=40], then weight and other parameters got and correspondingly according to corresponding to the channel ratio Weight calculation go out WAP A weighted signal strength value.
Certainly, weights corresponding to each messaging parameter are not unique, can be adjusted according to actual conditions, for example, working as , can be by weights phase corresponding to signal intensity in the case that the channel utilization rate of available wireless access point is more or less the same in preceding environment It should heighten to obtain actual weighted signal strength value, weights can be set according to actual conditions corresponding to specific messaging parameter Fixed, the present embodiment is not any limitation as to this.
Further, in the embodiment of the present invention, roaming device is to obtain the company for the treatment of from the available wireless access point searched The WAP connect, can by set weighted signal strength value corresponding to a predetermined threshold value and each WAP come The available wireless access point is screened, obtains the WAP to be connected for the condition that meets, for example, the default threshold of setting It is worth for 50, when the weighted signal strength value of a certain WAP is more than 50, then it is assumed that the WAP is the company for the treatment of Connect WAP;As available wireless access point A, B, C, D, E and F be present around the discovery of a certain moment roaming device, it is computed The weighted signal strength value for drawing them afterwards is respectively 30,35,48,51,67 and 74, then by above-mentioned weighted signal strength value with Predetermined threshold value is compared, and the WAP to be connected finally obtained is D, E and F, described during specific implementation Predetermined threshold value can also be set according to actual conditions, and the present embodiment is not any limitation as to this.
Step S20:Link is established respectively with the WAP to be connected, selects a link to make from the link Data communication is carried out for primary link, remaining link is as standby link;
In the present embodiment, roaming device can launch multiple less radio-frequencies to establish chain with each WAP to be connected Road, and provide reliable network clothes by selecting a link to be used as primary link from the link established to enter row data communication Business, remaining link are then used as reserve link and performed across scan channel, the in advance operation such as association.
It should be noted that the primary link and standby link in the present embodiment are not the definition to link attribute, it is simply It is easy to make a distinction the link being currently used in into row data communication with other links.In addition, in some special scenes, overflow Trip device may only need to use single less radio-frequency to be roamed, for example, when the WAP for entering row data communication is (i.e. main Link) be selected in the case of, the less radio-frequency can that residue establishes link is only done adjacent wireless of scanning collection and connect Access point is used, and is not involved in roaming switch process, and therefore, the present embodiment is not any limitation as to the application scenarios of roaming device.
Further to improve the reliability of WLAN roving link switching, in the present embodiment, from the chain established It when primary link is chosen in road, can according to the actual requirements select, for example, to ensure the quality of data communication, weighting letter may be selected Link is as primary link corresponding to the maximum WAP of number intensity level;It is optional again or to ensure the speed of data communication Signal intensity is higher and channel utilization rate is relatively low link is selected as primary link, during specific implementation, the selection side of primary link Formula can according to the actual requirements depending on, the present embodiment is not any limitation as to this.
Step S30:When the communication quality for detecting the primary link is unsatisfactory for preparatory condition, selected from the standby link A link is taken, and is that primary link carries out data communication by the link switching of selection.
It is understood that to ensure data communication quality, roaming device can be to currently entering the primary link of row data communication Communication quality detection is carried out, for example, a detection cycle can be preset, to detect the communication quality of primary link, so as in main chain It route in equipment fault, signal weaker or carries out link switching in time in the case of severe jamming being present, so as to ensures number It will not be interrupted according to communication, prevent the generation of packet drop.
Further, in the embodiment of the present invention, roaming device can correspond to working as WAP by comparing primary link The size of preceding weighted signal strength value and predetermined threshold value judges whether the communication quality of the primary link meets preparatory condition, if The current weighted signal strength value is no more than predetermined threshold value, then assert that the communication quality of the primary link is unsatisfactory for default bar Part.
The present embodiment calculates the primary link in the specific implementation, roaming device obtains the messaging parameter of primary link in real time Current weighted signal strength value;And by current weighted signal strength value compared with threshold value set in advance, work as described When preceding weighted signal strength value is no more than predetermined threshold value, assert that the communication quality of the primary link is unsatisfactory for preparatory condition, for example, At a certain moment, roaming device calculates the current weighted signal strength value of primary link and is less than predetermined threshold value 50 for 40, then described in identification The communication quality of primary link is unsatisfactory for preparatory condition, now just needs to choose a link from standby link, and by the chain of selection Road switches to primary link to enter row data communication, and the predetermined threshold value can be set or be adjusted according to actual conditions.
Further, it is that the data that a better quality is remained in that after roaming device carries out link switching communicate, can Select present communications best in quality from reserve link, for example, the standby link progress link switching that weighted signal strength value is maximum.
The present embodiment is in the specific implementation, roaming device obtains the ginseng that communicated corresponding to the WAP of each standby link connection Number, according to the messaging parameter, calculate the current weighted signal strength value of the WAP of each standby link connection;Choose current Link where the maximum WAP of weighted signal strength value is as Target Link, and based on the Target Link switched Link enters row data communication.
It should be noted that no matter whether roaming device associates with WAP in this embodiment, WAP is all Radio environment information can be fed back by the second default radio frames (i.e. wireless management frame) to roaming device, so as to enrich roaming dress The neighbor radio access points information content collected is put, realizes more accurately roaming decisions.Wherein, the radio environment information bag Include and be not only limited to:Channel utilization rate, noise figure, neighbor radio access points channel list etc..
, can be according to therein adjacent wireless after in the specific implementation, the roaming device receives these wireless management frames Channel of access point list information carries out targetedly reducing useless channel switch time across scan channel;For example, roaming Device, which is received in the neighbor radio access points channel list of WAP B feedbacks, includes WAP C, D and E, just It can targetedly carry out across scan channel, that is, scanning WAP C, D and E, obtaining their messaging parameter, then basis Channel utilization therein, noise figure optimize to the calculating process of WAP to be connected, reduce invalid unrestrained Trip switching, so as to realize faster more accurately roam procedure.
In the embodiment of the present invention, roaming device is obtained to be connected by searching for available WAP in current environment WAP;And link is established respectively with the WAP to be connected, a link conduct is selected from the link Primary link enters row data communication, and remaining link is as standby link;Then it is described detecting according to the primary link and standby link The communication quality of primary link is unsatisfactory for preparatory condition, it is necessary to when carrying out roving link switching, and one is chosen from the standby link Link, and be that primary link carries out data communication by the link switching of selection, so as to solve current wireless local area network (WLAN) system roaming During link switching the problem of existing link down, packet loss, lead to user terminal data in roving link handoff procedure Letter is not disrupted, and provides the user the network experience that reliable network service improves user.
Reference picture 3, Fig. 3 are the schematic flow sheet of roving link switching method second embodiment of the present invention.Wherein, above-mentioned On the basis of first embodiment, linear velocity is associated for accelerate roaming device and WAP, methods described also includes:
Step S201:The first default radio frames of WAP transmission to link to be established are authenticated association and establish nothing Wired link.
It is understood that during roaming device and WAP establish link, the roaming device and nothing It can be authenticated associating between line access point, after authentication associated success, the roaming device could be established with WAP Radio Link enters row data communication.
Reference picture 4, Fig. 4 are to associate procedure chart of reaching the standard grade between wireless terminal and WAP in the prior art.It is existing In technology, terminal (STA, roaming device) is after the Beacon frames of WAP (AP) transmission are received, to WAP Certification request Auth req are sent, WAP can be sent after the Auth req of the terminal transmission are received to terminal to be recognized Card response Auth resp, terminal send association request Assoc req after the authentication response is received, to WAP, And after the associated response Assoc resp of WAP return are received, start to carry out 4-Way Handshake with WAP, In the 4-Way Handshake, terminal and WAP by EAPOL-key messages (i.e. EAPOL-key1, EAPOL-key2, EAPOL-key3 and EAPOL-key4) cipher key interaction is carried out, to ensure the security of data transfer (Protected data), four It is secondary shake hands successfully after, terminal and WAP are completed to associate line process, enter row data communication.
Reference picture 5, Fig. 5 are that wireless terminal and WAP associate procedure chart of reaching the standard grade in second embodiment of the invention.
It is linear velocity on increasing terminal in the present embodiment with reference to Fig. 4, roaming device is receiving WAP (AP) After the Beacon frames of transmission, by sending the described first default radio frames (i.e. Action- to the WAP of link to be established Online frames), the WAP of link to be established is being received the described first default radio frames (Action-online frames) Afterwards, authentication associated and 4-Way Handshake process is completed inside itself wireless driving, while roaming device is also in itself wireless driving Above-mentioned authentication associated and 4-Way Handshake process is completed in inside, and is receiving the WAP feedback of the link to be established After radio frames (Action-ready), Radio Link is established with the WAP.
The present embodiment terminal authentication interrelational form compares the authentication associated mode of terminal in 802.11 traditional agreements, no longer Rely on the real message interaction mistake such as traditional Auth req, Auth resp, Assoc req, Assoc resp and EAPOL Journey, so that terminal on-line time shortens to a millisecond rank from second rank, greatly improve wireless terminal and WAP Between association on linear velocity.
Step S202:A link is selected to enter row data communication as primary link from the link, remaining link conduct Standby link.
, it is necessary to therefrom select a link as primary link after roaming device and WAP link establishment success Enter row data communication and reliable network service is provided, remaining link is then used as reserve link and performed across scan channel, in advance The first operation such as association.
It should be noted that the present embodiment during specific implementation, can wirelessly drive in WAP and roaming device Dynamic inside pre-sets above-mentioned interrelational form, and specific setting up procedure can be depending on actual conditions, and the present embodiment is not subject to this Limitation.
The present embodiment proposes a kind of terminal authentication association process of safe and convenient, to replace 802.11 traditional agreements Middle terminal is reached the standard grade flow, during terminal is authenticated association, by the described first default radio frames make roaming device and WAP completes line process in virtual certification inside respective wireless driving, so that terminal on-line time is from second level A millisecond rank is not shortened to, is greatly improved and is associated linear velocity between wireless terminal and WAP.
In addition, the embodiment of the present invention also proposes a kind of storage medium, roving link switching is stored with the storage medium Program, following operation is realized when the roving link changeover program is executed by processor:
Available WAP in current environment is searched for, obtains WAP to be connected;
Link is established respectively with the WAP to be connected, and a link is selected from the link as primary link Enter row data communication, remaining link is as standby link;
When the communication quality for detecting the primary link is unsatisfactory for preparatory condition, a chain is chosen from the standby link Road, and be that primary link carries out data communication by the link switching of selection.
Further, following operation is also realized when roving link changeover program is executed by processor:
Available WAP in current environment is searched for, the logical of each WAP is obtained according to the WAP Believe parameter;
According to the messaging parameter, the weighted signal strength value of the WAP is calculated;
By the weighted signal strength value compared with predetermined threshold value, according to comparative result from the WAP Choose WAP to be connected.
Further, following operation is also realized when roving link changeover program is executed by processor:
Preset weights corresponding to obtaining each messaging parameter and each messaging parameter, the weighted average of each messaging parameter is calculated, And using the weighted signal strength value of the weighted average of calculating WAP as corresponding to.
Further, following operation is also realized when roving link changeover program is executed by processor:
Link corresponding to the maximum WAP of the weighted signal strength value is chosen as primary link progress data to lead to Letter, remaining link is as standby link.
Further, following operation is also realized when roving link changeover program is executed by processor:
The messaging parameter of the primary link is obtained in real time, and calculates the current weighted signal strength value of the primary link;
When the current weighted signal strength value is no more than predetermined threshold value, assert that the communication quality of the primary link is discontented with Sufficient preparatory condition.
Further, following operation is also realized when roving link changeover program is executed by processor:
Messaging parameter corresponding to obtaining the WAP of each standby link connection, according to the messaging parameter, is calculated each standby The current weighted signal strength value of the WAP of link connection;
Link where choosing the maximum WAP of current weighted signal strength value is used as Target Link, and described in general Target Link switches to primary link to enter row data communication.
Further, following operation is also realized when roving link changeover program is executed by processor:
Default first radio frames of WAP transmission to link to be established are authenticated association and establish Radio Link.
The beneficial effect of the embodiment of the present invention is:Available WAP in current environment is searched for, obtains nothing to be connected Line access point;And link is established respectively with the WAP to be connected, a link is selected from the link as master Link enters row data communication, and remaining link is as standby link;Then according to the primary link and standby link, the master is being detected The communication quality of link is unsatisfactory for preparatory condition, it is necessary to when carrying out roving link switching, and a chain is chosen from the standby link Road, and be that primary link carries out data communication by the link switching of selection, so as to solve current wireless local area network (WLAN) system roaming chain The problem of link down present in the handoff procedure of road, packet loss, user terminal data in roving link handoff procedure are made to communicate It is not disrupted, provides the user the network experience that reliable network service improves user.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (11)

1. a kind of roving link switching method, it is characterised in that the described method comprises the following steps:
Available WAP in current environment is searched for, obtains WAP to be connected;
Link is established respectively with the WAP to be connected, selects a link to be carried out as primary link from the link Data communicate, and remaining link is as standby link;
When the communication quality for detecting the primary link is unsatisfactory for preparatory condition, a link is chosen from the standby link, And the link switching of selection is subjected to data communication for primary link.
2. roving link switching method as claimed in claim 1, it is characterised in that available nothing in the search current environment Line access point, WAP step to be connected is obtained, is specifically included:
Available WAP in current environment is searched for, the communication that each WAP is obtained according to the WAP is joined Number;
According to the messaging parameter, the weighted signal strength value of the WAP is calculated;
By the weighted signal strength value compared with predetermined threshold value, chosen according to comparative result from the WAP WAP to be connected.
3. roving link switching method as claimed in claim 2, it is characterised in that the messaging parameter includes:Services set mark At least one of in knowledge, Basic Service Set Identification, channel and signal intensity;
Correspondingly, it is described according to the messaging parameter, the weighted signal strength value step of the WAP is calculated, is specifically wrapped Include:
Preset weights corresponding to obtaining each messaging parameter and each messaging parameter, the weighted average of each messaging parameter is calculated, and will The weighted signal strength value of the weighted average of calculating WAP as corresponding to.
4. roving link switching method as claimed in claim 3, it is characterised in that described that a chain is selected from the link Row data communication is entered in road as primary link, and remaining link specifically includes as standby link step:
Link corresponding to choosing the maximum WAP of the weighted signal strength value enters row data communication as primary link, its Remaining link is as standby link.
5. roving link switching method as claimed in claim 4, it is characterised in that described to detect the logical of the primary link The step of letter quality is unsatisfactory for preparatory condition, specifically includes:
The messaging parameter of the primary link is obtained in real time, and calculates the current weighted signal strength value of the primary link;
When the current weighted signal strength value is no more than predetermined threshold value, assert the primary link communication quality be unsatisfactory for it is pre- If condition.
6. roving link switching method as claimed in claim 5, it is characterised in that described that one is chosen from the standby link Link, and be that primary link carries out data communication steps by the link switching being selected, specifically include:
Messaging parameter corresponding to obtaining the WAP of each standby link connection, according to the messaging parameter, calculates each standby link The current weighted signal strength value of the WAP of connection;
The link where the maximum WAP of current weighted signal strength value is chosen as Target Link, and by the target Link switching is that primary link carries out data communication.
7. roving link switching method as claimed in claim 6, it is characterised in that the described and WAP to be connected Link step is established respectively, is specifically included:
The first default radio frames of WAP transmission to link to be established are authenticated association and establish Radio Link.
8. the roving link switching method as described in any one of claim 1~7, it is characterised in that the WAP exists When current wireless protocol is constant, radio environment information is fed back by the second default radio frames, the radio environment information includes:Letter At least one of in road utilization rate, noise figure and neighbor radio access points channel list.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
The roving link switching journey that memory, processor and being stored in can be run on the memory and on the processor Sequence, the roving link changeover program are arranged for carrying out the roving link switching method as any one of claim 1 to 7 The step of.
10. a kind of network modules, it is characterised in that the network modules include:
The roving link switching journey that memory, processor and being stored in can be run on the memory and on the processor Sequence, the roving link changeover program are arranged for carrying out the roving link switching method as any one of claim 1 to 7 The step of.
11. a kind of storage medium, it is characterised in that roving link changeover program, the roaming are stored with the storage medium The roving link switching method as any one of claim 1 to 7 is realized when link switching program is executed by processor Step.
CN201710846530.1A 2017-09-18 2017-09-18 Roaming link switching method, mobile terminal, network module and storage medium Active CN107708163B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710846530.1A CN107708163B (en) 2017-09-18 2017-09-18 Roaming link switching method, mobile terminal, network module and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710846530.1A CN107708163B (en) 2017-09-18 2017-09-18 Roaming link switching method, mobile terminal, network module and storage medium

Publications (2)

Publication Number Publication Date
CN107708163A true CN107708163A (en) 2018-02-16
CN107708163B CN107708163B (en) 2021-07-06

Family

ID=61172909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710846530.1A Active CN107708163B (en) 2017-09-18 2017-09-18 Roaming link switching method, mobile terminal, network module and storage medium

Country Status (1)

Country Link
CN (1) CN107708163B (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602704A (en) * 2019-09-19 2019-12-20 深圳市瑞科慧联科技有限公司 Non-sensing roaming system and method
CN110933723A (en) * 2019-11-21 2020-03-27 普联技术有限公司 Roaming switching control method and device and wireless AP
CN111107601A (en) * 2019-12-31 2020-05-05 深圳创维数字技术有限公司 Wireless network roaming method, device and medium
CN111356190A (en) * 2018-12-24 2020-06-30 深圳市优必选科技有限公司 Communication link switching method, device, terminal and computer readable storage medium
CN111372272A (en) * 2020-03-02 2020-07-03 普联技术有限公司 Method and device for recovering abnormity of wireless bridging network
CN111417089A (en) * 2020-04-14 2020-07-14 高新兴物联科技有限公司 Method, terminal and computer-readable storage medium for providing data service for application
CN111479248A (en) * 2020-03-19 2020-07-31 烽火通信科技股份有限公司 Fast roaming automatic configuration method and system
CN111698742A (en) * 2020-06-08 2020-09-22 锐捷网络股份有限公司 Data communication method, terminal device, electronic device, and computer storage medium
CN111835639A (en) * 2020-07-06 2020-10-27 杭州网银互联科技股份有限公司 SD-WAN network intelligent link selection method based on cloud computing
CN111918351A (en) * 2020-07-31 2020-11-10 展讯半导体(成都)有限公司 Method and device for adjusting network parameters
CN112188409A (en) * 2020-09-07 2021-01-05 天地(常州)自动化股份有限公司 BLE network suitable for mine space and roaming communication method
CN112243301A (en) * 2020-09-23 2021-01-19 锐捷网络股份有限公司 Roaming implementation method and device based on link backup
CN112333800A (en) * 2020-11-13 2021-02-05 Oppo广东移动通信有限公司 Network switching method and device, storage medium and electronic equipment
CN112954752A (en) * 2021-01-26 2021-06-11 上海商米科技集团股份有限公司 WiFi roaming method and system based on multiple connections
CN112954751A (en) * 2021-01-26 2021-06-11 上海商米科技集团股份有限公司 WiFi connection method based on multiple stas and electronic equipment
WO2022027720A1 (en) * 2020-08-03 2022-02-10 成都极米科技股份有限公司 Roaming method in multi-link scenario, multi-link device, and storage medium
CN114125968A (en) * 2021-11-19 2022-03-01 深圳市联平半导体有限公司 Method and device for switching wireless access point of wireless terminal
CN114390617A (en) * 2021-12-28 2022-04-22 山东有人物联网股份有限公司 WLAN network switching method, device, equipment and readable storage medium
CN114531709A (en) * 2020-11-23 2022-05-24 中国联合网络通信集团有限公司 Network switching method and device
CN115460662A (en) * 2022-11-10 2022-12-09 浙江大华技术股份有限公司 Data transmission and link switching method, electronic device and readable storage medium
CN116506908A (en) * 2023-06-28 2023-07-28 广州天奕技术股份有限公司 Wireless network hotspot access method, device, equipment and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145802A (en) * 2007-10-24 2008-03-19 杭州华三通信技术有限公司 A link switching method and device
CN101631371A (en) * 2009-08-27 2010-01-20 上海交通大学 Zero delay switching method of wireless access points
CN101998399A (en) * 2009-08-12 2011-03-30 中兴通讯股份有限公司 Method and system for quickly switching terminal
CN103299594A (en) * 2010-07-21 2013-09-11 思杰系统有限公司 Systems and methods for an extensible authentication framework
US20140355564A1 (en) * 2013-05-31 2014-12-04 Qualcomm Incorporated Reducing signaling during ap to ap handoff in dense networks
CN105430699A (en) * 2015-11-18 2016-03-23 北京华信联创科技有限公司 Method, device and system for inter-AP high-speed switching of terminal in WLAN network
US20160302064A1 (en) * 2015-04-09 2016-10-13 Industrial Technology Research Institute Lte base station, ue and pre-association and pre-authentication methods thereof in wwan-wlan aggregation
US20170026883A1 (en) * 2015-07-23 2017-01-26 Symbol Technologies, Llc Method of, and arrangement for, enhancing roaming performance of a mobile client that is roaming between access points connected to a distribution system
CN107071840A (en) * 2017-06-20 2017-08-18 成都西加云杉科技有限公司 Netsurfing switching method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145802A (en) * 2007-10-24 2008-03-19 杭州华三通信技术有限公司 A link switching method and device
CN101998399A (en) * 2009-08-12 2011-03-30 中兴通讯股份有限公司 Method and system for quickly switching terminal
CN101631371A (en) * 2009-08-27 2010-01-20 上海交通大学 Zero delay switching method of wireless access points
CN103299594A (en) * 2010-07-21 2013-09-11 思杰系统有限公司 Systems and methods for an extensible authentication framework
US20140355564A1 (en) * 2013-05-31 2014-12-04 Qualcomm Incorporated Reducing signaling during ap to ap handoff in dense networks
US20160302064A1 (en) * 2015-04-09 2016-10-13 Industrial Technology Research Institute Lte base station, ue and pre-association and pre-authentication methods thereof in wwan-wlan aggregation
US20170026883A1 (en) * 2015-07-23 2017-01-26 Symbol Technologies, Llc Method of, and arrangement for, enhancing roaming performance of a mobile client that is roaming between access points connected to a distribution system
CN105430699A (en) * 2015-11-18 2016-03-23 北京华信联创科技有限公司 Method, device and system for inter-AP high-speed switching of terminal in WLAN network
CN107071840A (en) * 2017-06-20 2017-08-18 成都西加云杉科技有限公司 Netsurfing switching method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
P. CHATZIMISIOS: "Optimisation of RTS/CTS handshake in IEEE 802.11 wireless LANs for maximum performance", 《IEEE GLOBAL TELECOMMUNICATIONS CONFERENCE WORKSHOPS, 2004. GLOBECOM WORKSHOPS 2004》 *
林蓉: "提升WiFi用户认证感知度", 《电信快报》 *

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111356190A (en) * 2018-12-24 2020-06-30 深圳市优必选科技有限公司 Communication link switching method, device, terminal and computer readable storage medium
CN110602704A (en) * 2019-09-19 2019-12-20 深圳市瑞科慧联科技有限公司 Non-sensing roaming system and method
CN110933723B (en) * 2019-11-21 2022-01-04 普联技术有限公司 Roaming switching control method and device and wireless AP
CN110933723A (en) * 2019-11-21 2020-03-27 普联技术有限公司 Roaming switching control method and device and wireless AP
CN111107601A (en) * 2019-12-31 2020-05-05 深圳创维数字技术有限公司 Wireless network roaming method, device and medium
CN111107601B (en) * 2019-12-31 2022-04-08 深圳创维数字技术有限公司 Wireless network roaming method, device and medium
CN111372272A (en) * 2020-03-02 2020-07-03 普联技术有限公司 Method and device for recovering abnormity of wireless bridging network
CN111479248A (en) * 2020-03-19 2020-07-31 烽火通信科技股份有限公司 Fast roaming automatic configuration method and system
CN111417089A (en) * 2020-04-14 2020-07-14 高新兴物联科技有限公司 Method, terminal and computer-readable storage medium for providing data service for application
CN111698742B (en) * 2020-06-08 2023-03-21 锐捷网络股份有限公司 Data communication method, terminal device, electronic device, and computer storage medium
CN111698742A (en) * 2020-06-08 2020-09-22 锐捷网络股份有限公司 Data communication method, terminal device, electronic device, and computer storage medium
CN111835639A (en) * 2020-07-06 2020-10-27 杭州网银互联科技股份有限公司 SD-WAN network intelligent link selection method based on cloud computing
CN111918351A (en) * 2020-07-31 2020-11-10 展讯半导体(成都)有限公司 Method and device for adjusting network parameters
CN111918351B (en) * 2020-07-31 2023-04-28 展讯半导体(成都)有限公司 Method and device for adjusting network parameters
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
WO2022027720A1 (en) * 2020-08-03 2022-02-10 成都极米科技股份有限公司 Roaming method in multi-link scenario, multi-link device, and storage medium
CN112188409A (en) * 2020-09-07 2021-01-05 天地(常州)自动化股份有限公司 BLE network suitable for mine space and roaming communication method
CN112188409B (en) * 2020-09-07 2022-02-08 天地(常州)自动化股份有限公司 BLE network suitable for mine space and roaming communication method
CN112243301A (en) * 2020-09-23 2021-01-19 锐捷网络股份有限公司 Roaming implementation method and device based on link backup
CN112243301B (en) * 2020-09-23 2022-10-14 锐捷网络股份有限公司 Roaming implementation method and device based on link backup
CN112333800A (en) * 2020-11-13 2021-02-05 Oppo广东移动通信有限公司 Network switching method and device, storage medium and electronic equipment
CN114531709A (en) * 2020-11-23 2022-05-24 中国联合网络通信集团有限公司 Network switching method and device
CN112954751A (en) * 2021-01-26 2021-06-11 上海商米科技集团股份有限公司 WiFi connection method based on multiple stas and electronic equipment
CN112954752A (en) * 2021-01-26 2021-06-11 上海商米科技集团股份有限公司 WiFi roaming method and system based on multiple connections
CN114125968A (en) * 2021-11-19 2022-03-01 深圳市联平半导体有限公司 Method and device for switching wireless access point of wireless terminal
CN114125968B (en) * 2021-11-19 2024-03-29 深圳市联平半导体有限公司 Method and device for switching wireless access points of wireless terminal
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
CN115460662A (en) * 2022-11-10 2022-12-09 浙江大华技术股份有限公司 Data transmission and link switching method, electronic device and readable storage medium
CN116506908A (en) * 2023-06-28 2023-07-28 广州天奕技术股份有限公司 Wireless network hotspot access method, device, equipment and readable storage medium
CN116506908B (en) * 2023-06-28 2023-08-22 广州天奕技术股份有限公司 Wireless network hotspot access method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN107708163B (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN107708163A (en) A kind of roving link switching method, mobile terminal, network modules and storage medium
CN104168617B (en) A kind of method for being used for more RAT selections/switchings in 5G cellular networks
CN102833727B (en) Select method and the communication device of Subscriber Identity Module
CN104798414B (en) System and method for dual-mode network selection
CN104080133B (en) A kind of mobility optimization method, user equipment and access network equipment
CN107409428A (en) Business polymerization method for building up and device between WLAN and 3GPP
CN111343699B (en) Icon display method and device, storage medium and electronic equipment
CN108024299A (en) A kind of residence reselecting and device
US20130029588A1 (en) Network selection device and method for selecting a communication network
CN106233774A (en) Radio resource for integrated WLAN/3GPP radio access technologies controls (RRC) agreement
CN109792600A (en) The service of local operator provides
CN103338483A (en) Data distribution method, data distribution device and heterogeneous network
CN103024844A (en) Switching method and device of network flow
CN106664619A (en) System and methods for improving intra-frequency cell reselection on a wireless communication device in connected mode
CN110035463A (en) Method and apparatus for adjusting mobility parameters
CN106255160A (en) Rebuild the method and apparatus that RRC connects
CN105451274A (en) Network convergence preprocessing method, device and system
CN107872858A (en) A kind of method for switching network and device
CN103974317B (en) A kind of WLAN loads determine method, apparatus and system
CN103959859B (en) Method and apparatus for selectively resetting and shifting radio communication channel
CN104955128A (en) Load information transmission method, load information transmission system and network element
CN104284392B (en) A kind of information is sent and the method, apparatus of cell searching
CN103369603B (en) The mutual operation method of self-organizing network and device
CN105828455A (en) Network connection device and method
CN105637933B (en) The method and system of UE traffic load-balancing is carried out between the first and second RAN

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant