CN107659971A - A kind of wireless access point switching method, device and terminal - Google Patents
A kind of wireless access point switching method, device and terminal Download PDFInfo
- Publication number
- CN107659971A CN107659971A CN201610592412.8A CN201610592412A CN107659971A CN 107659971 A CN107659971 A CN 107659971A CN 201610592412 A CN201610592412 A CN 201610592412A CN 107659971 A CN107659971 A CN 107659971A
- Authority
- CN
- China
- Prior art keywords
- network interface
- interface card
- network
- wap
- quality
- 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/08—Reselecting an access point
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/34—Reselection control
- H04W36/36—Reselection control by user or terminal equipment
Abstract
The embodiment of the invention discloses a kind of wireless access point switching method, device and terminal, the WAP for meeting access conditions by least two network interface cards configured and at least two establishes communication connection, network interface card corresponds with WAP, wherein at least one Network card setup is work network interface card, and remaining at least one Network card setup is standby network interface card;Each its network quality with corresponding WAP of each Autonomous test of network interface card, and using the network quality that each network interface card detects as judging one of factor, carry out the judgement of default switching condition, and determine to be switched work network interface card and standby network interface card, so as to complete to switch according to judged result, enable the terminal to automatically switch to the preferable access point progress business transmission of network quality in the case of the access point network degradation currently connected, simultaneously, during network switching, network card status need to only be switched over, to ensure that the business of terminal will not interrupt because of network switching to greatest extent.
Description
Technical field
The present invention relates to wireless local area network technology field, more particularly to a kind of wireless access point switching method, device and end
End.
Background technology
One of function the most frequently used as intelligent terminal Wi-Fi (WIreless-Fidelity, Wireless Fidelity), performance
Quality influences the experience of user very much.The Wi-Fi of terminal is after a focus is connected at present, disconnect the focus that has connected it
It is preceding generally to connect other focuses automatically, or simply switched over according to signal intensity.When the focus signal connected
Because when user is more or other factors cause the network quality to be deteriorated, terminal automatically can not switch to the focus currently connected
The more preferable focus of other network qualities, so as to influence Consumer's Experience.
The content of the invention
Wireless access point switching method, device and the terminal provided according to embodiments of the present invention, mainly solves prior art
Middle terminal automatically can not switch to current access point the technical problem of the more excellent access point of network quality.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of wireless access point switching method, including:
Configure at least two network interface cards;
The WAP for meeting access conditions by least two network interface card and at least two establishes communication connection, net
Card corresponds with WAP, and wherein at least one Network card setup is work network interface card, and remaining at least one Network card setup is
Standby network interface card;
The network quality of the corresponding WAP of each Autonomous test of each network interface card, the network quality are wirelessly to connect
Service communication mass parameter between access point and destination server;
Using the network quality that each network interface card detects as one of factor is judged, the judgement of default switching condition is carried out, and is determined
To be switched work network interface card and standby network interface card, complete to switch according to judged result.
The embodiment of the present invention additionally provides a kind of WAP switching device, including:
Network card configuration module, for configuring at least two network interface cards;
Communication module, for meeting that the WAP of access conditions is built with least two by least two network interface card
Vertical communication connection, network interface card correspond with WAP, and wherein at least one Network card setup is work network interface card, and remaining at least one
Individual Network card setup is standby network interface card;
Network quality detection module, the network matter of the WAP corresponding for each each Autonomous test of network interface card
Amount, service communication quality of the network quality between WAP and destination server;
Access point handover module, for using the network quality that each network interface card detects as one of factor is judged, carrying out default cut
The judgement of condition is changed, and determines to be switched work network interface card and standby network interface card during if desired for switching, completes to cut according to judged result
Change.
The embodiment of the present invention also provides a kind of terminal, including:WAP switching device as described above.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and computer is stored with the computer-readable storage medium
Executable instruction, the computer executable instructions are used for the wireless access point switching method for performing foregoing any one.
The beneficial effects of the invention are as follows:
Wireless access point switching method, device, terminal and the computer-readable storage medium provided according to embodiments of the present invention, lead to
Cross configuration at least two network interface cards with least two meet access conditions WAP establish communicate to connect, network interface card with wirelessly
Access point corresponds, and wherein at least one Network card setup is work network interface card, and remaining at least one Network card setup is standby network interface card;
Each its network quality with corresponding WAP of each Autonomous test of network interface card, using the network quality that each network interface card detects as judging the factor
One of, the judgement of default switching condition is carried out, and to be switched work network interface card and standby network interface card are determined, so as to according to judged result
Complete switching so that terminal can automatically switch to network quality in the case of the access point network degradation currently connected
More preferable access point carries out business transmission, meanwhile, during network switching, established and communicated with access point due to each network interface card
Connection, network card status need to only be switched over, the network interface card that such as works switches to standby network interface card, and standby network interface card switches to work network interface card,
Communication connection need not be re-established, can ensure the business of terminal to greatest extent will not interrupt because of network switching, enter one
The lifting Consumer's Experience of step.
Brief description of the drawings
Fig. 1 is the wireless access point switching method flow chart that the embodiment of the present invention one provides;
Fig. 2 is that the WAP that the embodiment of the present invention two provides switches schematic diagram;
Fig. 3 is the WAP distribution schematic diagram that the embodiment of the present invention three provides;
Fig. 4 is the WAP switching device schematic diagram that the embodiment of the present invention four provides.
Embodiment
The embodiment of the present invention is described in further detail below by embodiment combination accompanying drawing.
Embodiment one
Cause network matter because of user or other factors to solve the current access point connected in the prior art
Quantitative change is poor, and terminal but can not switch to the more excellent access point of network quality by current access point automatically and carry out business transmission, so as to
The problem of reducing user experience, the embodiment of the present invention provide a kind of wireless access point switching method, refer to Fig. 1, Fig. 1 is
Wireless access point switching method flow chart provided in an embodiment of the present invention, it is comprised the following steps that:
S11, configure at least two network interface cards.
Specifically, at least two network interface cards of configuration can be wireless network card or be fictionalized by a wireless network card
At least two Microsoft Loopback Adapters;Established and communicated with access point by Microsoft Loopback Adapter, realize that business is transmitted.
S12, meet that the WAP of access conditions establishes communication link by least two network interface card and at least two
Connect.
Specifically, network interface card corresponds with WAP, wherein at least one Network card setup is work network interface card, and remaining is extremely
A few Network card setup is standby network interface card.Certainly, if user does not open automatic preferred network function, terminal will not pass through network interface card
Available wireless access point around detection in real time, also establish communicate with WAP accordingly, therefore, establish the premise of communication
It is that user opens automatic preferred network function, or, terminal automatically turns on the function.
Foregoing access conditions refers to that signal can cover terminal and the WAP that can normally connect, configuration it is each
Network interface card is established with one-to-one WAP and communicated to connect, and certainly, a WAP can also correspond to multiple network interface cards, respectively
Network interface card is communicated with same WAP.In addition, be work network interface card by least one Network card setup in the network interface card of configuration,
Remaining at least one Network card setup is standby network interface card, and work network interface card is used to carry out business transmission, and keeps communication connection;Standby net
Card is same to keep communication connection, but is not used in transmission services, and when the network interface card network quality that works is poor, work network interface card is switched to
Standby network interface card, original standby network interface card is switched into work network interface card, continue the transmission of business by the work network interface card, due to the work
Make network interface card (the standby network interface card before switching) and hold communication connection always, and simply switch over the state of network interface card (also i.e. by work
Standby network interface card is switched to as network interface card, standby network interface card switches to work network interface card) so that follow-up business directly passes through the work after switching
The corresponding WAP of network interface card is transmitted, so as to farthest ensure that terminal traffic will not cutting because of access point
Change and interrupt.
S13, the network quality of the corresponding WAP of each each Autonomous test of network interface card.
Specifically, the network interface card of configuration detects the network quality of corresponding WAP, according to the network of detection
Quality selects a WAP to switch over.Wherein, industry of the network quality between WAP and destination server
It is engaged in communication quality, namely the detection of each network interface card is service communication quality between WAP and destination server.Certainly,
It can be the service communication quality between WAP and network interface card;Pass through network delay, packet loss, theoretical bandwidth, actual band
The network quality Testing index such as width is weighed to network quality, to ensure that the WAP of selection is optimal as quality of connection
Access point, so as to farthest ensure that the network after switching is optimal network.
S14, using the network quality that each network interface card detects as one of factor is judged, the judgement of default switching condition is carried out, and
To be switched work network interface card and standby network interface card are determined, completes to switch according to judged result.
Specifically, network quality is by the network Testing index such as network delay, packet loss, theoretical bandwidth, actual bandwidth
Assessed, to judge that whether standby network interface card corresponds to the network quality of access point than the wireless access point network quality that currently connects
It is good, so as to provide more effective data for network switching.More specifically, network quality is preset as judge the factor a pair and cut
The condition of changing judged, namely according to network quality etc. judge the factor judge standby network interface card corresponding to WAP network matter
Whether amount is better than the network quality of WAP corresponding to work network interface card, certainly, not necessarily requires that standby network interface card corresponds to nothing
The network quality of line access point corresponds to the network quality of WAP better than work at present network interface card, as long as the standby network interface card is corresponding
The network quality of WAP integrally corresponds to the network quality of WAP than work at present network interface card.It is for example, current
The packet loss of WAP is relatively low corresponding to work network interface card, but network delay, actual bandwidth and theoretical bandwidth are poor, and standby
Network delay, the actual bandwidth of WAP are superior to the net of current wireless access point corresponding to a network interface card in network interface card
Network delay, actual bandwidth, but packet loss is higher than the packet loss of current wireless access point;To the less demanding situation of packet loss
Under, it is believed that the network quality of WAP will be due to the network quality of current wireless access point corresponding to the standby network interface card.
Therefore, can each WAP of comprehensive consideration the measurement index such as network quality, select most appropriate WAP to be cut
Change.Meanwhile when switching over, what is actually switched is network interface card, work network interface card that will be current switches to standby network interface card, will be to be cut
The standby network interface card changed switches to working net to stick into industry business transmission, farthest to ensure that the business of terminal will not be because of network interface card
Switch and interrupt.
In addition, before network interface card is switched, it is also contemplated that whether terminal is currently downloaded the Network of equicontinuity, if
Entering Line Continuity Network, may result in Network short interruption, completion is automatically continued after network connection and is downloaded.
Although this implementation provide wireless access point switching method can farthest ensure business will not because of network switching and in
It is disconnected, but minor impact can be still produced for continuity Network, therefore, it be not downloaded equicontinuity network industry
In the case of business, for application, network is being switched fast from the background, and the interim interruption of network is basic for user
It is invisible so that user has good usage experience.
Further, in S12 steps, work network interface card include it is at least one, business network interface card equally include it is at least one, when
When the network interface card that works includes at least two, there is the situation of network quality variation in subnetting card in the middle part of work network interface card, can be from standby net
The network interface card of quantity switches over corresponding to selection in card, only need to be by original working net to substitute original work network interface card transmission services
Card switches to standby network interface card, and the standby network interface card of business to be transmitted is switched into work network interface card.Need to understand, no matter standby network interface card, work
Make network interface card, establish communicate to connect with corresponding WAP all the time, in the armed state that can carry out business transmission at any time, one
When denier detects that network quality is better than the standby network interface card for the network quality that work at present network interface card corresponds to WAP, follow-up industry
Business is directly transmitted by the standby network interface card after switching, so as to farthest avoid because switching from current wireless access point
The situation of network interruption is caused to occur to next WAP.
In S13 steps, in addition to being detected to network quality, signal quality can also be detected, such as detected each wireless
The signal intensity of access point.The signal quality can be the service communication quality ginseng between WAP and destination server
Number, further confirms that the quality of connection of which WAP in each WAP is better than current by the signal quality
The WAP quality of connection of connection, so as to more accurately select an optimal WAP, be network switching for
More effective data.After each network interface card detects the signal quality of corresponding WAP, according to the letter of each network interface card detection
Number Quality estimation is better than the letter of at least one work network interface card detection with the presence or absence of the signal quality of at least one standby network interface card detection
Number quality, when the signal quality that at least one standby network interface card detection be present is better than the signal quality of at least one work network interface card detection
When, determine to be switched work network interface card and standby network interface card and complete to switch, namely determine to need the network interface card of carry out state switching, such as
Which work network interface card needs to switch to standby network interface card alternately, and which standby network interface card needs to switch to the progress of working net card subsequently
Business transmission.
The network quality that foregoing default switching condition includes at least one standby network interface card detection is better than at least one working net
Block the network quality of detection.It is better than the detection of at least one work network interface card when there is one in the network quality of standby network interface card detection
During network quality, using network interface card as to be switched standby network interface card, work network interface card is switched to replace work to be switched standby network interface card
Any one in network interface card, or be replaced according to priority;When standby network interface card detection network quality in exist at least two
It is individual due at least one work network interface card detection network quality when, using any one in the network quality as to be switched standby
Network interface card, the standby network interface card is switched into any one in work network interface card replacement work network interface card, or replaced according to priority
Change.
More specifically, for network quality and signal quality, according to the two connections of the dimension synthesis to WAP
Quality is assessed, and the good WAP of network quality is not that signal quality is good, similarly, the good WAP of signal quality
Not network quality is good, and the two is integrally preferably only the first choice of network switching, namely the network matter of to be switched WAP
Although amount and signal quality are not optimal in whole WAP, the two integrated connection quality is better than other nothings
Line access point, therefore, when carrying out network switching, comprehensive assessment goes out a suitable WAP and switched over.Similarly, it is right
Judge the factor in other, also can be as the criterion of WAP quality of connection.
Further, when foregoing WAP includes not connected WAP, according to set in advance enabled
Condition determines whether the WAP can be established with network interface card and communicated to connect.In the case where communication connection can be established, pass through
At least two network interface cards and the WAP that had been connected and meet that the WAP of the enabled condition is established and communicate.Tool
Body, it is contemplated that not connected WAP (including not connected opening WAP) may have potential safety hazard,
Therefore, a setting option can be increased in the terminal, whether set allows terminal to attempt the WAP that connection was not connected with,
It can then be established and communicated to connect by network interface card and the WAP in the case where function is enabled, so as in automatically switching network
In the case of the more excellent WAP of quality, it can also ensure user information safety.
Based on the switching method, terminal can switch to network quality from the access point of network quality difference automatically and preferably connect
Access point, meanwhile, it is capable to which ensuring the business of terminal to greatest extent will not interrupt because of network switching, greatly improve user's
Usage experience.
Embodiment two
The present embodiment is made further based on embodiment one by taking home scenarios as an example to wireless access point switching method
Explanation.In the scene, user's family has two wireless access point APs 1, and (Wireless Access Point, accessing wirelessly connect
Access point) and AP2, it is individually placed in parlor and study, and terminal had all connected, current AP1 correspondingly works network interface card, and AP2 is corresponding
Standby network interface card, work network interface card and standby network interface card are the Microsoft Loopback Adapters created by a wireless network card.Based on the Scene realization
The switching of WAP, Fig. 2 is referred to, Fig. 2 is that the WAP that the present embodiment provides switches schematic diagram, its specific switching
Process is as follows:
The U1 positions that terminal is currently in AP1 coverages are connected with AP1, and user is currently by terminal in parlor
APP (Application, application program) see TV.Now, terminal is connected to AP1 using work network interface card wlan1, and APP is corresponding
Surfed the Net also by AP1.In the case where user sets automatic preferred network to open, terminal detects the available wireless of surrounding in real time
Access point.The available wireless access point of surrounding is AP2, and the terminal in U1 positions is similarly in AP2 coverage, and terminal is led to
Cross wireless network card and create a standby network interface card wlan2, and connection AP2 is attempted using wlan2.But due to detecting AP2 letter
Number intensity is weaker than AP1, therefore, does not stick into industry business transmission using AP2 as working net, but connect as standby network interface card
AP2 and the network quality for detecting AP2.
User moves on to study reading from parlor now, such as black arrow in figure, the black arrow instruction user motion track,
User is moved to the U2 positions of AP2 coverages.With movement of the user to AP2 directions, AP1 signal intensity gradually weakens,
And AP2 signal intensity gradually strengthens, network interface card wlan1 and standby network interface card wlan2 is respectively to AP1 and AP2 network quality for work
Detected, such as detect the two network delay, packet loss, optimum wideband, actual bandwidth index, by These parameters, comment
The network quality for estimating to obtain AP2 is better than AP1 network quality, certainly, better than the movement of user, causes AP2 signal quality
Signal quality better than AP1.At the same time, whether detection present terminal internuncial Network such as is downloaded, and is not entering
In the case of Line Continuity Network, standby network interface card wlan2 corresponding to AP2 is switched into work network interface card wlan2, by AP1 pairs
The work network interface card wlan2 answered switches to standby network interface card wlan2, also switches over wlan1 and wlan2 working condition, by
Working, it is standby to switch to, and work is switched to by standby.For the application in terminal, network is just being carried out quickly from the background
Switching, in the case where carrying out the Network of noncontinuity, the interim interruption of network is not generally visible for user.
Need to understand, the work network interface card that the present embodiment is related to and standby network interface card in advance with corresponding wireless access point AP 1 and
AP2 establishes communication connection, in the case that then working net is stuck in carry out business transmission, though standby network interface card transmits without business,
But the maintenance state of communication is similarly in, business transmission can be carried out as needed at any time.Standby network interface card is corresponded in detection and wirelessly connect
While access point AP2 network quality, AP1 also carries out the detection of network quality during business is transmitted, and finally synthesis is commented
AP1 and AP2 network quality is estimated to judge whether to network switching so that user obtains more preferable network experience.
The present embodiment provide wireless access point switching method, by the network quality of each WAP of comprehensive assessment,
The indexs such as signal quality, the optimal WAP of a quality of connection is determined, and by the switching of network card status, quickly will
Network switches over, and the situation for avoiding re-establishing communication connection after switching occurs, so as to farthest ensure terminal traffic
It will not be interrupted because of network switching.
Embodiment three
The present embodiment is made further based on embodiment one by taking the scene of market as an example to wireless access point switching method
Explanation.In the scene, there are two wireless access point APs 1 and AP2, two access point terminals had all connected.Current AP1 is corresponding
Work network interface card, and AP2 corresponds to standby network interface card, and work network interface card and standby network interface card are the virtual nets created by a wireless network card
Card.Based on the switching of the Scene realization WAP, Fig. 3 is referred to, Fig. 3 is the WAP distribution that the present embodiment provides
Schematic diagram, specific handoff procedure are as follows:
Terminal is currently at the U1 positions in AP1 coverages, detects that the signal of other neighbouring wireless access point APs 2 is strong
Spend and be closer to AP1 signal intensity, terminal is connected to AP1 first by work network interface card wlan1.Set in user automatic preferred
In the case that network is opens, terminal detects the available wireless access point of surrounding in real time.The available wireless access point of surrounding is AP2,
It need to understand, the terminal in U1 positions is similarly in AP2 coverage.Terminal creates a standby network interface card by wireless network card
Wlan2, and attempt connection AP2 using wlan2.Because AP1 and AP2 signal intensity are similar, terminal will not be to work corresponding to AP1
The state for making network interface card wlan1 switches over, and the network interface card that will work switches to standby network interface card.
Because the number of users that AP1 WAPs are connected in market is more and more, although AP1 signal intensity and AP2
Signal intensity is closer to, but the network interface card wlan1 that works detects that the network quality values such as corresponding AP1 packet loss, network delay are bright
It is aobvious to rise, and standby network interface card wlan2 detects that the network quality values such as corresponding AP2 packet loss, network delay are still maintained at
Compare rational level, from many indexs such as signal intensity, network delay, packet loss, optimum wideband, actual bandwidth synthesis pair
AP1 and AP2 are assessed, and show that AP2 quality of connection is better than AP1 quality of connection.In Fig. 3, connect in AP1 current coverage ranges
4 terminals have been connect, have been A1, A2, A3, A4 respectively, wherein, the connection of U1 positions is A1;Only it is connected in AP2 current coverage ranges
1 terminal A5, because the terminal for connecting AP1 is significantly more than AP2, accordingly, AP1 packet loss, network delay after comprehensive assessment
Etc. index apparently higher than AP2 so that AP1 network quality is less than AP2 network quality.
Therefore, on the premise of ensuring that terminal is not downloaded equicontinuity Network, by working net corresponding to AP1
Card wlan1 switches to standby network interface card wlan1 so that follow-up network switching is prepared, and standby network interface card wlan2 is switched into work
Network interface card wlan2 continues follow-up business transmission.After network interface card switching, follow-up business directly by work network interface card wlan2 with it is wireless
Access point AP2 carries out business transmission, so as to avoid re-establishing the communication connection with wireless access point AP 2, causes network longer
The interruption of time.For the application in terminal, network is just carrying out quick switching from the background, is carrying out noncontinuity
In the case of Network, the interim interruption of network is not generally visible for user.
Example IV
A kind of WAP switching device is present embodiments provided, refers to Fig. 4, the device includes:
Network card configuration module 41, for configuring at least two network interface cards;
Communication module 42, for meeting that the WAP of access conditions is established by least two network interface cards and at least two
Communication connection, network interface card correspond with WAP, and wherein at least one Network card setup is work network interface card, and remaining is at least one
Network card setup is standby network interface card;
Network quality detection module 43, the network quality of the WAP corresponding for each Autonomous test of each network interface card,
Service communication quality of the network quality between WAP and destination server;
Access point handover module 44, for using the network quality that each network interface card detects as one of factor is judged, being preset
The judgement of switching condition, and to be switched work network interface card and standby network interface card during if desired for switching are determined, completed according to judged result
Switching.
Further, the foregoing judgement factor also includes signal quality, and the device also includes:
Signal quality detector module 45, for meeting access conditions by least two network interface card and at least two
WAP is established after communication connection, the signal quality of the corresponding WAP of each each Autonomous test of network interface card;
Signal quality judge module 46, the signal quality for being detected according to each network interface card judge whether at least one standby
The signal quality detected with network interface card is better than the signal quality that at least one work network interface card detects;
Access point handover module 47, for when the signal quality that at least one standby network interface card detection be present is better than at least one
During the signal quality of work network interface card detection, determine to be switched work network interface card and standby network interface card and complete to switch.
Wherein, when the network interface card that network card configuration module 41 configures is Microsoft Loopback Adapter, the function of the module can be by wireless network card
Realize, i.e., at least two Microsoft Loopback Adapters are created by wireless network card;Certainly, network card configuration module 41 can be also integrated in the terminal
Few two wireless network cards, network switching is carried out by least two wireless network cards.
The function of communication module can be realized that WIFI module includes hardware module and drives mould accordingly by WiFi module
Block, there is provided WiFi paths are communicated with access point.By WiFi module can virtual at least two Microsoft Loopback Adapters interface, wherein one
Individual interface is arranged to work network interface card and provides business transmission service for the application in terminal, and remaining network card interface is arranged to standby network interface card
For detecting the network quality and signal quality of other WAPs, and connection status is kept, but be not used in business transmission.
For network quality detection module 43, access point handover module 44, signal quality detector module 45 and access point
The function that handover module 46 is realized, can complete to operate by processor.
Further, in communication module 42, network interface card corresponds with WAP, wherein at least one Network card setup
For the network interface card that works, remaining at least one Network card setup is standby network interface card.Certainly, if user does not open automatic preferred network function,
Then terminal will not detect the available wireless access point of surrounding in real time by network interface card, also establish communicate with WAP accordingly,
Therefore, the premise for establishing communication is that user opens automatic preferred network function, or, terminal automatically turns on the function.
Foregoing access conditions refers to that signal can cover terminal and the WAP that can normally connect, configuration it is each
Network interface card is established with one-to-one WAP and communicated to connect, and certainly, a WAP can also correspond to multiple network interface cards, respectively
Network interface card is communicated with same WAP.In addition, be work network interface card by least one Network card setup in the network interface card of configuration,
Remaining at least one Network card setup is standby network interface card, and work network interface card is used to carry out business transmission, and keeps communication connection;Standby net
Card is same to keep communication connection, but is not used in transmission services, and when the network interface card network quality that works is poor, work network interface card is switched to
Standby network interface card, original standby network interface card is switched into work network interface card, continue the transmission of business by the work network interface card, due to the work
Make network interface card (the standby network interface card before switching) and hold communication connection always, and simply switch over the state of network interface card (also i.e. by work
Standby network interface card is switched to as network interface card, standby network interface card switches to work network interface card) so that follow-up business directly passes through the work after switching
The corresponding WAP of network interface card is transmitted, so as to farthest ensure that terminal traffic will not cutting because of access point
Change and interrupt.
In network quality detection module 43, the network interface card of configuration detects the network matter of corresponding WAP
Amount, a WAP is selected to switch over according to the network quality of detection.Wherein, network quality is WAP and mesh
The service communication quality between server is marked, namely the detection of each network interface card is business between WAP and destination server
Communication quality.It is of course also possible to it is the service communication quality between WAP and network interface card;By network delay, packet loss,
The network quality Testing index such as theoretical bandwidth, actual bandwidth is weighed to network quality, to ensure the WAP of selection
For the access point that quality of connection is optimal, so as to farthest ensure that the network after switching is optimal network.
The network quality being related in access point handover module 44 is by network delay, packet loss, theoretical bandwidth, actual band
The network Testing index such as width is assessed, to judge that whether standby network interface card corresponds to the network quality of access point than the nothing that currently connects
Line access point network quality is good, so as to provide more effective data for network switching.More specifically, using network quality as judgement
A pair of the factor default switching conditions are judged, namely according to network quality etc. judge the factor judge standby network interface card corresponding to nothing
Whether the network quality of line access point is better than the network quality of WAP corresponding to work network interface card, certainly, not necessarily
Ask for perfection and correspond to the network quality that the network quality of WAP correspond to better than work at present network interface card WAP with network interface card,
Will the standby network interface card correspond to the network matter of the overall WAP more corresponding than work at present network interface card of the network quality of WAP
Amount.For example, the packet loss of WAP is relatively low corresponding to work at present network interface card, but network delay, actual bandwidth and reason
It is poor by bandwidth, and network delay, the actual bandwidth of WAP are superior to corresponding to a network interface card in standby network interface card
Network delay, the actual bandwidth of current wireless access point, but packet loss is higher than the packet loss of current wireless access point;To losing
In the case that bag rate is less demanding, it is believed that the network quality of WAP corresponding to the standby network interface card will be due to current wireless
The network quality of access point.Therefore, can each WAP of comprehensive consideration the measurement index such as network quality, select most appropriate
WAP switches over.Meanwhile when switching over, what is actually switched is network interface card, work network interface card that will be current switches
For standby network interface card, working net is switched to stick into industry business transmission to be switched standby network interface card, farthest to ensure terminal
Business will not because network interface card switch and interrupt.
In addition, before network interface card is switched, it is also contemplated that whether terminal is currently downloaded the Network of equicontinuity, if
Entering Line Continuity Network, may result in Network short interruption, completion is automatically continued after network connection and is downloaded.
Although this implementation provide wireless access point switching method can farthest ensure business will not because of network switching and in
It is disconnected, but minor impact can be still produced for continuity Network, therefore, it be not downloaded equicontinuity network industry
In the case of business, for application, network is being switched fast from the background, and the interim interruption of network is basic for user
It is invisible so that user has good usage experience.
Further, in addition to being detected by network quality detection module 43 to network quality, signal can also be passed through
Quality detection module 45 detects to signal quality, such as detects the signal intensity of each WAP.The signal quality can be with
It is the service communication mass parameter between WAP and destination server, each nothing is further confirmed by the signal quality
The WAP quality of connection that the quality of connection of which WAP better than currently connects in line access point, so as to more smart
Accurate one optimal WAP of selection is network switching for more effective data.Each network interface card detects corresponding
WAP signal quality after, according to each network interface card detect signal quality judge whether at least one standby network interface card
The signal quality of detection is better than the signal quality of at least one work network interface card detection, when at least one standby network interface card detection being present
When signal quality is better than the signal quality that at least one work network interface card detects, to be switched work network interface card and standby network interface card are determined simultaneously
Switching is completed, namely determines to need the network interface card of carry out state switching, as which work network interface card needs to switch to standby network interface card conduct
Alternatively, which standby network interface card needs to switch to the follow-up business transmission of working net card progress.
The network quality that foregoing default switching condition includes at least one standby network interface card detection is better than at least one working net
Block the network quality of detection.It is better than the detection of at least one work network interface card when there is one in the network quality of standby network interface card detection
During network quality, using network interface card as to be switched standby network interface card, work network interface card is switched to replace work to be switched standby network interface card
Any one in network interface card, or be replaced according to priority;When standby network interface card detection network quality in exist at least two
It is individual due at least one work network interface card detection network quality when, using any one in the network quality as to be switched standby
Network interface card, the standby network interface card is switched into any one in work network interface card replacement work network interface card, or replaced according to priority
Change.
Further, when foregoing WAP includes not connected WAP, made according to set in advance
Energy condition determines whether the WAP can be established with network interface card and communicated to connect.In the case where communication connection can be established, lead to
Cross at least two network interface cards and the WAP that had been connected and meet that the WAP of the enabled condition is established and communicate.
Specifically, it is hidden to have safety in view of not connected WAP (including not connected opening WAP)
Suffer from, therefore, a setting option can be increased in the terminal, whether set allows terminal to attempt the wireless access that connection was not connected with
Point, it can then be established and communicated to connect by network interface card and the WAP in the case where function is enabled, so as to automatically switch
In the case of the more excellent WAP of network quality, it can also ensure user information safety.
The WAP switching device provided by the present embodiment, it can be ensured that terminal connects or be switched to automatically most appropriate
WAP, provide the user best network insertion service, meanwhile, in network switching process because simply to net
The state of card switches over, and the network interface card that such as works switches to standby network interface card, and standby network interface card switches to work network interface card, without being cut in network
Establish and communicate to connect again through network interface card and access point after changing, so as to ensure the business of terminal to greatest extent not because network is cut
Change and interrupt, further lift the Web vector graphic experience of user.
The present embodiment additionally provides a kind of terminal, and the terminal includes WAP switching device as described above.The end
End can be the terminal that smart mobile phone, tablet personal computer, notebook computer etc. can carry out WiFi connections.At least one is installed in terminal
Individual application program, each application program are required for establishing with WAP by WIFI module and communicated, so as to realize that business passes
It is defeated.At least two Microsoft Loopback Adapters are created in WiFi module, substantial terminal provides net by the Microsoft Loopback Adapter for each application program
Network service.
Obviously, those skilled in the art should be understood that each module of the embodiments of the present invention or each step can be used
General computing device realizes that they can be concentrated on single computing device, or be distributed in multiple computing device institutes
On the network of composition, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to by they
It is stored in storage medium (ROM/RAM, magnetic disc, CD) and is performed by computing device, and in some cases, can be with not
The order being same as herein performs shown or described step, or they are fabricated to each integrated circuit modules respectively, or
Multiple modules or step in them are fabricated to single integrated circuit module to realize by person.So the present invention is not restricted to appoint
What specific hardware and software combines.
Above content is to combine the further description that specific embodiment is made to the embodiment of the present invention, it is impossible to is recognized
The specific implementation of the fixed present invention is confined to these explanations.For general technical staff of the technical field of the invention,
Without departing from the inventive concept of the premise, some simple deduction or replace can also be made, should all be considered as belonging to the present invention
Protection domain.
Claims (10)
1. a kind of wireless access point switching method, including:
Configure at least two network interface cards;
By at least two network interface card and at least two meet access conditions WAP establish communication connection, network interface card with
WAP corresponds, and wherein at least one Network card setup is work network interface card, and remaining at least one Network card setup is standby
Network interface card;
The network quality of the corresponding WAP of each Autonomous test of each network interface card, the network quality are WAP
Service communication quality between destination server;
Using the network quality that each network interface card detects as one of factor is judged, the judgement of default switching condition is carried out, and is determined to be cut
The work network interface card and standby network interface card changed, complete to switch according to judged result.
2. wireless access point switching method as claimed in claim 1, it is characterised in that the judgement factor also includes signal matter
Amount, it is described to meet that the WAP of access conditions establishes communication connection by least two network interface card and at least two
Afterwards, in addition to:
The signal quality of the corresponding WAP of each Autonomous test of each network interface card;
The signal quality detected according to each network interface card judges whether that the signal quality that at least one standby network interface card detects is better than extremely
The signal quality of few job network interface card detection;
When signal quality of the signal quality that at least one standby network interface card detection be present better than the detection of at least one work network interface card,
Determine to be switched work network interface card and standby network interface card and complete to switch.
3. wireless access point switching method as claimed in claim 1, it is characterised in that the default switching condition includes:
The network quality of at least one standby network interface card detection is better than the network quality of at least one work network interface card detection.
4. the wireless access point switching method as described in claim any one of 1-3, it is characterised in that each each self-test of network interface card
Surveying the network quality of corresponding WAP includes:
Network delay, packet loss, theoretical bandwidth and the reality of the corresponding WAP of each Autonomous test of each network interface card
It is at least one in bandwidth.
5. the wireless access point switching method as described in claim any one of 1-3, it is characterised in that the configuration at least two
Network interface card includes:
Configure at least two wireless network cards;Or
At least two Microsoft Loopback Adapters are created by a wireless network card.
6. the wireless access point switching method as described in claim any one of 1-3, it is characterised in that when meeting access conditions
When WAP includes the WAP being not connected with, in addition to:Determine that this is wireless according to enabled condition set in advance
Whether access point can be established with the network interface card communicates to connect;
It is described to meet that the WAP of access conditions establishes communication connection bag by least two network interface card and at least two
Include:
By at least two network interface card and the WAP that had been connected and meet that the wireless of the enabled condition connects
Access point establishes communication.
A kind of 7. WAP switching device, it is characterised in that including:
Network card configuration module, for configuring at least two network interface cards;
Communication module, the WAP for meeting access conditions by least two network interface card and at least two are established logical
Letter connection, network interface card and WAP correspond, and wherein at least one Network card setup is work network interface card, remaining at least one net
Card is arranged to standby network interface card;
Network quality detection module, the network quality of the WAP corresponding for each each Autonomous test of network interface card, institute
State service communication quality of the network quality between WAP and destination server;
Access point handover module, for using the network quality that each network interface card detects as one of factor is judged, carrying out default switching bar
The judgement of part, and to be switched work network interface card and standby network interface card during if desired for switching are determined, complete to switch according to judged result.
8. WAP switching device as claimed in claim 7, it is characterised in that the judgement factor also includes signal matter
Amount, described device also include:
Signal quality detector module, for meeting that the wireless of access conditions connects with least two by least two network interface card
Access point is established after communication connection, the signal quality of the corresponding WAP of each each Autonomous test of network interface card;
Signal quality judge module, the signal quality for being detected according to each network interface card judge whether at least one standby network interface card
The signal quality of detection is better than the signal quality of at least one work network interface card detection;
Access point handover module, for being better than at least one working net when the signal quality that at least one standby network interface card detection be present
When blocking the signal quality of detection, determine to be switched work network interface card and standby network interface card and complete to switch.
9. WAP switching device as claimed in claim 7 or 8, it is characterised in that the default switching condition includes:
The network quality of at least one standby network interface card detection is better than the network quality of at least one work network interface card detection.
10. a kind of terminal, including the WAP switching device as described in claim any one of 7-9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610592412.8A CN107659971A (en) | 2016-07-25 | 2016-07-25 | A kind of wireless access point switching method, device and terminal |
PCT/CN2017/089373 WO2018019058A1 (en) | 2016-07-25 | 2017-06-21 | Wireless access point switching method and apparatus, and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610592412.8A CN107659971A (en) | 2016-07-25 | 2016-07-25 | A kind of wireless access point switching method, device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107659971A true CN107659971A (en) | 2018-02-02 |
Family
ID=61016994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610592412.8A Pending CN107659971A (en) | 2016-07-25 | 2016-07-25 | A kind of wireless access point switching method, device and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107659971A (en) |
WO (1) | WO2018019058A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114338457B (en) * | 2021-12-23 | 2023-12-01 | 绿盟科技集团股份有限公司 | Test system, method, device, equipment and medium for network card switching effectiveness |
CN115118584A (en) * | 2022-04-29 | 2022-09-27 | 上海辰锐信息科技公司 | Self-adaptive mechanism for cross-domain network cooperative communication |
US20230397050A1 (en) * | 2022-06-07 | 2023-12-07 | Comcast Cable Communications, Llc | Gateway management |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100759438B1 (en) * | 2006-03-29 | 2007-09-20 | 엠피에스리서치(주) | High speed intra-domain mobility management method using dual interfaces in wireless lan/man system |
CN104135747B (en) * | 2014-07-04 | 2017-09-22 | 广州杰赛科技股份有限公司 | Mobile IPv 6 node switching method and mobile IPv 6 node |
CN105792290A (en) * | 2014-12-23 | 2016-07-20 | 乐视移动智能信息技术(北京)有限公司 | Method and device for controlling intelligent terminal to perform wireless roaming |
-
2016
- 2016-07-25 CN CN201610592412.8A patent/CN107659971A/en active Pending
-
2017
- 2017-06-21 WO PCT/CN2017/089373 patent/WO2018019058A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2018019058A1 (en) | 2018-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107820717B (en) | The method and apparatus of cell switching | |
US10484921B2 (en) | Wireless hotspot handover method, mobile terminal and storage medium | |
KR101649994B1 (en) | Apparatus and method for automatic sim card selection according to network environment in dual mode terminal | |
CN104471975B (en) | For detecting and managing the method and apparatus of user plane congestion | |
CN105409286B (en) | The switch decision of the measurement of function calibration based on the value specific to equipment | |
CN109982353B (en) | VoLTE network-based cell optimization method, device and equipment | |
CN104854900B (en) | Measurement method, user equipment, the network equipment and the system of wireless network KPI | |
CN105517069B (en) | A kind of communication pattern switching method and mobile terminal | |
CN104703267B (en) | The terminal communicating method and device of a kind of power saving | |
CN104363990B (en) | The method and Wi-Fi access nodes of user equipment access Wireless Fidelity Wi-Fi | |
CN105472678A (en) | Wireless network switching method, wireless network switching device and terminal equipment | |
CN103067997A (en) | Method and device capable of judging whether terminal is switched between two wireless networks | |
CN107659971A (en) | A kind of wireless access point switching method, device and terminal | |
CN109729556B (en) | Link connection method and related device | |
CN105578545B (en) | A kind of residence reselecting and user equipment | |
SE1950355A1 (en) | A system and method for mitigating a coverage hole from a coverage area | |
CN104540157B (en) | A kind of incoming telephone signal changing method, device and terminal | |
CN107635257A (en) | Wireless extensions loaming method and system, home gateway and wireless access points | |
CN105208197A (en) | SIM switching method and terminal | |
CN103379562A (en) | PLMN selection method, mobile terminal, BSC and core network equipment | |
CN105979502A (en) | Switching method and switching device of eSIM and terminal | |
WO2019050457A1 (en) | Enhancements to s-measure configuration regarding reference signal type and measurement quantity | |
CN103313334A (en) | Wireless communication method and base station controller | |
CN107529154A (en) | The communication means and device of multimode terminal | |
CN105848235A (en) | Communication control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180202 |