Wifi sharing method and wifi sharing system
A technology for clients to request information, applied in the field of communication, can solve problems such as increased use costs and decreased user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] Before introducing the method embodiment of the present invention, first introduce the system architecture of wifi sharing in the embodiment of the present invention, as figure 1 As shown, the system includes: a client 101 and a server 102 . server 102 as figure 1 As shown, communication connections can be realized with N clients 101, and N is a natural number, wherein, the communication mode between the clients 101 and the server 102 can be wired communication or wireless communication, and the client 101 can specifically be A smart phone may also be a tablet computer, or a smart wearable device, etc., which are not limited in this application.
[0055] This embodiment provides a method for wifi sharing, which is applied to the server side, such as figure 2 As shown, the method includes:
[0056] S201, the server receives the first request information sent by the client, searches for wifi information in the search area to which the current location of the client be...
Embodiment 2
[0099] The present invention also provides a method for wifi sharing, the method is applied on the client side, and the method includes:
[0100] S301, the client sends the first request information, so that the server searches for wifi information in the search area to which the current location of the client belongs based on the first request information, and returns the queried ID of the available wifi to the client .
[0101] In this step, before the service server receives the first request information sent by the client, it is also used to store the wifi information uploaded by the N clients in the table of the pre-established database. Here, the server determines the name and value of the database table Type, build a database table based on the database table name and the value type. The database may be a mysql database; the wifi information includes: client ID, wifi name, wifi password and current location information of the client. Here, the client ID is a unique id...
Embodiment 3
[0143] The present invention also provides a method for wifi sharing, in which the main interaction process between the client and the server is:
[0144] The client sends the first request information;
[0145] The server receives the first request information, searches for wifi information in the search area to which the current location of the client belongs according to the first request information, and returns the queried ID of available wifi to the client;
[0146] After the client scans the available wifi information according to the available wifi ID, obtains a wifi name and corresponding ID, and encapsulates the wifi name and corresponding ID into the second request information, and sending the second request information to the server;
[0147] The server sends the wifi name and password to the client based on the second request information;
[0148] The client connects to the wifi based on the wifi name and password.
[0149] In the present invention, the wifi in...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


