CN106488529A - A kind of method and device for accessing WIFI network - Google Patents
A kind of method and device for accessing WIFI network Download PDFInfo
- Publication number
- CN106488529A CN106488529A CN201510522603.2A CN201510522603A CN106488529A CN 106488529 A CN106488529 A CN 106488529A CN 201510522603 A CN201510522603 A CN 201510522603A CN 106488529 A CN106488529 A CN 106488529A
- Authority
- CN
- China
- Prior art keywords
- hot spot
- wifi
- wifi hot
- access information
- information list
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of method and device for accessing WIFI network, and the method for the access WIFI network includes:WIFI hot spot around search current mobile terminal, obtains WIFI hot spot information list;Determine the first WIFI hot spot access information list that mates with the positional information of the mobile terminal;According to the WIFI hot spot information list and the first WIFI hot spot access information list, WIFI hot spot access information list to be accessed is determined;Using the WIFI hot spot access information list to be accessed, automatically accessing for WIFI network is carried out.The solution of the present invention, ensure that mobile terminal, in a foreign environment, automatically accesses WIFI network, it is to avoid user manually selects WIFI network and is input into the operation of password, improves the experience of user.
Description
Technical field
The present invention relates to network access technique, more particularly to a kind of method and device for accessing WIFI network.
Background technology
Currently, a foreign environment is entered in mobile terminal, when will access WIFI network, often need user
WIFI hot spot is selected to be accessed.Also, as the access pin of WIFI hot spot can change at any time, can go out
The problem for now attempting repeatedly cannot also accessing, affects the experience of user.
Content of the invention
It is an object of the invention to provide a kind of method and device for accessing WIFI network, ensure that movement
Terminal automatically accesses WIFI network in a foreign environment, it is to avoid user manually select WIFI network and
The operation of input password, improves the experience of user.
In order to realize above-mentioned purpose, the present invention provides a kind of method for accessing WIFI network, including:
WIFI hot spot around search current mobile terminal, obtains WIFI hot spot information list, the WIFI
Hot information in hot information list includes the identification information of WIFI hot spot;
Determine the first WIFI hot spot access information list that mates with the positional information of the mobile terminal, institute
Stating the access information in the first WIFI hot spot access information list includes identification information and the access of WIFI hot spot
Password;
According to the WIFI hot spot information list and the first WIFI hot spot access information list, determine to be accessed
WIFI hot spot access information list;
Using the WIFI hot spot access information list to be accessed, automatically accessing for WIFI network is carried out.
It is preferably, described according to the WIFI hot spot information list and the first WIFI hot spot access information list,
The step of determining WIFI hot spot access information list to be accessed includes:
The common factor of the WIFI hot spot information list and the first WIFI hot spot access information list is calculated, is obtained
The WIFI hot spot access information list to be accessed.
Preferably, the first WIFI hot spot that the determination is mated with the positional information of the mobile terminal is accessed
The step of information list, includes:
The second WIFI hot spot access information list is obtained, in the second WIFI hot spot access information list
Access information is the access information of the WIFI hot spot in the predeterminable area of the positional information of the mobile terminal;
According to the 3rd WIFI hot spot access information list and described second prestored in the mobile terminal
WIFI hot spot access information list, determines the first WIFI hot spot access information list.
Preferably, described according to the 3rd WIFI hot spot access information prestored in mobile terminal row
Table and the second WIFI hot spot access information list, determine the first WIFI hot spot access information list
The step of include:
Calculate the 3rd WIFI hot spot access information list and described second prestored in the mobile terminal
The union of WIFI hot spot access information list, obtains the first WIFI hot spot access information list;
Wherein, when the 3rd WIFI hot spot access information list and the second WIFI hot spot access information
When the access information for same WIFI hot spot in list is inconsistent, accessed with second WIFI hot spot
Access information in information list is defined.
Preferably, the access information in the second WIFI hot spot access information list be by WIFI hot spot upload and
/ or access WIFI hot spot mobile terminal reporting.
Preferably, the access information in the WIFI hot spot access information list to be accessed includes WIFI
The signal quality of focus;
Described using the WIFI hot spot access information list to be accessed, carry out the access of WIFI network
Step includes:
According to WIFI hot spot signal quality by high on earth, letter is accessed to the WIFI hot spot to be accessed
Breath list is ranked up;
According to the order of the WIFI hot spot access information list to be accessed after sequence, WIFI network is carried out
Automatically access.
Preferably, the access information in the WIFI hot spot access information list to be accessed includes WIFI
The timestamp of focus, the timestamp are the time that WIFI hot spot the last time has that mobile terminal is successfully accessed
Point;
Described using the WIFI hot spot access information list to be accessed, carry out the access of WIFI network
Step includes:
According to WIFI hot spot timestamp new and old, to the WIFI hot spot access information list to be accessed
It is ranked up;
According to the order of the WIFI hot spot access information list to be accessed after sequence, WIFI network is carried out
Automatically access.
Preferably, the method for accessing WIFI network also includes:
After the mobile terminal accesses a WIFI network, using the WIFI network, send to network side
It is successfully accessed message;
Wherein, after the feedback information for receiving network side, expression is successfully accessed, and otherwise, carries out WIFI
Again the access of network.
The present invention also provides a kind of device for accessing WIFI network, including:
Search module, for the WIFI hot spot that searches for around current mobile terminal, obtains WIFI hot spot information
List, the hot information in the WIFI hot spot information list include the identification information of WIFI hot spot;
First determining module, for determining the WIFI mated with the positional information of mobile terminal heat
Point access information list, the access information in the first WIFI hot spot access information list include WIFI
The identification information of focus and access pin;
Second determining module, for accessing letter according to the WIFI hot spot information list and the first WIFI hot spot
Breath list, determines WIFI hot spot access information list to be accessed;
AM access module, for utilizing the WIFI hot spot access information list to be accessed, carries out WIFI
The automatically accessing of network.
Preferably, second determining module includes:
First computing module, accesses letter for calculating the WIFI hot spot information list and the first WIFI hot spot
The common factor of breath list, obtains the WIFI hot spot access information list to be accessed.
Preferably, first determining module includes:
Acquisition module, for obtaining the second WIFI hot spot access information list, second WIFI hot spot connects
It is the WIFI in the predeterminable area of the positional information of the mobile terminal to enter the access information in information list
The access information of focus;
First determination sub-module, for connecing according to the 3rd WIFI hot spot prestored in the mobile terminal
Enter information list and the second WIFI hot spot access information list, determine that first WIFI hot spot is accessed
Information list.
Preferably, first determination sub-module includes:
Second computing module, accesses for calculating the 3rd WIFI hot spot prestored in the mobile terminal
Information list and the union of the second WIFI hot spot access information list, obtain first WIFI hot spot
Access information list;
Wherein, when the 3rd WIFI hot spot access information list and the second WIFI hot spot access information
When the access information for same WIFI hot spot in list is inconsistent, accessed with second WIFI hot spot
Access information in information list is defined.
Preferably, the access information in the second WIFI hot spot access information list be by WIFI hot spot
Pass and/or access the mobile terminal reporting of WIFI hot spot.
Preferably, the access information in the WIFI hot spot access information list to be accessed includes WIFI
The signal quality of focus;The AM access module includes:
First order module, for the signal quality according to WIFI hot spot by high on earth, to described waiting
The WIFI hot spot access information list for entering is ranked up;
First AM access module, for according to the suitable of the WIFI hot spot access information list to be accessed after sequence
Sequence, carries out automatically accessing for WIFI network.
Preferably, the access information in the WIFI hot spot access information list to be accessed includes WIFI
The timestamp of focus, the timestamp are the time that WIFI hot spot the last time has that mobile terminal is successfully accessed
Point;The AM access module includes:
Second order module, for the new and old of the timestamp according to WIFI hot spot, to the WIFI to be accessed
Focus access information list is ranked up;
Second AM access module, for according to the suitable of the WIFI hot spot access information list to be accessed after sequence
Sequence, carries out automatically accessing for WIFI network.
Preferably, the device of described access WIFI network also includes:
Sending module, for after the mobile terminal accesses a WIFI network, using the WIFI network,
Send to network side and be successfully accessed message;
Wherein, after the feedback information for receiving network side, expression is successfully accessed, and otherwise, carries out WIFI
Again the access of network.
By the technique scheme of the present invention, the beneficial effects of the present invention is:
The solution of the present invention, by the WIFI hot spot that searches for around current mobile terminal, obtains WIFI hot spot
Information list, determines the first WIFI hot spot access information row mated with the positional information of the mobile terminal
Table, and according to the WIFI hot spot information list and the first WIFI hot spot access information list, determine waiting
The WIFI hot spot access information list for entering, to utilize the WIFI hot spot access information list to be accessed,
Automatically accessing for WIFI network is carried out, ensure that mobile terminal, in a foreign environment, is automatically accessed
WIFI network, it is to avoid user manually selects WIFI network and is input into the operation of password, improves the use of user
Experience.
Description of the drawings
The flow chart that Fig. 1 represents the method for the access WIFI network of one embodiment of the invention.
Fig. 2 represents the structural representation of the device of the access WIFI network of one embodiment of the invention.
The flow chart that Fig. 3 represents the method for the access WIFI network of the specific embodiment of the invention.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention is clearer, below in conjunction with accompanying drawing pair
Specific embodiment is described in detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of method for accessing WIFI network, including:
S101:WIFI hot spot around search current mobile terminal, obtains WIFI hot spot information list, institute
Stating the hot information in WIFI hot spot information list at least includes the identification information of WIFI hot spot;
S102:Determine the first WIFI hot spot access information row mated with the positional information of the mobile terminal
Table, the access information in the first WIFI hot spot access information list at least include the mark of WIFI hot spot
Information and access pin;
S103:According to the WIFI hot spot information list and the first WIFI hot spot access information list, determine
WIFI hot spot access information list to be accessed;
S104:Using the WIFI hot spot access information list to be accessed, the automatic of WIFI network is carried out
Access.
The method of the access WIFI network of the embodiment of the present invention, by searching for around current mobile terminal
WIFI hot spot, obtains WIFI hot spot information list, and determination is mated with the positional information of the mobile terminal
First WIFI hot spot access information list, and according to the WIFI hot spot information list and WIFI heat
Point access information list, determines WIFI hot spot access information list to be accessed, with using described to be accessed
WIFI hot spot access information list, carry out automatically accessing for WIFI network, ensure that mobile terminal exists
During one foreign environment, WIFI network is automatically accessed, it is to avoid user manually selects WIFI network and is input into close
The operation of code, improves the experience of user.
Wherein, the identification information of the WIFI hot spot is, for example, the medium access control MAC of WIFI hot spot
Service set SSID of address or WIFI network etc., for identifying a WIFI hot spot.
Below, be introduced by taking the MAC Address that identification information is WIFI hot spot as an example, but the present invention not with
This is limited.
Specifically, the WIFI hot spot information list is all WIFI hot spot around current mobile terminal
Hot information set, its hot information may include all WIFI hot spot medium access control MAC ground
Location and signal quality.The first WIFI hot spot access information list is the position letter with the mobile terminal
The set of the access information of the WIFI hot spot that breath coupling or the mobile terminal had been accessed, which accesses letter
Breath may include MAC Address and the access pin of WIFI hot spot.
And the WIFI hot spot access information list to be accessed be according to the WIFI hot spot information list and
First WIFI hot spot access information list determines, is being directly accessed around current mobile terminal
The set of the access information of WIFI hot spot, its access information may include the MAC Address of WIFI hot spot, access
Password and signal quality.
In embodiments of the present invention, described connect according to the WIFI hot spot information list and the first WIFI hot spot
Enter information list, include the step of determine WIFI hot spot access information list to be accessed:
The common factor of the WIFI hot spot information list and the first WIFI hot spot access information list is calculated, is obtained
The WIFI hot spot access information list to be accessed.
So, using the WIFI hot spot access information list to be accessed, it becomes possible to ensure mobile terminal
Automatically access WIFI network.
In the specific embodiment of the invention, described determine mate with the positional information of the mobile terminal first
The step of WIFI hot spot access information list, includes:
The second WIFI hot spot access information list is obtained, in the second WIFI hot spot access information list
Access information is the access information of the WIFI hot spot in the predeterminable area of the positional information of the mobile terminal;
According to the 3rd WIFI hot spot access information list and described second prestored in the mobile terminal
WIFI hot spot access information list, determines the first WIFI hot spot access information list.
Wherein, the second WIFI hot spot access information list is, for example, that mobile terminal passes through 3G or 4G number
Obtain from server according to business, and if mobile terminal connection WIFI network, it is also possible to pass through
WIFI network is obtained from server, and the present invention is not limited thereof.
Specifically, described according to the 3rd WIFI hot spot access information prestored in mobile terminal row
Table and the second WIFI hot spot access information list, determine the first WIFI hot spot access information list
The step of include:
Calculate the 3rd WIFI hot spot access information list and described second prestored in the mobile terminal
The union of WIFI hot spot access information list, obtains the first WIFI hot spot access information list;
Wherein, when the 3rd WIFI hot spot access information list and the second WIFI hot spot access information
When the access information for same WIFI hot spot in list is inconsistent, accessed with second WIFI hot spot
Access information in information list is defined.
In embodiments of the present invention, the positional information of the mobile terminal, e.g. by the GPS of mobile terminal
Unit is obtained.And for mobile phone terminal, the positional information can also be that the service of 3G or 4G network is little
Area and information of adjacent cells.
The access information of multiple WIFI hot spot, the access letter of the WIFI hot spot is preserved in the server
Breath includes positional information, MAC Address and access pin of WIFI hot spot etc..Specifically, the server
WIFI hot spot the predeterminable area of the positional information of the mobile terminal in is therefrom obtained for mobile terminal
Access information.
And the access information of the WIFI hot spot of the server memory storage, i.e., described second WIFI hot spot access
Access information in information list is, for example, to be uploaded by WIFI hot spot, and/or accesses the movement of WIFI hot spot
Terminal to report.
In practical application, when mobile terminal is detected and needs to automatically access WIFI network, described mobile whole
End will obtain its positional information, and the positional information is uploaded to server.The server is connecing
After receiving the positional information, the WIFI in the predeterminable area of the positional information of its memory storage is inquired about
The access information of focus, obtains the second WIFI hot spot access information list, and by second WIFI hot spot
Access information list is sent to the mobile terminal.
The mobile terminal includes WIFI hot spot access information database, the WIFI hot spot access information number
According to the 3rd WIFI hot spot access information list is stored in advance in storehouse, mainly mobile terminal successfully connects
The access information of the WIFI hot spot for entering, the access information at least include the MAC Address of WIFI hot spot, connect
Enter password and state.Wherein, the MAC Address is used for one WIFI hot spot of unique mark, if WIFI
Focus is open, then access pin is sky, and status attribute represents the state of a WIFI hot spot.
Specifically, Current represents and is being currently used, and Available represents that mobile terminal is also not attempt to connect
Enter, Forbidden represents that current WIFI hotspot cannot be accessed, or network can not although be successfully accessed
Use, can be changed during WIFI network is accessed in real time, to user to point out, and move
When terminal attempts accessing WIFI hot spot, skip state is the WIFI hot spot of Forbidden, accelerates to access speed
Degree.
After mobile terminal gets the second WIFI hot spot access information list from server, just by institute
The access information for stating the WIFI hot spot in the second WIFI hot spot access information list is preserved to WIFI heat
Point access information database, i.e., merged with the 3rd WIFI hot spot access information list, to obtain
First WIFI hot spot access information list.
Wherein, the mode of merging is:According to MAC Address, if the WIFI hot spot obtained from server
Access information, does not have in the WIFI hot spot access information database of mobile terminal, just by the access information
WIFI hot spot access information database is directly incorporated into, its state of juxtaposition is Available;If mobile whole
The WIFI hot spot access information databases at end in the access information of the WIFI hot spot obtained from server,
But the information content is inconsistent, then update the WIFI hot spot in the WIFI hot spot access information database
Access information, its state of juxtaposition be Available;If the WIFI hot spot access information of mobile terminal
Databases are in the access information of the WIFI hot spot obtained from server and the information content is consistent, then to institute
The access information that states in WIFI hot spot access information database is not made an amendment.
According to the difference of trigger condition, mobile terminal is detected needs the situation master for automatically accessing WIFI network
To include two kinds:A kind of is instruction according to user, needs to automatically access WIFI network, such as user's point
The menu for automatically accessing WIFI network is hit;Another kind is that mobile terminal there occurs movement in use,
I.e. out of the effective range of current WIFI hotspot so that current WIFI hotspot signal is less than a certain threshold value,
The access of WIFI network to be re-started.
Generally, the hot information in the WIFI hot spot information list includes the signal of WIFI hot spot
Quality, then according to treating that the WIFI hot spot information list and the first WIFI hot spot access information list determine
Access information in the WIFI hot spot access information list of access just includes the signal quality of WIFI hot spot.
So, when the access of WIFI network is carried out using the WIFI hot spot access information list to be accessed,
May be selected by the good access point priority access of signal quality.
Based on the above, described using the WIFI hot spot access information list to be accessed, carry out WIFI
The step of access of network, includes:
According to WIFI hot spot signal quality by high on earth, letter is accessed to the WIFI hot spot to be accessed
Breath list is ranked up;
According to the order of the WIFI hot spot access information list to be accessed after sequence, WIFI network is carried out
Automatically access.
Additionally, in the access information of the WIFI hot spot preserved in server, also include the timestamp of WIFI hot spot,
The timestamp is the time point that WIFI hot spot the last time has that mobile terminal is successfully accessed.I.e. described first
Access information in WIFI hot spot access information list includes the timestamp of WIFI hot spot so that according to described
The WIFI hot spot to be accessed that WIFI hot spot information list and the first WIFI hot spot access information list determine
Access information in access information list just includes the timestamp of WIFI hot spot.
Under normal circumstances, timestamp is newer, and the probability is successfully accessed by WIFI hot spot is bigger, you can with root
The quality of WIFI hot spot is judged according to timestamp.
Based on the above, described using the WIFI hot spot access information list to be accessed, carry out WIFI
The step of access of network, includes:
According to WIFI hot spot timestamp new and old, to the WIFI hot spot access information list to be accessed
It is ranked up;
According to the order of the WIFI hot spot access information list to be accessed after sequence, WIFI network is carried out
Automatically access.
In embodiments of the present invention, the method for accessing WIFI network also includes:
After the mobile terminal accesses a WIFI network, using the WIFI network, send to network side
It is successfully accessed message;
Wherein, after the feedback information for receiving network side, expression is successfully accessed, and otherwise, carries out WIFI
Again the access of network.
In such manner, it is possible to ensure mobile terminal successful access internet, it is to avoid although occur being successfully accessed WIFI
Network, but the situation of internet cannot be accessed, improve the experience of user.And the network side can be
Above-mentioned server, or others can detect the server of WIFI network connection, this
Bright it is not limited.
Shown in Figure 2, the embodiment of the present invention also provides a kind of device for accessing WIFI network, with Fig. 1
The method of shown access WIFI network is corresponding, and the device for accessing WIFI network includes:
Search module 21, for the WIFI hot spot that searches for around current mobile terminal, obtains WIFI hot spot
Information list, the hot information in the WIFI hot spot information list include the identification information of WIFI hot spot;
First determining module 21, for determining the WIFI mated with the positional information of the mobile terminal
Focus access information list, the access information in the first WIFI hot spot access information list include WIFI
The identification information of focus and access pin;
Second determining module 23, for connecing according to the WIFI hot spot information list and the first WIFI hot spot
Enter information list, determine WIFI hot spot access information list to be accessed;
AM access module 24, for utilizing the WIFI hot spot access information list to be accessed, carries out WIFI
The automatically accessing of network.
The device of the access WIFI network of the embodiment of the present invention, by searching for around current mobile terminal
WIFI hot spot, obtains WIFI hot spot information list, and determination is mated with the positional information of the mobile terminal
First WIFI hot spot access information list, and according to the WIFI hot spot information list and WIFI heat
Point access information list, determines WIFI hot spot access information list to be accessed, with using described to be accessed
WIFI hot spot access information list, carry out automatically accessing for WIFI network, ensure that mobile terminal exists
During one foreign environment, WIFI network is automatically accessed, it is to avoid user manually selects WIFI network and is input into close
The operation of code, improves the experience of user.
And the identification information of the WIFI hot spot be, for example, WIFI hot spot medium access control MAC Address or
Service set SSID of WIFI network etc., for identifying a WIFI hot spot.
In the specific embodiment of the invention, second determining module includes:
First computing module, accesses letter for calculating the WIFI hot spot information list and the first WIFI hot spot
The common factor of breath list, obtains the WIFI hot spot access information list to be accessed.
First determining module includes:
Acquisition module, for obtaining the second WIFI hot spot access information list, second WIFI hot spot connects
It is the WIFI in the predeterminable area of the positional information of the mobile terminal to enter the access information in information list
The access information of focus;
First determination sub-module, for connecing according to the 3rd WIFI hot spot prestored in the mobile terminal
Enter information list and the second WIFI hot spot access information list, determine that first WIFI hot spot is accessed
Information list.
Wherein, the second WIFI hot spot access information list is, for example, that mobile terminal passes through 3G or 4G number
Obtain from server according to business, and if mobile terminal connection WIFI network, it is also possible to pass through
WIFI network is obtained from server, and the present invention is not limited thereof.
And the access information in the second WIFI hot spot access information list is, for example, to be uploaded by WIFI hot spot,
And/or access the mobile terminal reporting of WIFI hot spot.
Specifically, first determination sub-module includes:
Second computing module, accesses for calculating the 3rd WIFI hot spot prestored in the mobile terminal
Information list and the union of the second WIFI hot spot access information list, obtain first WIFI hot spot
Access information list;
Wherein, when the 3rd WIFI hot spot access information list and the second WIFI hot spot access information
When the access information for same WIFI hot spot in list is inconsistent, accessed with second WIFI hot spot
Access information in information list is defined.
Access in the specific embodiment of the invention, in the WIFI hot spot access information list to be accessed
Information includes the signal quality of WIFI hot spot;The AM access module includes:
First order module, for the signal quality according to WIFI hot spot by high on earth, to described waiting
The WIFI hot spot access information list for entering is ranked up;
First AM access module, for according to the suitable of the WIFI hot spot access information list to be accessed after sequence
Sequence, carries out automatically accessing for WIFI network.
Or, the access information in the WIFI hot spot access information list to be accessed includes WIFI heat
The timestamp of point, the timestamp is the time point that WIFI hot spot the last time has that mobile terminal is successfully accessed;
The AM access module includes:
Second order module, for the new and old of the timestamp according to WIFI hot spot, to the WIFI to be accessed
Focus access information list is ranked up;
Second AM access module, for according to the suitable of the WIFI hot spot access information list to be accessed after sequence
Sequence, carries out automatically accessing for WIFI network.
Additionally, the device for accessing WIFI network also includes:
Sending module, for after the mobile terminal accesses a WIFI network, using the WIFI network,
Send to network side and be successfully accessed message;
Wherein, after the feedback information for receiving network side, expression is successfully accessed, and otherwise, carries out WIFI
Again the access of network.
In such manner, it is possible to ensure mobile terminal successful access internet, it is to avoid although occur being successfully accessed WIFI
Network, but the situation of internet cannot be accessed, improve the experience of user.
For the ease of understanding the present invention, the method for the access WIFI network of the present invention is entered below by Fig. 3
The detailed introduction of row.
Fig. 3 is directed to mobile terminal A after a foreign environment is entered, the feelings of WIFI network to be accessed
Condition;Wherein, the method for accessing WIFI network is comprised the following steps:
S301:Mobile terminal A detects user and clicks the menu for automatically accessing WIFI network;
S302:A gets the positional information of itself;
S303:A utilizes data service, uploads the positional information to server B;
S304:B inquires about connecing for the WIFI hot spot in the predeterminable area of the positional information of its memory storage
Enter information, obtain the second WIFI hot spot access information list P ';
S305:The P ' is sent to A by B;
S306:A calculates the union of P ' and the 3rd WIFI hot spot access information list P of its memory storage, obtains
To the first WIFI hot spot access information list R;
S307:It is the access information of the WIFI hot spot of Forbidden that A removes state in R, obtains WIFI
Focus access information list R ';
S308:The WIFI hot spot that A is searched for around which, obtains WIFI hot spot information list L;
S309:A calculates the common factor of R ' and L, obtains WIFI hot spot access information list H to be accessed;
S310:According to WIFI hot spot signal by high on earth, the H is ranked up, obtains H ';
S311:According to the order of H ', automatically accessing for WIFI network is carried out, i.e., is entered according to the order of H '
Row is attempted;
S312:After A accesses a WIFI network, using the WIFI network, send to B and access into
Work(message;
S313:If B is successfully accessed message described in receiving, feeding back ACK message is replied to A;
S314:After A receives the ACK message, represent and WIFI network success is accessed, change current WIFI
The state of focus is Current;
S315:If A does not send successfully the shape for being successfully accessed message, changing current WIFI hotspot
State is Forbidden, and re-starts S311, if the attempt to the connecing of all of WIFI hot spot in complete H '
Enter information and all do not access WIFI network, then it is assumed that access failure.
The above is only the preferred embodiment of the present invention, it is noted that for the common of the art
For technical staff, under the premise without departing from the principles of the invention, some improvements and modifications can also be made,
These improvements and modifications also should be regarded as protection scope of the present invention.
Claims (16)
1. a kind of access WIFI network method, it is characterised in that include:
WIFI hot spot around search current mobile terminal, obtains WIFI hot spot information list, the WIFI
Hot information in hot information list includes the identification information of WIFI hot spot;
Determine the first WIFI hot spot access information list that mates with the positional information of the mobile terminal, institute
Stating the access information in the first WIFI hot spot access information list includes identification information and the access of WIFI hot spot
Password;
According to the WIFI hot spot information list and the first WIFI hot spot access information list, determine to be accessed
WIFI hot spot access information list;
Using the WIFI hot spot access information list to be accessed, automatically accessing for WIFI network is carried out.
2. according to claim 1 access WIFI network method, it is characterised in that the basis
The WIFI hot spot information list and the first WIFI hot spot access information list, determine WIFI to be accessed
The step of focus access information list, includes:
The common factor of the WIFI hot spot information list and the first WIFI hot spot access information list is calculated, is obtained
The WIFI hot spot access information list to be accessed.
3. according to claim 1 access WIFI network method, it is characterised in that the determination
The step of the first WIFI hot spot access information list that is mated with the positional information of the mobile terminal, is included:
The second WIFI hot spot access information list is obtained, in the second WIFI hot spot access information list
Access information is the access information of the WIFI hot spot in the predeterminable area of the positional information of the mobile terminal;
According to the 3rd WIFI hot spot access information list and described second prestored in the mobile terminal
WIFI hot spot access information list, determines the first WIFI hot spot access information list.
4. according to claim 3 access WIFI network method, it is characterised in that the basis
The 3rd WIFI hot spot access information list prestored in the mobile terminal and second WIFI hot spot
Access information list, includes the step of determine the first WIFI hot spot access information list:
Calculate the 3rd WIFI hot spot access information list and described second prestored in the mobile terminal
The union of WIFI hot spot access information list, obtains the first WIFI hot spot access information list;
Wherein, when the 3rd WIFI hot spot access information list and the second WIFI hot spot access information
When the access information for same WIFI hot spot in list is inconsistent, accessed with second WIFI hot spot
Access information in information list is defined.
5. according to claim 3 access WIFI network method, it is characterised in that described second
Access information in WIFI hot spot access information list is to be uploaded and/or accessed by WIFI hot spot WIFI hot spot
Mobile terminal reporting.
6. according to claim 1 access WIFI network method, it is characterised in that described waiting
The access information in WIFI hot spot access information list for entering includes the signal quality of WIFI hot spot;
Described using the WIFI hot spot access information list to be accessed, carry out the access of WIFI network
Step includes:
According to WIFI hot spot signal quality by high on earth, letter is accessed to the WIFI hot spot to be accessed
Breath list is ranked up;
According to the order of the WIFI hot spot access information list to be accessed after sequence, WIFI network is carried out
Automatically access.
7. according to claim 1 access WIFI network method, it is characterised in that described waiting
The access information in WIFI hot spot access information list for entering includes the timestamp of WIFI hot spot, the time
Stamp is the time point that WIFI hot spot the last time has that mobile terminal is successfully accessed;
Described using the WIFI hot spot access information list to be accessed, carry out the access of WIFI network
Step includes:
According to WIFI hot spot timestamp new and old, to the WIFI hot spot access information list to be accessed
It is ranked up;
According to the order of the WIFI hot spot access information list to be accessed after sequence, WIFI network is carried out
Automatically access.
8. according to claim 1 access WIFI network method, it is characterised in that also include:
After the mobile terminal accesses a WIFI network, using the WIFI network, send to network side
It is successfully accessed message;
Wherein, after the feedback information for receiving network side, expression is successfully accessed, and otherwise, carries out WIFI
Again the access of network.
9. a kind of access WIFI network device, it is characterised in that include:
Search module, for the WIFI hot spot that searches for around current mobile terminal, obtains WIFI hot spot information
List, the hot information in the WIFI hot spot information list include the identification information of WIFI hot spot;
First determining module, for determining the WIFI mated with the positional information of mobile terminal heat
Point access information list, the access information in the first WIFI hot spot access information list include WIFI
The identification information of focus and access pin;
Second determining module, for accessing letter according to the WIFI hot spot information list and the first WIFI hot spot
Breath list, determines WIFI hot spot access information list to be accessed;
AM access module, for utilizing the WIFI hot spot access information list to be accessed, carries out WIFI
The automatically accessing of network.
10. the device for accessing WIFI network according to claim 9, it is characterised in that described the
Two determining modules include:
First computing module, accesses letter for calculating the WIFI hot spot information list and the first WIFI hot spot
The common factor of breath list, obtains the WIFI hot spot access information list to be accessed.
11. devices for accessing WIFI network according to claim 9, it is characterised in that described the
One determining module includes:
Acquisition module, for obtaining the second WIFI hot spot access information list, second WIFI hot spot connects
It is the WIFI in the predeterminable area of the positional information of the mobile terminal to enter the access information in information list
The access information of focus;
First determination sub-module, for connecing according to the 3rd WIFI hot spot prestored in the mobile terminal
Enter information list and the second WIFI hot spot access information list, determine that first WIFI hot spot is accessed
Information list.
12. devices for accessing WIFI network according to claim 11, it is characterised in that described the
One determination sub-module includes:
Second computing module, accesses for calculating the 3rd WIFI hot spot prestored in the mobile terminal
Information list and the union of the second WIFI hot spot access information list, obtain first WIFI hot spot
Access information list;
Wherein, when the 3rd WIFI hot spot access information list and the second WIFI hot spot access information
When the access information for same WIFI hot spot in list is inconsistent, accessed with second WIFI hot spot
Access information in information list is defined.
13. devices for accessing WIFI network according to claim 11, it is characterised in that described the
Access information in two WIFI hot spot access information lists is to be uploaded and/or accessed by WIFI hot spot WIFI
The mobile terminal reporting of focus.
14. devices for accessing WIFI network according to claim 9, it is characterised in that described treat
Access information in the WIFI hot spot access information list of access includes the signal quality of WIFI hot spot;Described
AM access module includes:
First order module, for the signal quality according to WIFI hot spot by high on earth, to described waiting
The WIFI hot spot access information list for entering is ranked up;
First AM access module, for according to the suitable of the WIFI hot spot access information list to be accessed after sequence
Sequence, carries out automatically accessing for WIFI network.
15. devices for accessing WIFI network according to claim 9, it is characterised in that described treat
Access information in the WIFI hot spot access information list of access includes the timestamp of WIFI hot spot, when described
Between stamp be time point that WIFI hot spot the last time has that mobile terminal is successfully accessed;The AM access module includes:
Second order module, for the new and old of the timestamp according to WIFI hot spot, to the WIFI to be accessed
Focus access information list is ranked up;
Second AM access module, for according to the suitable of the WIFI hot spot access information list to be accessed after sequence
Sequence, carries out automatically accessing for WIFI network.
16. devices for accessing WIFI network according to claim 9, it is characterised in that also include:
Sending module, for after the mobile terminal accesses a WIFI network, using the WIFI network,
Send to network side and be successfully accessed message;
Wherein, after the feedback information for receiving network side, expression is successfully accessed, and otherwise, carries out WIFI
Again the access of network.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510522603.2A CN106488529B (en) | 2015-08-24 | 2015-08-24 | WIFI network access method and device |
PCT/CN2016/079912 WO2016180210A1 (en) | 2015-08-24 | 2016-04-21 | Method and apparatus for accessing wifi network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510522603.2A CN106488529B (en) | 2015-08-24 | 2015-08-24 | WIFI network access method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106488529A true CN106488529A (en) | 2017-03-08 |
CN106488529B CN106488529B (en) | 2020-06-02 |
Family
ID=57247741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510522603.2A Active CN106488529B (en) | 2015-08-24 | 2015-08-24 | WIFI network access method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106488529B (en) |
WO (1) | WO2016180210A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106888496A (en) * | 2017-02-20 | 2017-06-23 | 广东欧珀移动通信有限公司 | A kind of Wireless Fidelity Wi Fi connection methods and mobile terminal |
CN107426780A (en) * | 2017-08-08 | 2017-12-01 | 广东欧珀移动通信有限公司 | Wifi hotspot management method, device and terminal device |
WO2018019287A1 (en) * | 2016-07-29 | 2018-02-01 | 腾讯科技(深圳)有限公司 | Wireless local area network connecting method, mobile terminal and storage medium |
WO2018214794A1 (en) * | 2017-05-24 | 2018-11-29 | 上海连尚网络科技有限公司 | Connection method and device |
CN112566085A (en) * | 2020-12-04 | 2021-03-26 | 深圳创维-Rgb电子有限公司 | Smart watch WIFI configuration method and device and mobile terminal |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106686588B (en) * | 2017-02-20 | 2020-02-07 | Oppo广东移动通信有限公司 | Wireless fidelity Wi-Fi connection method and mobile terminal |
CN106793015A (en) * | 2017-02-20 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of Wireless Fidelity Wi Fi connection methods and mobile terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102857997A (en) * | 2011-06-30 | 2013-01-02 | 英特尔公司 | Mobile device and method for automatic connectivity, data offloading and roaming between networks |
CN102869073A (en) * | 2012-09-14 | 2013-01-09 | 中兴通讯股份有限公司 | Method for processing wireless hotspot information and method for automatically accessing wireless hotspot |
CN103298072A (en) * | 2013-07-02 | 2013-09-11 | 张洁昕 | Method and system for automatically connecting to WiFi (wireless fidelity) access points and mobile communication terminal |
CN104105169A (en) * | 2014-07-25 | 2014-10-15 | 小米科技有限责任公司 | Method and device for automatically connecting with wireless local area network |
CN104853448A (en) * | 2015-05-08 | 2015-08-19 | 乐视致新电子科技(天津)有限公司 | Method for automatically establishing wireless connection and device thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9572190B2 (en) * | 2013-06-05 | 2017-02-14 | Apple Inc. | Device and method for associating with WiFi networks |
-
2015
- 2015-08-24 CN CN201510522603.2A patent/CN106488529B/en active Active
-
2016
- 2016-04-21 WO PCT/CN2016/079912 patent/WO2016180210A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102857997A (en) * | 2011-06-30 | 2013-01-02 | 英特尔公司 | Mobile device and method for automatic connectivity, data offloading and roaming between networks |
CN102869073A (en) * | 2012-09-14 | 2013-01-09 | 中兴通讯股份有限公司 | Method for processing wireless hotspot information and method for automatically accessing wireless hotspot |
CN103298072A (en) * | 2013-07-02 | 2013-09-11 | 张洁昕 | Method and system for automatically connecting to WiFi (wireless fidelity) access points and mobile communication terminal |
CN104105169A (en) * | 2014-07-25 | 2014-10-15 | 小米科技有限责任公司 | Method and device for automatically connecting with wireless local area network |
CN104853448A (en) * | 2015-05-08 | 2015-08-19 | 乐视致新电子科技(天津)有限公司 | Method for automatically establishing wireless connection and device thereof |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018019287A1 (en) * | 2016-07-29 | 2018-02-01 | 腾讯科技(深圳)有限公司 | Wireless local area network connecting method, mobile terminal and storage medium |
US10356707B2 (en) | 2016-07-29 | 2019-07-16 | Tencent Technology (Shenzhen) Company Limited | Wireless local area network connection method, mobile terminal, and storage medium |
CN106888496A (en) * | 2017-02-20 | 2017-06-23 | 广东欧珀移动通信有限公司 | A kind of Wireless Fidelity Wi Fi connection methods and mobile terminal |
US11044766B2 (en) | 2017-02-20 | 2021-06-22 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for Wi-Fi connection and related products |
WO2018214794A1 (en) * | 2017-05-24 | 2018-11-29 | 上海连尚网络科技有限公司 | Connection method and device |
US11172520B2 (en) | 2017-05-24 | 2021-11-09 | Shanghai Shangwang Network Technology Co., Ltd. | Connection method and device |
CN107426780A (en) * | 2017-08-08 | 2017-12-01 | 广东欧珀移动通信有限公司 | Wifi hotspot management method, device and terminal device |
CN107426780B (en) * | 2017-08-08 | 2019-01-11 | Oppo广东移动通信有限公司 | Wifi hotspot management method, device and terminal device |
CN112566085A (en) * | 2020-12-04 | 2021-03-26 | 深圳创维-Rgb电子有限公司 | Smart watch WIFI configuration method and device and mobile terminal |
CN112566085B (en) * | 2020-12-04 | 2023-08-04 | 深圳创维-Rgb电子有限公司 | Smart watch WIFI configuration method and device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106488529B (en) | 2020-06-02 |
WO2016180210A1 (en) | 2016-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106488529A (en) | A kind of method and device for accessing WIFI network | |
CN103686595B (en) | State switching method and electronic equipment | |
US9319970B2 (en) | Method, apparatus, and system for searching and selecting network | |
US10306007B2 (en) | Cache content hit method and communications system | |
CN106028279B (en) | Network registration method and device | |
CN109040958A (en) | Method for connecting network, device, electronic equipment and computer readable storage medium | |
CN104869019A (en) | Feedback method and apparatus for positioning faults, and server | |
CN111143543A (en) | Object recommendation method, device, equipment and medium | |
US11240777B2 (en) | Device positioning method and apparatus | |
CN108738108A (en) | A kind of sequencing display method, equipment and the storage medium of hotspot | |
CN102196561B (en) | Base station LAC (Location Area Code) switching method based on wireless positioning | |
US20230403612A1 (en) | Cell data transmission method and apparatus and electronic device | |
US20200192960A1 (en) | Method for Search Resource Recommendation and Smart Device | |
CN106603639A (en) | Method of upgrading system of off-line plantation equipment and control device thereof | |
CN106454880B (en) | The processing method and processing device of signaling tracing task | |
US11419045B2 (en) | Automatic evaluation and management of slice reselection experiences | |
CN112153164B (en) | Global Internet of things equipment access method, device, system and terminal equipment | |
CN109525469A (en) | The networking method and smart home device of smart home device | |
CN107733767B (en) | Method, device and system for establishing social relationship network | |
CN109219046A (en) | Method for switching network and device | |
CN105101397A (en) | Method for registration of subscriber identity modules, terminal and network server | |
CN106100904A (en) | Equipment method of attachment and equipment connection system | |
CN103152245A (en) | Control method and system for cruise route | |
CN104812066A (en) | Method and device for identifying and positioning faults and server | |
CN102547765B (en) | Automatic planning method for inter-system adjacent cell and system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |