CN105376700B - A kind of access device and method of free Wi-Fi network - Google Patents

A kind of access device and method of free Wi-Fi network Download PDF

Info

Publication number
CN105376700B
CN105376700B CN201510818754.2A CN201510818754A CN105376700B CN 105376700 B CN105376700 B CN 105376700B CN 201510818754 A CN201510818754 A CN 201510818754A CN 105376700 B CN105376700 B CN 105376700B
Authority
CN
China
Prior art keywords
network
free
access
historical record
order
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.)
Active
Application number
CN201510818754.2A
Other languages
Chinese (zh)
Other versions
CN105376700A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510818754.2A priority Critical patent/CN105376700B/en
Publication of CN105376700A publication Critical patent/CN105376700A/en
Application granted granted Critical
Publication of CN105376700B publication Critical patent/CN105376700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Abstract

The embodiment of the invention discloses a kind of access devices of free Wi-Fi network, including the first acquisition module, the second acquisition module and AM access module;Wherein, first module is obtained, for obtaining the access historical record of at least one free Wi-Fi network;Second obtain module, for based on the signal strength scale and current search divided in advance go out each of free Wi-Fi network signal strength, obtain current search go out each of free Wi-Fi network signal strength scale;AM access module, for based on the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade, selecting one free Wi-Fi network of access when the corresponding free Wi-Fi network of Optimal Signals strength grade has corresponding access historical record;It so, it is possible to improve the stability that free Wi-Fi network accesses.The embodiment of the invention also discloses a kind of cut-in methods of free Wi-Fi network.

Description

