CN106231640A - Wireless access point switching method and device - Google Patents

Wireless access point switching method and device Download PDF

Info

Publication number
CN106231640A
CN106231640A CN201610619169.4A CN201610619169A CN106231640A CN 106231640 A CN106231640 A CN 106231640A CN 201610619169 A CN201610619169 A CN 201610619169A CN 106231640 A CN106231640 A CN 106231640A
Authority
CN
China
Prior art keywords
wap
network quality
webserver
terminal
worse
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
CN201610619169.4A
Other languages
Chinese (zh)
Other versions
CN106231640B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610619169.4A priority Critical patent/CN106231640B/en
Publication of CN106231640A publication Critical patent/CN106231640A/en
Application granted granted Critical
Publication of CN106231640B publication Critical patent/CN106231640B/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/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Landscapes

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

Abstract

The disclosure discloses a kind of wireless access point switching method and device, belongs to communication technical field.Described wireless access point switching method includes: the network quality obtaining between the WAP being currently accessed;It is pre-conditioned whether detection network quality is worse than first;If being worse than first pre-conditioned, then switching accesses to other WAP;Solve in correlation technique when the webserver of terminal access poor-performing, may cause, because of the reason of the webserver self, the problem that terminal switches to other WAP by mistake;Reached the network quality between terminal and the WAP being currently accessed be worse than first pre-conditioned time, terminal switching is accessed to other WAP, achieve terminal switching to access to other WAP be owing to the network quality between terminal and WAP is poor, it is to avoid because the reason of the webserver self causes terminal to switch to the effect of other WAP by mistake.

Description

