Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
An embodiment of the present invention provides a kind of data verification methods based on WiFi connections, can be applied to client, such as
Shown in Fig. 1, the method includes:
101, before client needs to send WiFi connection requests to server-side, what the client acquisition locally preserved
Wi-Fi hotspot list.
Wherein, the Wi-Fi hotspot list includes multiple Wi-Fi hotspot information that the server-side can provide WiFi connections.
The hot information can be name information, ID (Identity, identity number) information of hot spot etc. of hot spot.
102, judge in the multiple Wi-Fi hotspot information with the presence or absence of WiFi corresponding with WiFi connection requests heat
Point information.
For example, the hot information can be the name information of hot spot, include that WiFi can be provided in Wi-Fi hotspot list
The name information of four Wi-Fi hotspots of connection, respectively TP-LINK01, TP-LINK02, TP-LINK03, TP-LINK04, when
Need the Wi-Fi hotspot connected name information be TP-LINK05 when, determine in the name information of four Wi-Fi hotspots not
In the presence of the name information for the Wi-Fi hotspot for needing to connect;When the name information for the Wi-Fi hotspot for needing to connect is TP-LINK01,
Determine there is the name information for the Wi-Fi hotspot for needing to connect in the name information of four Wi-Fi hotspots.
If 103, in the presence of to the server-side transmission WiFi connection requests.
Wherein, the Wi-Fi hotspot information is carried in the WiFi connection requests.
For the embodiment of the present invention, asked if existing to connect with WiFi during multiple Wi-Fi hotspot information of WiFi connections can be provided
Corresponding Wi-Fi hotspot information is sought, then the WiFi connection requests are sent to server-side, for asking WiFi to connect.
A kind of data verification method based on WiFi connections provided in an embodiment of the present invention.When client is needed to server-side
Before sending WiFi connection requests, the client obtains the Wi-Fi hotspot list locally preserved, the Wi-Fi hotspot row first
Table includes multiple Wi-Fi hotspot information that the server-side can provide WiFi connections;Then judge the multiple Wi-Fi hotspot information
In whether there is Wi-Fi hotspot information corresponding with the WiFi connection requests;If in the presence of described in server-side transmission
WiFi connection requests carry the Wi-Fi hotspot information in the WiFi connection requests.It is sent out to server-side with current client
When sending WiFi connection requests, the WiFi of client request can only be judged whether by server-side after server-side receives request
The mode of hot spot is compared, and the embodiment of the present invention to server-side before sending WiFi connection requests, by client to needing to send
The validity of WiFi connection requests judged that the WiFi connection requests that will be successfully connected are sent to server-side, can be with
The success rate for improving WiFi connections avoids the occurrence of the case where sending invalid WiFi connection requests, alleviates and caused to network transmission
Pressure.
An embodiment of the present invention provides data verification method of the another kind based on WiFi connections, can be applied to client,
As shown in Fig. 2, the method includes:
201, the Wi-Fi hotspot list that server-side is sent is received.
Wherein, the Wi-Fi hotspot list includes multiple Wi-Fi hotspot information that the server-side can provide WiFi connections.
The hot information can be the name information of hot spot, hot spot id information etc..
For execute the embodiment of the present invention when, step 201 specifically can with but be not limited to following manner comprising:It receives
What the server-side was sent carries out the compressed Wi-Fi hotspot list by preset compress technique.Wherein, the preset pressure
Contracting technology can be space suppression, keyword coding, Huffman statistical method, the technologies such as Bloom filter Bloom Filter.
Wherein, the optimized integration of the Bloom filter Bloom Filter technologies is that a very long binary digit vector sum is a series of
Random Hash function, the Bloom Filter are a kind of lookup algorithms based on hash, for search element whether
It is compared with hash table in set, the advantages of Bloom Filter is to save space, can be indicated to mass data collection
And search operation.The present invention implement in specific execute, it is preferable to use the preset compress technique be Bloom filter Bloom
The compression ratio of data can be further improved based on its own characteristic, and then reduce the data for needing to transmit for Filter technologies.
For the embodiment of the present invention, after server-side is compressed Wi-Fi hotspot list by preset compress technique, then send out
Client is given to be received, it is possible to reduce the data of transmission, and then the limitation due to transmission speed can be reduced, cause to occur
The possibility of data transmission difficulty, so as to improve the efficiency of data transmission.
202, the Wi-Fi hotspot list is preserved.
For the embodiment of the present invention, the preset verification data can be stored in the database of the client,
The preset verification data can be stored in the predetermined file of the client, the embodiment of the present invention does not limit.
For the embodiment of the present invention, preset verification data can be stored in the database of client, when client needs
When sending service request to the server-side, the client obtains preset verification data and is judged, it is ensured that judges
Real-time, no longer need to receive preset verification data from server-side, the efficiency of judgement can be improved.
203, before client needs to send WiFi connection requests to the server-side, the client obtains local protect
The Wi-Fi hotspot list deposited.
For the embodiment of the present invention, Wi-Fi hotspot list can be stored in the database of client, when client needs
When sending WiFi connection requests to the server-side, the client obtains the Wi-Fi hotspot row from the database
Table.
204, judge in the multiple Wi-Fi hotspot information with the presence or absence of WiFi corresponding with WiFi connection requests heat
Point information.
For the embodiment of the present invention, step 204 specifically can with but be not limited to following manner, including:Judge the multiple
It whether there is the identification information of Wi-Fi hotspot corresponding with the WiFi connection requests in the identification information of Wi-Fi hotspot;If depositing
, it is determined that there is Wi-Fi hotspot information corresponding with the WiFi connection requests in the multiple Wi-Fi hotspot information;If no
In the presence of, it is determined that Wi-Fi hotspot information corresponding with the WiFi connection requests is not present in the multiple Wi-Fi hotspot information.
For example, the identification information can be name information, include that can carry in the Wi-Fi hotspot list that client obtains
For the name information of three Wi-Fi hotspots of WiFi connections, respectively MERCURY01, MERCURY02, MERCURY03, work as needs
When the name information of the Wi-Fi hotspot of connection is MERCURY02, determining to exist in the name information of three Wi-Fi hotspots needs
The name information for the Wi-Fi hotspot to be connected;When the name information for the Wi-Fi hotspot for needing to connect is TP-LINK02, institute is determined
State the name information of the Wi-Fi hotspot connected there is no needs in the name information of three Wi-Fi hotspots.
If 205a, in the presence of sending the WiFi connection requests to the server-side.
Wherein, the Wi-Fi hotspot information is carried in the WiFi connection requests.
For the embodiment of the present invention, if server-side can provide and exist in multiple Wi-Fi hotspot information of WiFi connections and needs
The corresponding Wi-Fi hotspot information of WiFi connection requests of transmission then sends the WiFi connection requests to server-side.With current visitor
When family end sends WiFi connection requests to server-side, visitor can only be judged whether by server-side after server-side receives request
The mode of the Wi-Fi hotspot of family end request is compared, and the embodiment of the present invention to server-side before sending WiFi connection requests, to needing
The validity for the WiFi connection requests to be sent is prejudged, and the WiFi connection requests that will be successfully connected are sent to service
End, can improve the success rate of WiFi connections, avoid the occurrence of the case where sending invalidation request, can mitigate and be caused to network transmission
Pressure.
If the step 205b arranged side by side with step 205a, being not present, the WiFi connection requests are sent to the server-side
Corresponding Wi-Fi hotspot information.
Further, so that server-side updates the Wi-Fi hotspot list.
For the embodiment of the present invention, if server-side can provide in multiple Wi-Fi hotspot information of WiFi connections there is no with
The corresponding Wi-Fi hotspot information of WiFi connection requests then sends the corresponding WiFi heat of the WiFi connection requests to the server-side
Point information, so that server-side updates the Wi-Fi hotspot list, it can be further perfect to Wi-Fi hotspot list, work as client
End need carry out WiFi connections when, increase the hot spot quantity that can carry out WiFi connections, so can improve WiFi connections at
Power.
Further, it can also be received according to preset time interval in the Wi-Fi hotspot list that the server-side is sent
The identification information of newly-increased Wi-Fi hotspot;The Wi-Fi hotspot list in the database is updated.When described preset
Between be spaced and can be configured according to the demand of user, can also be configured according to default mode, the embodiment of the present invention is not done
It limits.For example, time interval could be provided as 1 minute, 10 minutes, 1 hour etc..
For the embodiment of the present invention, increased newly in the Wi-Fi hotspot list sent according to preset time interval reception server-side
The identification information of Wi-Fi hotspot, and the Wi-Fi hotspot list in database is updated, the accuracy of judgement is improved,
The case where avoiding the occurrence of erroneous judgement.
Further, the geographical location information of the client can also be obtained, and the geographical location information is sent
To the server-side, so that the server-side sends Wi-Fi hotspot row according to the geographical location information, to the client
Table, wherein the Wi-Fi hotspot list, which includes geographic vicinity residing for the client, can carry out the multiple of WiFi connections
Wi-Fi hotspot information.
For the embodiment of the present invention, by obtaining the geographical location information of the client, and the geographical location is believed
Breath is sent to the server-side so that the server-side is according to the geographical location information, send to the client described in
Client geographic vicinity can carry out the Wi-Fi hotspot list of WiFi connections, it is possible to reduce the data of transmission, and then can subtract
The small limitation due to transmission speed leads to the possibility for data transmission difficulty occur, so as to improve the efficiency of data transmission.
For the concrete application scene of another data verification method based on WiFi connections provided in an embodiment of the present invention
Can be as follows, but not limited to this, including:Client receives the Wi-Fi hotspot list of server-side transmission, the WiFi first
Hotspot list includes the name information that the server-side can provide four Wi-Fi hotspots of WiFi connections, respectively MERCURY-
888, TP-LINK-99, D-LINK-01, NETCORE-66, wherein the Wi-Fi hotspot list before being sent to client,
It is compressed by Bloom Filter technologies, reduces the data for needing to transmit;Then the client is by the WiFi
Hotspot list is stored in built-in database;When client needs to send WiFi connection requests to the server-side,
In, the name information of the corresponding Wi-Fi hotspot of the WiFi connection requests is NETCORE-66, described in the client obtains
Wi-Fi hotspot list judges that the server-side can provide four WiFi heat of WiFi connections according to the Wi-Fi hotspot list
There are the name informations of the corresponding Wi-Fi hotspot of the WiFi connection requests in the name information of point, are finally sent out to the server-side
The WiFi connection requests are sent, for asking WiFi to connect;If the title of the corresponding Wi-Fi hotspot of the WiFi connection requests
When information is Liebao-WiFi, according to the Wi-Fi hotspot list, judge that the server-side can provide four of WiFi connections
The name information of the corresponding Wi-Fi hotspot of the WiFi connection requests is not present in the name information of Wi-Fi hotspot, finally not to institute
It states server-side and sends the WiFi connection requests.
Data verification method of the another kind based on WiFi connections provided in an embodiment of the present invention.When client is needed to service
Before end sends WiFi connection requests, the client obtains the Wi-Fi hotspot list locally preserved, the Wi-Fi hotspot first
List includes multiple Wi-Fi hotspot information that the server-side can provide WiFi connections;Then judge the multiple Wi-Fi hotspot letter
It whether there is Wi-Fi hotspot information corresponding with the WiFi connection requests in breath;If in the presence of institute is sent to the server-side
WiFi connection requests are stated, the Wi-Fi hotspot information is carried in the WiFi connection requests.With current client to server-side
When sending WiFi connection requests, client request can only be judged whether by server-side after server-side receives request
The mode of Wi-Fi hotspot is compared, and the embodiment of the present invention to server-side before sending WiFi connection requests, by client to needing
The validity of the WiFi connection requests of transmission is judged that the WiFi connection requests that will be successfully connected are sent to server-side,
The success rate that WiFi connections can be improved avoids the occurrence of the case where sending invalid WiFi connection requests, alleviates to network transmission
Caused by pressure.
An embodiment of the present invention provides another data verification methods based on WiFi connections, can be applied to server-side,
As shown in figure 3, the method includes:
301, the Wi-Fi hotspot list that server-side preserves is obtained.
Wherein, the Wi-Fi hotspot list includes multiple Wi-Fi hotspot information that the server-side can provide WiFi connections.
The hot information can be the name information of hot spot, hot spot id information etc..
302, the Wi-Fi hotspot list is sent to the client.
Further, so that when client needs to send WiFi connection requests to server-side, judge the multiple
It whether there is Wi-Fi hotspot information corresponding with the WiFi connection requests in Wi-Fi hotspot information.
For the embodiment of the present invention, for when client needs to send WiFi connection requests to server-side, described in judgement
The step of whether there is Wi-Fi hotspot information corresponding with the WiFi connection requests in multiple Wi-Fi hotspot information can refer to
Corresponding description in the step 102, details are not described herein.
303, the WiFi connection requests that the client is sent are received.
Wherein, the Wi-Fi hotspot information is carried in the WiFi connection requests.The WiFi connection requests are described
What client was sent when determining that the server-side can handle the WiFi connection requests according to the Wi-Fi hotspot list.
Another data verification method based on WiFi connections provided in an embodiment of the present invention.When client is needed to service
Before end sends WiFi connection requests, the client obtains the Wi-Fi hotspot list locally preserved, the Wi-Fi hotspot first
List includes multiple Wi-Fi hotspot information that the server-side can provide WiFi connections;Then judge the multiple Wi-Fi hotspot letter
It whether there is Wi-Fi hotspot information corresponding with the WiFi connection requests in breath;If in the presence of institute is sent to the server-side
WiFi connection requests are stated, the Wi-Fi hotspot information is carried in the WiFi connection requests.With current client to server-side
When sending WiFi connection requests, client request can only be judged whether by server-side after server-side receives request
The mode of Wi-Fi hotspot is compared, and the embodiment of the present invention to server-side before sending WiFi connection requests, by client to needing
The validity of the WiFi connection requests of transmission is judged that the WiFi connection requests that will be successfully connected are sent to server-side,
The success rate that WiFi connections can be improved avoids the occurrence of the case where sending invalid WiFi connection requests, alleviates to network transmission
Caused by pressure.
An embodiment of the present invention provides another data verification methods based on WiFi connections, can be applied to server-side,
As shown in figure 4, the method includes:
401, the Wi-Fi hotspot list that server-side preserves is obtained.
Wherein, the Wi-Fi hotspot list includes multiple Wi-Fi hotspot information that the server-side can provide WiFi connections.
The hot information can be the name information of hot spot, hot spot id information etc..
402, the Wi-Fi hotspot list is compressed by preset compress technique.
Wherein, the preset compress technique can be space suppression, keyword coding, Huffman statistical method, the grand mistake of cloth
The technologies such as filter Bloom Filter.Wherein, the Bloom filter Bloom Filter technologies can refer to the step 201
In corresponding description, details are not described herein.The present invention implement in specific execute, it is preferable to use the preset compress technique be
Bloom filter Bloom Filter technologies, the compression ratio of data can be further improved based on its own characteristic, and then subtract
The data transmitted are needed less.
403, the compressed Wi-Fi hotspot list is sent to the client.
Further, so that when client needs to send WiFi connection requests to server-side, judge the multiple
It whether there is Wi-Fi hotspot information corresponding with the WiFi connection requests in Wi-Fi hotspot information.
For the embodiment of the present invention, for when client needs to send WiFi connection requests to server-side, described in judgement
The step of whether there is Wi-Fi hotspot information corresponding with the WiFi connection requests in multiple Wi-Fi hotspot information can refer to
Corresponding description in the step 102, details are not described herein.
For the embodiment of the present invention, after server-side is compressed Wi-Fi hotspot list by preset compress technique, then send out
Client is given to be received, it is possible to reduce the data of transmission, and then the limitation due to transmission speed can be reduced, cause to occur
The possibility of data transmission difficulty, so as to improve the efficiency of data transmission.
404a, the WiFi connection requests that the client is sent are received.
Wherein, the Wi-Fi hotspot information is carried in the WiFi connection requests, the WiFi connection requests are described
What client was sent when determining that the server-side can handle the WiFi connection requests according to the Wi-Fi hotspot list.Into one
Step ground, the WiFi connection requests are specifically multiple WiFi heat that the client can provide WiFi connections according to the server-side
What the identification information of point was sent when determining in the presence of Wi-Fi hotspot information corresponding with the WiFi connection requests.
It is corresponding with the step 404b, the reception WiFi connection requests of client transmission that step 404a is arranged side by side
Wi-Fi hotspot information.
Wherein, the Wi-Fi hotspot information is that the client determines the server-side not according to the Wi-Fi hotspot list
It is sent when the energy processing WiFi connection requests.
405b, according to the corresponding Wi-Fi hotspot information of the WiFi connection requests, update the Wi-Fi hotspot list.
For the embodiment of the present invention, however, it is determined that Wi-Fi hotspot information corresponding with the WiFi connection requests is not present, then
The corresponding Wi-Fi hotspot information of the WiFi connection requests that the client is sent is received, according to the WiFi connection requests pair
The Wi-Fi hotspot information answered updates the Wi-Fi hotspot list, can be further perfect to Wi-Fi hotspot list, works as client
When needing to carry out WiFi connections, the hot spot quantity that can carry out WiFi connections is increased, and then the success of WiFi connections can be improved
Rate.
Further, the Wi-Fi hotspot list can also be updated according to preset time interval;The Wi-Fi hotspot is arranged
The identification information of the Wi-Fi hotspot increased newly in table is sent to the client, so that client is to the Wi-Fi hotspot in database
List is updated.The preset time interval can be configured according to the demand of user, can also according to default mode into
Row setting, the embodiment of the present invention do not limit.For example, time interval could be provided as 10 seconds, one day, one week etc..
For the embodiment of the present invention, the Wi-Fi hotspot list is updated according to preset time interval, and the WiFi is warm
The identification information of the Wi-Fi hotspot increased newly in point list is sent to the client, so that client is to the WiFi in database
Hotspot list is updated, the case where can improving the accuracy of judgement, avoid the occurrence of erroneous judgement.
Another data verification method based on WiFi connections provided in an embodiment of the present invention.When client is needed to service
Before end sends WiFi connection requests, the client obtains the Wi-Fi hotspot list locally preserved, the Wi-Fi hotspot first
List includes multiple Wi-Fi hotspot information that the server-side can provide WiFi connections;Then judge the multiple Wi-Fi hotspot letter
It whether there is Wi-Fi hotspot information corresponding with the WiFi connection requests in breath;If in the presence of institute is sent to the server-side
WiFi connection requests are stated, the Wi-Fi hotspot information is carried in the WiFi connection requests.With current client to server-side
When sending WiFi connection requests, client request can only be judged whether by server-side after server-side receives request
The mode of Wi-Fi hotspot is compared, and the embodiment of the present invention to server-side before sending WiFi connection requests, by client to needing
The validity of the WiFi connection requests of transmission is judged that the WiFi connection requests that will be successfully connected are sent to server-side,
The success rate that WiFi connections can be improved avoids the occurrence of the case where sending invalid WiFi connection requests, alleviates to network transmission
Caused by pressure.
Further, the specific implementation as Fig. 1 the methods, an embodiment of the present invention provides a kind of clients, such as Fig. 5
Shown, the client includes:Acquiring unit 51, judging unit 52, transmission unit 53.
The acquiring unit 51 can be used for before client needs to send WiFi connection requests to server-side, described
Client obtains the Wi-Fi hotspot list locally preserved, and the Wi-Fi hotspot list, which includes the server-side, can provide WiFi connections
Multiple Wi-Fi hotspot information.
The judging unit 52, can be used for judging the acquiring unit 51 obtain multiple Wi-Fi hotspot information in whether
In the presence of Wi-Fi hotspot information corresponding with the WiFi connection requests.
The transmission unit 53 is judged to deposit in the multiple Wi-Fi hotspot information if can be used for the judging unit 52
In Wi-Fi hotspot information corresponding with the WiFi connection requests, then the WiFi connection requests, institute are sent to the server-side
It states and carries the Wi-Fi hotspot information in WiFi connection requests.
It should be noted that other of each functional unit involved by a kind of client provided in an embodiment of the present invention are accordingly retouched
It states, can be with the corresponding description in reference chart 1, details are not described herein.
A kind of client provided in an embodiment of the present invention.When client need to server-side send WiFi connection requests it
Before, the client obtains the Wi-Fi hotspot list locally preserved first, and the Wi-Fi hotspot list can comprising the server-side
Multiple Wi-Fi hotspot information of WiFi connections are provided;Then judge in the multiple Wi-Fi hotspot information with the presence or absence of with it is described
The corresponding Wi-Fi hotspot information of WiFi connection requests;If in the presence of, the WiFi connection requests are sent to the server-side, it is described
The Wi-Fi hotspot information is carried in WiFi connection requests.When sending WiFi connection requests to server-side with current client,
It can only judge whether that the mode of the Wi-Fi hotspot of client request is compared by server-side after server-side receives request, this
Inventive embodiments to server-side before sending WiFi connection requests, by client to needing having for the WiFi connection requests sent
Effect property is judged that the WiFi connection requests that will be successfully connected are sent to server-side, can improve the success of WiFi connections
Rate avoids the occurrence of the case where sending invalid WiFi connection requests, alleviates the pressure caused by network transmission.
Further, the specific implementation as Fig. 2 the methods, an embodiment of the present invention provides another clients, such as
Shown in Fig. 6, the client includes:Acquiring unit 61, judging unit 62, transmission unit 63.
The acquiring unit 61 can be used for before client needs to send WiFi connection requests to server-side, described
Client obtains the Wi-Fi hotspot list locally preserved, and the Wi-Fi hotspot list, which includes the server-side, can provide WiFi connections
Multiple Wi-Fi hotspot information.
The judging unit 62, can be used for judging the acquiring unit 61 obtain multiple Wi-Fi hotspot information in whether
In the presence of Wi-Fi hotspot information corresponding with the WiFi connection requests.
The transmission unit 63 is judged to deposit in the multiple Wi-Fi hotspot information if can be used for the judging unit 62
In Wi-Fi hotspot information corresponding with the WiFi connection requests, then the WiFi connection requests, institute are sent to the server-side
It states and carries the Wi-Fi hotspot information in WiFi connection requests.
Optionally, the Wi-Fi hotspot information is the identification information of the Wi-Fi hotspot.
Further, the client further includes:Determination unit 64.
The judging unit 62, specifically can be used for judging in the identification information of the multiple Wi-Fi hotspot with the presence or absence of with
The identification information of the corresponding Wi-Fi hotspot of the WiFi connection requests.
The determination unit 64, if can be used for the mark letter that the judging unit 62 judges the multiple Wi-Fi hotspot
There is the identification information of Wi-Fi hotspot corresponding with the WiFi connection requests in breath, it is determined that the multiple Wi-Fi hotspot information
It is middle to there is Wi-Fi hotspot information corresponding with the WiFi connection requests.
The determination unit 64, if can be also used for the mark that the judging unit 62 judges the multiple Wi-Fi hotspot
The identification information of Wi-Fi hotspot corresponding with the WiFi connection requests is not present in information, it is determined that the multiple Wi-Fi hotspot
Wi-Fi hotspot information corresponding with the WiFi connection requests is not present in information.
Further, the client further includes:Receiving unit 65, storage unit 66.
The receiving unit 65 can be used for receiving the Wi-Fi hotspot list that the server-side is sent.
The storage unit 66 can be used to save the Wi-Fi hotspot list that the receiving unit receives.
The receiving unit 65 specifically can be used for receiving being pressed by preset compress technique for the server-side transmission
The Wi-Fi hotspot list after contracting.
Further, the client further includes:Updating unit 67.
The receiving unit 65 can be also used for receiving the WiFi that the server-side is sent according to preset time interval
The identification information of the Wi-Fi hotspot increased newly in hotspot list.
The updating unit 67 can be used for being updated to the Wi-Fi hotspot list that the client preserves.
The transmission unit 63 is judged if can be also used for the judging unit 62 in the multiple Wi-Fi hotspot information
There is no Wi-Fi hotspot information corresponding with the WiFi connection requests, then send the WiFi connection requests to the server-side
Corresponding Wi-Fi hotspot information.
Further, so that server-side updates the Wi-Fi hotspot list.
Optionally, the preset compress technique is Bloom filter Bloom Filter technologies.
It should be noted that other of each functional unit involved by another kind client provided in an embodiment of the present invention are corresponding
Description, can be with the corresponding description in reference chart 2, and details are not described herein.
Another kind client provided in an embodiment of the present invention.When client need to server-side send WiFi connection requests it
Before, the client obtains the Wi-Fi hotspot list locally preserved first, and the Wi-Fi hotspot list can comprising the server-side
Multiple Wi-Fi hotspot information of WiFi connections are provided;Then judge in the multiple Wi-Fi hotspot information with the presence or absence of with it is described
The corresponding Wi-Fi hotspot information of WiFi connection requests;If in the presence of, the WiFi connection requests are sent to the server-side, it is described
The Wi-Fi hotspot information is carried in WiFi connection requests.When sending WiFi connection requests to server-side with current client,
It can only judge whether that the mode of the Wi-Fi hotspot of client request is compared by server-side after server-side receives request, this
Inventive embodiments to server-side before sending WiFi connection requests, by client to needing having for the WiFi connection requests sent
Effect property is judged that the WiFi connection requests that will be successfully connected are sent to server-side, can improve the success of WiFi connections
Rate avoids the occurrence of the case where sending invalid WiFi connection requests, alleviates the pressure caused by network transmission.
Further, the specific implementation as Fig. 3 the methods, an embodiment of the present invention provides a kind of server-sides, such as Fig. 7
Shown, the server-side includes:Acquiring unit 71, transmission unit 72, receiving unit 73.
The acquiring unit 71 can be used for obtaining the Wi-Fi hotspot list that server-side preserves, the Wi-Fi hotspot list
Including the server-side can provide multiple Wi-Fi hotspot information of WiFi connections.
The transmission unit 72 can be used for sending the Wi-Fi hotspot row that the acquiring unit 71 obtains to the client
Table.
Further, so that when client needs to send WiFi connection requests to server-side, judge the multiple
It whether there is Wi-Fi hotspot information corresponding with the WiFi connection requests in Wi-Fi hotspot information.
The receiving unit 73 can be used for receiving the WiFi connection requests that the client is sent, the WiFi
The Wi-Fi hotspot information is carried in connection request, the WiFi connection requests are the clients according to the Wi-Fi hotspot
List, which determines, to be sent when the server-side can handle the service request.
It should be noted that other of each functional unit involved by a kind of server-side provided in an embodiment of the present invention are accordingly retouched
It states, can be with the corresponding description in reference chart 3, details are not described herein.
A kind of server-side provided in an embodiment of the present invention.When client need to server-side send WiFi connection requests it
Before, the client obtains the Wi-Fi hotspot list locally preserved first, and the Wi-Fi hotspot list can comprising the server-side
Multiple Wi-Fi hotspot information of WiFi connections are provided;Then judge in the multiple Wi-Fi hotspot information with the presence or absence of with it is described
The corresponding Wi-Fi hotspot information of WiFi connection requests;If in the presence of, the WiFi connection requests are sent to the server-side, it is described
The Wi-Fi hotspot information is carried in WiFi connection requests.When sending WiFi connection requests to server-side with current client,
It can only judge whether that the mode of the Wi-Fi hotspot of client request is compared by server-side after server-side receives request, this
Inventive embodiments to server-side before sending WiFi connection requests, by client to needing having for the WiFi connection requests sent
Effect property is judged that the WiFi connection requests that will be successfully connected are sent to server-side, can improve the success of WiFi connections
Rate avoids the occurrence of the case where sending invalid WiFi connection requests, alleviates the pressure caused by network transmission.
Further, the specific implementation as Fig. 4 the methods, an embodiment of the present invention provides another server-sides, such as
Shown in Fig. 8, the server-side includes:Acquiring unit 81, transmission unit 82, receiving unit 83.
The acquiring unit 81 can be used for obtaining the Wi-Fi hotspot list that server-side preserves, the Wi-Fi hotspot list
Including the server-side can provide multiple Wi-Fi hotspot information of WiFi connections.
The transmission unit 82 can be used for sending the Wi-Fi hotspot row that the acquiring unit 81 obtains to the client
Table.
Further, so that when client needs to send WiFi connection requests to server-side, judge the multiple
It whether there is Wi-Fi hotspot information corresponding with the WiFi connection requests in Wi-Fi hotspot information.
The receiving unit 83 can be used for receiving the WiFi connection requests that the client is sent, the WiFi
The Wi-Fi hotspot information is carried in connection request, the WiFi connection requests are the clients according to the Wi-Fi hotspot
List, which determines, to be sent when the server-side can handle the service request.
Optionally, the Wi-Fi hotspot information is the identification information of the Wi-Fi hotspot.
The receiving unit 83 specifically can be used for receiving the WiFi connection requests that the client is sent, described
The identification information of the Wi-Fi hotspot is carried in WiFi connection requests, the WiFi connection requests are the clients according to institute
The identification information for stating multiple Wi-Fi hotspots that server-side can provide WiFi connections is determined in the presence of corresponding with the WiFi connection requests
Wi-Fi hotspot information when send.
Further, the server-side further includes:Compression unit 84.
The compression unit 84, the Wi-Fi hotspot that can be used for obtaining the acquiring unit 81 by preset compress technique
List is compressed.
The transmission unit 82 specifically can be used for sending to the client compressed by the compression unit 84
The Wi-Fi hotspot list.
Further, the server-side further includes:Updating unit 85.
The updating unit 85 can be used for updating the Wi-Fi hotspot list according to preset time interval.
The transmission unit 82 can be also used for the identification information of the Wi-Fi hotspot increased newly in the Wi-Fi hotspot list
It is sent to the client.
Further, so that client is updated the Wi-Fi hotspot list in database.
The receiving unit 83, the WiFi connection requests that can be also used for receiving the client transmission are corresponding
Wi-Fi hotspot information, the Wi-Fi hotspot information are that the client determines the server-side not according to the Wi-Fi hotspot list
It is sent when the energy processing WiFi connection requests.
It is corresponding to can be also used for the WiFi connection requests received according to the receiving unit 83 for the updating unit 85
Wi-Fi hotspot information updates the Wi-Fi hotspot list.
Optionally, the preset compress technique is Bloom filter Bloom Filter technologies.
It should be noted that other of each functional unit involved by another kind server-side provided in an embodiment of the present invention are corresponding
Description, can be with the corresponding description in reference chart 4, and details are not described herein.
Another kind server-side provided in an embodiment of the present invention.When client need to server-side send WiFi connection requests it
Before, the client obtains the Wi-Fi hotspot list locally preserved first, and the Wi-Fi hotspot list can comprising the server-side
Multiple Wi-Fi hotspot information of WiFi connections are provided;Then judge in the multiple Wi-Fi hotspot information with the presence or absence of with it is described
The corresponding Wi-Fi hotspot information of WiFi connection requests;If in the presence of, the WiFi connection requests are sent to the server-side, it is described
The Wi-Fi hotspot information is carried in WiFi connection requests.When sending WiFi connection requests to server-side with current client,
It can only judge whether that the mode of the Wi-Fi hotspot of client request is compared by server-side after server-side receives request, this
Inventive embodiments to server-side before sending WiFi connection requests, by client to needing having for the WiFi connection requests sent
Effect property is judged that the WiFi connection requests that will be successfully connected are sent to server-side, can improve the success of WiFi connections
Rate avoids the occurrence of the case where sending invalid WiFi connection requests, alleviates the pressure caused by network transmission.
Further, an embodiment of the present invention provides a kind of data verification systems based on WiFi connections, as shown in figure 9,
The system comprises:Client 91, server-side 92.
The server-side 92 can be used for obtaining the Wi-Fi hotspot list that server-side 92 preserves, the Wi-Fi hotspot first
List includes multiple Wi-Fi hotspot information that the server-side 92 can provide WiFi connections, then sends institute to the client 91
State Wi-Fi hotspot list.
The client 91 can be used for receiving the Wi-Fi hotspot list of the transmission of the server-side 92 and preserve, when
Before the client 91 needs to send WiFi connection requests to the server-side 92, the client 91 obtains local guarantor first
Then the Wi-Fi hotspot list deposited judges in the multiple Wi-Fi hotspot information with the presence or absence of corresponding with the WiFi connection requests
Wi-Fi hotspot information, and if it exists, then the WiFi connection requests are sent to the server-side 92, in the WiFi connection requests
Carry the Wi-Fi hotspot information.
The server-side 92 can be also used for the WiFi connection requests for receiving the transmission of the client 91.
A kind of data verification system based on WiFi connections provided in an embodiment of the present invention.When client is needed to server-side
Before sending WiFi connection requests, the client obtains the Wi-Fi hotspot list locally preserved, the Wi-Fi hotspot row first
Table includes multiple Wi-Fi hotspot information that the server-side can provide WiFi connections;Then judge the multiple Wi-Fi hotspot information
In whether there is Wi-Fi hotspot information corresponding with the WiFi connection requests;If in the presence of described in server-side transmission
WiFi connection requests carry the Wi-Fi hotspot information in the WiFi connection requests.It is sent out to server-side with current client
When sending WiFi connection requests, the WiFi of client request can only be judged whether by server-side after server-side receives request
The mode of hot spot is compared, and the embodiment of the present invention to server-side before sending WiFi connection requests, by client to needing to send
The validity of WiFi connection requests judged that the WiFi connection requests that will be successfully connected are sent to server-side, can be with
The success rate for improving WiFi connections avoids the occurrence of the case where sending invalid WiFi connection requests, alleviates and caused to network transmission
Pressure.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment
" first ", " second " etc. be and not represent the quality of each embodiment for distinguishing each embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect
Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors
Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor (DSP) realize the data check according to the ... of the embodiment of the present invention based on WiFi connections
The some or all functions of some or all components in method, client, server-side and system.It is of the invention acceptable real
It is now for executing some or all equipment or program of device of method as described herein (for example, computer journey
Sequence and computer program product).It is such to realize that the program of the present invention may be stored on the computer-readable medium, or can be with
Form with one or more signal.Such signal can be downloaded from internet website and be obtained, or be believed in carrier
It provides on number, or provides in any other forms.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch
To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame
Claim.
A1, a kind of data verification method based on WiFi connections, including:
Before client needs to send WiFi connection requests to server-side, the client obtains the WiFi locally preserved
Hotspot list, the Wi-Fi hotspot list include multiple Wi-Fi hotspot information that the server-side can provide WiFi connections;
Judge to believe with the presence or absence of Wi-Fi hotspot corresponding with the WiFi connection requests in the multiple Wi-Fi hotspot information
Breath;
If in the presence of sending the WiFi connection requests to the server-side, being carried in the WiFi connection requests
State Wi-Fi hotspot information.
A2, the data verification method based on WiFi connections as described in A1, the Wi-Fi hotspot information are WiFi heat
The identification information of point, it is described to judge in the multiple Wi-Fi hotspot information with the presence or absence of corresponding with the WiFi connection requests
Wi-Fi hotspot information includes:
Judge to whether there is WiFi corresponding with the WiFi connection requests in the identification information of the multiple Wi-Fi hotspot
The identification information of hot spot;
If in the presence of, it is determined that there is WiFi corresponding with WiFi connection requests heat in the multiple Wi-Fi hotspot information
Point information;
If being not present, it is determined that there is no corresponding with the WiFi connection requests in the multiple Wi-Fi hotspot information
Wi-Fi hotspot information.
A3, the data verification method based on WiFi connections as described in A2, it is described when client needs to send to server-side
Before WiFi connection requests, before the client obtains the Wi-Fi hotspot list locally preserved, further include:
Receive the Wi-Fi hotspot list that the server-side is sent;
Preserve the Wi-Fi hotspot list.
A4, the data verification method based on WiFi connections as described in A3, it is described to receive the described of the server-side transmission
Wi-Fi hotspot list includes:
Receive the server-side transmission carries out the compressed Wi-Fi hotspot list by preset compress technique.
A5, the data verification method based on WiFi connections as described in A3, the method further include:
The Wi-Fi hotspot increased newly in the Wi-Fi hotspot list that the server-side is sent is received according to preset time interval
Identification information;
The Wi-Fi hotspot list preserved to the client is updated.
A6, the data verification method based on WiFi connections as described in A1, it is described to judge the multiple Wi-Fi hotspot information
In with the presence or absence of after Wi-Fi hotspot information corresponding with the WiFi connection requests, further include:
If being not present, the corresponding Wi-Fi hotspot information of the WiFi connection requests is sent to the server-side, so that
Server-side updates the Wi-Fi hotspot list.
Data verification method of A7, such as A1-A6 any one of them based on WiFi connections, the preset compress technique are cloth
Grand filter B loom Filter technologies.
B8, a kind of data verification method based on WiFi connections, including:
The Wi-Fi hotspot list that server-side preserves is obtained, the Wi-Fi hotspot list, which includes the server-side, can provide WiFi
Multiple Wi-Fi hotspot information of connection;
The Wi-Fi hotspot list is sent to the client, so that when client needs to send WiFi companies to server-side
When connecing request, judge to believe with the presence or absence of Wi-Fi hotspot corresponding with the WiFi connection requests in the multiple Wi-Fi hotspot information
Breath;
The WiFi connection requests that the client is sent are received, the WiFi is carried in the WiFi connection requests
Hot information, the WiFi connection requests are that the client determines that the server-side can be located according to the Wi-Fi hotspot list
It manages and sends when the WiFi connection requests.
B9, the data verification method based on WiFi connections as described in B8, the Wi-Fi hotspot information are WiFi heat
The identification information of point, the WiFi connection requests for receiving the client transmission include:
The WiFi connection requests that the client is sent are received, the WiFi is carried in the WiFi connection requests
The identification information of hot spot, the WiFi connection requests are the clients can provide the multiple of WiFi connections according to the server-side
What the identification information of Wi-Fi hotspot was sent when determining in the presence of Wi-Fi hotspot information corresponding with the WiFi connection requests.
B10, the data verification method based on WiFi connections as described in B9, it is described to send the WiFi to the client
Before hotspot list, further include:
The Wi-Fi hotspot list is compressed by preset compress technique;
It is described to include to the client transmission Wi-Fi hotspot list:
The compressed Wi-Fi hotspot list is sent to the client.
B11, the data verification method based on WiFi connections as described in B10, the method further include:
The Wi-Fi hotspot list is updated according to preset time interval;
The identification information of the Wi-Fi hotspot increased newly in the Wi-Fi hotspot list is sent to the client, so that objective
Family end is updated the Wi-Fi hotspot list in database.
B12, the data verification method based on WiFi connections as described in B8, the method further include:
Receive the corresponding Wi-Fi hotspot information of the WiFi connection requests that the client is sent, the Wi-Fi hotspot letter
Breath is that the client is sent out when determining that the server-side cannot handle the WiFi connection requests according to the Wi-Fi hotspot list
It send;
According to the corresponding Wi-Fi hotspot information of the WiFi connection requests, the Wi-Fi hotspot list is updated.
Data verification method of B13, such as B8-B12 any one of them based on WiFi connections, the preset compress technique are
Bloom filter Bloom Filter technologies.
C14, a kind of client, including:
Acquiring unit is needed for working as client before server-side transmission WiFi connection requests, and the client obtains
The Wi-Fi hotspot list locally preserved, the Wi-Fi hotspot list include multiple WiFi that the server-side can provide WiFi connections
Hot information;
Judging unit, for judge in multiple Wi-Fi hotspot information that the acquiring unit obtains with the presence or absence of with it is described
The corresponding Wi-Fi hotspot information of WiFi connection requests;
Transmission unit, if judging exist and the WiFi in the multiple Wi-Fi hotspot information for the judging unit
The corresponding Wi-Fi hotspot information of connection request, then send the WiFi connection requests to the server-side, and the WiFi connections are asked
The Wi-Fi hotspot information is carried in asking.
C15, the client as described in C14, the Wi-Fi hotspot information are the identification information of the Wi-Fi hotspot, the visitor
Family end further includes:Determination unit;
The judging unit, be specifically used for judging whether there is in the identification information of the multiple Wi-Fi hotspot with it is described
The identification information of the corresponding Wi-Fi hotspot of WiFi connection requests;
The determination unit, if existing in judging the identification information of the multiple Wi-Fi hotspot for judging unit and institute
State the identification information of the corresponding Wi-Fi hotspot of WiFi connection requests, it is determined that in the multiple Wi-Fi hotspot information exist with it is described
The corresponding Wi-Fi hotspot information of WiFi connection requests;
The determination unit is judged to be not present in the identification information of the multiple Wi-Fi hotspot if being additionally operable to judging unit
The identification information of Wi-Fi hotspot corresponding with the WiFi connection requests, it is determined that be not present in the multiple Wi-Fi hotspot information
Wi-Fi hotspot information corresponding with the WiFi connection requests.
C16, the client as described in C14, the client further include:
Receiving unit, the Wi-Fi hotspot list sent for receiving the server-side;
Storage unit, the Wi-Fi hotspot list received for preserving the receiving unit.
C17, the client as described in C16,
The receiving unit is specifically used for receiving the compressed by the progress of preset compress technique of the server-side transmission
The Wi-Fi hotspot list.
C18, the client as described in C16, the client further include:Updating unit;
The receiving unit is additionally operable to receive the Wi-Fi hotspot row that the server-side is sent according to preset time interval
The Wi-Fi hotspot information increased newly in table;
The updating unit, for being updated to the Wi-Fi hotspot list that the client preserves.
C19, the client as described in C14, the transmission unit, if be additionally operable to the judging unit judge it is the multiple
Wi-Fi hotspot information corresponding with the WiFi connection requests is not present in Wi-Fi hotspot information, then sends institute to the server-side
The corresponding Wi-Fi hotspot information of WiFi connection requests is stated, so that server-side updates the Wi-Fi hotspot list.
C20, such as C14-C19 any one of them clients, the preset compress technique are Bloom filter Bloom
Filter technologies.
D21, a kind of server-side, the server-side include:
Acquiring unit, the Wi-Fi hotspot list for obtaining server-side preservation, the Wi-Fi hotspot list include the clothes
Business end can provide multiple Wi-Fi hotspot information of WiFi connections;
Transmission unit, for sending the Wi-Fi hotspot list that the acquiring unit obtains to the client, so that working as
Client need to server-side send WiFi connection requests when, judge in the multiple Wi-Fi hotspot information with the presence or absence of with it is described
The corresponding Wi-Fi hotspot information of WiFi connection requests;
Receiving unit, the WiFi connection requests sent for receiving the client, in the WiFi connection requests
The Wi-Fi hotspot information is carried, the WiFi connection requests are that the client determines institute according to the Wi-Fi hotspot list
It states server-side and can handle and send when the service request.
D22, the server-side as described in D21, the Wi-Fi hotspot information are the identification information of the Wi-Fi hotspot,
The receiving unit is specifically used for receiving the WiFi connection requests that the client is sent, and the WiFi connects
The identification information that the Wi-Fi hotspot is carried in request is connect, the WiFi connection requests are the clients according to the service
The identification information that end can provide multiple Wi-Fi hotspots of WiFi connections determines there is WiFi corresponding with the WiFi connection requests
It is sent when hot information.
D23, the server-side as described in D22, the server-side further include:Compression unit;
The compression unit, the Wi-Fi hotspot list for being obtained the acquiring unit by preset compress technique carry out
Compression;
The transmission unit is specifically used for sending by the compressed WiFi of the compression unit to the client
Hotspot list.
D24, the server-side as described in D23, the server-side further include:Updating unit;
The updating unit, for updating the Wi-Fi hotspot list according to preset time interval;
The transmission unit, for the identification information of the Wi-Fi hotspot increased newly in the Wi-Fi hotspot list to be sent to institute
Client is stated, so that client is updated the Wi-Fi hotspot list in database.
D25, the server-side as described in D21,
The receiving unit is additionally operable to receive the corresponding Wi-Fi hotspot of the WiFi connection requests that the client is sent
Information, the Wi-Fi hotspot information are that the client determines that the server-side cannot handle institute according to the Wi-Fi hotspot list
It states and sends when WiFi connection requests;
The updating unit is additionally operable to the corresponding Wi-Fi hotspot letter of WiFi connection requests received according to the receiving unit
Breath, updates the Wi-Fi hotspot list.
D26, such as D21-A25 any one of them server-sides, the preset compress technique are Bloom filter Bloom
Filter technologies.
E27, a kind of data verification system based on WiFi connections, including:Such as C14-C20 any one of them client and
Such as D21-D26 any one of them server-sides.