A kind of access device and method of free Wi-Fi network
Technical field
The present invention relates to free Wi-Fi (WIreless-Fidelity) technology more particularly to a kind of free Wi-Fi networks Access device and method.
Background technique
Along with the fast development of mobile Internet, user is higher and higher to the degree of dependence of data.Mobile data flow Expense it is high so that user is very urgent for the demand of wireless network.There is wireless network covering, is existing simultaneously multiple exempt from Take WIFI hot spot it is available in the case where, mobile phone how to automatically access that speed is fast and metastable WIFI for user body Testing seems abnormal important.Mobile phone is that selection current demand signal is strong for free WIFI (Wi-Fi of the no password) scheme accessed at present Highest access is spent, it is apparent that, there are the following problems for this mode: signal does not represent by force stabilization, and networking speed can not It is determined completely by force by signal.
Summary of the invention
In order to solve the above technical problems, an embodiment of the present invention is intended to provide a kind of access device of free Wi-Fi network and Method improves the stability of free Wi-Fi network access.
The technical scheme of the present invention is realized as follows:
The embodiment of the invention provides a kind of access device of free Wi-Fi network, including the first acquisition module, second obtain Modulus block and AM access module;Wherein,
First obtains module, for obtaining the access historical record of at least one free Wi-Fi network, each free Wi- The access historical record of Fi network includes at least one Wi-Fi access information;
Second obtain module, for based on the signal strength scale and current search divided in advance go out each of free Wi- The signal strength of Fi network, obtain current search go out each of free Wi-Fi network signal strength scale;
AM access module, for there is corresponding access history in the corresponding free Wi-Fi network of Optimal Signals strength grade When record, based on the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade, selection access one Free Wi-Fi network;The Optimal Signals strength grade is to indicate that signal strength is maximum in the signal strength scale divided in advance A signal strength scale.
In above scheme, the AM access module is specifically used for obtaining the corresponding free Wi- of the Optimal Signals strength grade The setting of at least one of the access historical record of Fi network Wi-Fi access information puts in order, and is based on the free Wi-Fi net The setting of at least one of the access historical record of network Wi-Fi access information puts in order, and obtains Optimal Signals strength grade pair The access for the free Wi-Fi network answered puts in order, by the in the free Wi-Fi network for the arrangement that puts in order by the access Free Wi-Fi network of one free Wi-Fi network as primary election;Show that current search each of goes out free Wi-Fi network Relative signal intensity difference, each free Wi-Fi network that current search goes out relative signal intensity difference no more than setting When determining signal strength threshold, the free Wi-Fi network of selection access primary election;The current search go out each of free Wi-Fi net The relative signal intensity difference of network are as follows: the signal strength of corresponding free Wi-Fi network subtracts the letter of the free Wi-Fi network of primary election The difference of number intensity.
In above scheme, the AM access module is specifically used for obtaining the corresponding free Wi- of the Optimal Signals strength grade The setting of any one Wi-Fi access information puts in order in the access historical record of Fi network, is based on a kind of corresponding Wi-Fi The setting of access information puts in order, and show that the access of the corresponding free Wi-Fi network of Optimal Signals strength grade puts in order.
In above scheme, the AM access module is specifically used for obtaining the corresponding free Wi- of the Optimal Signals strength grade The setting of K kind Wi-Fi access information puts in order in the access historical record of Fi network, is connect based on acquired jth kind Wi-Fi The setting for entering information puts in order, and show that the jth of the corresponding free Wi-Fi network of Optimal Signals strength grade puts in order;? In the free Wi-Fi network of arrangement that puts in order by the jth, M free Wi-Fi networks are as jth time selection before choosing Free Wi-Fi network;Free Wi-Fi network common in the free Wi-Fi network of each selection is found out, for each of finding out The numerical value of various Wi-Fi access informations is weighted summation in the access historical record of common free Wi-Fi network, obtains and looks for Each of the out index value of common free Wi-Fi network;According to the sequence of the index value from big to small, obtain find out it is each A common free Wi-Fi network puts in order, by putting in order for each common free Wi-Fi network found out Access as the corresponding free Wi-Fi network of Optimal Signals strength grade puts in order, and K is more than or equal to 2, j and takes 1 to K, the M to be The natural number of setting.
In above scheme, the AM access module is specifically used for obtaining the corresponding free Wi- of the Optimal Signals strength grade The setting of at least one of the access historical record of Fi network Wi-Fi access information puts in order, and is based on the free Wi-Fi net The setting of at least one of the access historical record of network Wi-Fi access information puts in order, and obtains Optimal Signals strength grade pair The access for the free Wi-Fi network answered puts in order, by the in the free Wi-Fi network for the arrangement that puts in order by the access Free Wi-Fi network of one free Wi-Fi network as primary election;Show that current search each of goes out free Wi-Fi network Relative signal intensity difference is greater than in the relative signal intensity difference at least one free Wi-Fi network that current search goes out and sets When determining signal strength threshold, the maximum free Wi-Fi network of signal strength of selection access current search out;The current search Each of the out relative signal intensity difference of free Wi-Fi network are as follows: the signal strength of corresponding free Wi-Fi network subtracts primary election Free Wi-Fi network signal strength difference.
In above scheme, in the access historical record of each free Wi-Fi network, the Wi-Fi of corresponding free Wi-Fi network Access information comprises at least one of the following information: access duration, the mean value of Wi-Fi speed, the variance of Wi-Fi speed;
The setting of duration is accessed in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade It puts in order are as follows: access duration putting in order from big to small, the corresponding free Wi-Fi network of the Optimal Signals strength grade Access historical record in the setting of mean value of Wi-Fi speed put in order are as follows: the arrangement of the mean value of Wi-Fi speed from big to small Sequentially, the variance of Wi-Fi speed in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade Setting puts in order are as follows: the variance of Wi-Fi speed putting in order from small to large.
The embodiment of the invention provides a kind of cut-in methods of free Wi-Fi network, comprising:
The access historical record of at least one free Wi-Fi network is obtained, the access history note of each free Wi-Fi network Record includes at least one Wi-Fi access information;
Based on the signal strength scale and current search divided in advance go out each of free Wi-Fi network signal strength, Obtain current search go out each of free Wi-Fi network signal strength scale;
When the corresponding free Wi-Fi network of Optimal Signals strength grade has corresponding access historical record, it is based on institute State the access historical record of the corresponding free Wi-Fi network of Optimal Signals strength grade, selection one free Wi-Fi net of access Network;The Optimal Signals strength grade is to indicate that the maximum signal of signal strength is strong in the signal strength scale divided in advance Spend grade.
In above scheme, the access history based on the corresponding free Wi-Fi network of the Optimal Signals strength grade Record, selection one free Wi-Fi network of access, comprising:
Obtain at least one of the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade The setting of Wi-Fi access information puts in order, at least one of access historical record based on free Wi-Fi network Wi- The setting of Fi access information puts in order, and show that the access arrangement of the corresponding free Wi-Fi network of Optimal Signals strength grade is suitable Sequence exempts from first free Wi-Fi network in the free Wi-Fi network for the arrangement that puts in order by the access as primary election Take Wi-Fi network;Obtain current search go out each of free Wi-Fi network relative signal intensity difference, go out in current search Each free Wi-Fi network relative signal intensity difference no more than setting signal intensity threshold when, selection access primary election Free Wi-Fi network;The current search go out each of free Wi-Fi network relative signal intensity difference are as follows: correspondence exempt from The signal strength of expense Wi-Fi network subtracts the difference of the signal strength of the free Wi-Fi network of primary election.
In above scheme, the access history based on the corresponding free Wi-Fi network of the Optimal Signals strength grade Record, selection one free Wi-Fi network of access, comprising:
Obtain at least one of the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade The setting of Wi-Fi access information puts in order, at least one of access historical record based on free Wi-Fi network Wi- The setting of Fi access information puts in order, and show that the access arrangement of the corresponding free Wi-Fi network of Optimal Signals strength grade is suitable Sequence exempts from first free Wi-Fi network in the free Wi-Fi network for the arrangement that puts in order by the access as primary election Take Wi-Fi network;Obtain current search go out each of free Wi-Fi network relative signal intensity difference, go out in current search The relative signal intensity difference of at least one free Wi-Fi network when being greater than setting signal intensity threshold, selection access is current The maximum free Wi-Fi network of the signal strength searched out;The current search each of goes out the opposite letter of free Wi-Fi network Number strength difference are as follows: the signal strength of corresponding free Wi-Fi network subtracts the difference of the signal strength of the free Wi-Fi network of primary election Value.
In above scheme, in the access historical record of each free Wi-Fi network, the Wi-Fi of corresponding free Wi-Fi network Access information comprises at least one of the following information: access duration, the mean value of Wi-Fi speed, the variance of Wi-Fi speed;
The setting of duration is accessed in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade It puts in order are as follows: access duration putting in order from big to small, the corresponding free Wi-Fi network of the Optimal Signals strength grade Access historical record in the setting of mean value of Wi-Fi speed put in order are as follows: the arrangement of the mean value of Wi-Fi speed from big to small Sequentially, the variance of Wi-Fi speed in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade Setting puts in order are as follows: the variance of Wi-Fi speed putting in order from small to large.
It is free to obtain at least one for the access device and method of a kind of free Wi-Fi network provided in an embodiment of the present invention The access historical record of the access historical record of Wi-Fi network, each free Wi-Fi network is accessed comprising at least one Wi-Fi Information;Based on the signal strength scale and current search divided in advance go out each of free Wi-Fi network signal strength, obtain Current search go out each of free Wi-Fi network signal strength scale;In the corresponding free Wi-Fi of Optimal Signals strength grade When network has corresponding access historical record, based on connecing for the corresponding free Wi-Fi network of Optimal Signals strength grade Enter historical record, selection one free Wi-Fi network of access.So, it is possible be with the access historical record of free Wi-Fi network Users to trust, speed are selected fastly and stability in basis, and the signal strength of the free Wi-Fi network gone out according to current search Higher free Wi-Fi network improves the stability of free Wi-Fi network access.
Detailed description of the invention
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the front view of mobile terminal in first embodiment of the invention;
Fig. 4 is the rearview of mobile terminal in first embodiment of the invention;
Fig. 5 is the composed structure schematic diagram of the access device first embodiment of the free Wi-Fi network of the present invention;
Fig. 6 is the note of Wi-Fi access information in the access historical record of free Wi-Fi network in first embodiment of the invention Record the schematic diagram of process;
Fig. 7 be first embodiment of the invention in obtain current search go out each of free Wi-Fi network signal strength etc. The flow chart of grade;
Fig. 8 is free according to access duration selection in the second embodiment of the access device of the free Wi-Fi network of the present invention The flow chart of Wi-Fi network;
Fig. 9 is the flow chart of the cut-in method of the free Wi-Fi network of fourth embodiment of the invention;
Figure 10 is the flow chart of the cut-in method of the free Wi-Fi network of fifth embodiment of the invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the embodiment of the present invention may include all Such as mobile phone, smart phone, laptop, digit broadcasting receiver, personal digital assistant (PDA), tablet computer (PAD), the mobile terminal of portable media player (PMP), navigation device etc. and such as number TV, desktop computer Etc. fixed terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Mobile terminal 100 may include wireless communication unit 110, user input unit 130, memory 160, interface unit 170, controller 180 and power supply unit 190 etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that It is, it is not required that implement all components shown.More or fewer components can alternatively be implemented.It will be discussed in more detail below The element of mobile terminal.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system Or the radio communication between network.For example, wireless communication unit may include wireless Internet module 113.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (WLAN) (Wi-Fi), nothing Line width band (Wibro), worldwide interoperability for microwave accesses (Wimax), high-speed downlink packet access (HSDPA) etc..
Specifically, for Android WiFi system, which introduce wpa_supplicant, its entire WiFi system is Core is thought to define superior user interface and lower layer's driving interface.Several key portions of Android WiFi system are described below Point:
1)WifiService
The ConnecttivityService creation generated when WifiService is started by SystemServer, bears Wpa_supplicant, starting and closing WifiMonitor thread are closed in duty starting, and order is handed down to wpa_supplicant And update the state of WIFI;And it handles other modules and is operated by the distal end WiFi that IWifiManager interface sends over.
2)WifiMonitor
It is responsible for receiving event notice from wpa_supplicant.
3)wpa_supplicant
Wpa_supplicant makes driving scan current for reading configuration file, initial configuration parameter, driving function All bssid, checks whether the parameter of scanning is consistent with user setting, and when being consistent, notice driving carries out permission and recognizes Card operation, connects wireless access points (Wireless Access Point, AP).
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variations such as resistance, pressure, capacitor caused by being contacted), idler wheel, rocking bar etc.. Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store the data that has exported or will export (for example, telephone directory, message, still image, video etc.).And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.Controller 180 can be with execution pattern identifying processing, will be in touch screen The handwriting input of upper execution or picture draw input and are identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can store in memory 160 and be executed by controller 180.
So far, mobile terminal is described according to its function.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (particularly, long term evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition Location information.GPS module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 to obtain desired positioning and believe Breath.It substitutes GPS tracking technique or except GPS tracking technique, the other of the position that can track mobile terminal can be used Technology.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100 Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each anti- It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call The mobile management function of resource allocation and the coordination including the soft switching process between BS270.The number that BSC275 will also be received According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with by forward link signals It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the present invention is proposed.
First embodiment
First embodiment of the invention proposes a kind of access device of free Wi-Fi network, in first embodiment of the invention In, which can be realized by terminal.
Here, for terminal for receiving Wi-Fi signal, terminal can be fixed terminal, be also possible to mobile terminal.
Here, mobile terminal include but is not limited to mobile phone, smart phone, laptop, digit broadcasting receiver, PDA, PAD, PMP, navigation device etc..
Here, if mobile terminal has operating system, which can be UNIX, Linux, Windows, Android (Android), Windows Phone etc..
It is illustrated in case where mobile terminal is mobile phone below.
In the first embodiment of the invention, Fig. 3 is the front view of mobile terminal in first embodiment of the invention, and Fig. 4 is this The rearview of mobile terminal in invention first embodiment.
Fig. 5 is the composed structure schematic diagram of the access device first embodiment of the free Wi-Fi network of the present invention, such as Fig. 5 institute It states, which includes: that the first acquisition module 500, second obtains module 501 and AM access module 502;Wherein,
First obtains module 500, for obtaining connecing at least one free Wi-Fi network containing Wi-Fi access information Enter historical record.
Here, free Wi-Fi network is not need the i.e. accessible Wi-Fi network of password, when accessing Wi-Fi network, It can be with according to whether password, to determine whether corresponding Wi-Fi network is free Wi-Fi network;It is understood that can To determine whether corresponding Wi-Fi network is free Wi-Fi network by a variety of existing implementations, thus it is no longer superfluous here It states.
For the content of the access historical record of free Wi-Fi network, specifically, first obtains what module 500 obtained The Wi-Fi access information of each free Wi-Fi network comprises at least one of the following Wi-Fi access information: access duration, Wi-Fi Mean value, the variance of Wi-Fi speed of speed.
It is understood that the speed of the free Wi-Fi network may in one free Wi-Fi network of access every time It changes at any time;Based on this, within this turn-on time of the free Wi-Fi network, the real-time detection free Wi-Fi network Wi-Fi speed;For the various discrete value of the Wi-Fi speed of the free Wi-Fi network detected, obtained by statistical calculation The mean value of the Wi-Fi speed of the free Wi-Fi network and the free Wi- in this turn-on time in this turn-on time out The variance of the Wi-Fi speed of Fi network;The mean value of Wi-Fi speed represents the data transmission bauds of corresponding free Wi-Fi network, And the variance of Wi-Fi speed represents the stability of corresponding free Wi-Fi network, the variance of Wi-Fi speed is smaller, illustrates pair The stability for the free Wi-Fi network answered is better.
For the content of the Wi-Fi access information of each free Wi-Fi network, specifically, in free Wi-Fi network It accesses in historical record, in the case where any one free Wi-Fi network only once accesses, corresponding free Wi-Fi net The Wi-Fi of network accesses duration are as follows: the turn-on time length of this access of corresponding free Wi-Fi network;It is free at any one In the case that Wi-Fi network repeatedly accesses, the access duration of corresponding free Wi-Fi network are as follows: corresponding free Wi-Fi network The numerical value chosen in the numerical value of the access duration of each access;Further, multiple in any one free Wi-Fi network In the case where access, when access of corresponding free Wi-Fi network a length of numerical value obtained according to following procedure: every acquisition n times When the numerical value of the access duration of access, a newest numerical value is chosen in N number of numerical value of acquisition, this numerical value chosen is replaced Time numerical value of selection is changed, the numerical value that last time is chosen is the access duration of corresponding free Wi-Fi network;Here, N is big In the natural number for being equal to 1, for example, N is 1,3 or 5.
Illustratively, if in the access historical record of free Wi-Fi network, in any one free Wi-Fi network The case where there are 8 accesses, when N is equal to 3, first in the access of the free Wi-Fi network of correspondence the 1st time to the 3rd time access In long numerical value, the numerical value of the access duration of the 3rd access is chosen;Later, in the free Wi-Fi network the 4th of correspondence to the 6th time In the numerical value of the access duration of access, the numerical value of the access duration of the 6th access is chosen, the numerical value replacement the 1st that the 2nd time is chosen The numerical value of secondary selection can only carry out the selection of 2 numerical value, at this point, the 2nd since free Wi-Fi network only has 8 accesses The numerical value of secondary selection is the access duration of corresponding free Wi-Fi network.
For the content of the Wi-Fi access information of each free Wi-Fi network, specifically, in free Wi-Fi network It accesses in historical record, in the case where any one free Wi-Fi network only once accesses, corresponding free Wi-Fi net The mean value of the Wi-Fi speed of network are as follows: the mean value of the Wi-Fi speed obtained when this access of corresponding free Wi-Fi network;It is in office In the case that one free Wi-Fi network of meaning repeatedly accesses, the mean value of the Wi-Fi speed of corresponding free Wi-Fi network are as follows: right The numerical value chosen in the mean value for the Wi-Fi speed that the free Wi-Fi network answered each time access obtains;Further, in office In the case that one free Wi-Fi network of meaning repeatedly accesses, the mean value of the Wi-Fi speed of corresponding free Wi-Fi network for by The numerical value obtained according to following procedure: it when the mean value of every Wi-Fi speed for obtaining n times access, is chosen most in N number of mean value of acquisition A new numerical value, the numerical value that the mean value replacement last time that this is chosen is chosen, the mean value that last time is chosen is corresponding exempts from Take the mean value of the Wi-Fi speed of Wi-Fi network;Here, N is the natural number more than or equal to 1, for example, N is 1,3 or 5.
Illustratively, if in the access historical record of free Wi-Fi network, in any one free Wi-Fi network The case where there are 9 accesses, when N is equal to 3, the Wi-Fi accessed first at the free Wi-Fi network of correspondence the 1st time to the 3rd time is fast In the mean value of degree, the mean value of the Wi-Fi speed of the 3rd access is chosen;Later, in free Wi-Fi network the 4th of correspondence to the 6th In the mean value of the Wi-Fi speed of secondary access, the mean value of the Wi-Fi speed of the 6th access is chosen, the mean value that the 2nd time is chosen is replaced Change the mean value of the 1st selection;Later, the mean value of the Wi-Fi speed accessed at the free Wi-Fi network of correspondence the 7th time to the 9th time In, the mean value of the Wi-Fi speed of the 9th access is chosen, the mean value that the 3rd time is chosen is replaced to the mean value of the 2nd selection;Due to exempting from Expense Wi-Fi network only has 9 accesses, therefore can only carry out the selection of 3 mean values, at this point, the mean value of the 3rd selection is corresponding The mean value of the Wi-Fi speed of free Wi-Fi network.
For the content of the Wi-Fi access information of each free Wi-Fi network, specifically, in free Wi-Fi network It accesses in historical record, in the case where any one free Wi-Fi network only once accesses, corresponding free Wi-Fi net The variance of the Wi-Fi speed of network are as follows: the variance of the Wi-Fi speed obtained when this access of corresponding free Wi-Fi network;It is in office In the case that one free Wi-Fi network of meaning repeatedly accesses, the access duration of corresponding free Wi-Fi network are as follows: corresponding to exempt from The numerical value chosen in the variance for the Wi-Fi speed that Wi-Fi network each time access of expense obtains;Further, at any one In the case that free Wi-Fi network repeatedly accesses, the variance of the Wi-Fi speed of corresponding free Wi-Fi network is according to following The numerical value that process obtains: when the variance of every Wi-Fi speed for obtaining n times access, newest one is chosen in N number of variance of acquisition A numerical value, the numerical value that the variance replacement last time that this is chosen is chosen, the variance that last time is chosen is corresponding free Wi-Fi The variance of the Wi-Fi speed of network;Here, N is the natural number more than or equal to 1, for example, N is 1,3 or 5.
Illustratively, if in the access historical record of free Wi-Fi network, in any one free Wi-Fi network The case where there are 7 accesses, when N is equal to 3, the Wi-Fi accessed first at the free Wi-Fi network of correspondence the 1st time to the 3rd time is fast In the variance of degree, the variance of the Wi-Fi speed of the 3rd access is chosen;Later, in free Wi-Fi network the 4th of correspondence to the 6th In the variance of the Wi-Fi speed of secondary access, the variance of the Wi-Fi speed of the 6th access is chosen, the variance that the 2nd time is chosen is replaced Change the variance of the 1st selection;Since free Wi-Fi network only has 7 accesses, the selection of 2 mean values can only be carried out, this When, the variance of the 2nd selection is the variance of the Wi-Fi speed of corresponding free Wi-Fi network.
Illustrate to obtain Wi-Fi access information in the access historical record of free Wi-Fi network below by an example Record process.
Fig. 6 is the note of Wi-Fi access information in the access historical record of free Wi-Fi network in first embodiment of the invention The schematic diagram for recording process, as shown in fig. 6, the process includes:
Step 500a: free Wi-Fi network is accessed.
Here it is possible to access free Wi-Fi network using terminal;The implementation that terminal accesses free Wi-Fi network can To be that user accesses free Wi-Fi network manually, it is also possible to automatically access when searching free Wi-Fi network.
Step 500b: the turn-on time point of the corresponding free Wi-Fi network of record.
Step 500c: real-time detection corresponds to the Wi-Fi speed of free Wi-Fi network.
Here it is possible to record the Wi-Fi speed detected.
Step 500d: corresponding free Wi-Fi network is disconnected.
Here, the implementation of this step can be user hand dynamic circuit breaker and open corresponding free Wi-Fi network, be also possible to right It is disconnected automatically when answering free Wi-Fi network no signal.
Step 500e: the turn-off time point of the corresponding free Wi-Fi network of record.
Step 500f: access duration, the mean value of Wi-Fi speed and the Wi-Fi speed of corresponding free Wi-Fi network are obtained Variance.
Here it is possible to which correspondence is calculated and exempts from according to the turn-on time point and turn-off time point of the free Wi-Fi network of correspondence Take the access duration of Wi-Fi network;The discrete value for each Wi-Fi speed that can be obtained according to detection obtains corresponding free Wi- The mean and variance of the Wi-Fi speed of Fi network.
Step 500g: by the access duration of the free Wi-Fi network of correspondence, the mean value of Wi-Fi speed and Wi-Fi speed Variance is recorded respectively.
Here it is possible to the access duration of each free Wi-Fi network is ranked up, it can also be according to each free Wi- The access duration of Fi network puts in order, and is ranked up to the mean value of the Wi-Fi speed of each free Wi-Fi network, to every The variance of the Wi-Fi speed of a free Wi-Fi network is ranked up.
Further, the Wi-Fi access information of each free Wi-Fi network can also include each free Wi-Fi network Identification information, each free Wi-Fi network signal strength.
Here, the identification information of each free Wi-Fi network is used to distinguish this free Wi-Fi network and others are free Wi-Fi network;The identification information of each free Wi-Fi network can be the service set of corresponding free Wi-Fi network (Service Set Identifier, SSID).
The signal strength of each free Wi-Fi network can be the received letter of the corresponding free Wi-Fi network of terminal access Number intensity instruction (Received Signal Strength Indication, RSSI).
Second obtains module 501, free for each of being gone out based on the signal strength scale and current search divided in advance The signal strength of Wi-Fi network, obtain current search go out each of free Wi-Fi network signal strength scale.
Specifically, second obtain module 501, for obtain current search go out each of free Wi-Fi network signal Intensity each of is gone out the signal strength and the signal strength scale that divides in advance of free Wi-Fi network based on current search, obtained The signal strength scale for the free Wi-Fi network of correspondence that current search goes out.
Here, the signal strength that current search each of goes out free Wi-Fi network can be corresponding free Wi-Fi network RSSI。
Illustrate to obtain the signal strength scale that current search each of goes out free Wi-Fi network below by example Process.
Fig. 7 be first embodiment of the invention in obtain current search go out each of free Wi-Fi network signal strength etc. The flow chart of grade, as shown in fig. 7, the process includes:
Step 501a: terminal opens Wi-Fi switch.
Here, when Wi-Fi switch is opened, terminal can receive Wi-Fi signal, conversely, when Wi-Fi is switched and closed, eventually End cannot receive Wi-Fi signal.
Step 501b: terminal scans free Wi-Fi network.
The implementation of this step may is that terminal scans free WIFI nearby using the API that Android (Android) is provided The information of network, here, nearby the information of free WIFI network may include SSID.
Step 501c: the signal strength scale of each free Wi-Fi network is obtained.
This step specifically includes: the RSSI of each free Wi-Fi network is obtained, based on the signal strength etc. divided in advance Grade obtains the signal strength scale of corresponding free Wi-Fi network:
Illustratively, show that the process of the signal strength scale of corresponding free Wi-Fi network can use Android offer Calculating function realize, for example, by following code realization:
Wherein, rssi indicates that the numerical value of the RSSI of corresponding free Wi-Fi network, MAX_RSSI indicate the maximum letter of setting Number receiving intensity, MIN_RSSI indicate that the smallest signal receiving strength of setting, numLevels indicate the signal strength to be divided The quantity of grade.
Step 501d: the signal strength scale of each free Wi-Fi network of record in lists.
AM access module 502, in the corresponding free Wi-Fi network of Optimal Signals strength grade there is corresponding access to go through When the Records of the Historian is recorded, based on the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade, selection access one A free Wi-Fi network;The Optimal Signals strength grade is to indicate signal strength most in the signal strength scale divided in advance A big signal strength scale.
Here, following illustratively explanations: the signal strength scale divided in advance are carried out for Optimal Signals strength grade The 1st signal strength scale is denoted as to M signal strength scale according to the sequence of signal strength from small to large, and M is the nature greater than 1 Number;At this point, Optimal Signals intensity etc. is M signal strength scale.
In first embodiment of the invention, AM access module 502 is also used to free Wi- corresponding in Optimal Signals strength grade When Fi network does not access historical record, the maximum free Wi-Fi network of signal strength of selection access current search out.
For the implementation of selection one free Wi-Fi network of access, AM access module 502 is specifically used for described in acquisition At least one of the access historical record of the corresponding free Wi-Fi network of Optimal Signals strength grade Wi-Fi access information is set Surely it puts in order, the setting row of at least one of access historical record based on free Wi-Fi network Wi-Fi access information Column sequence, show that the access of the corresponding free Wi-Fi network of Optimal Signals strength grade puts in order, will arrange by the access Free Wi-Fi network of first free Wi-Fi network as primary election in tactic free Wi-Fi network.
Here, duration is accessed in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade Setting put in order are as follows: access duration putting in order from big to small, the corresponding free Wi- of the Optimal Signals strength grade The setting of the mean value of Wi-Fi speed puts in order in the access historical record of Fi network are as follows: the mean value of Wi-Fi speed is from big to small Put in order, Wi-Fi speed in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade The setting of variance puts in order are as follows: the variance of Wi-Fi speed putting in order from small to large.
The AM access module 502, for obtain current search go out each of free Wi-Fi network relative signal intensity it is poor Value, current search go out each free Wi-Fi network relative signal intensity difference no more than setting signal intensity threshold When, the free Wi-Fi network of selection access primary election;The current search go out each of free Wi-Fi network relative signal it is strong Spend difference are as follows: the signal strength of each free Wi-Fi network subtracts the difference of the signal strength of the free Wi-Fi network of primary election.
For example, current search goes out three free Wi-Fi networks, the signal strength of these three free Wi-Fi networks is 50, 40,43, the free Wi-Fi network of primary election is the free Wi-Fi network that signal strength is 43 in these three free Wi-Fi networks; Setting signal intensity threshold is 10, at this point, the relative signal intensity difference of these three free Wi-Fi networks is respectively 7,0, -3, As it can be seen that the relative signal intensity difference of these three free Wi-Fi networks is respectively less than setting signal intensity threshold, at this point, selection connects Enter the free Wi-Fi network that signal strength is 43.
The side that the access of the corresponding free Wi-Fi network of Optimal Signals strength grade puts in order is obtained for AM access module Formula is illustrated in two kinds of situation below.
The first situation:
AM access module 502, specifically for obtaining the access of the corresponding free Wi-Fi network of the Optimal Signals strength grade The setting of any one Wi-Fi access information puts in order in historical record, based on a kind of setting for corresponding Wi-Fi access information Surely it puts in order, show that the access of the corresponding free Wi-Fi network of Optimal Signals strength grade puts in order.
Second situation:
AM access module 502, specifically for obtaining the access of the corresponding free Wi-Fi network of the Optimal Signals strength grade The setting of K kind Wi-Fi access information puts in order in historical record, the setting based on acquired jth kind Wi-Fi access information It puts in order, show that the jth of the corresponding free Wi-Fi network of Optimal Signals strength grade puts in order;K is more than or equal to 2, j and takes 1 To K;
AM access module 502, for exempting from for M in the free Wi-Fi network for putting in order arrangement by the jth before choosing Take free Wi-Fi network of the Wi-Fi network as jth time selection;Find out common in the free Wi-Fi network of each selection exempt from Take Wi-Fi network, for Wi-Fi access letters various in the access historical record for each of finding out common free Wi-Fi network The numerical value of breath is weighted summation, obtains the index value for each of finding out common free Wi-Fi network;According to the index value Sequence from big to small obtains putting in order for each common free Wi-Fi network found out, by it is described find out it is each total The access arrangement of same free Wi-Fi network to put in order as the corresponding free Wi-Fi network of Optimal Signals strength grade Sequentially, M is setting value.
Various Wi-Fi access informations in access historical record for each of finding out common free Wi-Fi network, connect Enter duration and generally embody user to the trusting degree of corresponding free Wi-Fi network, the numerical value for accessing duration is bigger, then illustrates to use More trust the free Wi-Fi network in family;The mean value of Wi-Fi speed embodies the data transmission bauds of corresponding free Wi-Fi network, The variance of Wi-Fi speed embodies the stability of corresponding free Wi-Fi network, and the variance of Wi-Fi speed is smaller, then explanation is corresponding The stability of free Wi-Fi network is better.
Here, various Wi-Fi access informations in the access historical record of common free Wi-Fi network each of are found out The sum of absolute value of weight is equal to 1;Illustratively, in the access historical record for each of finding out common free Wi-Fi network Include the following three types Wi-Fi access information: access duration, the variance of the mean value of Wi-Fi speed and Wi-Fi speed;By what is found out The weight that duration is accessed in the access historical record of each common free Wi-Fi network is denoted as a, each of will find out common The weight of the mean value of Wi-Fi speed is denoted as b in the access historical record of free Wi-Fi network, each of finds out jointly free The weight of the variance of Wi-Fi speed is denoted as c in the access historical record of Wi-Fi network;0≤a≤1,0≤b≤1, -1≤c≤0, A, the sum of absolute value of b and c three is equal to 1.
As another implementation of first embodiment of the invention, the AM access module 502 is also used in current search When the relative signal intensity difference of the free Wi-Fi network of out at least one is greater than setting signal intensity threshold, selection access is worked as Before the maximum free Wi-Fi network of signal strength that searches out;In this way, can be selected to avoid blindness according to historical record free Wi-Fi network and ignore the stronger free Wi-Fi network of new signal.
Illustratively, for example, current search goes out three free Wi-Fi networks, the signal of these three free Wi-Fi networks is strong Degree is 50,40,43, and the free Wi-Fi network of primary election is the free Wi- that signal strength is 43 in these three free Wi-Fi networks Fi network;Setting signal intensity threshold is 5, at this point, the relative signal intensity difference of these three free Wi-Fi networks be respectively 7, 0, -3, it is seen then that the relative signal intensity difference for the free Wi-Fi network that signal strength is 50 is greater than setting signal intensity threshold, At this point, selecting to access signal strength as 50 free Wi-Fi network.
In practical applications, the first acquisition module 500, second obtains module 501 and AM access module 502 can be by position Central processing unit (Central Processing Unit, CPU), microprocessor (Micro Processor in terminal Unit, MPU), digital signal processor (Digital Signal Processor, DSP) or field programmable gate array (Field Programmable Gate Array, FPGA) etc. is realized.
It, being capable of connecing with free Wi-Fi network using the access device of the free Wi-Fi network of first embodiment of the invention Based on entering historical record, and the signal strength of the free Wi-Fi network gone out according to current search, select users to trust, speed Fast and high stability free Wi-Fi network is spent, the stability of free Wi-Fi network access is improved;In addition, can work as Before the signal strength of free Wi-Fi network that searches out it is very big when, do not limited by historical record, directly select access and currently search The free Wi-Fi network that rope goes out improves the reliability for accessing free Wi-Fi network.
Second embodiment
In order to more embody the purpose of the present invention, on the basis of first embodiment of the invention, further lifted Example explanation.
A kind of access device of free Wi-Fi network is provided in second embodiment of the invention, as shown in figure 5, the device It include: that the first acquisition module 500, second obtains module 501 and AM access module 502;Wherein,
The implementation of first acquisition module 500 and the second acquisition module 501 is made in the first embodiment of the invention Illustrate out, is not repeated herein.
AM access module 502, in the corresponding free Wi-Fi network of Optimal Signals strength grade there is corresponding access to go through When the Records of the Historian is recorded, obtains in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade and access duration It puts in order from big to small, is put in order from big to small based on the access duration, show that Optimal Signals strength grade is corresponding The access of free Wi-Fi network puts in order;By first in the free Wi-Fi network for the arrangement that puts in order by the access Free free Wi-Fi network of the Wi-Fi network as primary election is strong in the signal for each free Wi-Fi network that current search goes out When degree subtracts the difference of the current signal strength of the free Wi-Fi network of primary election no more than setting signal intensity threshold, selection is connect Enter the free Wi-Fi network of primary election.
That is, exempting from the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade The numerical value for taking the access duration of Wi-Fi network is bigger, then it is preferential to illustrate that the free Wi-Fi network of correspondence of current search out gets over this Access.
It, being capable of connecing with free Wi-Fi network using the access device of the free Wi-Fi network of second embodiment of the invention The signal strength for the free Wi-Fi network for entering in historical record and accessing based on duration information, and gone out according to current search, selection Users to trust, speed is fast out and the free Wi-Fi network of high stability, improves the stability of free Wi-Fi network access; In addition, can not be limited by historical record, directly when the signal strength for the free Wi-Fi network that current search goes out is very big The free Wi-Fi network that selection access current search goes out, improves the reliability for accessing free Wi-Fi network.
3rd embodiment
In order to more embody the purpose of the present invention, on the basis of first embodiment of the invention, further lifted Example explanation.
A kind of access device of free Wi-Fi network is provided in third embodiment of the invention, as shown in figure 5, the device It include: that the first acquisition module 500, second obtains module 501 and AM access module 502;Wherein,
The implementation of first acquisition module 500 and the second acquisition module 501 is made in the first embodiment of the invention Illustrate out, is not repeated herein.
AM access module 502, in the corresponding free Wi-Fi network of Optimal Signals strength grade there is corresponding access to go through When the Records of the Historian is recorded, obtains in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade and access duration Setting put in order and the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade in Wi- The setting of the mean value of Fi speed puts in order;Setting based on acquired access duration puts in order, and show that Optimal Signals are strong The 1st of the corresponding free Wi-Fi network of degree grade puts in order;The setting of mean value based on acquired Wi-Fi speed arranges Sequentially, show that the 2nd of the corresponding free Wi-Fi network of Optimal Signals strength grade puts in order.
Here, duration is accessed in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade Setting put in order are as follows: access duration putting in order from big to small, the corresponding free Wi- of the Optimal Signals strength grade The setting of the mean value of Wi-Fi speed puts in order in the access historical record of Fi network are as follows: the mean value of Wi-Fi speed is from big to small Put in order.
AM access module 502 is also used to according to the 1st free Wi-Fi network for putting in order arrangement, is exempted from for M before choosing Take the free Wi-Fi network that Wi-Fi network is selected as the 1st time;In the free Wi-Fi network for putting in order arrangement according to the 2nd In, free Wi-Fi network of the M free Wi-Fi networks as the 2nd selection before choosing;In the free Wi-Fi that this is selected twice Common free Wi-Fi network is found out in network;For the access historical record for each of finding out common free Wi-Fi network In the numerical value of various Wi-Fi access informations be weighted summation, obtain the index for each of finding out common free Wi-Fi network Value;According to the sequence of the index value from big to small, putting in order for each common free Wi-Fi network found out is obtained, Putting in order for each common free Wi-Fi network found out is corresponding free as Optimal Signals strength grade The access of Wi-Fi network puts in order;First in the free Wi-Fi network for the arrangement that puts in order by the access is free Free Wi-Fi network of the Wi-Fi network as primary election subtracts in the signal strength for each free Wi-Fi network that current search goes out When going the difference of the current signal strength of the free Wi-Fi network of primary election no more than setting signal intensity threshold, selection access is just The free Wi-Fi network of choosing.
Illustrate the course of work for the index value for obtaining common free Wi-Fi network below by an example.
Fig. 8 is free according to access duration selection in the second embodiment of the access device of the free Wi-Fi network of the present invention The flow chart of Wi-Fi network, as shown in figure 8, the process includes:
Step 800: the signal strength of each of acquisition current search goes out free Wi-Fi network.
Step 801: obtaining the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade.
Step 802: in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade, choosing Select the longest M of duration free Wi-Fi networks of access.
Fig. 8 illustratively illustrates the process according to the free Wi-Fi network of access duration selection M, correspondingly, can be with According to M free Wi-Fi networks of mean value selection of Wi-Fi speed, according to the free Wi-Fi net of mean value selection M of Wi-Fi speed Network and the process according to selection M free Wi-Fi networks of access duration are essentially identical, and which is not described herein again.
It is selected in the M free Wi-Fi networks selected according to access duration and according to the mean value of Wi-Fi speed The free Wi-Fi networks of M in, obtain identical free Wi-Fi network by comparing, and calculate each phase according to following formula The index value of same free Wi-Fi network:
In=ListTime*S+ListAve* (1-S)
Wherein, In indicates that the index value of corresponding free Wi-Fi network, ListTime indicate corresponding in historical record and exempt from Take the access duration of Wi-Fi network, the Wi-Fi speed of corresponding free Wi-Fi network is equal in ListAve expression historical record Value, S indicate the weight of the access duration of corresponding free Wi-Fi network in historical record, 0≤S≤1.
It, being capable of connecing with free Wi-Fi network using the access device of the free Wi-Fi network of third embodiment of the invention Based on entering historical record, and the signal strength of the free Wi-Fi network gone out according to current search, select users to trust, speed Fast and high stability free Wi-Fi network is spent, the stability of free Wi-Fi network access is improved;In addition, can work as Before the signal strength of free Wi-Fi network that searches out it is very big when, do not limited by historical record, directly select access and currently search The free Wi-Fi network that rope goes out improves the reliability for accessing free Wi-Fi network.
Fourth embodiment
For the device of first embodiment of the invention, fourth embodiment of the invention additionally provides a kind of free Wi-Fi network Cut-in method.
Fig. 9 is the flow chart of the cut-in method of the free Wi-Fi network of fourth embodiment of the invention, as shown in figure 9, the process Include:
Step 900: obtaining the access historical record of at least one free Wi-Fi network, each free Wi-Fi network connects Entering historical record includes at least one Wi-Fi access information.
Here, in the access historical record of each free Wi-Fi network, the Wi-Fi of corresponding free Wi-Fi network accesses letter Breath comprises at least one of the following information: access duration, the mean value of Wi-Fi speed, the variance of Wi-Fi speed.
Step 901: based on the signal strength scale and current search divided in advance go out each of free Wi-Fi network letter Number intensity obtains the signal strength scale that current search each of goes out free Wi-Fi network.
Step 902: there is corresponding access historical record in the corresponding free Wi-Fi network of Optimal Signals strength grade When, based on the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade, selection access one is free Wi-Fi network;The Optimal Signals strength grade is that signal strength maximum one is indicated in the signal strength scale divided in advance A signal strength scale.
This step specifically includes: obtaining the access history of the corresponding free Wi-Fi network of the Optimal Signals strength grade The setting of at least one of record Wi-Fi access information puts in order, the access historical record based on the free Wi-Fi network At least one of the setting of Wi-Fi access information put in order, obtain the corresponding free Wi-Fi network of Optimal Signals strength grade Access put in order, will by it is described access put in order arrangement free Wi-Fi network in first free Wi-Fi network Free Wi-Fi network as primary election;Obtain current search go out each of free Wi-Fi network relative signal intensity difference.
Current search go out each free Wi-Fi network relative signal intensity difference no more than setting signal intensity When threshold value, the free Wi-Fi network of selection access primary election;The current search each of goes out the opposite letter of free Wi-Fi network Number strength difference are as follows: the signal strength of corresponding free Wi-Fi network subtracts the difference of the signal strength of the free Wi-Fi network of primary election Value.
It is greater than setting signal intensity in the relative signal intensity difference at least one free Wi-Fi network that current search goes out When threshold value, the maximum free Wi-Fi network of signal strength of selection access current search out.
Illustratively, it is accessed in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade The setting of duration puts in order are as follows: access duration putting in order from big to small, the Optimal Signals strength grade is corresponding to exempt from The setting of mean value for taking Wi-Fi speed in the access historical record of Wi-Fi network puts in order are as follows: the mean value of Wi-Fi speed from Arrive greatly it is small put in order, Wi-Fi in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade The setting of the variance of speed puts in order are as follows: the variance of Wi-Fi speed putting in order from small to large.
It, being capable of connecing with free Wi-Fi network using the cut-in method of the free Wi-Fi network of fourth embodiment of the invention Based on entering historical record, and the signal strength of the free Wi-Fi network gone out according to current search, select users to trust, speed Fast and high stability free Wi-Fi network is spent, the stability of free Wi-Fi network access is improved;In addition, can work as Before the signal strength of free Wi-Fi network that searches out it is very big when, do not limited by historical record, directly select access and currently search The free Wi-Fi network that rope goes out improves the reliability for accessing free Wi-Fi network.
5th embodiment
In order to more embody the purpose of the present invention, on the basis of fourth embodiment of the invention, further lifted Example explanation.
Figure 10 is the flow chart of the cut-in method of the free Wi-Fi network of fifth embodiment of the invention, as shown in Figure 10, the stream Journey includes:
Step 1000~1001 are identical with step 900~901, and which is not described herein again.
Step 1002: there is corresponding access historical record in the corresponding free Wi-Fi network of Optimal Signals strength grade When, the two kinds of information accessed in historical record based on the corresponding free Wi-Fi network of the Optimal Signals strength grade, selection Access a free Wi-Fi network;The Optimal Signals strength grade is to indicate signal in the signal strength scale divided in advance One signal strength scale of maximum intensity.
This step specifically includes: in the corresponding free Wi-Fi network of Optimal Signals strength grade there is corresponding access to go through When the Records of the Historian is recorded, obtains in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade and access duration Setting put in order and the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade in Wi- The setting of the mean value of Fi speed puts in order;Setting based on acquired access duration puts in order, and show that Optimal Signals are strong The 1st of the corresponding free Wi-Fi network of degree grade puts in order;The setting of mean value based on acquired Wi-Fi speed arranges Sequentially, show that the 2nd of the corresponding free Wi-Fi network of Optimal Signals strength grade puts in order;
According to the 1st free Wi-Fi network for putting in order arrangement, M free Wi-Fi networks are as the 1st before choosing The free Wi-Fi network of secondary selection;According to the 2nd free Wi-Fi network for putting in order arrangement, M free Wi- before choosing The free Wi-Fi network that Fi network is selected as the 2nd time;Common exempt from is found out in the free Wi-Fi network that this is selected twice Take Wi-Fi network;For Wi-Fi access letters various in the access historical record for each of finding out common free Wi-Fi network The numerical value of breath is weighted summation, obtains the index value for each of finding out common free Wi-Fi network;According to the index value Sequence from big to small obtains putting in order for each common free Wi-Fi network found out, by it is described find out it is each total The access arrangement of same free Wi-Fi network to put in order as the corresponding free Wi-Fi network of Optimal Signals strength grade Sequentially;Using first free Wi-Fi network in the free Wi-Fi network for the arrangement that puts in order by the access as primary election Free Wi-Fi network subtracts the free Wi-Fi net of primary election in the signal strength for each free Wi-Fi network that current search goes out When the difference of the current signal strength of network is no more than setting signal intensity threshold, the free Wi-Fi network of selection access primary election.
Here, duration is accessed in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade Setting put in order are as follows: access duration putting in order from big to small, the corresponding free Wi- of the Optimal Signals strength grade The setting of the mean value of Wi-Fi speed puts in order in the access historical record of Fi network are as follows: the mean value of Wi-Fi speed is from big to small Put in order.
It, being capable of connecing with free Wi-Fi network using the cut-in method of the free Wi-Fi network of fifth embodiment of the invention Based on entering historical record, and the signal strength of the free Wi-Fi network gone out according to current search, select users to trust, speed Fast and high stability free Wi-Fi network is spent, the stability of free Wi-Fi network access is improved;In addition, can work as Before the signal strength of free Wi-Fi network that searches out it is very big when, do not limited by historical record, directly select access and currently search The free Wi-Fi network that rope goes out improves the reliability for accessing free Wi-Fi network.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (6)

1. a kind of access device of free Wi-Fi network, which is characterized in that described device is obtained including the first acquisition module, second Modulus block and AM access module;Wherein,
First obtains module, for obtaining the access historical record of at least one free Wi-Fi network, each free Wi-Fi net The access historical record of network includes at least one Wi-Fi access information;
Second obtain module, for based on the signal strength scale and current search divided in advance go out each of free Wi-Fi net The signal strength of network, obtain current search go out each of free Wi-Fi network signal strength scale;
AM access module, for there is corresponding access historical record in the corresponding free Wi-Fi network of Optimal Signals strength grade When, it obtains at least one of the access historical record of the corresponding free Wi-Fi network of Optimal Signals strength grade Wi-Fi and connects The setting for entering information puts in order, at least one of access historical record based on free Wi-Fi network Wi-Fi access letter The setting of breath puts in order, and show that the access of the corresponding free Wi-Fi network of Optimal Signals strength grade puts in order, will be by institute State free Wi-Fi net of the first free Wi-Fi network in the free Wi-Fi network for accessing the arrangement that puts in order as primary election Network;Obtain current search go out each of free Wi-Fi network relative signal intensity difference;Go out in current search each free When the relative signal intensity difference of Wi-Fi network is no more than setting signal intensity threshold, the free Wi-Fi of selection access primary election Network;It is greater than setting signal intensity threshold in the relative signal intensity difference at least one free Wi-Fi network that current search goes out When value, the maximum free Wi-Fi network of signal strength of selection access current search out;Wherein, described Optimal Signals intensity etc. Grade is that the maximum signal strength scale of signal strength is indicated in the signal strength scale divided in advance, and the current search goes out Each of free Wi-Fi network relative signal intensity difference are as follows: the signal strength of corresponding free Wi-Fi network subtracts primary election The difference of the signal strength of free Wi-Fi network.
2. the apparatus according to claim 1, which is characterized in that the AM access module is specifically used for obtaining the optimal letter The setting arrangement of any one Wi-Fi access information in the access historical record of number corresponding free Wi-Fi network of strength grade Sequentially, it is put in order based on a kind of corresponding setting of Wi-Fi access information, show that Optimal Signals strength grade is corresponding free The access of Wi-Fi network puts in order.
3. the apparatus according to claim 1, which is characterized in that the AM access module is specifically used for obtaining the optimal letter The setting of K kind Wi-Fi access information puts in order in the access historical record of number corresponding free Wi-Fi network of strength grade, Setting based on acquired jth kind Wi-Fi access information puts in order, and show that Optimal Signals strength grade is corresponding free The jth of Wi-Fi network puts in order;In the free Wi-Fi network for putting in order arrangement by the jth, M is a free before choosing Free Wi-Fi network of the Wi-Fi network as jth time selection;It finds out common free in the free Wi-Fi network of each selection Wi-Fi network, for various Wi-Fi access informations in the access historical record for each of finding out common free Wi-Fi network Numerical value be weighted summation, obtain the index value for each of finding out common free Wi-Fi network;According to the index value from Arrive small sequence greatly, obtain putting in order for each common free Wi-Fi network found out, by it is described find out it is each common Free Wi-Fi network put in order as the corresponding free Wi-Fi network of Optimal Signals strength grade access arrangement it is suitable Sequence, it is the natural number of setting that K, which is more than or equal to 2, j to take 1 to K, M,.
4. device according to any one of claims 1 to 3, which is characterized in that the access history of each free Wi-Fi network In record, the Wi-Fi access information of corresponding free Wi-Fi network comprises at least one of the following information: access duration, Wi-Fi speed Mean value, the variance of Wi-Fi speed of degree;
The setting arrangement of duration is accessed in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade Sequentially are as follows: access duration putting in order from big to small, the corresponding free Wi-Fi network of Optimal Signals strength grade connects The setting for entering the mean value of Wi-Fi speed in historical record puts in order are as follows: the arrangement of the mean value of Wi-Fi speed from big to small is suitable Sequence, the variance of Wi-Fi speed sets in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade Surely it puts in order are as follows: the variance of Wi-Fi speed putting in order from small to large.
5. a kind of cut-in method of free Wi-Fi network, which is characterized in that the described method includes:
The access historical record of at least one free Wi-Fi network is obtained, the access historical record packet of each free Wi-Fi network Containing at least one Wi-Fi access information;
Based on the signal strength scale and current search divided in advance go out each of free Wi-Fi network signal strength, obtain Current search go out each of free Wi-Fi network signal strength scale;
When the corresponding free Wi-Fi network of Optimal Signals strength grade has corresponding access historical record, acquisition is described most The setting of at least one of the access historical record of the corresponding free Wi-Fi network of excellent signal strength scale Wi-Fi access information It puts in order, the setting arrangement of at least one of access historical record based on free Wi-Fi network Wi-Fi access information Sequentially, it show that the access of the corresponding free Wi-Fi network of Optimal Signals strength grade puts in order, will be arranged by the access suitable Free Wi-Fi network of first free Wi-Fi network as primary election in the free Wi-Fi network of sequence arrangement;It obtains current Each of search out the relative signal intensity difference of free Wi-Fi network;In each free Wi-Fi network that current search goes out When relative signal intensity difference is no more than setting signal intensity threshold, the free Wi-Fi network of selection access primary election;Current When the relative signal intensity difference of the free Wi-Fi network of at least one searched out is greater than setting signal intensity threshold, selection is connect Enter the maximum free Wi-Fi network of signal strength that current search goes out;Wherein, the Optimal Signals strength grade is to divide in advance Signal strength scale in indicate the maximum signal strength scale of signal strength, it is free that each of the current search goes out The relative signal intensity difference of Wi-Fi network are as follows: the signal strength of corresponding free Wi-Fi network subtracts the free Wi-Fi of primary election The difference of the signal strength of network.
6. right according to the method described in claim 5, it is characterized in that, in the access historical record of each free Wi-Fi network Answer the Wi-Fi access information of free Wi-Fi network to comprise at least one of the following information: access duration, the mean value of Wi-Fi speed, The variance of Wi-Fi speed;
The setting arrangement of duration is accessed in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade Sequentially are as follows: access duration putting in order from big to small, the corresponding free Wi-Fi network of Optimal Signals strength grade connects The setting for entering the mean value of Wi-Fi speed in historical record puts in order are as follows: the arrangement of the mean value of Wi-Fi speed from big to small is suitable Sequence, the variance of Wi-Fi speed sets in the access historical record of the corresponding free Wi-Fi network of the Optimal Signals strength grade Surely it puts in order are as follows: the variance of Wi-Fi speed putting in order from small to large.
CN201510818754.2A 2015-11-23 2015-11-23 A kind of access device and method of free Wi-Fi network Active CN105376700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510818754.2A CN105376700B (en) 2015-11-23 2015-11-23 A kind of access device and method of free Wi-Fi network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510818754.2A CN105376700B (en) 2015-11-23 2015-11-23 A kind of access device and method of free Wi-Fi network

Publications (2)

Publication Number Publication Date
CN105376700A CN105376700A (en) 2016-03-02
CN105376700B true CN105376700B (en) 2019-01-15

Family

ID=55378424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510818754.2A Active CN105376700B (en) 2015-11-23 2015-11-23 A kind of access device and method of free Wi-Fi network

Country Status (1)

Country Link
CN (1) CN105376700B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231642B (en) * 2016-03-25 2020-10-16 上海宽翼通信科技有限公司 WIFI wireless router and automatic antenna direction optimization method thereof
DE102016206912B4 (en) * 2016-04-22 2020-09-10 E.G.O. Elektro-Gerätebau GmbH Method for controlling a cooking appliance and cooking appliance
CN107347192A (en) * 2016-05-04 2017-11-14 中华映管股份有限公司 Wireless communication system and wireless communications method
CN107105482A (en) * 2017-06-06 2017-08-29 深圳市乃斯网络科技有限公司 Terminal wifi connection control methods and system
CN109392040A (en) * 2017-08-11 2019-02-26 展讯通信(上海)有限公司 The method of user equipment and its progress cell reselection, computer-readable medium
CN107835520B (en) * 2017-09-26 2021-01-05 平安科技(深圳)有限公司 Wifi hotspot connection method and device and storage medium
CN108566666B (en) * 2018-01-18 2021-11-23 深圳平安通信科技有限公司 Wi-Fi hotspot recommendation method and device and storage medium
CN108601066B (en) * 2018-06-20 2021-09-21 上海尚往网络科技有限公司 Wireless access point connection and connection efficiency calculation method, device, equipment and medium
CN111225378B (en) * 2018-11-27 2023-07-04 奇酷互联网络科技(深圳)有限公司 Intelligent wifi screening method, mobile terminal and terminal readable storage medium
CN111726452B (en) * 2019-03-20 2023-07-18 青岛海信移动通信技术有限公司 Wireless local area network WiFi list ordering method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301925A (en) * 2014-10-22 2015-01-21 福建富士通信息软件有限公司 Wireless WIFI network quality analysis evaluation method
CN104504002A (en) * 2014-12-09 2015-04-08 北京极科极客科技有限公司 Intelligent sequencing method of WiFi (Wireless Fidelity) list
CN105050118A (en) * 2015-07-31 2015-11-11 腾讯科技(深圳)有限公司 Wi-Fi hotspot connecting method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9338740B2 (en) * 2012-07-18 2016-05-10 Alcatel Lucent Method and apparatus for selecting a wireless access point

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301925A (en) * 2014-10-22 2015-01-21 福建富士通信息软件有限公司 Wireless WIFI network quality analysis evaluation method
CN104504002A (en) * 2014-12-09 2015-04-08 北京极科极客科技有限公司 Intelligent sequencing method of WiFi (Wireless Fidelity) list
CN105050118A (en) * 2015-07-31 2015-11-11 腾讯科技(深圳)有限公司 Wi-Fi hotspot connecting method and device

Also Published As

Publication number Publication date
CN105376700A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN105376700B (en) A kind of access device and method of free Wi-Fi network
CN105873145B (en) A kind of method and device for realizing network formats switching
US9426722B2 (en) Information processing method, information processing device communication system
US11356878B2 (en) Device and method for user equipment side and base station side in wireless communication
US9949197B2 (en) Information processor, communication system and method
CN105188098A (en) Mobile terminal network switching apparatus and network switching method
CN105873138B (en) A kind of residence reselecting and device
US10616794B2 (en) Wireless communication device, information processing device, communication system, and communication quality calculation method and program
JP5225160B2 (en) Communication terminal device
WO2009158339A1 (en) Using base-station location to assist mobile-device system acquisition
CN106412892B (en) Mobile terminal falls net reconnection method and mobile terminal
CN115134892A (en) Access method and device based on heterogeneous network roaming
AU2019327700A1 (en) Method and device for indicating space-related information
CN105357362A (en) Mobile terminal control method and device
JP4725367B2 (en) Mobile phone, its communication method and program
JP2013255081A (en) Communication device, communication method, control program, and recording medium
EP3823366A1 (en) Method and device for determining synchronization source priority, and computer storage medium
CN105376413A (en) Screen rotation method, screen rotation device and mobile terminal
CN105101469B (en) It is a kind of to establish device, method and the mobile terminal that call links with called party
CN110971320B (en) Beam quality reporting method, device, equipment and storage medium
CN106231582A (en) Mobile terminal and main card method to set up
CN105491513A (en) Network conversation method and terminal
US11570670B2 (en) Measurement report triggering method and apparatus
CN106169966B (en) Wireless Test Toolset configuration device and method
CN106066813B (en) Resource scheduling device, mobile terminal and resource scheduling method

Legal Events

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