Wireless access point switching method and device
Technical field
It relates to network communication technology field, particularly to a kind of wireless access point switching method and device.
Background technology
Along with the development of the network communications technology, the use of wireless network is more and more universal.Wherein, conventional wireless network Network has WLAN such as WiFi (Wireless Fidelity, Wireless Fidelity).
In correlation technique, wireless access point switching method specifically includes that when access network services device, obtains terminal and net Network quality between network server;When network quality between terminal and the webserver is poor, then switching accesses to it Its WAP.It is to say, in correlation technique when the webserver of terminal access poor-performing, terminal also can switch Access to other WAP.
Summary of the invention
In order to solve the problem in correlation technique, the disclosure provides a kind of wireless access point switching method and device.Described Technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of wireless access point switching method, the method includes:
Obtain the network quality between the WAP being currently accessed;
It is pre-conditioned whether the network quality between detection and WAP is worse than first;
If being worse than first pre-conditioned, then switching accesses to other WAP.
Optionally, the method, also include:
When access network services device, obtain the network quality between the webserver;
It is pre-conditioned whether the network quality between detection and the webserver is worse than second;
If being worse than second pre-conditioned, then perform to obtain the step of the network quality between the WAP being currently accessed Suddenly.
Optionally, before obtaining the network quality between the WAP being currently accessed, the method, also include:
And if the network quality between the webserver is worse than second pre-conditioned, then the network service that handover access is preset Device and again execution obtain the step of the network quality between the webserver.
Optionally, obtain the network quality between the WAP being currently accessed, including:
When accessing WAP, by the network quality between network interface card record and the WAP in physical layer;
The network quality between WAP is obtained from network interface card.
Optionally, when access network services device, obtain the network quality between the webserver, including:
When access network services device, by TCP/IP (the Transmission Control in protocol layer Protocol/Internet Protocol, TCP/IP) between protocol stack record and the webserver Network quality;
The network quality between the webserver is obtained from ICP/IP protocol stack.
Second aspect according to disclosure embodiment, it is provided that a kind of WAP switching device, this device includes:
First acquisition module, is configured to obtain the network quality between the WAP being currently accessed;
First detection module, whether the network quality being configured between detection and WAP is worse than first is preset bar Part;
Wireless handover module, if being configured to be worse than first pre-conditioned, then switching accesses to other WAP.
Optionally, this device, also include:
Second acquisition module, is configured to when access network services device, obtains the network matter between the webserver Amount;
Second detection module, whether the network quality being configured between detection and the webserver is worse than second is preset bar Part;
3rd obtains template, if being additionally configured to be worse than second pre-conditioned, then performs the first acquisition module and obtains and work as Network quality between the WAP of front access.
Optionally, this device, also include:
Access handover module, if to be worse than second pre-conditioned, then for the network quality being configured between the webserver Handover access preset the webserver and again perform second acquisition module obtain and the webserver between network quality.
Optionally, the first acquisition module, including:
First record sub module, is configured to when accessing WAP, by the network interface card record in physical layer and nothing Network quality between line access point;
First obtains submodule, is configured to from network interface card obtain the network quality between WAP.
Optionally, the second acquisition module, including:
Second record sub module, is configured to when access network services device, by the ICP/IP protocol stack in protocol layer Network quality between record and the webserver;
Second obtains submodule, is configured to from ICP/IP protocol stack obtain the network matter between the webserver Amount.
The third aspect according to disclosure embodiment, it is provided that a kind of WAP switching device, this device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
Obtain the network quality between the WAP being currently accessed;
It is pre-conditioned whether the network quality between detection and WAP is worse than first;
If being worse than first pre-conditioned, then switching accesses to other WAP.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
By obtaining the network quality between the WAP being currently accessed;Whether detection network quality is worse than first Pre-conditioned;If being worse than first pre-conditioned, then switching accesses to other WAP;Solve and correlation technique is worked as terminal During the poor webserver of access performance, terminal may be caused to switch to other because of the reason of the webserver self by mistake The problem of WAP;Reached the network quality between terminal and the WAP being currently accessed be worse than first preset During condition, by terminal switching access to other WAP, it is achieved that terminal switching access to other WAP be by Network quality between terminal and WAP is poor, it is to avoid because the reason of the webserver self causes the terminal to cut by mistake Shift to the effect of other WAP.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, can not be limited this Open.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure Example, and in description together for explaining the principle of the disclosure.
Figure 1A is according to the enforcement ring involved by a kind of wireless access point switching method shown in exemplary partial embodiment The schematic diagram in border;
Figure 1B is the schematic diagram according to a kind of network quality record flow process shown in exemplary partial embodiment;
Fig. 2 is the flow chart according to a kind of wireless access point switching method shown in an exemplary embodiment;
Fig. 3 is the flow chart according to a kind of wireless access point switching method shown in another exemplary embodiment;
Fig. 4 is the block diagram according to a kind of WAP switching device shown in an exemplary embodiment;
Fig. 5 is the block diagram according to a kind of WAP switching device shown in another exemplary embodiment;
Fig. 6 is the block diagram according to a kind of WAP switching device shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
Figure 1A is according to the enforcement ring involved by a kind of wireless access point switching method shown in exemplary partial embodiment The schematic diagram in border, as shown in Figure 1A, this implementation environment may include that terminal the 120, first WAP 140 and second is wireless Access point 160.
Terminal 120 can be visited by the WLAN that the first WAP 140 or the second WAP 160 provide Ask the webserver.Assuming that what terminal 120 currently connected is the first WAP 140, at terminal 120 access network services device Time, it is pre-conditioned, in terminal 120 whether the network quality between detection terminal 120 and the first WAP 140 is worse than first And the network quality between the first WAP 140 be worse than first pre-conditioned time, by terminal 120 switching access to the second nothing Line access point 160.
Wherein, terminal 120 can be smart mobile phone, panel computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio frequency aspect 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio frequency aspect 4) player, knee joint Mo(u)ld top half pocket computer and desk computer etc..
In an exemplary example, it is assumed that to give out a contract for a project, success rate represents network quality, refer to Figure 1B, it illustrates Flow process of giving out a contract for a project when user uses terminal 120 access network services device 125, between terminal 120 and the webserver 125.Assuming that Terminal 120 is provided with A, B, C, D, I, J, K and L application, is arranged on the APP in terminal 120 when user uses During (Application, application program) access network services device, first APP121 can be to the radio protocol stack in terminal 120 (wifi stack) 122 gives out a contract for a project, the ICP/IP protocol stack that the bag received can be transmitted in protocol layer by radio protocol stack 122 123, the bag received is transmitted to the first WAP by the network interface card 124 in terminal 120 bottom by ICP/IP protocol stack 123 140, by the first WAP 140 access network services device 125.ICP/IP protocol stack 123 records terminal 120 and network Success rate of giving out a contract for a project between server 125;Network interface card 124 records sending out between network interface card 124 and the first WAP 140 simultaneously Packet success rate.
Fig. 2 is the flow chart according to a kind of wireless access point switching method shown in an exemplary embodiment, such as Fig. 2 institute Showing, this wireless access point switching method is applied in the terminal 120 in the implementation environment shown in Figure 1A, can include following step Suddenly.
In step 201, the network quality between the WAP being currently accessed is obtained.
In step 202., whether to be worse than first pre-conditioned for the network quality between detection and WAP.
In step 203, if being worse than first pre-conditioned, then switching accesses to other WAP.
In sum, the wireless access point switching method provided in disclosure embodiment, by obtain and be currently accessed Network quality between WAP;It is pre-conditioned whether detection network quality is worse than first;If being worse than first pre-conditioned, Then switching accesses to other WAP;Solve in correlation technique when the webserver of terminal access poor-performing, The problem that terminal switches to other WAP by mistake may be caused because of the reason of the webserver self;Reach at end Hold with the WAP being currently accessed between network quality be worse than first pre-conditioned time, by terminal switching access to other WAP, it is achieved that it is due to the network between terminal and WAP that terminal switching accesses to other WAP It is second-rate, it is to avoid because the reason of the webserver self causes the terminal to switch to the effect of other WAP by mistake.
Fig. 3 is the flow chart according to a kind of wireless access point switching method shown in another exemplary embodiment, such as Fig. 3 institute Showing, this wireless access point switching method is applied in the terminal 120 in the implementation environment shown in Figure 1A, can include following step Suddenly.
In step 301, when access network services device, obtain the network quality between the webserver.
Terminal is when access network services device, and terminal is taken with network by the ICP/IP protocol record stack terminal in protocol layer Network quality between business device.When terminal needs to obtain the network quality between the webserver, directly assist from TCP/IP View stack obtains.
Optionally, when the network quality between terminal and the webserver can pass through packet loss, success rate of giving out a contract for a project, delay At least one in length and handling capacity represents.
Optionally, when terminal accesses the corresponding webserver by application program, then record in ICP/IP protocol stack Network quality between terminal and this webserver;Take when terminal accesses different networks by different application programs simultaneously Business device time, in ICP/IP protocol stack record terminal and the webserver between network quality refer to terminal respectively with access Network quality between each webserver.
In step 302, whether to be worse than second pre-conditioned for the network quality between detection and the webserver.
After that terminal records in getting ICP/IP protocol stack and between the webserver network quality, detection obtains To and network quality between the webserver whether to be worse than second pre-conditioned.
This step can be realized by following several ways:
In the first implementation, the network quality between terminal and the webserver is represented by the first packet loss Time, then whether detect the first packet loss more than first threshold.
In the second implementation, the network quality between terminal and the webserver is given out a contract for a project success rate by first During expression, then whether detection first gives out a contract for a project success rate less than Second Threshold.
In the third implementation, the network quality between terminal and the webserver is by the first delay duration table When showing, then whether detection the first delay duration is more than the first preset duration.
In the 4th kind of implementation, the network quality between terminal and the webserver is represented by the first handling capacity Time, then whether detect the first handling capacity less than the 3rd threshold value.
Whether it is worse than second by the network quality between detection terminal and the webserver and pre-conditioned can obtain two Kind of testing result, if no worse than second is pre-conditioned, then performs step 303, if being worse than second pre-conditioned, performs step 304。
In step 303, and if network quality between the webserver be no worse than second pre-conditioned, the most do not switch and connect Enter to other WAP.
Network quality between terminal and the webserver be no worse than second pre-conditioned time, illustrate that terminal is the most permissible Normally access the Internet, Network Abnormal situation does not occur, so need not switching to be connected to other WAP.
In step 304, and if network quality between the webserver be worse than second pre-conditioned, then obtain terminal with Network quality between the WAP being currently accessed.
Network quality between terminal and the webserver be worse than second pre-conditioned time, the nothing of network interface card and access is described Network quality between line access point is poor or the poor-performing of the webserver that accesses, in order to determine cause terminal with Network quality between the webserver is worse than the second pre-conditioned reason, and terminal obtains be currently accessed with self wireless and connects Network quality between access point.
Optionally, terminal is after accessing WAP, and terminal is connect with wireless by the network interface card record terminal in physical layer Network quality between access point, such as: during distant between terminal with the WAP being currently connected, the net of terminal The network quality that card can record between current point in time terminal and WAP is poor;When terminal wireless connects be currently connected During close together between access point, the network interface card of terminal can record the network quality between current point in time terminal and WAP Preferably.
Accordingly, terminal obtains the network quality between terminal and WAP from network interface card.
Optionally, at least during network quality may include that packet loss, success rate of giving out a contract for a project, delay duration and handling capacity Kind.
Optionally, WAP can include router.
In step 305, whether to be worse than first pre-conditioned for the network quality between detection and WAP.
After that terminal records in getting network interface card and between WAP network quality, detection get with nothing It is pre-conditioned whether the network quality between line access point is worse than first.
This step can be realized by following several ways:
In the first implementation, the network quality between terminal and WAP is represented by the second packet loss Time, then whether detect the second packet loss more than the 4th threshold value.
In the second implementation, the network quality between terminal and WAP is given out a contract for a project success rate by second During expression, then whether detection second gives out a contract for a project success rate less than the 5th threshold value.
In the third implementation, the network quality between terminal and WAP is by the second delay duration table When showing, then whether detection the second delay duration is more than the second preset duration.
In the 4th kind of implementation, the network quality between terminal and WAP is represented by the second handling capacity Time, then whether detect the second handling capacity less than the 6th threshold value.
Whether it is worse than first by the network quality between detection terminal and WAP and pre-conditioned can obtain two Plant testing result, if no worse than first is pre-conditioned, then perform step 306;If being worse than first pre-conditioned, perform step 307。
Within step 306, and if network quality between WAP be no worse than first pre-conditioned, the most do not switch and connect Enter to other WAP.
When terminal, to detect that the network quality between terminal and WAP is no worse than first pre-conditioned, then end is described Holding the network quality between the webserver poor is not because the network quality between terminal and WAP causes, Therefore, terminal does not switch and accesses to other WAP.
In step 307, and if network quality between WAP be worse than first pre-conditioned, then switching accesses to Other WAP.
When terminal, to detect that the network quality between terminal and WAP is worse than first pre-conditioned, then terminal is described And cause owing to the network quality between terminal and WAP is poor when network quality between the webserver is poor, Therefore, terminal switching accesses to other WAP.
In sum, the wireless access point switching method provided in disclosure embodiment, by obtain and be currently accessed Network quality between WAP;It is pre-conditioned whether detection network quality is worse than first;If being worse than first pre-conditioned, Then switching accesses to other WAP;Solve in correlation technique when the webserver of terminal access poor-performing, The problem that terminal switches to other WAP by mistake may be caused because of the reason of the webserver self;Reach at end Hold with the WAP being currently accessed between network quality be worse than first pre-conditioned time, by terminal switching access to other WAP, it is achieved that it is due to the network between terminal and WAP that terminal switching accesses to other WAP It is second-rate, it is to avoid because the reason of the webserver self causes the terminal to switch to the effect of other WAP by mistake.
It addition, the network quality between terminal and the webserver is worse than the second pre-conditioned and terminal and wireless access Network quality between point be worse than first pre-conditioned time, terminal switching access to other WAP, can be more accurate The switching of determination terminal access to some switching time of other WAP, thus reduce terminal and occur switching to other nothing by mistake The probability of line access point.
First that requires supplementation with explanation is to provide by a WAP in the present embodiment and carry out as a example by a focus Illustrate.When a WAP provides at least two focus, terminal switching accesses to other WAP, quite Then terminal switching accesses to other focus, owing to whether end side uncertain two focuses are carried by a WAP Confession, therefore, is equal to switching when end side switching accesses to other focus and accesses to other WAP.In the present embodiment The number of the focus that one WAP provides is not especially limited.
The second point requiring supplementation with explanation is, the step 301 in the present embodiment to step 303 is optional step, is holding Can realize to step 307 by performing step 301 during the switching of row WAP, it is also possible to only carry out step 304 to step Rapid 307 realize.
Require supplementation with explanation thirdly, if the network quality between terminal and the webserver is worse than second presets bar During part, before the network quality obtained between terminal and WAP, the method can also include: handover access is preset The webserver.
Network quality between terminal and the webserver be worse than second pre-conditioned time, illustrate that terminal is current and network Network quality between server is poor, occurs that the poor reason of this network quality has two: first, the net of terminal current accessed The poor-performing of network server, thus cause the network quality between terminal and the webserver poor;Second, terminal is with wireless Network quality between access point is poor, such as: during distant between terminal with the WAP being currently connected, cause Network quality between terminal and WAP is poor, ultimately results in the network quality between terminal and the webserver relatively Difference.
In order to detect the concrete reason causing the network quality between terminal and the webserver poor, detecting terminal And the network quality between the webserver be worse than second pre-conditioned time, by terminal handover access preset the webserver, Detect whether to be the poor-performing of the webserver due to terminal current accessed and cause network quality poor.
Optionally, the webserver functional preset, number to the default webserver in the present embodiment Be not especially limited, preset the webserver can be multiple can also be one.
After the webserver that terminal handover access is preset, need to obtain the net between terminal and the default webserver Network quality, and it is pre-conditioned, if the network quality between terminal and the default webserver is the poorest to detect whether to be worse than second Pre-conditioned in second, then obtain the network quality between terminal and the WAP being currently accessed.
As a kind of possible implementation, when the default webserver is multiple, preset in terminal handover access The webserver after, before performing to obtain the network quality between terminal and the WAP being currently accessed, the method Can also include following several step:
The first step, the number of times of the webserver of switching access preset in statistics Preset Time.
The number of times of the webserver of access preset it is switched, say, that terminal statistics is pre-in terminal statistics Preset Time If the network quality in the time between terminal and the webserver is worse than the second pre-conditioned number of times.
Second step, whether detection number of times reaches preset times.
After the number of times of the webserver being switched access preset in terminal statistics Preset Time, the number of times that statistics is obtained Comparing with preset times, whether the number of times that detection statistics obtains has reached preset times.
3rd step, if number of times reaches preset times, then performs step 304.
When terminal detects that the number of times that statistics obtains has reached preset times, then obtain between terminal and WAP Network quality.
Optionally, if terminal detects when the number of times that statistics obtains is not up to preset times, then need not switching and be connected to Other WAP.
Following for disclosure device embodiment, may be used for performing method of disclosure embodiment.Real for disclosure device Execute the details not disclosed in example, refer to method of disclosure embodiment.
Fig. 4 is the block diagram according to a kind of WAP switching device shown in an exemplary embodiment, as shown in Figure 4, In the terminal 120 that this WAP switching device is applied in implementation environment shown in Figure 1A, this WAP switching device Include but not limited to:
First acquisition module 420, is configured to obtain the network quality between the WAP being currently accessed.
First detection module 440, it is pre-whether the network quality being configured between detection and WAP is worse than first If condition.
Wireless handover module 460, if being configured to be worse than first pre-conditioned, then switching accesses to other wireless access Point.
In sum, the WAP switching device provided in disclosure embodiment, by obtain and be currently accessed Network quality between WAP;It is pre-conditioned whether detection network quality is worse than first;If being worse than first pre-conditioned, Then switching accesses to other WAP;Solve in correlation technique when the webserver of terminal access poor-performing, The problem that terminal switches to other WAP by mistake may be caused because of the reason of the webserver self;Reach at end Hold with the WAP being currently accessed between network quality be worse than first pre-conditioned time, by terminal switching access to other WAP, it is achieved that it is due to the network between terminal and WAP that terminal switching accesses to other WAP It is second-rate, it is to avoid because the reason of the webserver self causes the terminal to switch to the effect of other WAP by mistake.
Fig. 5 is the block diagram according to a kind of WAP switching device shown in another exemplary embodiment, such as Fig. 5 institute Show, in the terminal 120 that this WAP switching device is applied in implementation environment shown in Figure 1A, this WAP switching dress Put and include but not limited to:
Second acquisition module 510, is configured to when access network services device, obtains the network between the webserver Quality.
Optionally, in the present embodiment, the second acquisition module 510 may include that the second record sub module 511 and second obtains Submodule 512.
Second record sub module 511, is configured to when access network services device, by the ICP/IP protocol in protocol layer Network quality between record stack and the webserver.
Second obtains submodule 512, is configured to from ICP/IP protocol stack obtain the network between the webserver Quality.
Second detection module 520, it is pre-whether the network quality being configured between detection and the webserver is worse than second If condition.
Access handover module 530, if the network quality being configured between the webserver is worse than second pre-conditioned, Then handover access preset the webserver and again perform second acquisition module obtain and the webserver between network matter Amount.
3rd obtains template 540, if being configured to be worse than second pre-conditioned, then performs the first acquisition module 550 and obtains And the step of the network quality between the WAP being currently accessed.
First acquisition module 550, is configured to obtain the network quality between the WAP being currently accessed.
Optionally, the first acquisition module 550 may include that the first record sub module 551 and first obtains submodule 552.
First record sub module 551, be configured to access WAP time, by the network interface card record in physical layer with Network quality between WAP.
First obtains submodule 552, is configured to from network interface card obtain the network quality between WAP.
First detection module 560, it is pre-whether the network quality being configured between detection and WAP is worse than first If condition.
Wireless handover module 570, if being configured to be worse than first pre-conditioned, then switching accesses to other wireless access Point.
In sum, the WAP switching device provided in disclosure embodiment, by obtain and be currently accessed Network quality between WAP;It is pre-conditioned whether detection network quality is worse than first;If being worse than first pre-conditioned, Then switching accesses to other WAP;Solve in correlation technique when the webserver of terminal access poor-performing, The problem that terminal switches to other WAP by mistake may be caused because of the reason of the webserver self;Reach at end Hold with the WAP being currently accessed between network quality be worse than first pre-conditioned time, by terminal switching access to other WAP, it is achieved that it is due to the network between terminal and WAP that terminal switching accesses to other WAP It is second-rate, it is to avoid because the reason of the webserver self causes the terminal to switch to the effect of other WAP by mistake.
It addition, the network quality between terminal and the webserver is worse than the second pre-conditioned and terminal and wireless access Network quality between point be worse than first pre-conditioned time, terminal switching access to other WAP, can be more accurate The switching of determination terminal access to some switching time of other WAP, thus reduce terminal and occur switching to other nothing by mistake The probability of line access point.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The disclosure one exemplary embodiment provides a kind of WAP switching device, it is possible to realize what the disclosure provided Wireless access point switching method, this WAP switching device includes: processor, for storing processor executable Memorizer;
Wherein, processor is configured to:
Obtain the network quality between the WAP being currently accessed;
It is pre-conditioned whether the network quality between detection and WAP is worse than first;
If being worse than first pre-conditioned, then switching accesses to other WAP.
Fig. 6 is the block diagram according to a kind of WAP switching device shown in an exemplary embodiment.Such as, device 600 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, and tablet device, medical treatment sets Standby, body-building equipment, personal digital assistant etc..
With reference to Fig. 6, device 600 can include following one or more assembly: processes assembly 602, memorizer 604, power supply Assembly 606, multimedia groupware 608, audio-frequency assembly 610, input/output (I/O) interface 612, sensor cluster 614, Yi Jitong Letter assembly 616.
Process assembly 602 and generally control the integrated operation of device 600, such as with display, call, data communication, phase The operation that machine operation and record operation are associated.Process assembly 602 and can include that one or more processor 618 performs to refer to Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 602 can include one or more module, just Mutual in process between assembly 602 and other assemblies.Such as, process assembly 602 and can include multi-media module, many to facilitate Media component 608 and process between assembly 602 mutual.
Memorizer 604 is configured to store various types of data to support the operation at device 600.Showing of these data Example includes any application program for operation on device 600 or the instruction of method, contact data, telephone book data, disappears Breath, picture, video etc..Memorizer 604 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
The various assemblies that power supply module 606 is device 600 provide electric power.Power supply module 606 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 600, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 608 is included between device 600 and user.Real at some Executing in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch screen, to receive the input signal from user.Touch panel include one or more touch sensor with Gesture on sensing touch, slip and touch panel.Touch sensor can not only sense touch or the border of sliding action, and And also detect and touch or persistent period that slide is relevant and pressure.In certain embodiments, multimedia groupware 608 includes One front-facing camera and/or post-positioned pick-up head.When device 600 is in operator scheme, during such as screening-mode or video mode, front Put photographic head and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can To be a fixing optical lens system or there is focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to output and/or input audio signal.Such as, audio-frequency assembly 610 includes a Mike Wind (MIC), when device 600 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is joined It is set to receive external audio signal.The audio signal received can be further stored at memorizer 604 or via communication set Part 616 sends.In certain embodiments, audio-frequency assembly 610 also includes a speaker, is used for exporting audio signal.
I/O interface 612 provides interface for processing between assembly 602 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Set button.
Sensor cluster 614 includes one or more sensor, for providing the state of various aspects to comment for device 600 Estimate.Such as, what sensor cluster 614 can detect device 600 opens/closed mode, the relative localization of assembly, such as assembly For display and the keypad of device 600, sensor cluster 614 can also detect device 600 or the position of 600 1 assemblies of device Put change, the presence or absence that user contacts, device 600 orientation or acceleration/deceleration and the temperature of device 600 with device 600 Change.Sensor cluster 614 can include proximity transducer, is configured to when not having any physical contact near detection The existence of object.Sensor cluster 614 can also include optical sensor, and such as CMOS or ccd image sensor, being used for should in imaging Use middle use.In certain embodiments, this sensor cluster 614 can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure transducer or temperature sensor.
Communications component 616 is configured to facilitate the communication of wired or wireless mode between device 600 and other equipment.Device 600 can access wireless network based on communication standard, such as Wi-Fi, 2G or 3G, or combinations thereof.An exemplary reality Executing in example, communications component 616 receives the broadcast singal from external broadcasting management system or the relevant letter of broadcast via broadcast channel Breath.In one exemplary embodiment, communications component 616 also includes near-field communication (NFC) module, to promote junction service.Example As, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, be used for performing the switching of above-mentioned WAP Method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 604 of instruction, above-mentioned instruction can have been performed above-mentioned WAP by the processor 618 of device 600 Changing method.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, Tape, floppy disk and optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a wireless access point switching method, it is characterised in that described method includes:
Obtain the network quality between the WAP being currently accessed;
It is pre-conditioned whether the network quality between detection and described WAP is worse than first;
If being worse than described first pre-conditioned, then switching accesses to other WAP.
Method the most according to claim 1, it is characterised in that described method, also includes:
When access network services device, obtain the network quality between the described webserver;
It is pre-conditioned whether the network quality between detection and the described webserver is worse than second;
If being worse than described second pre-conditioned, then perform the network quality between described acquisition and the WAP being currently accessed Step.
Method the most according to claim 2, it is characterised in that between described acquisition and the WAP being currently accessed Before network quality, described method also includes:
And if the network quality between the described webserver is worse than described second pre-conditioned, then that handover access is preset network Server and again perform the step of network quality between described acquisition and the described webserver.
4. according to the arbitrary described method of claims 1 to 3, it is characterised in that described acquisition and the wireless access being currently accessed Network quality between point, including:
When accessing WAP, by the network quality between the network interface card record in physical layer and described WAP;
The network quality between described WAP is obtained from described network interface card.
Method the most according to claim 2, it is characterised in that described when access network services device, obtains and described net Network quality between network server, including:
When accessing the described webserver, remembered by the TCP/IP ICP/IP protocol stack in protocol layer Network quality between record and the described webserver;
The network quality between the described webserver is obtained from described ICP/IP protocol stack.
6. a WAP switching device, it is characterised in that described device includes:
First acquisition module, is configured to obtain the network quality between the WAP being currently accessed;
First detection module, whether the network quality being configured between detection and described WAP is worse than first is preset bar Part;
Wireless handover module, if being configured to be worse than described first pre-conditioned, then switching accesses to other WAP.
Device the most according to claim 6, it is characterised in that described device, also includes:
Second acquisition module, is configured to when access network services device, obtains the network matter between the described webserver Amount;
Second detection module, whether the network quality being configured between detection and the described webserver is worse than second is preset bar Part;
3rd obtains template, if being additionally configured to be worse than described second pre-conditioned, then performs described first acquisition module and obtains And the step of the network quality between the WAP being currently accessed.
Device the most according to claim 7, it is characterised in that described device, also includes:
Access handover module, if the network quality being configured between the described webserver is worse than described second presets bar Part, then handover access preset the webserver and again perform described second acquisition module obtain with the described webserver it Between network quality.
9. according to the arbitrary described device of claim 6 to 8, it is characterised in that described first acquisition module, including:
First record sub module, is configured to when accessing WAP, by the network interface card record in physical layer and described nothing Network quality between line access point;
First obtains submodule, is configured to from described network interface card obtain the network quality between described WAP.
Device the most according to claim 7, it is characterised in that described second acquisition module, including:
Second record sub module, be configured to access the described webserver time, by the transmission control protocol in protocol layer/ Network quality between Internet protocol ICP/IP protocol record stack and the described webserver;
Second obtains submodule, is configured to from described ICP/IP protocol stack obtain the network between the described webserver Quality.
11. 1 kinds of WAP switching devices, it is characterised in that described device includes:
Processor;
For storing the memorizer of described processor executable;
Wherein, described processor is configured to:
Obtain the network quality between the WAP being currently accessed;
It is pre-conditioned whether the network quality between detection and described WAP is worse than first;
If being worse than described first pre-conditioned, then switching accesses to other WAP.
CN201610619169.4A 2016-07-29 2016-07-29 Wireless access point switching method and device Active CN106231640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610619169.4A CN106231640B (en) 2016-07-29 2016-07-29 Wireless access point switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610619169.4A CN106231640B (en) 2016-07-29 2016-07-29 Wireless access point switching method and device

Publications (2)

Publication Number Publication Date
CN106231640A true CN106231640A (en) 2016-12-14
CN106231640B CN106231640B (en) 2019-12-13

Family

ID=57536364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610619169.4A Active CN106231640B (en) 2016-07-29 2016-07-29 Wireless access point switching method and device

Country Status (1)

Country Link
CN (1) CN106231640B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241758A (en) * 2017-08-04 2017-10-10 广东欧珀移动通信有限公司 Network control method, network control unit and intelligent terminal
CN107295592A (en) * 2017-08-14 2017-10-24 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
CN108282381A (en) * 2017-09-15 2018-07-13 广州市动景计算机科技有限公司 Network packet loss rate monitoring method, device and test server
WO2019001352A1 (en) * 2017-06-30 2019-01-03 华为技术有限公司 Method, device, and system for transmitting data
CN110572859A (en) * 2019-09-29 2019-12-13 珠海格力电器股份有限公司 AP switching method, device, equipment and medium
CN110913447A (en) * 2019-12-30 2020-03-24 Oppo广东移动通信有限公司 Network control method, network control device, storage medium and electronic equipment
CN114916021A (en) * 2022-05-17 2022-08-16 上海山源电子科技股份有限公司 Downhole roaming system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101199229A (en) * 2005-04-21 2008-06-11 高通股份有限公司 Wireless handoffs between multiple networks
US20090059865A1 (en) * 2006-02-28 2009-03-05 Huan Qiang Zhang Seamless Handover Method and System
US20100157818A1 (en) * 2005-08-31 2010-06-24 Nec Corporation Network system, server, quality degradation point estimating method, and program
CN102469082A (en) * 2010-11-11 2012-05-23 中兴通讯股份有限公司 Method for path switching, device and system
US20140362713A1 (en) * 2013-06-11 2014-12-11 Seven Networks, Inc. Quality of experience enhancement for wireless networks based on received signal strength at a mobile device
CN105228201A (en) * 2015-10-13 2016-01-06 小米科技有限责任公司 The changing method of relay router and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101199229A (en) * 2005-04-21 2008-06-11 高通股份有限公司 Wireless handoffs between multiple networks
US20100157818A1 (en) * 2005-08-31 2010-06-24 Nec Corporation Network system, server, quality degradation point estimating method, and program
US20090059865A1 (en) * 2006-02-28 2009-03-05 Huan Qiang Zhang Seamless Handover Method and System
CN102469082A (en) * 2010-11-11 2012-05-23 中兴通讯股份有限公司 Method for path switching, device and system
US20140362713A1 (en) * 2013-06-11 2014-12-11 Seven Networks, Inc. Quality of experience enhancement for wireless networks based on received signal strength at a mobile device
CN105228201A (en) * 2015-10-13 2016-01-06 小米科技有限责任公司 The changing method of relay router and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019001352A1 (en) * 2017-06-30 2019-01-03 华为技术有限公司 Method, device, and system for transmitting data
US11528345B2 (en) 2017-06-30 2022-12-13 Huawei Technologies Co., Ltd. Data transmission method and system, and apparatus
CN107241758A (en) * 2017-08-04 2017-10-10 广东欧珀移动通信有限公司 Network control method, network control unit and intelligent terminal
CN107295592A (en) * 2017-08-14 2017-10-24 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
CN108282381A (en) * 2017-09-15 2018-07-13 广州市动景计算机科技有限公司 Network packet loss rate monitoring method, device and test server
CN110572859A (en) * 2019-09-29 2019-12-13 珠海格力电器股份有限公司 AP switching method, device, equipment and medium
CN110572859B (en) * 2019-09-29 2021-04-16 珠海格力电器股份有限公司 AP switching method, device, equipment and medium
CN110913447A (en) * 2019-12-30 2020-03-24 Oppo广东移动通信有限公司 Network control method, network control device, storage medium and electronic equipment
CN110913447B (en) * 2019-12-30 2022-01-07 Oppo广东移动通信有限公司 Network control method, network control device, storage medium and electronic equipment
CN114916021A (en) * 2022-05-17 2022-08-16 上海山源电子科技股份有限公司 Downhole roaming system

