[go: up one dir, main page]

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
free
network
access
signal intensity
networks
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

Landscapes

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

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

Access device and method of free Wi-Fi network
Technical Field
The invention relates to a free Wi-Fi (Wireless-Fidelity) technology, in particular to an access device and an access method of a free Wi-Fi network.
Background
With the rapid development of the mobile internet, the dependence degree of users on data is higher and higher. The high cost of mobile data traffic makes the user's demand for wireless networks pressing. Under the condition that wireless network coverage exists and a plurality of free WIFI hotspots exist for selection, how to automatically access the WIFI with high speed and relative stability is of great importance to the experience of the user. The current scheme of the mobile phone for accessing free WIFI (wireless fidelity) (Wi-Fi without password) is to select the access with the highest signal strength, but obviously, the following problems exist in the mode: the signal strength does not represent stability, and the speed of the internet cannot be completely determined by the signal strength.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention are expected to provide an access apparatus and an access method for a free Wi-Fi network, so as to improve stability of access to the free Wi-Fi network.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides an access device of a free Wi-Fi network, which comprises a first acquisition module, a second acquisition module and an access module; wherein,
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring access history records of at least one free Wi-Fi network, and the access history record of each free Wi-Fi network comprises at least one type of Wi-Fi access information;
the second acquisition module is used for acquiring the signal intensity grade of each freely searched Wi-Fi network based on the pre-divided signal intensity grade and the signal intensity of each freely searched Wi-Fi network currently;
the access module is used for selecting to access one free Wi-Fi network based on the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level when the free Wi-Fi network corresponding to the optimal signal intensity level has the corresponding access history record; the optimal signal strength level is one of the signal strength levels divided in advance, which represents the maximum signal strength.
In the foregoing solution, the access module is specifically configured to obtain a set arrangement order of at least one piece of Wi-Fi access information in an access history of a free Wi-Fi network corresponding to the optimal signal intensity level, obtain an access arrangement order of the free Wi-Fi network corresponding to the optimal signal intensity level based on the set arrangement order of the at least one piece of Wi-Fi access information in the access history of the free Wi-Fi network, and use a first free Wi-Fi network in the free Wi-Fi networks arranged according to the access arrangement order as a first selected free Wi-Fi network; obtaining the relative signal intensity difference value of each currently searched free Wi-Fi network, and selecting to access the initially selected free Wi-Fi network when the relative signal intensity difference value of each currently searched free Wi-Fi network is not more than a set signal intensity threshold value; the relative signal strength difference value of each currently searched free Wi-Fi network is as follows: the difference value of the signal strength of the initially selected free Wi-Fi network is subtracted from the signal strength of the corresponding free Wi-Fi network.
In the foregoing scheme, the access module is specifically configured to obtain a set arrangement order of any one of Wi-Fi access information in an access history of the free Wi-Fi network corresponding to the optimal signal strength level, and obtain the access arrangement order of the free Wi-Fi network corresponding to the optimal signal strength level based on the set arrangement order of the corresponding Wi-Fi access information.
In the above scheme, the access module is specifically configured to obtain a set arrangement order of K types of Wi-Fi access information in an access history of the free Wi-Fi network corresponding to the optimal signal intensity level, and obtain a jth arrangement order of the free Wi-Fi network corresponding to the optimal signal intensity level based on the obtained set arrangement order of the jth type of Wi-Fi access information; selecting the first M free Wi-Fi networks as the j-th selected free Wi-Fi networks from the free Wi-Fi networks arranged according to the j-th arrangement sequence; finding out common free Wi-Fi networks in the free Wi-Fi networks selected at each time, and carrying out weighted summation on numerical values of various Wi-Fi access information in the access history of each found common free Wi-Fi network to obtain an index value of each found common free Wi-Fi network; and obtaining the arrangement sequence of the found common free Wi-Fi networks according to the sequence of the index values from large to small, taking the arrangement sequence of the found common free Wi-Fi networks as the access arrangement sequence of the free Wi-Fi networks corresponding to the optimal signal intensity level, wherein K is greater than or equal to 2, j is 1 to K, and M is a set natural number.
In the foregoing solution, the access module is specifically configured to obtain a set arrangement order of at least one piece of Wi-Fi access information in an access history of a free Wi-Fi network corresponding to the optimal signal intensity level, obtain an access arrangement order of the free Wi-Fi network corresponding to the optimal signal intensity level based on the set arrangement order of the at least one piece of Wi-Fi access information in the access history of the free Wi-Fi network, and use a first free Wi-Fi network in the free Wi-Fi networks arranged according to the access arrangement order as a first selected free Wi-Fi network; obtaining a relative signal intensity difference value of each currently searched free Wi-Fi network, and selecting to access the currently searched free Wi-Fi network with the maximum signal intensity when the relative signal intensity difference value of at least one currently searched free Wi-Fi network is greater than a set signal intensity threshold value; the relative signal strength difference value of each currently searched free Wi-Fi network is as follows: the difference value of the signal strength of the initially selected free Wi-Fi network is subtracted from the signal strength of the corresponding free Wi-Fi network.
In the above scheme, in the access history record of each free Wi-Fi network, the Wi-Fi access information corresponding to the free Wi-Fi network includes at least one of the following information: the access duration, the mean value of the Wi-Fi speed and the variance of the Wi-Fi speed;
the set arrangement sequence of the access duration in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level is as follows: the access duration is arranged in a sequence from big to small, and the set arrangement sequence of the mean value of the Wi-Fi speed in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level is as follows: the average value of the Wi-Fi speeds is arranged in a sequence from large to small, and the set arrangement sequence of the variance of the Wi-Fi speeds in the access history record of the free Wi-Fi network corresponding to the optimal signal strength level is as follows: the variance of Wi-Fi speed is arranged from small to large.
The embodiment of the invention provides an access method of a free Wi-Fi network, which comprises the following steps:
obtaining access history records of at least one free Wi-Fi network, wherein the access history records of each free Wi-Fi network comprise at least one type of Wi-Fi access information;
acquiring the signal intensity grade of each freely searched Wi-Fi network based on the pre-divided signal intensity grade and the signal intensity of each freely searched Wi-Fi network;
when the free Wi-Fi network corresponding to the optimal signal intensity level has a corresponding access history record, selecting to access one free Wi-Fi network based on the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level; the optimal signal strength level is one of the signal strength levels divided in advance, which represents the maximum signal strength.
In the foregoing solution, the selecting a free Wi-Fi network based on the access history of the free Wi-Fi network corresponding to the optimal signal strength level includes:
acquiring a set arrangement sequence of at least one type of Wi-Fi access information in an access history record of the free Wi-Fi network corresponding to the optimal signal intensity level, obtaining the access arrangement sequence of the free Wi-Fi network corresponding to the optimal signal intensity level based on the set arrangement sequence of the at least one type of Wi-Fi access information in the access history record of the free Wi-Fi network, and taking a first free Wi-Fi network in the free Wi-Fi networks arranged according to the access arrangement sequence as a primarily selected free Wi-Fi network; obtaining the relative signal intensity difference value of each currently searched free Wi-Fi network, and selecting to access the initially selected free Wi-Fi network when the relative signal intensity difference value of each currently searched free Wi-Fi network is not more than a set signal intensity threshold value; the relative signal strength difference value of each currently searched free Wi-Fi network is as follows: the difference value of the signal strength of the initially selected free Wi-Fi network is subtracted from the signal strength of the corresponding free Wi-Fi network.
In the foregoing solution, the selecting a free Wi-Fi network based on the access history of the free Wi-Fi network corresponding to the optimal signal strength level includes:
acquiring a set arrangement sequence of at least one type of Wi-Fi access information in an access history record of the free Wi-Fi network corresponding to the optimal signal intensity level, obtaining the access arrangement sequence of the free Wi-Fi network corresponding to the optimal signal intensity level based on the set arrangement sequence of the at least one type of Wi-Fi access information in the access history record of the free Wi-Fi network, and taking a first free Wi-Fi network in the free Wi-Fi networks arranged according to the access arrangement sequence as a primarily selected free Wi-Fi network; obtaining a relative signal intensity difference value of each currently searched free Wi-Fi network, and selecting to access the currently searched free Wi-Fi network with the maximum signal intensity when the relative signal intensity difference value of at least one currently searched free Wi-Fi network is greater than a set signal intensity threshold value; the relative signal strength difference value of each currently searched free Wi-Fi network is as follows: the difference value of the signal strength of the initially selected free Wi-Fi network is subtracted from the signal strength of the corresponding free Wi-Fi network.
In the above scheme, in the access history record of each free Wi-Fi network, the Wi-Fi access information corresponding to the free Wi-Fi network includes at least one of the following information: the access duration, the mean value of the Wi-Fi speed and the variance of the Wi-Fi speed;
the set arrangement sequence of the access duration in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level is as follows: the access duration is arranged in a sequence from big to small, and the set arrangement sequence of the mean value of the Wi-Fi speed in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level is as follows: the average value of the Wi-Fi speeds is arranged in a sequence from large to small, and the set arrangement sequence of the variance of the Wi-Fi speeds in the access history record of the free Wi-Fi network corresponding to the optimal signal strength level is as follows: the variance of Wi-Fi speed is arranged from small to large.
The access device and the access method of the free Wi-Fi network provided by the embodiment of the invention are characterized in that the access history of at least one free Wi-Fi network is obtained, and the access history of each free Wi-Fi network comprises at least one Wi-Fi access information; acquiring the signal intensity grade of each freely searched Wi-Fi network based on the pre-divided signal intensity grade and the currently searched signal intensity of each freely searched Wi-Fi network; and when the free Wi-Fi network corresponding to the optimal signal intensity level has a corresponding access history, selecting to access one free Wi-Fi network based on the access history of the free Wi-Fi network corresponding to the optimal signal intensity level. Therefore, the free Wi-Fi network with high user trust, high speed and high stability can be selected on the basis of the access history of the free Wi-Fi network and according to the signal strength of the currently searched free Wi-Fi network, and the stability of access of the free Wi-Fi network is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
fig. 3 is a front view of a mobile terminal in a first embodiment of the present invention;
fig. 4 is a rear view of a mobile terminal according to a first embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating the structure of a first embodiment of an access device of a free Wi-Fi network according to the invention;
FIG. 6 is a schematic diagram illustrating a recording flow of Wi-Fi access information in an access history of a free Wi-Fi network according to a first embodiment of the present invention;
fig. 7 is a flowchart for acquiring the signal strength level of each currently searched free Wi-Fi network according to the first embodiment of the present invention;
FIG. 8 is a flowchart of selecting a free Wi-Fi network according to an access duration in a second embodiment of the access apparatus for a free Wi-Fi network according to the present invention;
fig. 9 is a flowchart of an access method of a free Wi-Fi network according to a fourth embodiment of the present invention;
fig. 10 is a flowchart of an access method of a free Wi-Fi network according to a fifth embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the embodiments of the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a PAD computer (PAD), a Portable Multimedia Player (PMP), a navigation device, and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, a user input unit 130, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include a wireless internet module 113.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include Wireless Local Area Network (WLAN) (Wi-Fi), wireless broadband (Wibro), worldwide interoperability for microwave access (Wimax), High Speed Downlink Packet Access (HSDPA), and the like.
Specifically, for the Android WiFi system, wpa _ supplicant is introduced, and its entire WiFi system defines an upper layer user interface and a lower layer driving interface with the Android WiFi system as a core. Several key parts of the Android WiFi system are introduced below:
1)WifiService
the WifiService is created by ConnecttivetyService generated when the System Server is started, and is responsible for starting and closing wpa _ suppplierant, starting and closing WifiMonitor threads, sending commands to the wpa _ suppplierant and updating the WIFI state; and processing the remote WiFi operation sent by other modules through the IWifiManager interface.
2)WifiMonitor
Responsible for receiving event notifications from wpa _ suppernant.
3)wpa_supplicant
The wpa _ supplicant is used for reading a configuration file, initializing configuration parameters and a drive function, enabling all current bssids of the drive scan to check whether the scanned parameters are consistent with those set by a user, and informing the drive to carry out authority and authentication operation and connect to a Wireless Access Point (AP) when the scanned parameters are consistent with those set by the user.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, etc. due to being touched), scroll wheel, joystick, etc. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 2750.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, various embodiments of the present invention are proposed.
First embodiment
The first embodiment of the invention provides an access device of a free Wi-Fi network, and the device can be realized by a terminal in the first embodiment of the invention.
Here, the terminal is used for receiving Wi-Fi signals, and the terminal may be a fixed terminal or a mobile terminal.
Here, the mobile terminal includes, but is not limited to, a mobile phone, a smart phone, a notebook computer, a digital broadcasting receiver, a PDA, a PAD, a PMP, a navigation device, and the like.
Here, if the mobile terminal has an operating system, the operating system may be UNIX, Linux, Windows, Android (Android), Windows Phone, or the like.
The following description will be given taking a case where the mobile terminal is a mobile phone as an example.
In the first embodiment of the present invention, fig. 3 is a front view of a mobile terminal in the first embodiment of the present invention, and fig. 4 is a rear view of the mobile terminal in the first embodiment of the present invention.
Fig. 5 is a schematic structural diagram illustrating a first embodiment of an access device for a free Wi-Fi network according to the present invention, and as shown in fig. 5, the access device includes: a first obtaining module 500, a second obtaining module 501 and an access module 502; wherein,
the first obtaining module 500 is configured to obtain an access history record of at least one free Wi-Fi network including Wi-Fi access information.
Here, the free Wi-Fi network is a Wi-Fi network that can be accessed without a password, and when the Wi-Fi network is accessed, whether the corresponding Wi-Fi network is the free Wi-Fi network can be determined according to whether the password is needed; it is understood that whether the corresponding Wi-Fi network is a free Wi-Fi network may be determined by various existing implementations, and thus will not be described herein again.
Specifically, for the content of the access history of the free Wi-Fi networks, the Wi-Fi access information of each free Wi-Fi network acquired by the first acquiring module 500 includes at least one of the following Wi-Fi access information: access duration, mean of Wi-Fi speed, variance of Wi-Fi speed.
It is understood that the speed of a free Wi-Fi network may change at any time each time the free Wi-Fi network is accessed; based on the Wi-Fi speed detection method, the Wi-Fi speed of the free Wi-Fi network is detected in real time within the access time of the free Wi-Fi network; obtaining the mean value of the Wi-Fi speed of the free Wi-Fi network in the current access time and the variance of the Wi-Fi speed of the free Wi-Fi network in the current access time through statistical operation aiming at each detected discrete value of the Wi-Fi speed of the free Wi-Fi network; the mean value of the Wi-Fi speed represents the data transmission speed of the corresponding free Wi-Fi network, the variance of the Wi-Fi speed represents the stability of the corresponding free Wi-Fi network, and the smaller the variance of the Wi-Fi speed, the better the stability of the corresponding free Wi-Fi network is.
Aiming at the content of Wi-Fi access information of each free Wi-Fi network, specifically, in the access history of the free Wi-Fi network, under the condition that any one free Wi-Fi network has only one access, the corresponding Wi-Fi access time length of the free Wi-Fi network is as follows: the access time length of the corresponding free Wi-Fi network accessed at this time; under the condition that any one free Wi-Fi network is accessed for multiple times, the access time length of the corresponding free Wi-Fi network is as follows: selecting one value from the values of the access time of each access of the corresponding free Wi-Fi network; further, under the condition that any one free Wi-Fi network is accessed for multiple times, the access duration of the corresponding free Wi-Fi network is a numerical value obtained according to the following process: selecting the latest numerical value from the N acquired numerical values every time the numerical value of the access time of the access for N times is acquired, replacing the last selected numerical value with the selected numerical value, wherein the last selected numerical value is the access time of the corresponding free Wi-Fi network; here, N is a natural number of 1 or more, and for example, N is 1, 3, or 5.
Exemplarily, if 8 accesses exist in any one free Wi-Fi network in the access history of the free Wi-Fi network, when N is equal to 3, firstly, selecting a value of 3 rd accessed access time length from values of 1 st to 3 rd accessed access time lengths corresponding to the free Wi-Fi network; and then, selecting the value of the access time of the 6 th access from the values of the access time of the 4 th to the 6 th accesses corresponding to the free Wi-Fi network, replacing the value selected at the 1 st time with the value selected at the 2 nd time, wherein the value can be selected only for the 2 nd time because the free Wi-Fi network has only 8 accesses, and at the moment, the value selected at the 2 nd time is the access time of the corresponding free Wi-Fi network.
Aiming at the content of Wi-Fi access information of each free Wi-Fi network, specifically, in the access history of the free Wi-Fi network, under the condition that any one free Wi-Fi network has only one access, the average value of the Wi-Fi speed of the corresponding free Wi-Fi network is as follows: the mean value of the Wi-Fi speed obtained when the corresponding free Wi-Fi network is accessed at this time; under the condition that any one free Wi-Fi network is accessed for multiple times, the average value of the Wi-Fi speed of the corresponding free Wi-Fi network is as follows: selecting a numerical value from the average value of the Wi-Fi speed obtained by accessing the corresponding free Wi-Fi network for each time; further, under the condition that any one free Wi-Fi network is accessed for multiple times, the average value of the Wi-Fi speeds of the corresponding free Wi-Fi networks is a numerical value obtained according to the following process: when the mean value of the Wi-Fi speed accessed for N times is obtained, selecting the latest numerical value from the N obtained mean values, replacing the last selected numerical value with the selected mean value, wherein the last selected mean value is the mean value of the Wi-Fi speed of the corresponding free Wi-Fi network; here, N is a natural number of 1 or more, and for example, N is 1, 3, or 5.
Illustratively, if 9 accesses exist in any one free Wi-Fi network in the access history of the free Wi-Fi network, when N is equal to 3, firstly, selecting the average value of the 3 rd accessed Wi-Fi speed from the average values of the 1 st to 3 rd accessed Wi-Fi speeds of the corresponding free Wi-Fi network; then, selecting the mean value of the Wi-Fi speed accessed for the 6 th time from the mean values of the Wi-Fi speeds accessed for the 4 th time to the 6 th time corresponding to the free Wi-Fi network, and replacing the mean value selected for the 2 nd time with the mean value selected for the 1 st time; then, selecting the mean value of the Wi-Fi speed accessed for the 9 th time from the mean values of the Wi-Fi speeds accessed for the 7 th time to the 9 th time corresponding to the free Wi-Fi network, and replacing the mean value selected for the 3 rd time with the mean value selected for the 2 nd time; the free Wi-Fi network has only 9 accesses, so that the mean value can be selected only 3 times, and at the moment, the mean value selected 3 times is the mean value of the Wi-Fi speed of the corresponding free Wi-Fi network.
Aiming at the content of Wi-Fi access information of each free Wi-Fi network, specifically, in the access history of the free Wi-Fi network, under the condition that any one free Wi-Fi network has only one access, the variance of the Wi-Fi speed of the corresponding free Wi-Fi network is as follows: the variance of the Wi-Fi speed obtained when the corresponding free Wi-Fi network is accessed at this time; under the condition that any one free Wi-Fi network is accessed for multiple times, the access time length of the corresponding free Wi-Fi network is as follows: selecting a numerical value from the variance of the Wi-Fi speed obtained by accessing the corresponding free Wi-Fi network for each time; further, under the condition that any one free Wi-Fi network is accessed for multiple times, the variance of the Wi-Fi speed of the corresponding free Wi-Fi network is a numerical value obtained according to the following process: when the variance of the Wi-Fi speed accessed for N times is obtained, selecting the latest numerical value from the N acquired variances, replacing the last selected numerical value with the selected variance, wherein the last selected variance is the variance of the Wi-Fi speed of the corresponding free Wi-Fi network; here, N is a natural number of 1 or more, and for example, N is 1, 3, or 5.
Illustratively, if in the access history of the free Wi-Fi networks, 7 accesses exist in any one of the free Wi-Fi networks, when N is equal to 3, firstly, selecting the variance of the 3 rd accessed Wi-Fi speed from the variances of the 1 st to 3 rd accessed Wi-Fi speeds of the corresponding free Wi-Fi networks; then, selecting the variance of the Wi-Fi speed accessed for the 6 th time from the variances of the Wi-Fi speeds accessed for the 4 th time to the 6 th time corresponding to the free Wi-Fi network, and replacing the variance selected for the 1 st time with the variance selected for the 2 nd time; the free Wi-Fi network has only 7 accesses, so that the mean value can be selected for 2 times, and the variance of the 2 nd selection is the variance of the Wi-Fi speed of the corresponding free Wi-Fi network.
The recording process of obtaining Wi-Fi access information in the access history of a free Wi-Fi network is described below by way of an example.
Fig. 6 is a schematic diagram illustrating a recording process of Wi-Fi access information in an access history of a free Wi-Fi network according to a first embodiment of the present invention, where as shown in fig. 6, the recording process includes:
step 500 a: and accessing a free Wi-Fi network.
Here, a free Wi-Fi network can be accessed with a terminal; the implementation mode of accessing the free Wi-Fi network by the terminal can be that the user manually accesses the free Wi-Fi network, and can also be that the terminal automatically accesses the free Wi-Fi network when the free Wi-Fi network is searched.
Step 500 b: and recording the access time point corresponding to the free Wi-Fi network.
Step 500 c: and detecting the Wi-Fi speed of the corresponding free Wi-Fi network in real time.
Here, the detected Wi-Fi speed can be recorded.
Step 500 d: and disconnecting the corresponding free Wi-Fi network.
Here, the step may be implemented by manually disconnecting the corresponding free Wi-Fi network by the user, or automatically disconnecting the corresponding free Wi-Fi network when there is no signal.
Step 500 e: and recording the disconnection time point corresponding to the free Wi-Fi network.
Step 500 f: and obtaining the access duration, the mean value of the Wi-Fi speed and the variance of the Wi-Fi speed of the corresponding free Wi-Fi network.
Here, the access duration corresponding to the free Wi-Fi network may be calculated according to the access time point and the disconnection time point corresponding to the free Wi-Fi network; the mean value and the variance of the Wi-Fi speed corresponding to the free Wi-Fi network can be obtained according to the discrete value of each Wi-Fi speed obtained through detection.
Step 500 g: and respectively recording the access time length, the mean value of the Wi-Fi speed and the variance of the Wi-Fi speed of the corresponding free Wi-Fi network.
Here, the access time lengths of each free Wi-Fi network may be sorted, or the mean value of the Wi-Fi speeds of each free Wi-Fi network may be sorted according to the arrangement order of the access time lengths of each free Wi-Fi network, and the variance of the Wi-Fi speeds of each free Wi-Fi network may be sorted.
Further, the Wi-Fi access information of each free Wi-Fi network may further include identification information of each free Wi-Fi network, and signal strength of each free Wi-Fi network.
Here, the identification information of each free Wi-Fi network is used to distinguish the free Wi-Fi network from other free Wi-Fi networks; the identification information of each free Wi-Fi network may be a Service Set Identifier (SSID) corresponding to the free Wi-Fi network.
The Signal Strength of each free Wi-Fi network may be a Received Signal Strength Indication (RSSI) of the terminal accessing the corresponding free Wi-Fi network.
A second obtaining module 501, configured to obtain a signal strength level of each currently searched free Wi-Fi network based on a pre-divided signal strength level and a signal strength of each currently searched free Wi-Fi network.
Specifically, the second obtaining module 501 is configured to obtain the signal strength of each currently searched free Wi-Fi network, and obtain the signal strength level of the currently searched corresponding free Wi-Fi network based on the signal strength of each currently searched free Wi-Fi network and a pre-divided signal strength level.
Here, the signal strength of each of the currently searched free Wi-Fi networks may be RSSI of the corresponding free Wi-Fi network.
The process of obtaining the signal strength level of each currently searched free Wi-Fi network is described below by way of an example.
Fig. 7 is a flowchart of acquiring a signal strength level of each currently searched free Wi-Fi network according to the first embodiment of the present invention, and as shown in fig. 7, the flowchart includes:
step 501 a: the terminal turns on the Wi-Fi switch.
Here, the terminal may receive the Wi-Fi signal when the Wi-Fi switch is turned on, whereas the terminal may not receive the Wi-Fi signal when the Wi-Fi switch is turned off.
Step 501 b: the terminal scans for a free Wi-Fi network.
The implementation manner of this step may be: the terminal scans information of nearby free WIFI networks by using an API provided by Android (Android), wherein the information of the nearby free WIFI networks can comprise SSID.
Step 501 c: and obtaining the signal strength level of each free Wi-Fi network.
The method specifically comprises the following steps: the RSSI of each free Wi-Fi network is obtained, and based on the signal strength grades which are divided in advance, the signal strength grade of the corresponding free Wi-Fi network is obtained:
illustratively, the process of deriving the signal strength level corresponding to a free Wi-Fi network may be implemented using a calculation function provided by Android, for example, by:
wherein RSSI represents the value of RSSI corresponding to a free Wi-Fi network, MAX _ RSSI represents the set maximum signal reception intensity, MIN _ RSSI represents the set minimum signal reception intensity, and numLevels represents the number of signal intensity levels to be divided.
Step 501 d: the signal strength level of each free Wi-Fi network is recorded in a list.
The access module 502 is configured to select to access one free Wi-Fi network based on an access history of the free Wi-Fi network corresponding to the optimal signal strength level when the free Wi-Fi network corresponding to the optimal signal strength level has a corresponding access history; the optimal signal strength level is one of the signal strength levels divided in advance, which represents the maximum signal strength.
Here, the following exemplary explanation is made for the optimum signal strength level: the pre-divided signal intensity levels are recorded as a 1 st signal intensity level to an Mth signal intensity level according to the sequence of the signal intensities from small to large, wherein M is a natural number greater than 1; at this time, the optimum signal strength or the like is the mth signal strength level.
In the first embodiment of the present invention, the access module 502 is further configured to select to access a free Wi-Fi network with the highest signal strength, which is currently searched out, when the free Wi-Fi network corresponding to the optimal signal strength level has no access history.
For an implementation manner of selecting to access one free Wi-Fi network, the access module 502 is specifically configured to obtain a set arrangement order of at least one piece of Wi-Fi access information in an access history of the free Wi-Fi network corresponding to the optimal signal intensity level, obtain an access arrangement order of the free Wi-Fi network corresponding to the optimal signal intensity level based on the set arrangement order of the at least one piece of Wi-Fi access information in the access history of the free Wi-Fi network, and use a first free Wi-Fi network in the free Wi-Fi networks arranged according to the access arrangement order as a first selected free Wi-Fi network.
Here, the set arrangement sequence of the access duration in the access history of the free Wi-Fi network corresponding to the optimal signal strength level is: the access duration is arranged in a sequence from big to small, and the set arrangement sequence of the mean value of the Wi-Fi speed in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level is as follows: the average value of the Wi-Fi speeds is arranged in a sequence from large to small, and the set arrangement sequence of the variance of the Wi-Fi speeds in the access history record of the free Wi-Fi network corresponding to the optimal signal strength level is as follows: the variance of Wi-Fi speed is arranged from small to large.
The access module 502 is configured to obtain a relative signal strength difference value of each currently searched free Wi-Fi network, and select to access a primarily selected free Wi-Fi network when the relative signal strength difference value of each currently searched free Wi-Fi network is not greater than a set signal strength threshold; the relative signal strength difference value of each currently searched free Wi-Fi network is as follows: the signal strength of each free Wi-Fi network is subtracted by the signal strength of the originally selected free Wi-Fi network.
For example, three free Wi-Fi networks with signal strengths of 50, 40 and 43 are searched currently, and the initially selected free Wi-Fi network is the free Wi-Fi network with the signal strength of 43 in the three free Wi-Fi networks; setting a signal intensity threshold value to be 10, wherein the relative signal intensity difference values of the three free Wi-Fi networks are respectively 7, 0 and-3, and as a result, the relative signal intensity difference values of the three free Wi-Fi networks are all smaller than the set signal intensity threshold value, and at the moment, selecting a free Wi-Fi network with an access signal intensity of 43.
The following description is divided into two cases for the manner in which the access module obtains the access arrangement sequence of the free Wi-Fi network corresponding to the optimal signal strength level.
In the first case:
the access module 502 is specifically configured to obtain a set arrangement order of any one of Wi-Fi access information in the access history of the free Wi-Fi network corresponding to the optimal signal strength level, and obtain an access arrangement order of the free Wi-Fi network corresponding to the optimal signal strength level based on the set arrangement order of the corresponding Wi-Fi access information.
In the second case:
the access module 502 is specifically configured to obtain a set arrangement order of K types of Wi-Fi access information in an access history of the free Wi-Fi network corresponding to the optimal signal intensity level, and obtain a jth arrangement order of the free Wi-Fi network corresponding to the optimal signal intensity level based on the obtained set arrangement order of the jth type of Wi-Fi access information; k is more than or equal to 2, j is 1 to K;
the access module 502 is configured to select the first M free Wi-Fi networks as the j-th selected free Wi-Fi networks from the free Wi-Fi networks arranged in the j-th arrangement order; finding out common free Wi-Fi networks in the free Wi-Fi networks selected at each time, and carrying out weighted summation on numerical values of various Wi-Fi access information in the access history of each found common free Wi-Fi network to obtain an index value of each found common free Wi-Fi network; and obtaining the arrangement sequence of the found common free Wi-Fi networks according to the sequence of the index values from large to small, taking the arrangement sequence of the found common free Wi-Fi networks as the access arrangement sequence of the free Wi-Fi networks corresponding to the optimal signal intensity level, wherein M is a set value.
For various Wi-Fi access information in the found access history record of each common free Wi-Fi network, the access duration generally reflects the trust degree of the user on the corresponding free Wi-Fi network, and the larger the value of the access duration is, the more the user trusts the free Wi-Fi network; the average value of the Wi-Fi speed represents the data transmission speed of the corresponding free Wi-Fi network, the variance of the Wi-Fi speed represents the stability of the corresponding free Wi-Fi network, and the smaller the variance of the Wi-Fi speed is, the better the stability of the corresponding free Wi-Fi network is.
Here, the sum of absolute values of weights of various Wi-Fi access information in the access history of each common free Wi-Fi network is found to be equal to 1; illustratively, the access history of each common free Wi-Fi network found includes the following three types of Wi-Fi access information: the access duration, the mean value of the Wi-Fi speed and the variance of the Wi-Fi speed; recording the weight of the access duration in the access history records of each found common free Wi-Fi network as a, recording the weight of the mean value of the Wi-Fi speed in the access history records of each found common free Wi-Fi network as b, and recording the weight of the variance of the Wi-Fi speed in the access history records of each found common free Wi-Fi network as c; a is more than or equal to 0 and less than or equal to 1, b is more than or equal to 0 and less than or equal to 1, c is more than or equal to 1 and less than or equal to 0, and the sum of the absolute values of a, b and c is equal to 1.
As another implementation manner of the first embodiment of the present invention, the access module 502 is further configured to select to access a currently searched free Wi-Fi network with the maximum signal strength when a relative signal strength difference of the currently searched at least one free Wi-Fi network is greater than a set signal strength threshold; therefore, the situation that a free Wi-Fi network is selected blindly according to the history record and a new free Wi-Fi network with a strong signal is ignored can be avoided.
Illustratively, for example, three free Wi-Fi networks with signal strengths of 50, 40 and 43 are currently searched out, and the initially selected free Wi-Fi network is the free Wi-Fi network with signal strength of 43 in the three free Wi-Fi networks; setting a signal intensity threshold value to be 5, wherein the relative signal intensity difference values of the three free Wi-Fi networks are respectively 7, 0 and-3, and accordingly, the relative signal intensity difference value of the free Wi-Fi network with the signal intensity of 50 is larger than the set signal intensity threshold value, and at the moment, selecting the free Wi-Fi network with the signal intensity of 50.
In practical applications, the first obtaining module 500, the second obtaining module 501, and the access module 502 may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like in the terminal.
By applying the access device of the free Wi-Fi network provided by the first embodiment of the invention, the free Wi-Fi network with high user trust, high speed and high stability can be selected on the basis of the access history of the free Wi-Fi network and according to the signal intensity of the currently searched free Wi-Fi network, so that the stability of access of the free Wi-Fi network is improved; in addition, when the signal intensity of the currently searched free Wi-Fi network is high, the currently searched free Wi-Fi network can be directly selected to be accessed without the limitation of historical records, and the reliability of accessing the free Wi-Fi network is improved.
Second embodiment
To further illustrate the object of the present invention, the first embodiment of the present invention is further illustrated.
In a second embodiment of the present invention, an access apparatus for a free Wi-Fi network is provided, as shown in fig. 5, the apparatus includes: a first obtaining module 500, a second obtaining module 501 and an access module 502; wherein,
the implementation of the first obtaining module 500 and the second obtaining module 501 has already been explained in the first embodiment of the present invention, and is not repeated here.
The access module 502 is configured to, when a free Wi-Fi network corresponding to an optimal signal intensity level has a corresponding access history, obtain an order of access durations from large to small in the access history of the free Wi-Fi network corresponding to the optimal signal intensity level, and obtain an order of access durations of the free Wi-Fi network corresponding to the optimal signal intensity level based on the order of the access durations from large to small; and taking the first free Wi-Fi network in the free Wi-Fi networks arranged according to the access arrangement sequence as a primarily selected free Wi-Fi network, and selecting to access the primarily selected free Wi-Fi network when the difference between the signal intensity of each currently searched free Wi-Fi network and the current signal intensity of the primarily selected free Wi-Fi network is not greater than a set signal intensity threshold value.
That is to say, in the access history of the free Wi-Fi network corresponding to the optimal signal intensity level, the larger the value of the access duration of the free Wi-Fi network is, the more the corresponding free Wi-Fi network searched currently is preferentially accessed.
By applying the access device of the free Wi-Fi network of the second embodiment of the invention, the free Wi-Fi network with high user trust, high speed and high stability can be selected based on the access duration information in the access history of the free Wi-Fi network and according to the signal strength of the currently searched free Wi-Fi network, so that the access stability of the free Wi-Fi network is improved; in addition, when the signal intensity of the currently searched free Wi-Fi network is high, the currently searched free Wi-Fi network can be directly selected to be accessed without the limitation of historical records, and the reliability of accessing the free Wi-Fi network is improved.
Third embodiment
To further illustrate the object of the present invention, the first embodiment of the present invention is further illustrated.
In a third embodiment of the present invention, an access apparatus for a free Wi-Fi network is provided, as shown in fig. 5, the apparatus includes: a first obtaining module 500, a second obtaining module 501 and an access module 502; wherein,
the implementation of the first obtaining module 500 and the second obtaining module 501 has already been explained in the first embodiment of the present invention, and is not repeated here.
The access module 502 is configured to, when a free Wi-Fi network corresponding to an optimal signal strength level has a corresponding access history, obtain a set arrangement order of access durations in the access history of the free Wi-Fi network corresponding to the optimal signal strength level and a set arrangement order of a mean value of Wi-Fi speeds in the access history of the free Wi-Fi network corresponding to the optimal signal strength level; obtaining a 1 st arrangement sequence of the free Wi-Fi network corresponding to the optimal signal intensity level based on the acquired set arrangement sequence of the access duration; and obtaining a 2 nd arrangement sequence of the free Wi-Fi network corresponding to the optimal signal intensity level based on the set arrangement sequence of the obtained average value of the Wi-Fi speed.
Here, the set arrangement sequence of the access duration in the access history of the free Wi-Fi network corresponding to the optimal signal strength level is: the access duration is arranged in a sequence from big to small, and the set arrangement sequence of the mean value of the Wi-Fi speed in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level is as follows: the average values of the Wi-Fi speeds are arranged in a descending order.
The access module 502 is further configured to select, from the free Wi-Fi networks arranged according to the 1 st arrangement order, the first M free Wi-Fi networks as the free Wi-Fi network selected for the 1 st time; selecting the first M free Wi-Fi networks as the free Wi-Fi networks selected for the 2 nd time from the free Wi-Fi networks arranged according to the 2 nd arrangement sequence; finding a common free Wi-Fi network in the two selected free Wi-Fi networks; weighting and summing the numerical values of various Wi-Fi access information in the access history records of each found common free Wi-Fi network to obtain an index value of each found common free Wi-Fi network; according to the sequence of the index values from large to small, obtaining the arrangement sequence of each found common free Wi-Fi network, and taking the arrangement sequence of each found common free Wi-Fi network as the access arrangement sequence of the free Wi-Fi network corresponding to the optimal signal intensity level; and taking the first free Wi-Fi network in the free Wi-Fi networks arranged according to the access arrangement sequence as a primarily selected free Wi-Fi network, and selecting to access the primarily selected free Wi-Fi network when the difference between the signal intensity of each currently searched free Wi-Fi network and the current signal intensity of the primarily selected free Wi-Fi network is not greater than a set signal intensity threshold value.
The working procedure for deriving the index value of the common free Wi-Fi network is described below by way of an example.
Fig. 8 is a flowchart of selecting a free Wi-Fi network according to an access duration in a second embodiment of the access apparatus for a free Wi-Fi network according to the present invention, as shown in fig. 8, the flowchart includes:
step 800: and acquiring the signal strength of each currently searched free Wi-Fi network.
Step 801: and obtaining the access history of the free Wi-Fi network corresponding to the optimal signal intensity level.
Step 802: and selecting M free Wi-Fi networks with the longest access time from the access history records of the free Wi-Fi networks corresponding to the optimal signal intensity level.
Fig. 8 exemplarily illustrates a process of selecting M free Wi-Fi networks according to the access duration, and accordingly, the process of selecting M free Wi-Fi networks according to the average of the Wi-Fi speeds may also be substantially the same as the process of selecting M free Wi-Fi networks according to the access duration, and is not described here again.
Obtaining the same free Wi-Fi networks through comparison in M free Wi-Fi networks selected according to the access duration and M free Wi-Fi networks selected according to the average value of Wi-Fi speeds, and calculating the index value of each same free Wi-Fi network according to the following formula:
In=ListTime*S+ListAve*(1–S)
wherein In represents an index value of a corresponding free Wi-Fi network, ListTime represents access time of the corresponding free Wi-Fi network In the history, ListAve represents an average value of Wi-Fi speeds of the corresponding free Wi-Fi network In the history, S represents a weight of the access time of the corresponding free Wi-Fi network In the history, and S is more than or equal to 0 and less than or equal to 1.
By applying the access device of the free Wi-Fi network of the third embodiment of the invention, the free Wi-Fi network with high user trust, high speed and high stability can be selected based on the access history of the free Wi-Fi network and according to the signal strength of the currently searched free Wi-Fi network, so that the stability of access of the free Wi-Fi network is improved; in addition, when the signal intensity of the currently searched free Wi-Fi network is high, the currently searched free Wi-Fi network can be directly selected to be accessed without the limitation of historical records, and the reliability of accessing the free Wi-Fi network is improved.
Fourth embodiment
Aiming at the device of the first embodiment of the invention, the fourth embodiment of the invention also provides an access method of a free Wi-Fi network.
Fig. 9 is a flowchart of an access method of a free Wi-Fi network according to a fourth embodiment of the present invention, and as shown in fig. 9, the flowchart includes:
step 900: and obtaining access history records of at least one free Wi-Fi network, wherein the access history records of each free Wi-Fi network comprise at least one type of Wi-Fi access information.
Here, in the access history of each free Wi-Fi network, the Wi-Fi access information corresponding to the free Wi-Fi network includes at least one of the following information: access duration, mean of Wi-Fi speed, variance of Wi-Fi speed.
Step 901: and acquiring the signal intensity grade of each freely searched Wi-Fi network based on the pre-divided signal intensity grade and the signal intensity of each freely searched Wi-Fi network.
Step 902: when the free Wi-Fi network corresponding to the optimal signal intensity level has a corresponding access history record, selecting to access one free Wi-Fi network based on the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level; the optimal signal strength level is one of the signal strength levels divided in advance, which represents the maximum signal strength.
The method specifically comprises the following steps: acquiring a set arrangement sequence of at least one type of Wi-Fi access information in an access history record of the free Wi-Fi network corresponding to the optimal signal intensity level, obtaining the access arrangement sequence of the free Wi-Fi network corresponding to the optimal signal intensity level based on the set arrangement sequence of the at least one type of Wi-Fi access information in the access history record of the free Wi-Fi network, and taking a first free Wi-Fi network in the free Wi-Fi networks arranged according to the access arrangement sequence as a primarily selected free Wi-Fi network; and obtaining the relative signal strength difference of each currently searched free Wi-Fi network.
When the relative signal intensity difference values of all the currently searched free Wi-Fi networks are not greater than a set signal intensity threshold value, selecting to access the initially selected free Wi-Fi networks; the relative signal strength difference value of each currently searched free Wi-Fi network is as follows: the difference value of the signal strength of the initially selected free Wi-Fi network is subtracted from the signal strength of the corresponding free Wi-Fi network.
And when the relative signal intensity difference value of at least one currently searched free Wi-Fi network is greater than a set signal intensity threshold value, selecting to access the currently searched free Wi-Fi network with the maximum signal intensity.
Illustratively, the set arrangement sequence of the access durations in the access history record of the free Wi-Fi network corresponding to the optimal signal strength level is as follows: the access duration is arranged in a sequence from big to small, and the set arrangement sequence of the mean value of the Wi-Fi speed in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level is as follows: the average value of the Wi-Fi speeds is arranged in a sequence from large to small, and the set arrangement sequence of the variance of the Wi-Fi speeds in the access history record of the free Wi-Fi network corresponding to the optimal signal strength level is as follows: the variance of Wi-Fi speed is arranged from small to large.
By applying the free Wi-Fi network access method of the fourth embodiment of the invention, a free Wi-Fi network with high user trust, high speed and high stability can be selected based on the access history of the free Wi-Fi network and according to the signal strength of the currently searched free Wi-Fi network, so that the stability of free Wi-Fi network access is improved; in addition, when the signal intensity of the currently searched free Wi-Fi network is high, the currently searched free Wi-Fi network can be directly selected to be accessed without the limitation of historical records, and the reliability of accessing the free Wi-Fi network is improved.
Fifth embodiment
To further illustrate the object of the present invention, the fourth embodiment of the present invention is further illustrated.
Fig. 10 is a flowchart of an access method of a free Wi-Fi network according to a fifth embodiment of the present invention, where as shown in fig. 10, the flowchart includes:
steps 1000 to 1001 are identical to steps 900 to 901, and are not described herein again.
Step 1002: when the free Wi-Fi network corresponding to the optimal signal intensity level has a corresponding access history record, selecting to access one free Wi-Fi network based on two kinds of information in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level; the optimal signal strength level is one of the signal strength levels divided in advance, which represents the maximum signal strength.
The method specifically comprises the following steps: when the free Wi-Fi network corresponding to the optimal signal intensity level has a corresponding access history record, acquiring a set arrangement sequence of access duration in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level and a set arrangement sequence of a mean value of Wi-Fi speed in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level; obtaining a 1 st arrangement sequence of the free Wi-Fi network corresponding to the optimal signal intensity level based on the acquired set arrangement sequence of the access duration; obtaining a 2 nd arrangement sequence of the free Wi-Fi network corresponding to the optimal signal intensity level based on the set arrangement sequence of the obtained average value of the Wi-Fi speed;
selecting the first M free Wi-Fi networks as the free Wi-Fi networks selected for the 1 st time from the free Wi-Fi networks arranged according to the 1 st arrangement sequence; selecting the first M free Wi-Fi networks as the free Wi-Fi networks selected for the 2 nd time from the free Wi-Fi networks arranged according to the 2 nd arrangement sequence; finding a common free Wi-Fi network in the two selected free Wi-Fi networks; weighting and summing the numerical values of various Wi-Fi access information in the access history records of each found common free Wi-Fi network to obtain an index value of each found common free Wi-Fi network; according to the sequence of the index values from large to small, obtaining the arrangement sequence of each found common free Wi-Fi network, and taking the arrangement sequence of each found common free Wi-Fi network as the access arrangement sequence of the free Wi-Fi network corresponding to the optimal signal intensity level; and taking the first free Wi-Fi network in the free Wi-Fi networks arranged according to the access arrangement sequence as a primarily selected free Wi-Fi network, and selecting to access the primarily selected free Wi-Fi network when the difference between the signal intensity of each currently searched free Wi-Fi network and the current signal intensity of the primarily selected free Wi-Fi network is not greater than a set signal intensity threshold value.
Here, the set arrangement sequence of the access duration in the access history of the free Wi-Fi network corresponding to the optimal signal strength level is: the access duration is arranged in a sequence from big to small, and the set arrangement sequence of the mean value of the Wi-Fi speed in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level is as follows: the average values of the Wi-Fi speeds are arranged in a descending order.
By applying the free Wi-Fi network access method of the fifth embodiment of the invention, a free Wi-Fi network with high user trust, high speed and high stability can be selected based on the access history of the free Wi-Fi network and according to the signal strength of the currently searched free Wi-Fi network, so that the stability of free Wi-Fi network access is improved; in addition, when the signal intensity of the currently searched free Wi-Fi network is high, the currently searched free Wi-Fi network can be directly selected to be accessed without the limitation of historical records, and the reliability of accessing the free Wi-Fi network is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (6)

