Summary of the invention
The object of the present invention is to provide a kind of hotspot method of attachment and device, make when intelligent terminal arrives near the hotspot, can inquire satisfactory hotspot, and the configuration that realizes these hotspot automatically be connected.
In order to address the above problem, the invention provides a kind of hotspot method of attachment, comprising:
Set up a server, storage hotspot data;
Intelligent terminal is equipped with wireless module, and described wireless module scans the hotspot around this intelligent terminal, and judges whether to exist the hotspot that once successfully connected;
If described wireless module connects the described hotspot that once successfully connected;
If not, described wireless module sends to server with the information of the hotspot around this intelligent terminal and mates with the hotspot data of described server stores, described server is back to described wireless module with the link information of the hotspot of coupling, described wireless module joins the link information of the hotspot of described coupling in the hotspot tabulation of success connection once, and the hotspot of the described coupling that is dynamically connected certainly.
Further, connect in the step of the described hotspot that once successfully connected, comprising at described wireless module:
The hotspot that it is good that described wireless module is preferentially selected signal quality connects;
When the equal connection failure of hotspot that all once successfully connected, described wireless module sends to server with the information of the hotspot around this intelligent terminal and mates with the hotspot data of server stores, server is back to described wireless module with the link information of the hotspot of coupling, described wireless module joins the link information of the hotspot of described coupling in the hotspot tabulation of success connection once, and the hotspot of the described coupling that is dynamically connected certainly.
Further, described wireless module sends to server with the information of the hotspot around this intelligent terminal and when mating with the hotspot data of described server stores, if described server can not find the link information of the hotspot of any coupling, then directly return a connection failure information to described wireless module.
Further, when described wireless module sent to server with the information of the hotspot around this intelligent terminal, the information of described hotspot comprised SSID and Mark address.
Further, described wireless module is when being dynamically connected the hotspot of described coupling, and no matter whether successful connection all sends one and connects log record to described server;
Described server is adjusted the recommendation list of next time when the wireless module of other intelligent terminals is recommended hotspot according to described connection log record.
Accordingly, the present invention also provides a kind of hotspot jockey, comprising:
Server is used to store the hotspot data;
Wireless module, be installed in the intelligent terminal, be used to scan this intelligent terminal hotspot on every side, the hotspot that once successfully connected from being dynamically connected, and with described server communication, send to server and mate hotspot with information to be dynamically connected certainly with the hotspot Data Matching of described server stores with the hotspot data of described server stores with the hotspot around this intelligent terminal.
Further, described server comprises:
Receiving element is used to receive the information and the described connection log record of the hotspot around the intelligent terminal that described wireless module scans;
Memory cell is used to store hotspot data and described connection log record;
The information of the hotspot around the matching unit, this intelligent terminal that is used for described wireless module is scanned and the hotspot Data Matching of cell stores;
Return the unit, be used for adjusting the hotspot tabulation, generate and recommend list, return the matching result of matching unit and return described recommendation list to the wireless module of other intelligent terminals to the wireless module of this intelligent terminal according to described connection log record.
Further, described wireless module comprises:
Scanning element is used to scan intelligent terminal hotspot on every side;
Uploading unit, be used for and described server communication, the information that described scanning element is scanned the hotspot around this intelligent terminal sends to server and mates with the hotspot data of described server stores, and sends described connection log record to described server stores;
Memory cell, the tabulation and the information that are used to store the hotspot that once successfully connected;
Linkage unit, being used for from be dynamically connected the hotspot that once successfully connected and with the hotspot of the hotspot Data Matching of described server stores.
Compared with prior art, hotspot method of attachment provided by the invention and device, make when intelligent terminal arrival hotspot is neighbouring, the hotspot that can be dynamically connected certainly and once successfully connect, and by setting up the server of storage hotspot data, do not exist or connects when getting nowhere, can inquire the hotspot that mates on the server at the hotspot that once successfully connected, and the configuration of carrying out these hotspot automatically be connected, realized the seamless link of hotspot.
Embodiment
Below in conjunction with the drawings and specific embodiments hotspot method of attachment and the device that the present invention proposes is described in further detail.
Embodiment one
As shown in Figure 1, present embodiment provides a kind of hotspot method of attachment, comprising:
Step S11: set up a server, storage hotspot data;
Step S12: intelligent terminal is equipped with wireless module, described wireless module scans the hotspot around this intelligent terminal, and judge whether to exist the hotspot that once successfully connected, if, execution in step S13: described wireless module connects the described hotspot that once successfully connected, when the equal connection failure of hotspot that all once successfully connected, execution in step S14 is to step S19; If not, direct execution in step S14 is to step S19;
Step S14: described wireless module sends to server with the information of the hotspot around this intelligent terminal and mates with the hotspot data of server stores, and wherein, the information of the hotspot around this intelligent terminal comprises SSID and Mark address;
Step S15: if described server has found the hotspot of coupling, just the link information of hotspot of coupling is back to the wireless module of this intelligent terminal, described wireless module joins the link information of the hotspot of described coupling in the hotspot tabulation of successful connection once, and the hotspot of the described coupling that is dynamically connected certainly (shown in step S17); When described wireless module when being dynamically connected the hotspot of described coupling, no matter whether successful connection, all send one and connect log record to described server stores (shown in step S18), described server can be adjusted the focus list (as step S19 shown in) of next time when the wireless module of other intelligent terminals is recommended hotspot according to described connection log record.
Step S16: if described server can not find the link information of the hotspot of any coupling, then direct wireless module to this intelligent terminal returns a connection failure information.
The hotspot method of attachment that present embodiment one provides, make when intelligent terminal arrival hotspot is neighbouring, the hotspot that can be dynamically connected certainly and once successfully connect, and by setting up the server of storage hotspot data, do not exist or connect when unsuccessful at the hotspot that once successfully connected, can inquire the hotspot that mates on the server, and the configuration of carrying out these hotspot automatically be connected, realized the seamless link of hotspot.
Embodiment two
As shown in Figure 2, present embodiment provides a kind of hotspot jockey, comprising:
Server 10 is used to store the hotspot data; And
Wireless module 20, be installed in the intelligent terminal, be used to scan this intelligent terminal hotspot on every side, the hotspot that once successfully connected from being dynamically connected, and communicate by letter with described server 10, with the information with the hotspot around this intelligent terminal send to server 10 and with the hotspot data of described server 10 storages mate be dynamically connected certainly with the hotspot of the hotspot Data Matching of described server 10 storages further, in the present embodiment, described server 10 comprises:
Receiving element 101 is used to receive the information of the hotspot around this intelligent terminal that described wireless module 20 scans and the connection log record that described wireless module 20 sends;
Memory cell 102 is used to store hotspot data and described connection log record;
Matching unit 103, the hotspot data of the information of the hotspot around this intelligent terminal that is used for described wireless module 20 is scanned and memory cell 102 storages are mated;
Return unit 104, be used for adjusting the hotspot tabulation according to described connection log record, generate to recommend list, return the matching result of this matching unit 103 and return described recommendation list to the wireless module of other intelligent terminals to the wireless module 20 of this intelligent terminal.
Further, in the present embodiment, described wireless module 20 comprises:
Scanning element 201 is used to scan intelligent terminal hotspot on every side;
Uploading unit 202, be used for the information that described scanning element 201 scans the hotspot around this intelligent terminal is sent to the receiving element 101 of server, mating, and send described connection log record to described server receiving element 101 with the hotspot data of memory cell 102 storage of described server 10;
Memory cell 203, the tabulation and the information that are used to store the hotspot that once successfully connected;
Linkage unit 204, being used for from be dynamically connected the hotspot that once successfully connected and with the hotspot of the hotspot Data Matching of memory cell 102 storages of described server 10.
In the present embodiment, when the linkage unit 204 of wireless module 20 connects the described hotspot that once successfully connected, good hotspot connects can preferentially to select signal quality, the good hotspot of these signal qualitys the wireless signal performance of this intelligent terminal position more by force, more stable, network rate is very fast, and the linkage unit 204 of wireless module 20 can view these information of hotspot; After the equal connection failure of all hotspot that once successfully connected, uploading unit 202 sends to the information of hotspot on every side the receiving element 101 of server 10, the matching unit 103 of server 10 mates the information of the hotspot around these with the hotspot data that the memory cell 102 of server 10 is stored, and the link information of hotspot of coupling is back to the memory cell 203 of wireless module 20, the memory cell 203 of wireless module 20 joins the link information of the hotspot of described coupling in the hotspot tabulation of successful connection once, the linkage unit 204 of wireless module 20 is from the hotspot of the described coupling that is dynamically connected, and no matter whether successful connection, all send one and connect memory cell 102 storages of log record to server 10, the unit 104 that returns of described server 10 can be according to the described connection log record adjustment recommendation list of next time when other intelligent terminals are recommended hotspot.
Further, when the matching unit 103 of server 10 can not find the information of these hotspot on every side of any coupling in the hotspot data of memory cell 102 storages of server, the unit 104 that returns of described server 10 directly returned a connection failure information to described intelligent terminal.
Need to prove, write down those in the hotspot data of server 10 storage and be ready limited open, the information of being ready to be defined employed those hotspot of crowd, in the time of near intelligent terminal arrives these hotspot, from the connected mode of these hotspot of server 10 inquiry, the configuration that can carry out these hotspot automatically be connected.
In the real world applications, place in a lot of chain operations, the inside is that the hotspot that uses for the client is arranged, and the operator does not wish that their interior intelligent terminal of any one hotspot coverage all directly uses this hotspot, but wishes only to be themselves membership service.So these hotspot normally need password can land use; Simultaneously, owing to be chain operation, so have a lot of StoreFronts, when the operator does not wish that their member enters a StoreFront at every turn, all need to carry out the setting of hotspot password again,, make their member so they can use the present invention, enter into after StoreFront or the place of business at every turn, just automatically carry out wireless connections.Certainly, above-mentioned only is to the illustrating of application of the present invention, and is not in order to limit the present invention.
To sum up, hotspot method of attachment provided by the invention and device, make when intelligent terminal arrival hotspot is neighbouring, the hotspot that can be dynamically connected certainly and once successfully connect, and by setting up the server of storage hotspot data, do not exist or connects when getting nowhere, can inquire the hotspot that mates on the server at the hotspot that once successfully connected, and the configuration of carrying out these hotspot automatically be connected, realized the seamless link of hotspot.
Obviously, those skilled in the art can carry out various changes and modification to invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.