Also Published As

Publication number Publication date
CN106231640B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN104156149B (en) Acquisition parameters control method and device
CN106231640A (en) Wireless access point switching method and device
CN106028375A (en) Method and device for prompting network switching and terminal device
CN105159559A (en) Mobile terminal control method and mobile terminal
CN105828201A (en) Video processing method and device
CN105117033A (en) Connection method and device of external equipment
CN105263196A (en) Connection state prompting method and device
CN107608561A (en) Touch-screen control method and device
CN104506443A (en) Router setting interface display method and device
CN105472698A (en) Wireless network access method and device
CN104717554A (en) Smart television control method and device and electronic equipment
CN105120505A (en) Method, apparatus and system for making intelligent equipment accessed to router
CN105282809A (en) Network model switching method and apparatus, and terminal equipment
CN107204883A (en) Network failure processing method and device
CN104464238A (en) Method and device for controlling operation between mobile terminals
CN104460185A (en) Automatic focusing method and device
CN105530167A (en) Method and device for setting group name card
CN107241770A (en) Method for connecting network and device
CN105511777A (en) Session display method and device of touch display screen
CN105224168A (en) The display packing of application icon, device and mobile device
CN105517078A (en) Network connection switching method and device
CN107562500A (en) Debugging apparatus, method and apparatus
CN104881342A (en) Terminal testing method and device
CN104360875A (en) Private mode starting method and device
CN104539497B (en) Method for connecting network and device

Legal Events

Date Code Title Description
C06 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