1. An access device of a free Wi-Fi network is characterized by comprising a first acquisition module, a second acquisition module and an access module; wherein,
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring access history records of at least one free Wi-Fi network, and the access history record of each free Wi-Fi network comprises at least one type of Wi-Fi access information;
the second acquisition module is used for acquiring the signal intensity grade of each freely searched Wi-Fi network based on the pre-divided signal intensity grade and the signal intensity of each freely searched Wi-Fi network currently;
the access module is used for acquiring a set arrangement sequence of at least one piece of Wi-Fi access information in the access history records of the free Wi-Fi networks corresponding to the optimal signal intensity level when the free Wi-Fi networks corresponding to the optimal signal intensity level have corresponding access history records, obtaining an access arrangement sequence of the free Wi-Fi networks corresponding to the optimal signal intensity level based on the set arrangement sequence of the at least one piece of Wi-Fi access information in the access history records of the free Wi-Fi networks, and taking a first free Wi-Fi network in the free Wi-Fi networks arranged according to the access arrangement sequence as a first selected free Wi-Fi network; obtaining the relative signal strength difference value of each currently searched free Wi-Fi network; when the relative signal intensity difference values of all the currently searched free Wi-Fi networks are not greater than a set signal intensity threshold value, selecting to access the initially selected free Wi-Fi networks; when the relative signal intensity difference value of at least one currently searched free Wi-Fi network is larger than a set signal intensity threshold value, selecting to access the currently searched free Wi-Fi network with the maximum signal intensity; the optimal signal intensity level is a signal intensity level which represents the maximum signal intensity in pre-divided signal intensity levels, and the relative signal intensity difference value of each currently searched free Wi-Fi network is as follows: the difference value of the signal strength of the initially selected free Wi-Fi network is subtracted from the signal strength of the corresponding free Wi-Fi network.
2. The apparatus according to claim 1, wherein the access module is specifically configured to obtain a set arrangement order of any one of Wi-Fi access information in an access history of a free Wi-Fi network corresponding to the optimal signal strength level, and obtain the access arrangement order of the free Wi-Fi network corresponding to the optimal signal strength level based on the set arrangement order of the corresponding one of Wi-Fi access information.
3. The apparatus according to claim 1, wherein the access module is specifically configured to obtain a set arrangement order of K types of Wi-Fi access information in an access history of the free Wi-Fi network corresponding to the optimal signal strength level, and obtain a jth arrangement order of the free Wi-Fi network corresponding to the optimal signal strength level based on the obtained set arrangement order of the jth type of Wi-Fi access information; selecting the first M free Wi-Fi networks as the j-th selected free Wi-Fi networks from the free Wi-Fi networks arranged according to the j-th arrangement sequence; finding out common free Wi-Fi networks in the free Wi-Fi networks selected at each time, and carrying out weighted summation on numerical values of various Wi-Fi access information in the access history of each found common free Wi-Fi network to obtain an index value of each found common free Wi-Fi network; and obtaining the arrangement sequence of the found common free Wi-Fi networks according to the sequence of the index values from large to small, taking the arrangement sequence of the found common free Wi-Fi networks as the access arrangement sequence of the free Wi-Fi networks corresponding to the optimal signal intensity level, wherein K is greater than or equal to 2, j is 1 to K, and M is a set natural number.
4. The apparatus according to any one of claims 1 to 3, wherein in the access history of each free Wi-Fi network, the Wi-Fi access information of the corresponding free Wi-Fi network includes at least one of the following information: the access duration, the mean value of the Wi-Fi speed and the variance of the Wi-Fi speed;
the set arrangement sequence of the access duration in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level is as follows: the access duration is arranged in a sequence from big to small, and the set arrangement sequence of the mean value of the Wi-Fi speed in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level is as follows: the average value of the Wi-Fi speeds is arranged in a sequence from large to small, and the set arrangement sequence of the variance of the Wi-Fi speeds in the access history record of the free Wi-Fi network corresponding to the optimal signal strength level is as follows: the variance of Wi-Fi speed is arranged from small to large.
5. A method of accessing a free Wi-Fi network, the method comprising:
obtaining access history records of at least one free Wi-Fi network, wherein the access history records of each free Wi-Fi network comprise at least one type of Wi-Fi access information;
acquiring the signal intensity grade of each freely searched Wi-Fi network based on the pre-divided signal intensity grade and the signal intensity of each freely searched Wi-Fi network;
when the free Wi-Fi network corresponding to the optimal signal intensity level has a corresponding access history record, acquiring a set arrangement sequence of at least one type of Wi-Fi access information in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level, obtaining an access arrangement sequence of the free Wi-Fi network corresponding to the optimal signal intensity level based on the set arrangement sequence of the at least one type of Wi-Fi access information in the access history record of the free Wi-Fi network, and taking the first free Wi-Fi network in the free Wi-Fi networks arranged according to the access arrangement sequence as a first selected free Wi-Fi network; obtaining the relative signal strength difference value of each currently searched free Wi-Fi network; when the relative signal intensity difference values of all the currently searched free Wi-Fi networks are not greater than a set signal intensity threshold value, selecting to access the initially selected free Wi-Fi networks; when the relative signal intensity difference value of at least one currently searched free Wi-Fi network is larger than a set signal intensity threshold value, selecting to access the currently searched free Wi-Fi network with the maximum signal intensity; the optimal signal intensity level is a signal intensity level which represents the maximum signal intensity in pre-divided signal intensity levels, and the relative signal intensity difference value of each currently searched free Wi-Fi network is as follows: the difference value of the signal strength of the initially selected free Wi-Fi network is subtracted from the signal strength of the corresponding free Wi-Fi network.
6. The method of claim 5, wherein in the access history of each free Wi-Fi network, the Wi-Fi access information of the corresponding free Wi-Fi network comprises at least one of: the access duration, the mean value of the Wi-Fi speed and the variance of the Wi-Fi speed;
the set arrangement sequence of the access duration in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level is as follows: the access duration is arranged in a sequence from big to small, and the set arrangement sequence of the mean value of the Wi-Fi speed in the access history record of the free Wi-Fi network corresponding to the optimal signal intensity level is as follows: the average value of the Wi-Fi speeds is arranged in a sequence from large to small, and the set arrangement sequence of the variance of the Wi-Fi speeds in the access history record of the free Wi-Fi network corresponding to the optimal signal strength level is as follows: the variance of Wi-Fi speed is arranged 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 communication 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
CN107066320B (en) Android process freezing and unfreezing device and method
CN105873099B (en) Mobile terminal and communication method thereof
CN104932697B (en) Gesture unlocking method and device
CN105578430A (en) Mobile terminal, and method for identifying pseudo base station short messages
CN105491634A (en) Terminal and network switching method for terminal
CN106559789A (en) Focus sharing means, method and system
CN105657767A (en) Method for controlling voice switching and mobile terminal
CN106713490B (en) Process freezing and thawing device and method based on network application
CN105450865A (en) Mobile terminal and method thereof for realizing Wi-Fi management
CN106791567B (en) Switching method and terminal
CN105792327A (en) Wireless access method, mobile terminal and server
CN106686672B (en) Network connection method and terminal
CN106028286B (en) Wireless local area network access device and method
CN106455009B (en) Network searching device and method
CN107275780A (en) A kind of method that terminal and working condition to terminal antenna are switched over
CN106412871A (en) Method of realizing communication processing and terminal
CN107124751A (en) A kind of terminal and terminal control method
CN106572458A (en) Communication processing realizing method and terminal
CN106550353A (en) A kind of method and terminal for realizing communication process
CN106559772A (en) A kind of method and terminal for realizing radio communication
CN106572156A (en) Method for realizing wireless communication and terminal
CN106658464A (en) Method and terminal for realizing wireless communication
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