WO2015117351A1 - Wifi connection method, device and system, and computer storage medium - Google Patents

Wifi connection method, device and system, and computer storage medium Download PDF

Info

Publication number
WO2015117351A1
WO2015117351A1 PCT/CN2014/088494 CN2014088494W WO2015117351A1 WO 2015117351 A1 WO2015117351 A1 WO 2015117351A1 CN 2014088494 W CN2014088494 W CN 2014088494W WO 2015117351 A1 WO2015117351 A1 WO 2015117351A1
Authority
WO
WIPO (PCT)
Prior art keywords
wifi
central server
hotspot
user
shared
Prior art date
Application number
PCT/CN2014/088494
Other languages
French (fr)
Chinese (zh)
Inventor
黄伟
郝伟伟
张波
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015117351A1 publication Critical patent/WO2015117351A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Definitions

  • the present invention relates to the field of wireless fidelity (WIFI) interconnection technology, and in particular, to a WIFI connection method, device, system and computer storage medium.
  • WIFI wireless fidelity
  • WIFI hotspots nowadays, merchants, operators and individual households all have their own WIFI hotspots, but it is difficult to share them with each other. Often, the use of fixed WIFI hotspots is not full, and WIFI resources are wasted. For example, a family WIFI hotspot is used when it is going to work, rest, or on vacation, causing waste. Merchants WIFI hotspots, hope to be more people to search and secure connections, so that businesses push information for marketing.
  • WIFI shared hotspot since the user does not know who the provider is, there are problems in authentication, connection, security, etc., which is very inconvenient.
  • embodiments of the present invention are expected to provide a WIFI connection method, device, and system.
  • Computer storage media
  • the embodiment of the invention provides a WIFI connection method, and the method includes:
  • the method before sending the user authentication information to the central server, the method further includes: initiating user registration to the central server.
  • the selecting the WIFI hotspot to connect includes: selecting the best WIFI hotspot from the received WIFI shared hotspot, and connecting the fastest WIFI shared hotspot.
  • the method further includes:
  • the encrypted data sent by the received central server through the WIFI shared hotspot is decrypted.
  • the embodiment of the invention further provides a WIFI connection method, the method comprising:
  • the WIFI shared hotspot registration is initiated to the central server; the geographic location information, the MAC address, and the password information of the WIFI shared hotspot are sent to the central server, so that the central server can query the nearby WIFI shared hotspot according to the geographic location information of the user, and deliver the hotspot to the user. .
  • the method further includes: setting a sharing time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server, so that the user can select the current time from the received WIFI shared hotspot delivered by the central server.
  • the segment signal is the best, and the fastest WIFI shared hotspot is connected.
  • the embodiment of the invention further provides a WIFI connection method, the method comprising:
  • the WIFI shared hotspot control end initiates WIFI shared hotspot registration to the central server; and sends The geographic location information, MAC address, and password information of the WIFI shared hotspot are sent to the central server;
  • the client sends user authentication information to the central server;
  • the central server authenticates the client
  • the UE When the authentication is passed, the UE sends its geographic location information to the central server;
  • the central server queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user terminal;
  • the client receives the WIFI hotspot information of the current location delivered by the central server, selects the WIFI hotspot to connect, and reports the connection result to the central server.
  • the method before the user sends the user authentication information to the central server, the method further includes: the user end initiates user registration with the central server.
  • the method further includes: setting, by the WIFI shared hotspot control end, a shared time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server.
  • the selecting, by the UE, the WIFI hotspot to connect includes: selecting the best WIFI shared hotspot from the received WIFI shared hotspot, and connecting the fastest WIFI shared hotspot.
  • the method further includes:
  • the client encrypts the data and sends it to the central server through the WIFI shared hotspot; the central server decrypts the encrypted data and sends it to the Internet;
  • the central server encrypts the data sent by the Internet and sends the data to the user through the WIFI shared hotspot; the user decrypts the encrypted data.
  • the embodiment of the present invention further provides a WIFI connection device, where the device is located at a user end, and includes: an information sending module and a hotspot connection module;
  • the information sending module is configured to send user authentication information to the central server, and send the geographic location information to the central server when the authentication is passed;
  • the hotspot connection module is configured to receive the WIFI hotspot information of the current location delivered by the central server, select a WIFI hotspot to connect, and report the connection result to the central server.
  • the apparatus further includes the registration module configured to initiate user registration to the central server.
  • the hotspot connection module is configured to select the best WIFI shared hotspot from the received WIFI shared hotspot, and connect the fastest WIFI shared hotspot.
  • the device further includes a data transceiver module configured to encrypt the data and send the data to the central server through the WIFI shared hotspot; and decrypt the encrypted data sent by the received central server through the WIFI shared hotspot.
  • the embodiment of the present invention further provides a WIFI connection device, where the device is located at a WIFI shared hotspot control end, and includes: a registration module and an information sending module;
  • the registration module is configured to initiate a WIFI shared hotspot registration to the central server;
  • the information sending module is configured to send the geographic location information, the MAC address, and the password information of the WIFI shared hotspot to the central server, so that the central server can query the nearby WIFI shared hotspot according to the geographic location information of the user, and deliver the hotspot to the user end.
  • the device further includes a setting module configured to set a shared time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server, so that the user can send the WIFI shared hotspot from the received central server. Select the best time zone signal and connect the fastest WIFI shared hotspot.
  • the embodiment of the present invention further provides a WIFI connection system, where the system includes a WIFI shared hotspot control end, a user end, and a central server;
  • the WIFI shared hotspot control end is configured to initiate a WIFI shared hotspot registration to the central server, and send the geographical location information, MAC address, and password information of the WIFI shared hotspot to the central server;
  • the user terminal is configured to send user authentication information to the central server; when the authentication is passed, the user terminal sends its own geographic location information to the central server; receives the WIFI hotspot information of the current location delivered by the central server, and selects a WIFI hotspot. Connect and report the result of the connection to Central server
  • the central server is configured to authenticate the user end; query the nearby WIFI shared hotspot according to the geographic location information of the user, and deliver the hotspot to the user end.
  • the UE is further configured to initiate a user registration to the central server.
  • the WIFI shared hotspot control end is further configured to: set a sharing time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server.
  • the user end is configured to select the best WIFI shared hotspot from the received WIFI shared hotspot, and connect the fastest WIFI shared hotspot.
  • the user terminal is further configured to: send the encrypted data to the central server through the WIFI shared hotspot; and receive the encrypted data sent by the central server through the WIFI shared hotspot and decrypt the data;
  • the central server is further configured to: decrypt the encrypted data sent by the received client through the WIFI shared hotspot, and then send the encrypted data to the Internet; and encrypt the data sent by the Internet and send the data to the user through the WIFI shared hotspot;
  • the WIFI shared hotspot control end is further configured to: send the received encrypted data from the user end to the central server; and send the received encrypted data to the central server to the user end.
  • the embodiment of the present invention further provides a computer storage medium, the computer storage medium, comprising a set of instructions, when executed, causing at least one processor to execute the WIFI connection method.
  • the WIFI shared hotspot control end initiates WIFI shared hotspot registration to the central server; sends the geographical location information, MAC address and password information of the WIFI shared hotspot to the central server
  • the user end sends the user authentication information to the central server; the central server authenticates the user end; when the authentication is passed, the user terminal sends its own geographical location information to the central server; the central server according to the user
  • the location information of the end is queried to the nearby WIFI shared hotspot and sent to the user; the user receives the WIFI hotspot information of the current location delivered by the central server, selects the WIFI hotspot to connect, and reports the connection result to the central server.
  • the user can safely and conveniently share the WIFI network provided by the WIFI provider, enable the WIFI resource to be effectively utilized, improve the usage rate of the WIFI hotspot, and avoid the hidden danger of stealing the user information by the malicious WIFI sharing hotspot, and improve the enterprise and personal income. And the user experience in the Internet age.
  • FIG. 1 is a schematic flowchart of a WIFI connection method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a WIFI connection method according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic flowchart of a third WIFI connection method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for connecting a WIFI according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a WIFI shared hotspot control end registering with a central server and reporting information according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart of a method for a user to initiate a user registration with a central server according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a WIFI connection device according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another WIFI connection device according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a central server according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a WIFI connection system according to an embodiment of the present invention.
  • the WIFI shared hotspot control end initiates WIFI shared hotspot registration to the central server; sends the geographic location information, MAC address, and password information of the WIFI shared hotspot to the central server; the user sends the user authentication information to the central server; The server authenticates the user terminal.
  • the user sends its own geographic location information to the central server.
  • the central server queries the nearby WIFI shared hotspot according to the geographic location information of the user and sends it to the user.
  • the WIFI hotspot information of the current location delivered by the central server select the WIFI hotspot to connect, and report the connection result to the central server.
  • the method before the user sends the user authentication information to the central server, the method further includes: the user end initiates user registration with the central server.
  • the WIFI shared hotspot control terminal may also set a sharing time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server.
  • the selecting, by the UE, the WIFI hotspot to connect includes: selecting the best WIFI hotspot from the received WIFI shared hotspot, and connecting the fastest WIFI shared hotspot.
  • the user encrypts the data and sends it to the central server through the WIFI shared hotspot; the central server decrypts the encrypted data and sends it to the Internet; the central server encrypts the data sent by the Internet and passes the WIFI.
  • the shared hotspot is delivered to the client; the client decrypts the encrypted data.
  • FIG. 1 is a schematic flowchart of a WIFI connection method according to an embodiment of the present invention, including the following steps:
  • Step 101 Send user authentication information to the central server, and send the geographic location information of the user to the central server when the authentication is passed;
  • the method before the user sends the user authentication information to the central server, the method further includes: the user end initiates user registration with the central server. Specifically, the UE registers the initiating user registration with the central server, and submits the user name and password corresponding to the current user; the central server records the user name and password information of the user end, and adds the user end to the database.
  • the user authentication information is sent to the central server; the central server authenticates the user information, confirms whether the user name and password match; and the user name and password in the authentication information sent by the user.
  • the authentication is passed. Otherwise, the authentication fails.
  • the client After the client authenticates successfully, it sends its own geographical location information to the central server;
  • the user terminal can obtain the current location information of the user by using the GPS positioning technology.
  • the client Before the UE establishes a connection with the WIFI hotspot, the client establishes a connection with the central server through a 3G, 4G network or other WIFI hotspot.
  • Step 102 Receive WIFI hotspot information of the current location delivered by the central server, select a WIFI hotspot to connect, and report the connection result to the central server.
  • the client selects the best time segment signal from the received WIFI shared hotspot, and the fastest WIFI shared hotspot connects, and reports the connection result to the central server.
  • the UE performs comprehensive judgment according to the shared time period, the number of shared people, and the shared bandwidth in each received WIFI shared hotspot, and selects the best time and the fastest WIFI shared hotspot to connect.
  • the data is transmitted by using the connected WIFI shared hotspot, including: encrypting the data and transmitting the hotspot to the central server through the WIFI shared hotspot; and encrypting the received central server through the WIFI shared hotspot
  • the client encrypts and decrypts the data packet with the same encryption/decryption protocol as the central server, and the encryption/decryption protocol can be determined during the registration process of the client.
  • FIG. 2 is a schematic flowchart of the WIFI connection method according to the second embodiment of the present invention.
  • the WIFI connection method in the second embodiment of the present invention includes the following steps:
  • Step 201 Initiating a WIFI shared hotspot registration to the central server
  • the WIFI shared hotspot control end initiates a WIFI shared hotspot registration with the WIFI shared hotspot that has a connection relationship with itself, and submits the username and password corresponding to the WIFI shared hotspot.
  • the WIFI shared hotspot having a connection relationship with the WIFI shared hotspot control end may be one or more.
  • Step 202 Send the geographic location information, the MAC address, and the password information of the WIFI shared hotspot to the central server, so that the central server queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user end;
  • the WIFI shared hotspot control end sends the geographical location information, MAC address, and password information of the WIFI shared hotspot to the central server, and can set the sharing time period, the number of shared people, and the shared bandwidth of the WIFI shared hotspot in the central server. Therefore, the user selects the best time zone signal from the received WIFI shared hotspot sent by the central server, and connects the fastest WIFI shared hotspot.
  • FIG. 3 is a schematic flowchart of the third WIFI connection method according to the embodiment of the present invention.
  • the third WIFI connection method of the embodiment of the present invention includes the following steps:
  • Step 301 Receive registration information of the WIFI shared hotspot control end, and add the current WIFI shared hotspot to the database;
  • the central server receives the registered user name and password of the WIFI shared hotspot control end, and stores the data, and receives the geographic location of the WIFI shared hotspot sent by the WIFI shared hotspot control end.
  • Step 302 Receive registration information of the client, and store the registration information.
  • the central server receives the registered user name and password of the client and stores it.
  • step 301 and step 302 do not limit the execution sequence
  • Step 303 The central server will summarize the WIFI shared hotspots registered by the central server, and classify the WIFI shared hotspots according to the WIFI shared hotspot address location information and the sharing time period, so as to query the nearby WIFI shared hotspots according to the geographical location information of the user, and Delivered to the client;
  • Step 304 Receive authentication information sent by the user end, and authenticate the user end.
  • the central server authenticates the user information, and confirms whether the user name and the password match.
  • the authentication is passed, otherwise The authentication failed.
  • Step 305 When the authentication is passed, receiving the geographical location information sent by the user;
  • the UE before the UE establishes a connection with the WIFI hotspot, the UE establishes a connection with the central server through a 3G, 4G network or other WIFI hotspot.
  • Step 306 The central server searches for a nearby WIFI shared hotspot in the database according to the geographical location information reported by the user, and sends the found WIFI hotspot information to the user end.
  • the central server may set a search range for the search and transmission of the nearby WIFI shared hotspots in the vicinity, for example, setting a WIFI shared hotspot within 10 m of the location where the user is located, or setting a WIFI shared hotspot within 50 m of the location where the user is located and Send to the user; you can also set the number of WIFI shared hotspots sent to the client in advance, for example, set the WIFI shared hotspot within 50m of the location where the client is located, and the available time and signal strength according to the shared time period of the WIFI shared hotspot. Sort the information such as the connection speed, and select the top 10 WIFI shared hotspots to be sent to the client.
  • the WIFI hotspot information that is sent by the central server can be sent by using the normal sending mode.
  • the WIFI hotspot information can be encrypted and then sent.
  • Step 307 Receive a connection result reported by the client.
  • Step 308 The encrypted data sent by the received client through the WIFI shared hotspot is decrypted and sent to the Internet; and the received data from the Internet is encrypted, and then sent to the user through the WIFI shared hotspot.
  • Step 309 Establish a dynamic information base for each WIFI shared hotspot, and write the used times, times, and the like into the dynamic information database;
  • the WIFI shared hotspot control terminal may select a WIFI shared hotspot with more access by the user as the WIFI shared hotspot pushed by the merchant information according to the usage times and time of each WIFI shared hotspot stored in the central server, or Select the WIFI shared hotspot with more access to the client for appropriate charging.
  • FIG. 4 is a schematic flowchart of a method for connecting a WIFI according to an embodiment of the present invention. As shown in FIG. 4, the method for connecting a WIFI in the fourth embodiment of the present invention includes the following steps:
  • Step 401 The WIFI shared hotspot control end initiates WIFI shared hotspot registration to the central server; and sends the geographical location information, MAC address, and password information of the WIFI shared hotspot to the central server;
  • FIG. 5 the schematic diagram of the process of registering and reporting information to the central server by the WIFI shared hotspot control end according to the embodiment of the present invention is as shown in FIG. 5, and includes the following steps:
  • Step 401A The WIFI shared hotspot control end initiates a WIFI shared hotspot registration to the central server, and submits a username and password corresponding to the WIFI shared hotspot;
  • Step 401B After the registration is successful, the WIFI shared hotspot control end sends the WIFI shared hotspot.
  • the geographic location information, the MAC address, and the password information are sent to the central server, so that the central server queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user end;
  • the WIFI shared hotspot control end initiates a WIFI shared hotspot registration with the WIFI shared hotspot that has a connection relationship with itself, and submits the username and password corresponding to the WIFI shared hotspot.
  • the WIFI shared hotspot having a connection relationship with the WIFI shared hotspot control end may be one or more.
  • Step 401C The WIFI shared hotspot control end sets the sharing time period, the number of shared people, and the shared bandwidth of the WIFI shared hotspot in the central server according to the geographical location information, the MAC address, and the password information of the WIFI shared hotspot, so that the user receives the received central
  • the WIFI shared hotspot delivered by the server selects the best time zone signal and the fastest WIFI shared hotspot to connect.
  • Step 401D The central server records related information of the current WIFI shared hotspot, and adds the WIFI shared hotspot to the database;
  • Step 402 The user end initiates user registration with the central server.
  • FIG. 6 a schematic diagram of a method for a user to initiate a user registration process to a central server is shown in FIG. 6 , and includes the following steps:
  • Step 402A The user end registers with the central server to initiate user registration, and submits a username and password corresponding to the current user.
  • Step 402B The central server receives and records the user name and password information of the user end, and adds the user end to the database;
  • steps 401 and 402 do not limit the order of execution.
  • Step 403 The central server will classify the WIFI shared hotspots registered by itself;
  • the central server will summarize the WIFI shared hotspots that are registered by the central server, and classify the WIFI shared hotspots according to the WIFI shared hotspot address location information and the sharing time period, so as to query the nearby WIFI shared hotspots according to the geographical location information of the user, and send them to the WIFI shared hotspots. user terminal.
  • Step 404 The UE sends user authentication information to the central server.
  • the user authentication information is sent to the central server, where the authentication information includes the user name and password of the user end.
  • the UE before the UE establishes a connection with the WIFI hotspot, the UE establishes a connection with the central server through a 3G, 4G network or other WIFI hotspot.
  • the user logs in by inputting a user name and a password through the human-machine interface of the client.
  • Step 405 The central server authenticates the user end; when the authentication is passed, step 406 is performed; if the authentication fails, step 415 is executed, the user name or password is prompted to be incorrect, and the process returns to step 404 to request re-input;
  • the central server authenticating the client includes the following process:
  • the central server authenticates the user information and confirms whether the username and password match.
  • the authentication succeeds. Otherwise, the authentication is performed. failure.
  • the UE When the authentication succeeds, the UE receives the authentication success message sent by the central server; when the authentication fails, the user displays the user username or password error and requests to re-enter.
  • Step 406 The UE sends its own geographical location information to the central server.
  • the user terminal can obtain the current location information of the user by using the GPS positioning technology.
  • Step 407 The central server queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user.
  • the central server searches for a nearby WIFI shared hotspot in the database according to the geographical location information reported by the user, and sends the found WIFI hotspot information to the user end;
  • the central server can set the search range in advance for the search and transmission of the nearby WIFI shared hotspots, for example, setting the WIFI sharing heat within 10 m of the location where the user is located.
  • Point or set to find the WIFI shared hotspot within 50m of the location of the client and send it to the client; you can also set the number of WIFI shared hotspots sent to the client in advance, for example, set the WIFI shared hotspot within 50m of the location where the client is located.
  • the first 10 WIFI shared hotspots that are sorted are sent to the user.
  • the WIFI hotspot information that is sent by the central server can be sent by using the normal sending mode.
  • the WIFI hotspot information can be encrypted and then sent.
  • Step 408 The UE receives the WIFI hotspot information of the current location delivered by the central server, selects a WIFI hotspot to connect, and reports the connection result to the central server.
  • the UE performs comprehensive judgment according to the shared time period, the number of shared people, and the shared bandwidth in each received WIFI shared hotspot, and selects the best time and the fastest WIFI shared hotspot to connect.
  • Step 409 The central server records the usage of the WIFI shared hotspot
  • Step 410 The client encrypts the data that needs to be sent to the Internet, and sends the data to the central server through the WIFI shared hotspot;
  • the connected WIFI shared hotspot After the user establishes a connection with the WIFI shared hotspot, the connected WIFI shared hotspot is used for data transmission, and the data that needs to be sent to the Internet is encrypted, and then sent to the central server through the WIFI shared hotspot;
  • Step 411 The central server decrypts the encrypted data uploaded by the client and sends the data to the Internet.
  • Step 412 The central server receives the data sent by the Internet, encrypts the data sent by the Internet, and sends the data to the user through the WIFI shared hotspot;
  • Step 413 After decrypting the received encrypted data, the UE provides the user for use.
  • the client encrypts and decrypts the data packet with the same encryption/decryption protocol as the central server, and the encryption/decryption protocol can be determined during the user registration process.
  • Step 414 The central server establishes a dynamic information base for each WIFI shared hotspot, and writes the used times, times, and the like into the dynamic information base;
  • the central server writes the number of times, time, etc. to the database, which can be used as subsequent usage and billing reference information.
  • the WIFI shared hotspot control terminal may select a WIFI shared hotspot with more access by the user as the WIFI shared hotspot pushed by the merchant information according to the usage times and time of each WIFI shared hotspot stored in the central server, or Select the WIFI shared hotspot with more access to the client for appropriate charging.
  • the WIFI connection method provided by the embodiment of the invention can summarize the WIFI shared hotspot information and the client information through the central server, so that the mobile user can conveniently and securely use the WIFI shared hotspot in the area with the WIFI shared hotspot, thereby improving the effective use of the WIFI network.
  • it is a personal WIFI hotspot, a merchant enterprise WIFI hotspot, or a carrier WIFI hotspot, it can be quickly and quickly shared to the required mobile users, avoiding wasting WIFI network, and can also charge a small amount of fees and push advertising information according to actual usage. Mobile users can also use high-speed WIFI networks quickly and easily.
  • the present invention uses a method for encrypting WIFI shared hotspot transmission data, and the encrypted data is uploaded to the central server through the WIFI shared hotspot through the user terminal, and the central server decrypts and accesses the Internet, and the data sent by the Internet is encrypted by the central server.
  • the terminal sharing client decrypts and uses it, thereby avoiding the hidden danger of stealing the user information by the malicious WIFI sharing hotspot, and further improving the security.
  • the password input method of the present invention is not limited to the digital password of the ordinary keyboard, and can emulate the unlocking scheme of the touch screen mobile phone, and provides the user with flexible and diverse interaction methods such as custom gesture symbols.
  • FIG. 7 is a schematic structural diagram of a WIFI connection device according to an embodiment of the present invention. As shown in FIG. 7, the device is located at a user end, and includes: an information sending module 71 and a hotspot connection module. 72; among them,
  • the information sending module 71 is configured to send user authentication information to the central server for authentication. When passing, send its own geographical location information to the central server;
  • the device further includes a registration module 73, configured to initiate user registration with the central server before sending the user authentication information to the central server;
  • the registration module 71 registers with the central server to initiate a user registration, and submits a username and password corresponding to the current user;
  • the central server records the username and password information of the client and adds the client to the database.
  • the information sending module 71 sends user authentication information to the central server;
  • the central server authenticates the user information and confirms whether the username and password match.
  • the authentication succeeds. Otherwise, the authentication is performed. failure.
  • the information sending module 71 sends its own geographic location information to the central server.
  • the information sending module 71 can obtain the current location information of the user by using the GPS positioning technology.
  • the WIFI connection device and the central server Before establishing a connection with the WIFI hotspot, the WIFI connection device and the central server establish a connection through a 3G, 4G network or other WIFI hotspot.
  • the hotspot connection module 72 is configured to receive the WIFI hotspot information of the current location delivered by the central server, select a WIFI hotspot to connect, and report the connection result to the central server.
  • the hotspot connection module 72 selects the best WIFI shared hotspot from the received WIFI shared hotspot, and connects the fastest WIFI shared hotspot.
  • the hotspot connection module 72 performs comprehensive judgment according to the shared time period, the shared number of people, and the shared bandwidth in each received WIFI shared hotspot, and selects the best time zone signal and the fastest WIFI shared hotspot to connect.
  • the device further includes a data transceiver module 74 configured to add data after the user end establishes a connection with the WIFI shared hotspot and uses the connected WIFI shared hotspot for data transmission.
  • the secret is sent to the central server through the WIFI shared hotspot; the encrypted data sent by the received central server through the WIFI shared hotspot is decrypted.
  • the data transceiving module 74 encrypts and decrypts the data packet using the same encryption/decryption protocol as the central server, and the encryption/decryption protocol can be determined during the registration process of the client.
  • FIG. 8 is a schematic structural diagram of a WIFI connection device according to Embodiment 2 of the present invention.
  • the device is located at a WIFI shared hotspot control end, and includes: a registration module 81, information. Sending module 82; wherein
  • the registration module 81 is configured to initiate a WIFI shared hotspot registration to the central server;
  • the registration module 81 initiates a WIFI shared hotspot registration to the central server, and submits a username and password corresponding to the WIFI shared hotspot.
  • the WIFI shared hotspot having a connection relationship with the WIFI shared hotspot control end may be one or more.
  • the information sending module 82 is configured to send the geographic location information, the MAC address, and the password information of the WIFI shared hotspot to the central server, so that the central server queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user end;
  • the device further includes a setting module 83 configured to set a sharing time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server, so that the user selects the current time from the received WIFI shared hotspot delivered by the central server.
  • the segment signal is the best, and the fastest WIFI shared hotspot is connected.
  • FIG. 9 is a schematic structural diagram of a central server according to an embodiment of the present invention.
  • the central server includes: a WIFI hotspot registration module 91, a client registration module 92, and an authentication.
  • the WIFI hotspot registration module 91 is configured to receive the registration information of the WIFI shared hotspot control end, and store the current WIFI shared hotspot into the database;
  • the WIFI registration module 91 receives the registered user name and password of the WIFI shared hotspot control end, and stores the information; and receives the geographical location information, the MAC address, and the password information of the WIFI shared hotspot sent by the WIFI shared hotspot control terminal, and stores the information. And add the current WIFI shared hotspot to the database;
  • the client registration module 92 is configured to receive registration information of the client, and store the registration information.
  • the client registration module 92 receives the registered user name and password of the client, and stores the password;
  • the device further includes a storage module 96 configured to summarize the WIFI shared hotspots registered with the WIFI, and to classify the WIFI shared hotspots according to the WIFI shared hotspot address location information and the shared time period, so as to query the vicinity according to the geographic location information of the user end.
  • the WIFI shared hotspot is delivered to the client;
  • the authentication module 93 is configured to receive authentication information sent by the user end, and authenticate the user end;
  • the authentication module 93 authenticates the user information, and confirms whether the user name and the password match.
  • the user name and password in the authentication information sent by the user are successfully matched with the user name and password when the user is registered, Authentication passed, otherwise, authentication failed.
  • the device further includes an information receiving module 97 configured to receive geographic location information sent by the user;
  • the UE before the UE establishes a connection with the WIFI hotspot, the UE establishes a connection with the central server through a 3G, 4G network or other WIFI hotspot.
  • the WIFI shared hotspot sending module 94 is configured to search for a nearby WIFI shared hotspot in the database according to the geographical location information reported by the user, and send the found WIFI hotspot information to the user end;
  • the WIFI shared hotspot sending module 94 searches for a nearby WIFI shared hotspot and Sending can set the search range in advance. For example, set the WIFI shared hotspot within 10m of the location where the client is located, or set the WIFI shared hotspot within 50m of the location where the client is located and send it to the client; or set the WIFI sent to the client in advance.
  • the number of shared hotspots for example, setting the WIFI shared hotspot within 50m of the location of the query client, sorting according to the available time, signal strength, connection speed and other information in the shared time period of the WIFI shared hotspot, and selecting the top 10 sorted.
  • the WIFI shared hotspot is sent to the client.
  • the WIFI hotspot information sent by the WIFI shared hotspot sending module 94 can be sent in the normal sending mode, and the WIFI hotspot information can be encrypted and then sent.
  • the information receiving module 97 is further configured to receive the connection result reported by the user end, and store the result;
  • the data transceiver module 95 is configured to send the encrypted data sent by the received client through the WIFI shared hotspot to the Internet, and then send the data to the Internet after being encrypted, and then send the data from the Internet through the WIFI sharing hotspot. To the client.
  • the storage module 96 is further configured to establish a usage dynamic information database for each WIFI shared hotspot, and write the used times, times, and the like into the dynamic information database;
  • the storage module 96 writes the number of times, time, and the like into the database, which can be used as subsequent usage and billing reference information.
  • the WIFI shared hotspot control terminal may select a WIFI shared hotspot with more access by the user as the WIFI shared hotspot pushed by the merchant information according to the usage times and time of each WIFI shared hotspot stored in the central server, or Select the WIFI shared hotspot with more access to the client for appropriate charging.
  • FIG. 10 is a schematic structural diagram of a WIFI connection system according to an embodiment of the present invention.
  • the WIFI connection system includes: a WIFI shared hotspot control end 101, and a user end 102. , the central server 103, the WIFI shared hotspot 104; wherein
  • the WIFI shared hotspot control end 101 is configured to initiate a WIFI shared hotspot registration to the central server 103 by the WIFI shared hotspot control end; and send the geographical location information, MAC address, and password information of the WIFI shared hotspot to the central server;
  • the WIFI shared hotspot control end 101 initiates a WIFI shared hotspot registration to the central server 103, and submits a username and password corresponding to the WIFI shared hotspot; and after the registration is successful, sends the geographic location information, MAC address, and password of the WIFI shared hotspot.
  • the information is sent to the central server 103, so that the central server 103 queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user terminal 102; and pairs the central server according to the geographic location information, MAC address, and password information of the WIFI shared hotspot.
  • the sharing time period, the number of shared people, and the shared bandwidth of the WIFI shared hotspot are set, so that the user terminal 102 selects the best time zone signal and the fastest WIFI shared hotspot from the received WIFI shared hotspot delivered by the central server 103. Make a connection;
  • the WIFI shared hotspot control terminal 101 initiates a WIFI shared hotspot registration to the central server 103, and submits a username and password corresponding to the WIFI shared hotspot.
  • the WIFI shared hotspots that have a connection relationship with the WIFI shared hotspot control end 101 may be one or more.
  • the user terminal 102 is configured to initiate a user registration to the central server 103.
  • the central server 103 sends the user authentication information.
  • the geographic location information is sent to the central server 103.
  • the current location sent by the central server 103 is received.
  • the WIFI hotspot information select the WIFI hotspot to connect, and report the connection result to the central server.
  • the user terminal 102 registers the initiating user registration with the central server 103, and submits the user name and password corresponding to the current user; when the terminal needs to perform wireless interconnection, the user terminal 102 sends the user authentication information to the central server 103; After the success of the right, the geographic location information is sent to the central server 103; the best time segment signal is selected from the received WIFI shared hotspot, and the fastest WIFI shared hotspot is connected, and the connection result is reported to the central service. Server.
  • the user terminal 102 performs comprehensive judgment according to the shared time period, the number of shared people, and the shared bandwidth in each received WIFI shared hotspot, and selects the WIFI shared hotspot with the best current time period and the fastest speed to connect.
  • the central server 103 is configured to authenticate the user terminal 102; query the nearby WIFI shared hotspot according to the geographic location information of the user terminal 102, and send it to the client 102.
  • the central server 103 is configured to receive the registration information of the WIFI shared hotspot control end 101, and add the current WIFI shared hotspot to the database; receive the registration information of the user end 102, store the registration information, and register with the registration information.
  • the WIFI shared hotspots are summarized, and the WIFI shared hotspots are classified according to the WIFI shared hotspot address location information, the shared time period, and the like, so as to query the nearby WIFI shared hotspots according to the geographic location information of the user terminal 102, and send them to the user terminal 102; Receiving the authentication information sent by the client 102, and authenticating the user end;
  • the central server 103 authenticates the user information, and confirms whether the user name and the password match.
  • the authentication is passed. Otherwise, authentication fails.
  • the central server 103 is further configured to receive the geographic location information sent by the user terminal 102; according to the geographical location information reported by the user terminal 102, look for the available WIFI shared hotspots in the database, and send the found WIFI hotspot information. To the client 102;
  • the central server 103 may set a search range for the search and transmission of the WIFI shared hotspots available nearby, for example, setting a WIFI sharing hotspot within 10m of the location where the client 102 is located, or setting a WIFI within 50m of the location where the client 102 is located.
  • the hotspot is shared and sent to the client 102.
  • the number of WIFI shared hotspots sent to the client 102 can be set in advance. For example, the WIFI shared hotspot within 50 m of the location where the client 102 is located is set, according to the shared time period of the WIFI shared hotspot. The available time, signal strength, connection speed and other information are sorted, and the top 10 WIFI shared hotspots selected for sorting are sent to the client 102.
  • the central server 103 is further configured to receive a connection result reported by the user end;
  • the client 102 and the central server establish a connection through a 3G, 4G network or other WIFI hotspot.
  • the user terminal 102 When the user terminal 101 establishes a connection with the WIFI shared hotspot and uses the connected WIFI shared hotspot to perform data transmission, the user terminal 102 is further configured to: send the data encrypted by the data to the WIFI shared hotspot to the The central server 103 receives the encrypted data delivered by the central server 103 through the WIFI shared hotspot and decrypts it to provide the user for use.
  • the central server 103 is further configured to: decrypt the encrypted data sent by the received client 102 through the WIFI shared hotspot, and then send the encrypted data to the Internet; the data sent by the Internet is encrypted and sent to the client 102 through the WIFI shared hotspot. ;
  • the WIFI shared hotspot control terminal 101 is further configured to send the received encrypted data from the client to the central server 103; and send the received encrypted data from the central server 103 to the client 102.
  • the client 102 and the central server 103 encrypt and decrypt the data packet using the same encryption/decryption protocol, which can be determined during the user registration process.
  • the central server 103 is further configured to establish a usage dynamic information database for each WIFI shared hotspot, and write the used times, times, and the like into the dynamic information database;
  • the central server 103 writes the number of times of use, time, etc. into the database, which can be used as subsequent usage and billing reference information.
  • the WIFI shared hotspot control terminal 101 can select the WIFI shared hotspot accessed by the user terminal 102 as the WIFI sharing of the merchant information push according to the usage times and times of the WIFI shared hotspots stored in the central server 103. Hotspots, or select WIFI shared hotspots with more user access for proper charging.
  • the functions of the WIFI connection apparatus shown in FIG. 7 to FIG. 9 and the processing modules of the central server can be understood by referring to the related description of the aforementioned WIFI connection method. It should be understood by those skilled in the art that the functions of the WIFI connection device shown in FIG. 7 to FIG. 9 and the processing units in the central server may be implemented by a program running on the processor, or may be through a specific logic circuit.
  • the implementation may be implemented, for example, by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA); the storage unit may also be composed of various memories, Or storage media implementation.
  • the disclosed method, apparatus, and system may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division.
  • there may be another division manner for example, multiple modules or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the communication connections between the various components shown or discussed may be indirect coupling or communication connections through some interfaces, devices or modules, and may be electrical, mechanical or otherwise.
  • modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may be separately used as one module, or two or more modules may be integrated into one module;
  • the module can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a read-only memory (ROM), a magnetic disk or an optical disk, and the like, which can store program codes.
  • ROM read-only memory
  • the integrated module described above may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Quality. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, database, or network device, etc.) is implemented to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.

Abstract

Disclosed is a WIFI connection method, comprising: sending user authentication information to a central server, and sending geographic location information thereabout to the central server when authentication has passed (101); and receiving WIFI hotspot information about a current location issued by the central server, choosing a WIFI hotspot for connection, and reporting the connection result to the central server (102). Also disclosed are a WIFI connection device and system, and a computer storage medium.

Description

一种WIFI连接方法、装置、系统及计算机存储介质WIFI connection method, device, system and computer storage medium 技术领域Technical field
本发明涉及无线保真(WIFI,Wireless-Fidelity)互联技术领域,尤其涉及一种WIFI连接方法、装置、系统及计算机存储介质。The present invention relates to the field of wireless fidelity (WIFI) interconnection technology, and in particular, to a WIFI connection method, device, system and computer storage medium.
背景技术Background technique
随着移动终端的快速发展和普及,无线网络支持的上下行数据速率成倍的提高,以前仅作为通话用途的手机,现在越来越多的应用在数据业务方面。如今,手机已经成为人们身边不可缺少的信息终端,并逐渐代替了电脑、照相机、电子书等电子设备。无线互联技术的出现,使得手机等移动终端更加智能化,使用无线网络获取信息已经成为移动终端用户最重要的用途。用户使用移动终端通过无线网络进行查询、社交、购物、导航等等,极大的提升了用户体验。With the rapid development and popularization of mobile terminals, the uplink and downlink data rates supported by wireless networks have doubled, and mobile phones, which were previously only used for calling purposes, are now increasingly used in data services. Nowadays, mobile phones have become an indispensable information terminal around people, and have gradually replaced electronic devices such as computers, cameras, and e-books. The emergence of wireless interconnection technology has made mobile terminals such as mobile phones more intelligent, and using wireless networks to obtain information has become the most important use of mobile terminal users. Users use the mobile terminal to query, socialize, shop, navigate, etc. through the wireless network, which greatly enhances the user experience.
鉴于目前3G移动网络速度有限,4G移动网络资费较高,目前WIFI网络是移动互联非常重要的补充。WIFI热点现在虽然非常多,商家企业、运营商、个人家庭都有自己的WIFI热点,但是很难互通共享,往往固定WIFI热点使用情况也不饱满,浪费了WIFI资源。例如家庭WIFI热点,在上班、休息、度假的时候无人使用,造成浪费。商家企业WIFI热点,希望能够被更多的人搜索到并进行安全连接,以便商家推送信息进行营销。但是,从用户的角度而言,在使用WIFI共享热点的时候,由于用户不知道提供者是谁,在鉴权、连接、安全等各方面都存在问题,非常不方便。In view of the current limited speed of 3G mobile networks, 4G mobile network tariffs are relatively high, and the current WIFI network is a very important supplement to mobile internet. Although there are many WIFI hotspots nowadays, merchants, operators and individual households all have their own WIFI hotspots, but it is difficult to share them with each other. Often, the use of fixed WIFI hotspots is not full, and WIFI resources are wasted. For example, a family WIFI hotspot is used when it is going to work, rest, or on vacation, causing waste. Merchants WIFI hotspots, hope to be more people to search and secure connections, so that businesses push information for marketing. However, from the perspective of the user, when using the WIFI shared hotspot, since the user does not know who the provider is, there are problems in authentication, connection, security, etc., which is very inconvenient.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种WIFI连接方法、装置、系统及 计算机存储介质。In view of this, embodiments of the present invention are expected to provide a WIFI connection method, device, and system. Computer storage media.
为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种WIFI连接方法,所述方法包括:The embodiment of the invention provides a WIFI connection method, and the method includes:
向中央服务器发送用户鉴权信息,鉴权通过时,向中央服务器发送自身的地理位置信息;Sending user authentication information to the central server, and transmitting the geographic location information to the central server when the authentication is passed;
接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器。Receive the WIFI hotspot information of the current location delivered by the central server, select the WIFI hotspot to connect, and report the connection result to the central server.
上述方案中,向中央服务器发送用户鉴权信息之前,所述方法还包括:向中央服务器发起用户注册。In the foregoing solution, before sending the user authentication information to the central server, the method further includes: initiating user registration to the central server.
上述方案中,所述选择WIFI热点进行连接包括:从接收到的WIFI共享热点中选择信号最好,速度最快的WIFI共享热点进行连接。In the above solution, the selecting the WIFI hotspot to connect includes: selecting the best WIFI hotspot from the received WIFI shared hotspot, and connecting the fastest WIFI shared hotspot.
上述方案中,所述方法还包括:In the above solution, the method further includes:
将数据加密后通过WIFI共享热点发送至中央服务器;Encrypt the data and send it to the central server through the WIFI shared hotspot;
将接收到的中央服务器通过WIFI共享热点下发的加密后的数据并进行解密。The encrypted data sent by the received central server through the WIFI shared hotspot is decrypted.
本发明实施例还提供了一种WIFI连接方法,所述方法包括:The embodiment of the invention further provides a WIFI connection method, the method comprising:
向中央服务器发起WIFI共享热点注册;发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器,使得中央服务器能够根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端。The WIFI shared hotspot registration is initiated to the central server; the geographic location information, the MAC address, and the password information of the WIFI shared hotspot are sent to the central server, so that the central server can query the nearby WIFI shared hotspot according to the geographic location information of the user, and deliver the hotspot to the user. .
上述方案中,所述方法还包括:对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置,使得用户端能够从接收到的中央服务器下发的WIFI共享热点中选择当前时间段信号最好,速度最快的WIFI共享热点进行连接。In the above solution, the method further includes: setting a sharing time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server, so that the user can select the current time from the received WIFI shared hotspot delivered by the central server. The segment signal is the best, and the fastest WIFI shared hotspot is connected.
本发明实施例还提供了一种WIFI连接方法,所述方法包括:The embodiment of the invention further provides a WIFI connection method, the method comprising:
WIFI共享热点控制端向中央服务器发起WIFI共享热点注册;并发送 WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器;The WIFI shared hotspot control end initiates WIFI shared hotspot registration to the central server; and sends The geographic location information, MAC address, and password information of the WIFI shared hotspot are sent to the central server;
用户端向中央服务器发送用户鉴权信息;The client sends user authentication information to the central server;
中央服务器对用户端进行鉴权;The central server authenticates the client;
鉴权通过时,用户端向中央服务器发送自身的地理位置信息;When the authentication is passed, the UE sends its geographic location information to the central server;
中央服务器根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端;The central server queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user terminal;
用户端接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器。The client receives the WIFI hotspot information of the current location delivered by the central server, selects the WIFI hotspot to connect, and reports the connection result to the central server.
上述方案中,用户端向中央服务器发送用户鉴权信息之前,所述方法还包括:用户端向中央服务器发起用户注册。In the above solution, before the user sends the user authentication information to the central server, the method further includes: the user end initiates user registration with the central server.
上述方案中,所述方法还包括:WIFI共享热点控制端对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置。In the above solution, the method further includes: setting, by the WIFI shared hotspot control end, a shared time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server.
上述方案中,所述用户端选择WIFI热点进行连接包括:从接收到的WIFI共享热点中选择信号最好,速度最快的WIFI共享热点进行连接。In the above solution, the selecting, by the UE, the WIFI hotspot to connect includes: selecting the best WIFI shared hotspot from the received WIFI shared hotspot, and connecting the fastest WIFI shared hotspot.
上述方案中,所述方法还包括:In the above solution, the method further includes:
用户端将数据加密后通过WIFI共享热点发送至中央服务器;中央服务器将所述加密后的数据解密后发送到互联网;The client encrypts the data and sends it to the central server through the WIFI shared hotspot; the central server decrypts the encrypted data and sends it to the Internet;
中央服务器将互联网发送的数据加密后通过WIFI共享热点下发到用户端;用户端将所述加密后的数据进行解密。The central server encrypts the data sent by the Internet and sends the data to the user through the WIFI shared hotspot; the user decrypts the encrypted data.
本发明实施例还提供了一种WIFI连接装置,所述装置位于用户端,包括:信息发送模块、热点连接模块;其中,The embodiment of the present invention further provides a WIFI connection device, where the device is located at a user end, and includes: an information sending module and a hotspot connection module;
所述信息发送模块,配置为向中央服务器发送用户鉴权信息,鉴权通过时,向中央服务器发送自身的地理位置信息;The information sending module is configured to send user authentication information to the central server, and send the geographic location information to the central server when the authentication is passed;
所述热点连接模块,配置为接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器。 The hotspot connection module is configured to receive the WIFI hotspot information of the current location delivered by the central server, select a WIFI hotspot to connect, and report the connection result to the central server.
上述方案中,所述装置还包括所述注册模块,配置为向中央服务器发起用户注册。In the above solution, the apparatus further includes the registration module configured to initiate user registration to the central server.
上述方案中,所述热点连接模块配置为从接收到的WIFI共享热点中选择信号最好,速度最快的WIFI共享热点进行连接。In the above solution, the hotspot connection module is configured to select the best WIFI shared hotspot from the received WIFI shared hotspot, and connect the fastest WIFI shared hotspot.
上述方案中,所述装置还包括数据收发模块,配置为将数据加密后通过WIFI共享热点发送至中央服务器;并将接收到的中央服务器通过WIFI共享热点下发的加密后的数据并进行解密。In the above solution, the device further includes a data transceiver module configured to encrypt the data and send the data to the central server through the WIFI shared hotspot; and decrypt the encrypted data sent by the received central server through the WIFI shared hotspot.
本发明实施例还提供了一种WIFI连接装置,所述装置位于WIFI共享热点控制端,包括:注册模块、信息发送模块;其中,The embodiment of the present invention further provides a WIFI connection device, where the device is located at a WIFI shared hotspot control end, and includes: a registration module and an information sending module;
所述注册模块,配置为向中央服务器发起WIFI共享热点注册;The registration module is configured to initiate a WIFI shared hotspot registration to the central server;
所述信息发送模块,配置为发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器,使得中央服务器能够根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端。The information sending module is configured to send the geographic location information, the MAC address, and the password information of the WIFI shared hotspot to the central server, so that the central server can query the nearby WIFI shared hotspot according to the geographic location information of the user, and deliver the hotspot to the user end.
上述方案中,所述装置还包括设置模块,配置为对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置,使得用户端能够从接收到的中央服务器下发的WIFI共享热点中选择当前时间段信号最好,速度最快的WIFI共享热点进行连接。In the above solution, the device further includes a setting module configured to set a shared time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server, so that the user can send the WIFI shared hotspot from the received central server. Select the best time zone signal and connect the fastest WIFI shared hotspot.
本发明实施例还提供了一种WIFI连接系统,所述系统包括WIFI共享热点控制端、用户端、中央服务器;其中,The embodiment of the present invention further provides a WIFI connection system, where the system includes a WIFI shared hotspot control end, a user end, and a central server;
所述WIFI共享热点控制端,配置为向中央服务器发起WIFI共享热点注册,并发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器;The WIFI shared hotspot control end is configured to initiate a WIFI shared hotspot registration to the central server, and send the geographical location information, MAC address, and password information of the WIFI shared hotspot to the central server;
所述用户端,配置为向中央服务器发送用户鉴权信息;鉴权通过时,用户端向中央服务器发送自身的地理位置信息;接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到 中央服务器;The user terminal is configured to send user authentication information to the central server; when the authentication is passed, the user terminal sends its own geographic location information to the central server; receives the WIFI hotspot information of the current location delivered by the central server, and selects a WIFI hotspot. Connect and report the result of the connection to Central server
所述中央服务器,配置为对用户端进行鉴权;根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端。The central server is configured to authenticate the user end; query the nearby WIFI shared hotspot according to the geographic location information of the user, and deliver the hotspot to the user end.
上述方案中,所述用户端还配置为向中央服务器发起用户注册。In the above solution, the UE is further configured to initiate a user registration to the central server.
上述方案中,所述WIFI共享热点控制端还配置为:对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置。In the above solution, the WIFI shared hotspot control end is further configured to: set a sharing time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server.
上述方案中,所述用户端配置为从接收到的WIFI共享热点中选择信号最好,速度最快的WIFI共享热点进行连接。In the above solution, the user end is configured to select the best WIFI shared hotspot from the received WIFI shared hotspot, and connect the fastest WIFI shared hotspot.
上述方案中,所述用户端还配置为:将数据加密后的数据通过WIFI共享热点发送至中央服务器;接收中央服务器通过WIFI共享热点下发的加密后的数据并进行解密;In the above solution, the user terminal is further configured to: send the encrypted data to the central server through the WIFI shared hotspot; and receive the encrypted data sent by the central server through the WIFI shared hotspot and decrypt the data;
所述中央服务器还配置为:将接收到的用户端通过WIFI共享热点发送的加密后的数据进行解密后发送到互联网;将互联网发送的数据加密后通过WIFI共享热点下发到用户端;The central server is further configured to: decrypt the encrypted data sent by the received client through the WIFI shared hotspot, and then send the encrypted data to the Internet; and encrypt the data sent by the Internet and send the data to the user through the WIFI shared hotspot;
所述WIFI共享热点控制端还配置为:将接收到的来自用户端的加密后的数据发送到中央服务器;将接收到的来中央服务器的加密后的数据发送到用户端。The WIFI shared hotspot control end is further configured to: send the received encrypted data from the user end to the central server; and send the received encrypted data to the central server to the user end.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质,所述计算机存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行上述的WIFI连接方法。The embodiment of the present invention further provides a computer storage medium, the computer storage medium, comprising a set of instructions, when executed, causing at least one processor to execute the WIFI connection method.
本发明实施例所提供的WIFI连接方法、装置、系统及计算机存储介质,WIFI共享热点控制端向中央服务器发起WIFI共享热点注册;发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器;用户端向中央服务器发送用户鉴权信息;中央服务器对用户端进行鉴权;鉴权通过时,用户端向中央服务器发送自身的地理位置信息;中央服务器根据用户 端的地理位置信息查询附近的WIFI共享热点,并下发到用户端;用户端接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器。如此,能够使用户可以安全方便的共享WIFI提供者提供的WIFI网络,使WIFI资源有效利用,提高WIFI热点的使用率,同时避免了恶意WIFI共享热点盗取用户信息的隐患,提高企业和个人收益以及互联网时代的用户体验。The WIFI connection method, device, system and computer storage medium provided by the embodiment of the present invention, the WIFI shared hotspot control end initiates WIFI shared hotspot registration to the central server; sends the geographical location information, MAC address and password information of the WIFI shared hotspot to the central server The user end sends the user authentication information to the central server; the central server authenticates the user end; when the authentication is passed, the user terminal sends its own geographical location information to the central server; the central server according to the user The location information of the end is queried to the nearby WIFI shared hotspot and sent to the user; the user receives the WIFI hotspot information of the current location delivered by the central server, selects the WIFI hotspot to connect, and reports the connection result to the central server. In this way, the user can safely and conveniently share the WIFI network provided by the WIFI provider, enable the WIFI resource to be effectively utilized, improve the usage rate of the WIFI hotspot, and avoid the hidden danger of stealing the user information by the malicious WIFI sharing hotspot, and improve the enterprise and personal income. And the user experience in the Internet age.
附图说明DRAWINGS
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。In the drawings, which are not necessarily to scale, the Like reference numerals with different letter suffixes may indicate different examples of similar components. The drawings generally illustrate the various embodiments discussed herein by way of example and not limitation.
图1为本发明实施例一WIFI连接方法流程示意图;1 is a schematic flowchart of a WIFI connection method according to an embodiment of the present invention;
图2为本发明实施例二WIFI连接方法流程示意图;2 is a schematic flowchart of a WIFI connection method according to Embodiment 2 of the present invention;
图3为本发明实施例三WIFI连接方法流程示意图;3 is a schematic flowchart of a third WIFI connection method according to an embodiment of the present invention;
图4为本发明实施例四WIFI连接方法流程示意图;4 is a schematic flowchart of a method for connecting a WIFI according to an embodiment of the present invention;
图5为本发明实施例WIFI共享热点控制端向中央服务器进行注册并上报信息流程示意图;5 is a schematic flowchart of a WIFI shared hotspot control end registering with a central server and reporting information according to an embodiment of the present invention;
图6为本发明实施例用户端向中央服务器发起用户注册方法流程示意图;6 is a schematic flowchart of a method for a user to initiate a user registration with a central server according to an embodiment of the present invention;
图7为本发明实施例一种WIFI连接装置结构示意图;FIG. 7 is a schematic structural diagram of a WIFI connection device according to an embodiment of the present invention; FIG.
图8为本发明实施例另一种WIFI连接装置结构示意图;FIG. 8 is a schematic structural diagram of another WIFI connection device according to an embodiment of the present invention; FIG.
图9为本发明实施例中央服务器结构示意图;9 is a schematic structural diagram of a central server according to an embodiment of the present invention;
图10为本发明实施例WIFI连接系统组成结构示意图。 FIG. 10 is a schematic structural diagram of a WIFI connection system according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例中,WIFI共享热点控制端向中央服务器发起WIFI共享热点注册;发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器;用户端向中央服务器发送用户鉴权信息;中央服务器对用户端进行鉴权;鉴权通过时,用户端向中央服务器发送自身的地理位置信息;中央服务器根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端;用户端接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器。In the embodiment of the present invention, the WIFI shared hotspot control end initiates WIFI shared hotspot registration to the central server; sends the geographic location information, MAC address, and password information of the WIFI shared hotspot to the central server; the user sends the user authentication information to the central server; The server authenticates the user terminal. When the authentication is passed, the user sends its own geographic location information to the central server. The central server queries the nearby WIFI shared hotspot according to the geographic location information of the user and sends it to the user. The WIFI hotspot information of the current location delivered by the central server, select the WIFI hotspot to connect, and report the connection result to the central server.
本发明实施例中,用户端向中央服务器发送用户鉴权信息之前,所述方法还包括:用户端向中央服务器发起用户注册。In the embodiment of the present invention, before the user sends the user authentication information to the central server, the method further includes: the user end initiates user registration with the central server.
本发明实施例中WIFI共享热点控制端还可以对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置。In the embodiment of the present invention, the WIFI shared hotspot control terminal may also set a sharing time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server.
所述用户端选择WIFI热点进行连接包括:从接收到的WIFI共享热点中选择信号最好,速度最快的WIFI共享热点进行连接。The selecting, by the UE, the WIFI hotspot to connect includes: selecting the best WIFI hotspot from the received WIFI shared hotspot, and connecting the fastest WIFI shared hotspot.
在数据发送和接收的过程中,用户端将数据加密后通过WIFI共享热点发送至中央服务器;中央服务器将所述加密后的数据解密后发送到互联网;中央服务器将互联网发送的数据加密后通过WIFI共享热点下发到用户端;用户端将所述加密后的数据进行解密。In the process of data transmission and reception, the user encrypts the data and sends it to the central server through the WIFI shared hotspot; the central server decrypts the encrypted data and sends it to the Internet; the central server encrypts the data sent by the Internet and passes the WIFI. The shared hotspot is delivered to the client; the client decrypts the encrypted data.
下面结合附图及具体实施例,对本发明技术方案的实施作进一步的详细描述。The implementation of the technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
实施例一Embodiment 1
本发明实施例一提供了一种WIFI连接方法,如图1所示,图1为本发明实施例一WIFI连接方法流程示意图,包括以下步骤:A first embodiment of the present invention provides a WIFI connection method. As shown in FIG. 1 , FIG. 1 is a schematic flowchart of a WIFI connection method according to an embodiment of the present invention, including the following steps:
步骤101:向中央服务器发送用户鉴权信息,鉴权通过时,向中央服务器发送自身的地理位置信息; Step 101: Send user authentication information to the central server, and send the geographic location information of the user to the central server when the authentication is passed;
本发明实施例中,用户端向中央服务器发送用户鉴权信息之前,所述方法还包括:用户端向中央服务器发起用户注册。具体地,用户端向中央服务器注册发起用户注册,提交当前用户对应的用户名和密码;中央服务器记录用户端的用户名和密码信息,并将所述用户端加入到数据库。In the embodiment of the present invention, before the user sends the user authentication information to the central server, the method further includes: the user end initiates user registration with the central server. Specifically, the UE registers the initiating user registration with the central server, and submits the user name and password corresponding to the current user; the central server records the user name and password information of the user end, and adds the user end to the database.
本步骤中,当用户端需要进行无线互联时,向中央服务器发送用户鉴权信息;中央服务器对用户信息进行鉴权,确认用户名和密码是否匹配;当用户发送的鉴权信息中的用户名和密码与用户端注册时的用户名密码匹配成功时,则鉴权通过,否则,鉴权失败。用户端鉴权成功后,向中央服务器发送自身的地理位置信息;In this step, when the user needs to perform wireless interconnection, the user authentication information is sent to the central server; the central server authenticates the user information, confirms whether the user name and password match; and the user name and password in the authentication information sent by the user. When the user name and password are successfully matched when the user registers, the authentication is passed. Otherwise, the authentication fails. After the client authenticates successfully, it sends its own geographical location information to the central server;
本发明实施例中,用户端可以通过GPS定位技术获取自身当前所在位置信息。用户端在与WIFI热点建立连接之前,用户端与中央服务器之间通过3G、4G网络或其他WIFI热点建立连接。In the embodiment of the present invention, the user terminal can obtain the current location information of the user by using the GPS positioning technology. Before the UE establishes a connection with the WIFI hotspot, the client establishes a connection with the central server through a 3G, 4G network or other WIFI hotspot.
步骤102:接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器。Step 102: Receive WIFI hotspot information of the current location delivered by the central server, select a WIFI hotspot to connect, and report the connection result to the central server.
其中,用户端从接收到的WIFI共享热点中选择当前时间段信号最好,速度最快的WIFI共享热点进行连接,并将连接结果上报到中央服务器。The client selects the best time segment signal from the received WIFI shared hotspot, and the fastest WIFI shared hotspot connects, and reports the connection result to the central server.
这里,用户端根据接收到的各WIFI共享热点中的共享时间段、共享人数、共享带宽进行综合判断,选择当前时间段信号最好,速度最快的WIFI共享热点进行连接。Here, the UE performs comprehensive judgment according to the shared time period, the number of shared people, and the shared bandwidth in each received WIFI shared hotspot, and selects the best time and the fastest WIFI shared hotspot to connect.
用户端与WIFI共享热点建立连接后,使用所连接的WIFI共享热点进行数据传输,包括:将数据加密后通过WIFI共享热点发送至中央服务器;将接收到的中央服务器通过WIFI共享热点下发的加密后的数据并进行解密后提供用户使用。这里,用户端与中央服务器采用相同的加密/解密协议对数据包进行加密和解密,所述加密/解密协议可以在用户端注册的过程中确定。 After the user establishes a connection with the WIFI shared hotspot, the data is transmitted by using the connected WIFI shared hotspot, including: encrypting the data and transmitting the hotspot to the central server through the WIFI shared hotspot; and encrypting the received central server through the WIFI shared hotspot After the data is decrypted and provided to the user. Here, the client encrypts and decrypts the data packet with the same encryption/decryption protocol as the central server, and the encryption/decryption protocol can be determined during the registration process of the client.
实施例二Embodiment 2
本发明实施例二提供了另一种WIFI连接方法,图2为本发明实施例二WIFI连接方法流程示意图,如图2所示,本发明实施例二WIFI连接方法包括以下步骤:The second embodiment of the present invention provides another WIFI connection method, and FIG. 2 is a schematic flowchart of the WIFI connection method according to the second embodiment of the present invention. As shown in FIG. 2, the WIFI connection method in the second embodiment of the present invention includes the following steps:
步骤201:向中央服务器发起WIFI共享热点注册;Step 201: Initiating a WIFI shared hotspot registration to the central server;
本步骤中,WIFI共享热点控制端将与自身有连接关系的WIFI共享热点向中央服务器发起WIFI共享热点注册,提交WIFI共享热点对应的用户名和密码。这里,与WIFI共享热点控制端有连接关系的WIFI共享热点可以为一个,也可以为多个。In this step, the WIFI shared hotspot control end initiates a WIFI shared hotspot registration with the WIFI shared hotspot that has a connection relationship with itself, and submits the username and password corresponding to the WIFI shared hotspot. Here, the WIFI shared hotspot having a connection relationship with the WIFI shared hotspot control end may be one or more.
步骤202:发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器,使得中央服务器根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端;Step 202: Send the geographic location information, the MAC address, and the password information of the WIFI shared hotspot to the central server, so that the central server queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user end;
注册成功后,WIFI共享热点控制端发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器,并且,可以对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置,以便用户端从接收到的中央服务器下发的WIFI共享热点中选择当前时间段信号最好,速度最快的WIFI共享热点进行连接。After the registration is successful, the WIFI shared hotspot control end sends the geographical location information, MAC address, and password information of the WIFI shared hotspot to the central server, and can set the sharing time period, the number of shared people, and the shared bandwidth of the WIFI shared hotspot in the central server. Therefore, the user selects the best time zone signal from the received WIFI shared hotspot sent by the central server, and connects the fastest WIFI shared hotspot.
实施例三Embodiment 3
本发明实施例三提供了另一种WIFI连接方法,图3为本发明实施例三WIFI连接方法流程示意图,如图3所示,本发明实施例三WIFI连接方法包括以下步骤:The third embodiment of the present invention provides another WIFI connection method, and FIG. 3 is a schematic flowchart of the third WIFI connection method according to the embodiment of the present invention. As shown in FIG. 3, the third WIFI connection method of the embodiment of the present invention includes the following steps:
步骤301:接收WIFI共享热点控制端的注册信息,并将当前WIFI共享热点加入到数据库;Step 301: Receive registration information of the WIFI shared hotspot control end, and add the current WIFI shared hotspot to the database;
具体地,中央服务器接收WIFI共享热点控制端的注册用户名和密码,并进行存储;并接收WIFI共享热点控制端发送的WIFI共享热点的地理位 置信息、MAC地址、密码信息,进行存储,并将当前WIFI共享热点加入到数据库;Specifically, the central server receives the registered user name and password of the WIFI shared hotspot control end, and stores the data, and receives the geographic location of the WIFI shared hotspot sent by the WIFI shared hotspot control end. Set information, MAC address, password information, store, and add the current WIFI shared hotspot to the database;
步骤302:接收用户端的注册信息,将所述注册信息进行存储。Step 302: Receive registration information of the client, and store the registration information.
具体地,中央服务器接收用户端的注册用户名和密码,并进行存储。Specifically, the central server receives the registered user name and password of the client and stores it.
本发明实施例中,步骤301和步骤302并不限定执行先后顺序;In the embodiment of the present invention, step 301 and step 302 do not limit the execution sequence;
步骤303:中央服务器将向其注册的WIFI共享热点进行汇总,按照WIFI共享热点地址位置信息、共享时间段等对WIFI共享热点进行分类,以便根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端;Step 303: The central server will summarize the WIFI shared hotspots registered by the central server, and classify the WIFI shared hotspots according to the WIFI shared hotspot address location information and the sharing time period, so as to query the nearby WIFI shared hotspots according to the geographical location information of the user, and Delivered to the client;
步骤304:接收用户端发送的鉴权信息,对用户端进行鉴权;Step 304: Receive authentication information sent by the user end, and authenticate the user end.
具体地,中央服务器对用户信息进行鉴权,确认用户名和密码是否匹配;当用户发送的鉴权信息中的用户名和密码与用户端注册时的用户名密码匹配成功时,则鉴权通过,否则,鉴权失败。Specifically, the central server authenticates the user information, and confirms whether the user name and the password match. When the user name and password in the authentication information sent by the user are successfully matched with the user name and password when the user is registered, the authentication is passed, otherwise The authentication failed.
步骤305:鉴权通过时,接收用户发送的自身的地理位置信息;Step 305: When the authentication is passed, receiving the geographical location information sent by the user;
本发明实施例中,用户端在与WIFI热点建立连接之前,用户端与中央服务器之间通过3G、4G网络或其他WIFI热点建立连接。In the embodiment of the present invention, before the UE establishes a connection with the WIFI hotspot, the UE establishes a connection with the central server through a 3G, 4G network or other WIFI hotspot.
步骤306:中央服务器根据用户端上报的地理位置信息,在数据库中查找附近可用的WIFI共享热点,并将查找到的WIFI热点信息发送到用户端;Step 306: The central server searches for a nearby WIFI shared hotspot in the database according to the geographical location information reported by the user, and sends the found WIFI hotspot information to the user end.
这里,中央服务器对附近可用的WIFI共享热点的查找和发送可以预先设置查找范围,例如,设置查询用户端所在位置10m以内的WIFI共享热点、或者设置查找用户端所在位置50m以内的WIFI共享热点并发送到用户端;也可以预先设置发送给用户端的WIFI共享热点的数量,例如,设置查询用户端所在位置50m以内的WIFI共享热点,根据WIFI共享热点的共享时间段内的可使用时间、信号强度、连接速度等信息进行排序,选择排序的前10个WIFI共享热点发送到用户端。 Here, the central server may set a search range for the search and transmission of the nearby WIFI shared hotspots in the vicinity, for example, setting a WIFI shared hotspot within 10 m of the location where the user is located, or setting a WIFI shared hotspot within 50 m of the location where the user is located and Send to the user; you can also set the number of WIFI shared hotspots sent to the client in advance, for example, set the WIFI shared hotspot within 50m of the location where the client is located, and the available time and signal strength according to the shared time period of the WIFI shared hotspot. Sort the information such as the connection speed, and select the top 10 WIFI shared hotspots to be sent to the client.
中央服务器下发查找到的WIFI热点信息可以选择普通发送方式进行发送,也可以将查找到的WIFI热点信息进行加密后再进行下发。The WIFI hotspot information that is sent by the central server can be sent by using the normal sending mode. The WIFI hotspot information can be encrypted and then sent.
步骤307:接收用户端上报的连接结果;Step 307: Receive a connection result reported by the client.
步骤308:将接收到的用户端通过WIFI共享热点发送的加密后的数据并进行解密后发送到互联网;并将接收到的来自互联网的数据进行加密后,通过WIFI共享热点发送至用户端。Step 308: The encrypted data sent by the received client through the WIFI shared hotspot is decrypted and sent to the Internet; and the received data from the Internet is encrypted, and then sent to the user through the WIFI shared hotspot.
步骤309:对每一个WIFI共享热点建立使用动态信息库,将被使用次数,时间等写入动态信息库;Step 309: Establish a dynamic information base for each WIFI shared hotspot, and write the used times, times, and the like into the dynamic information database;
本步骤中,将被使用次数,时间等写入数据库,可以作为后续使用情况和计费参考信息。例如,在后续使用中,WIFI共享热点控制端可以根据中央服务器中存储的各WIFI共享热点的使用次数和时间,选择用户端接入较多的WIFI共享热点作为商家信息推送的WIFI共享热点,或者选择用户端接入较多的WIFI共享热点进行适当收费。In this step, the number of times, time, and the like are written into the database, which can be used as subsequent usage and billing reference information. For example, in the subsequent use, the WIFI shared hotspot control terminal may select a WIFI shared hotspot with more access by the user as the WIFI shared hotspot pushed by the merchant information according to the usage times and time of each WIFI shared hotspot stored in the central server, or Select the WIFI shared hotspot with more access to the client for appropriate charging.
实施例四Embodiment 4
本发明实施例四提供了另一种WIFI连接方法,图4为本发明实施例四WIFI连接方法流程示意图,如图4所示,本发明实施例四WIFI连接方法包括以下步骤:The fourth embodiment of the present invention provides another method for connecting a WIFI. FIG. 4 is a schematic flowchart of a method for connecting a WIFI according to an embodiment of the present invention. As shown in FIG. 4, the method for connecting a WIFI in the fourth embodiment of the present invention includes the following steps:
步骤401:WIFI共享热点控制端向中央服务器发起WIFI共享热点注册;并发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器;Step 401: The WIFI shared hotspot control end initiates WIFI shared hotspot registration to the central server; and sends the geographical location information, MAC address, and password information of the WIFI shared hotspot to the central server;
具体地,本发明实施例WIFI共享热点控制端向中央服务器进行注册并上报信息流程示意图如图5所示,包括以下步骤:Specifically, the schematic diagram of the process of registering and reporting information to the central server by the WIFI shared hotspot control end according to the embodiment of the present invention is as shown in FIG. 5, and includes the following steps:
步骤401A:WIFI共享热点控制端向中央服务器发起WIFI共享热点注册,提交WIFI共享热点对应的用户名和密码; Step 401A: The WIFI shared hotspot control end initiates a WIFI shared hotspot registration to the central server, and submits a username and password corresponding to the WIFI shared hotspot;
步骤401B:注册成功后,WIFI共享热点控制端发送WIFI共享热点的 地理位置信息、MAC地址、密码信息到中央服务器,以便中央服务器根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端; Step 401B: After the registration is successful, the WIFI shared hotspot control end sends the WIFI shared hotspot. The geographic location information, the MAC address, and the password information are sent to the central server, so that the central server queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user end;
本步骤中,WIFI共享热点控制端将与自身有连接关系的WIFI共享热点向中央服务器发起WIFI共享热点注册,提交WIFI共享热点对应的用户名和密码。这里,与WIFI共享热点控制端有连接关系的WIFI共享热点可以为一个,也可以为多个。In this step, the WIFI shared hotspot control end initiates a WIFI shared hotspot registration with the WIFI shared hotspot that has a connection relationship with itself, and submits the username and password corresponding to the WIFI shared hotspot. Here, the WIFI shared hotspot having a connection relationship with the WIFI shared hotspot control end may be one or more.
步骤401C:WIFI共享热点控制端根据WIFI共享热点的地理位置信息、MAC地址、密码信息对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置,以便用户端从接收到的中央服务器下发的WIFI共享热点中选择当前时间段信号最好,速度最快的WIFI共享热点进行连接。 Step 401C: The WIFI shared hotspot control end sets the sharing time period, the number of shared people, and the shared bandwidth of the WIFI shared hotspot in the central server according to the geographical location information, the MAC address, and the password information of the WIFI shared hotspot, so that the user receives the received central The WIFI shared hotspot delivered by the server selects the best time zone signal and the fastest WIFI shared hotspot to connect.
步骤401D:中央服务器记录当前WIFI共享热点的相关信息,并将所述WIFI共享热点加入到数据库; Step 401D: The central server records related information of the current WIFI shared hotspot, and adds the WIFI shared hotspot to the database;
步骤402:用户端向中央服务器发起用户注册;Step 402: The user end initiates user registration with the central server.
具体地,本发明实施例用户端向中央服务器发起用户注册方法流程示意图如图6所示,包括以下步骤:Specifically, in the embodiment of the present invention, a schematic diagram of a method for a user to initiate a user registration process to a central server is shown in FIG. 6 , and includes the following steps:
步骤402A:用户端向中央服务器注册发起用户注册,提交当前用户对应的用户名和密码; Step 402A: The user end registers with the central server to initiate user registration, and submits a username and password corresponding to the current user.
步骤402B:中央服务器接收并记录用户端的用户名和密码信息,并将所述用户端加入到数据库; Step 402B: The central server receives and records the user name and password information of the user end, and adds the user end to the database;
本发明实施例中,步骤401与步骤402并不限定执行的先后顺序。In the embodiment of the present invention, steps 401 and 402 do not limit the order of execution.
步骤403:中央服务器将向自身注册的WIFI共享热点进行分类;Step 403: The central server will classify the WIFI shared hotspots registered by itself;
中央服务器将向自身注册的WIFI共享热点进行汇总,按照WIFI共享热点地址位置信息、共享时间段等对WIFI共享热点进行分类,以便根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端。 The central server will summarize the WIFI shared hotspots that are registered by the central server, and classify the WIFI shared hotspots according to the WIFI shared hotspot address location information and the sharing time period, so as to query the nearby WIFI shared hotspots according to the geographical location information of the user, and send them to the WIFI shared hotspots. user terminal.
步骤404:用户端向中央服务器发送用户鉴权信息;Step 404: The UE sends user authentication information to the central server.
本步骤中,当用户端需要进行无线互联时,向中央服务器发送用户鉴权信息;其中,所述鉴权信息中包括用户端的用户名和密码。In this step, when the user end needs to perform wireless interconnection, the user authentication information is sent to the central server, where the authentication information includes the user name and password of the user end.
本发明实施例中,用户端在与WIFI热点建立连接之前,用户端与中央服务器之间通过3G、4G网络或其他WIFI热点建立连接。In the embodiment of the present invention, before the UE establishes a connection with the WIFI hotspot, the UE establishes a connection with the central server through a 3G, 4G network or other WIFI hotspot.
本步骤中,从用户端的角度看,为用户通过用户端的人机接口输入用户名、密码登录进行登录。In this step, from the perspective of the user terminal, the user logs in by inputting a user name and a password through the human-machine interface of the client.
步骤405:中央服务器对用户端进行鉴权;鉴权通过时,执行步骤406;鉴权失败,执行步骤415,提示用户用户名或密码错误,并返回步骤404,请求重新输入;Step 405: The central server authenticates the user end; when the authentication is passed, step 406 is performed; if the authentication fails, step 415 is executed, the user name or password is prompted to be incorrect, and the process returns to step 404 to request re-input;
具体地,中央服务器对用户端进行鉴权包括以下过程:Specifically, the central server authenticating the client includes the following process:
中央服务器对用户信息进行鉴权,确认用户名和密码是否匹配;当用户发送的鉴权信息中的用户名和密码与用户端注册时的用户名密码匹配成功时,则鉴权通过,否则,鉴权失败。The central server authenticates the user information and confirms whether the username and password match. When the username and password in the authentication information sent by the user match the username and password when the user registers, the authentication succeeds. Otherwise, the authentication is performed. failure.
当鉴权成功时,用户端收到中央服务器发送的鉴权成功消息;当鉴权失败时,用户端显示用户用户名或密码错误,请求重新输入。When the authentication succeeds, the UE receives the authentication success message sent by the central server; when the authentication fails, the user displays the user username or password error and requests to re-enter.
步骤406:用户端向中央服务器发送自身的地理位置信息;Step 406: The UE sends its own geographical location information to the central server.
本发明实施例中,用户端可以通过GPS定位技术获取自身当前所在位置信息。In the embodiment of the present invention, the user terminal can obtain the current location information of the user by using the GPS positioning technology.
步骤407:中央服务器根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端;Step 407: The central server queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user.
具体地,中央服务器根据用户端上报的地理位置信息,在数据库中查找附近可用的WIFI共享热点,并将查找到的WIFI热点信息发送到用户端;Specifically, the central server searches for a nearby WIFI shared hotspot in the database according to the geographical location information reported by the user, and sends the found WIFI hotspot information to the user end;
这里,中央服务器对附近可用的WIFI共享热点的查找和发送可以预先设置查找范围,例如,设置查询用户端所在位置10m以内的WIFI共享热 点、或者设置查找用户端所在位置50m以内的WIFI共享热点并发送到用户端;也可以预先设置发送给用户端的WIFI共享热点的数量,例如,设置查询用户端所在位置50m以内的WIFI共享热点,根据WIFI共享热点的共享时间段内的可使用时间、信号强度、连接速度等信息进行排序,选择排序的前10个WIFI共享热点发送到用户端。Here, the central server can set the search range in advance for the search and transmission of the nearby WIFI shared hotspots, for example, setting the WIFI sharing heat within 10 m of the location where the user is located. Point, or set to find the WIFI shared hotspot within 50m of the location of the client and send it to the client; you can also set the number of WIFI shared hotspots sent to the client in advance, for example, set the WIFI shared hotspot within 50m of the location where the client is located. According to the available time, signal strength, connection speed and other information in the shared time period of the WIFI shared hotspot, the first 10 WIFI shared hotspots that are sorted are sent to the user.
中央服务器下发查找到的WIFI热点信息可以选择普通发送方式进行发送,也可以将查找到的WIFI热点信息进行加密后再进行下发。The WIFI hotspot information that is sent by the central server can be sent by using the normal sending mode. The WIFI hotspot information can be encrypted and then sent.
步骤408:用户端接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器;Step 408: The UE receives the WIFI hotspot information of the current location delivered by the central server, selects a WIFI hotspot to connect, and reports the connection result to the central server.
这里,用户端根据接收到的各WIFI共享热点中的共享时间段、共享人数、共享带宽进行综合判断,选择当前时间段信号最好,速度最快的WIFI共享热点进行连接。Here, the UE performs comprehensive judgment according to the shared time period, the number of shared people, and the shared bandwidth in each received WIFI shared hotspot, and selects the best time and the fastest WIFI shared hotspot to connect.
步骤409:中央服务器记录WIFI共享热点的使用情况;Step 409: The central server records the usage of the WIFI shared hotspot;
步骤410:用户端将需要发送到互联网的数据进行加密后,通过WIFI共享热点发送到中央服务器;Step 410: The client encrypts the data that needs to be sent to the Internet, and sends the data to the central server through the WIFI shared hotspot;
用户端与WIFI共享热点建立连接后,使用所连接的WIFI共享热点进行数据传输,将需要发送到互联网的数据进行加密后,通过WIFI共享热点发送到中央服务器;After the user establishes a connection with the WIFI shared hotspot, the connected WIFI shared hotspot is used for data transmission, and the data that needs to be sent to the Internet is encrypted, and then sent to the central server through the WIFI shared hotspot;
步骤411:中央服务器将用户端上传的加密后的数据进行解密,并发送至互联网;Step 411: The central server decrypts the encrypted data uploaded by the client and sends the data to the Internet.
步骤412:中央服务器接收互联网下发的数据,将所述互联网下发的数据加密后通过WIFI共享热点发送到用户端;Step 412: The central server receives the data sent by the Internet, encrypts the data sent by the Internet, and sends the data to the user through the WIFI shared hotspot;
步骤413:用户端将接收到的加密后的数据解密后,提供用户使用。Step 413: After decrypting the received encrypted data, the UE provides the user for use.
这里,用户端与中央服务器采用相同的加密/解密协议对数据包进行加密和解密,所述加密/解密协议可以在用户注册的过程中确定。 Here, the client encrypts and decrypts the data packet with the same encryption/decryption protocol as the central server, and the encryption/decryption protocol can be determined during the user registration process.
步骤414:中央服务器对每一个WIFI共享热点建立使用动态信息库,将被使用次数,时间等写入动态信息库;Step 414: The central server establishes a dynamic information base for each WIFI shared hotspot, and writes the used times, times, and the like into the dynamic information base;
本步骤中,中央服务器将被使用次数,时间等写入数据库,可以作为后续使用情况和计费参考信息。例如,在后续使用中,WIFI共享热点控制端可以根据中央服务器中存储的各WIFI共享热点的使用次数和时间,选择用户端接入较多的WIFI共享热点作为商家信息推送的WIFI共享热点,或者选择用户端接入较多的WIFI共享热点进行适当收费。In this step, the central server writes the number of times, time, etc. to the database, which can be used as subsequent usage and billing reference information. For example, in the subsequent use, the WIFI shared hotspot control terminal may select a WIFI shared hotspot with more access by the user as the WIFI shared hotspot pushed by the merchant information according to the usage times and time of each WIFI shared hotspot stored in the central server, or Select the WIFI shared hotspot with more access to the client for appropriate charging.
本发明实施例提供的WIFI连接方法,能够通过中央服务器汇总WIFI共享热点信息和用户端信息,使移动用户在有WIFI共享热点的地区可以方便、安全的使用WIFI共享热点,提高WIFI网络的有效利用,不论是个人WIFI热点、商家企业WIFI热点、运营商WIFI热点,都可以迅速、快捷的共享给需要的移动用户,避免浪费WIFI网络,也可以根据实际使用情况收取少量费用和推送广告信息。移动用户也可以方便快捷的使用高速WIFI网络。The WIFI connection method provided by the embodiment of the invention can summarize the WIFI shared hotspot information and the client information through the central server, so that the mobile user can conveniently and securely use the WIFI shared hotspot in the area with the WIFI shared hotspot, thereby improving the effective use of the WIFI network. Whether it is a personal WIFI hotspot, a merchant enterprise WIFI hotspot, or a carrier WIFI hotspot, it can be quickly and quickly shared to the required mobile users, avoiding wasting WIFI network, and can also charge a small amount of fees and push advertising information according to actual usage. Mobile users can also use high-speed WIFI networks quickly and easily.
此外,本发明使用对WIFI共享热点传输数据进行加密的方法,通过用户端将加密后的数据通过WIFI共享热点上传给中央服务器,中央服务器解密后接入互联网,互联网下发的数据通过中央服务器加密后下发给终端共享客户,终端共享客户端解密后使用,避免了恶意WIFI共享热点盗取用户信息的隐患,进一步地提高了安全性。本发明的密码输入方式不限于普通键盘的数字密码,可以仿效触屏手机的解锁方案,为用户提供诸如自定义手势符号等灵活多样的交互方法。In addition, the present invention uses a method for encrypting WIFI shared hotspot transmission data, and the encrypted data is uploaded to the central server through the WIFI shared hotspot through the user terminal, and the central server decrypts and accesses the Internet, and the data sent by the Internet is encrypted by the central server. After being sent to the terminal to share the client, the terminal sharing client decrypts and uses it, thereby avoiding the hidden danger of stealing the user information by the malicious WIFI sharing hotspot, and further improving the security. The password input method of the present invention is not limited to the digital password of the ordinary keyboard, and can emulate the unlocking scheme of the touch screen mobile phone, and provides the user with flexible and diverse interaction methods such as custom gesture symbols.
本发明实施例还提供了一种WIFI连接装置,图7为本发明实施例一WIFI连接装置结构示意图,如图7所示,所述装置位于用户端,包括:信息发送模块71、热点连接模块72;其中,The embodiment of the present invention further provides a WIFI connection device. FIG. 7 is a schematic structural diagram of a WIFI connection device according to an embodiment of the present invention. As shown in FIG. 7, the device is located at a user end, and includes: an information sending module 71 and a hotspot connection module. 72; among them,
所述信息发送模块71,配置为向中央服务器发送用户鉴权信息,鉴权 通过时,向中央服务器发送自身的地理位置信息;The information sending module 71 is configured to send user authentication information to the central server for authentication. When passing, send its own geographical location information to the central server;
本发明实施例中,所述装置还包括注册模块73,配置为向中央服务器发送用户鉴权信息之前,向中央服务器发起用户注册;In the embodiment of the present invention, the device further includes a registration module 73, configured to initiate user registration with the central server before sending the user authentication information to the central server;
具体地,所述注册模块71用户端向中央服务器注册发起用户注册,提交当前用户对应的用户名和密码;Specifically, the registration module 71 registers with the central server to initiate a user registration, and submits a username and password corresponding to the current user;
中央服务器记录用户端的用户名和密码信息,并将所述用户端加入到数据库。The central server records the username and password information of the client and adds the client to the database.
当用户端需要进行无线互联时,所述信息发送模块71向中央服务器发送用户鉴权信息;When the user end needs to perform wireless interconnection, the information sending module 71 sends user authentication information to the central server;
中央服务器对用户信息进行鉴权,确认用户名和密码是否匹配;当用户发送的鉴权信息中的用户名和密码与用户端注册时的用户名密码匹配成功时,则鉴权通过,否则,鉴权失败。用户端鉴权成功后,所述信息发送模块71向中央服务器发送自身的地理位置信息;The central server authenticates the user information and confirms whether the username and password match. When the username and password in the authentication information sent by the user match the username and password when the user registers, the authentication succeeds. Otherwise, the authentication is performed. failure. After the authentication of the client is successful, the information sending module 71 sends its own geographic location information to the central server.
本发明实施例中,信息发送模块71可以通过GPS定位技术获取自身当前所在位置信息。在与WIFI热点建立连接之前,WIFI连接装置与中央服务器之间通过3G、4G网络或其他WIFI热点建立连接。In the embodiment of the present invention, the information sending module 71 can obtain the current location information of the user by using the GPS positioning technology. Before establishing a connection with the WIFI hotspot, the WIFI connection device and the central server establish a connection through a 3G, 4G network or other WIFI hotspot.
所述热点连接模块72,配置为接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器。The hotspot connection module 72 is configured to receive the WIFI hotspot information of the current location delivered by the central server, select a WIFI hotspot to connect, and report the connection result to the central server.
具体地,所述热点连接模块72从接收到的WIFI共享热点中选择信号最好,速度最快的WIFI共享热点进行连接。Specifically, the hotspot connection module 72 selects the best WIFI shared hotspot from the received WIFI shared hotspot, and connects the fastest WIFI shared hotspot.
这里,所述热点连接模块72根据接收到的各WIFI共享热点中的共享时间段、共享人数、共享带宽进行综合判断,选择当前时间段信号最好,速度最快的WIFI共享热点进行连接。Here, the hotspot connection module 72 performs comprehensive judgment according to the shared time period, the shared number of people, and the shared bandwidth in each received WIFI shared hotspot, and selects the best time zone signal and the fastest WIFI shared hotspot to connect.
所述装置还包括数据收发模块74,配置为用户端与WIFI共享热点建立连接后,使用所连接的WIFI共享热点进行数据传输的过程中,将数据加 密后通过WIFI共享热点发送至中央服务器;将接收到的中央服务器通过WIFI共享热点下发的加密后的数据并进行解密。这里,数据收发模块74与中央服务器采用相同的加密/解密协议对数据包进行加密和解密,所述加密/解密协议可以在用户端注册的过程中确定。The device further includes a data transceiver module 74 configured to add data after the user end establishes a connection with the WIFI shared hotspot and uses the connected WIFI shared hotspot for data transmission. The secret is sent to the central server through the WIFI shared hotspot; the encrypted data sent by the received central server through the WIFI shared hotspot is decrypted. Here, the data transceiving module 74 encrypts and decrypts the data packet using the same encryption/decryption protocol as the central server, and the encryption/decryption protocol can be determined during the registration process of the client.
本发明实施例还提供了一种WIFI连接装置,图8为本发明实施例二WIFI连接装置结构示意图,如图8所示,所述装置位于WIFI共享热点控制端,包括:注册模块81、信息发送模块82;其中,The embodiment of the present invention further provides a WIFI connection device, and FIG. 8 is a schematic structural diagram of a WIFI connection device according to Embodiment 2 of the present invention. As shown in FIG. 8, the device is located at a WIFI shared hotspot control end, and includes: a registration module 81, information. Sending module 82; wherein
所述注册模块81,配置为向中央服务器发起WIFI共享热点注册;The registration module 81 is configured to initiate a WIFI shared hotspot registration to the central server;
具体地,所述注册模块81将与其有连接关系的WIFI共享热点向中央服务器发起WIFI共享热点注册,提交WIFI共享热点对应的用户名和密码。这里,与WIFI共享热点控制端有连接关系的WIFI共享热点可以为一个,也可以为多个。Specifically, the registration module 81 initiates a WIFI shared hotspot registration to the central server, and submits a username and password corresponding to the WIFI shared hotspot. Here, the WIFI shared hotspot having a connection relationship with the WIFI shared hotspot control end may be one or more.
所述信息发送模块82,配置为发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器,以便中央服务器根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端;The information sending module 82 is configured to send the geographic location information, the MAC address, and the password information of the WIFI shared hotspot to the central server, so that the central server queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user end;
所述装置还包括设置模块83,配置为对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置,以便用户端从接收到的中央服务器下发的WIFI共享热点中选择当前时间段信号最好,速度最快的WIFI共享热点进行连接。The device further includes a setting module 83 configured to set a sharing time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server, so that the user selects the current time from the received WIFI shared hotspot delivered by the central server. The segment signal is the best, and the fastest WIFI shared hotspot is connected.
本发明实施例还提供了一种中央服务器,图9为本发明实施例中央服务器结构示意图,如图9所示,所述中央服务器包括:WIFI热点注册模块91、用户端注册模块92、鉴权模块93、WIFI共享热点发送模块94、数据收发模块95,其中,The embodiment of the present invention further provides a central server. FIG. 9 is a schematic structural diagram of a central server according to an embodiment of the present invention. As shown in FIG. 9, the central server includes: a WIFI hotspot registration module 91, a client registration module 92, and an authentication. The module 93, the WIFI shared hotspot sending module 94, and the data transceiver module 95, wherein
其中,所述:WIFI热点注册模块91,配置为接收WIFI共享热点控制端的注册信息,并将当前WIFI共享热点存入到数据库; The WIFI hotspot registration module 91 is configured to receive the registration information of the WIFI shared hotspot control end, and store the current WIFI shared hotspot into the database;
具体地,所述WIFI注册模块91接收WIFI共享热点控制端的注册用户名和密码,并进行存储;并接收WIFI共享热点控制端发送的WIFI共享热点的地理位置信息、MAC地址、密码信息,进行存储,并将当前WIFI共享热点加入到数据库;Specifically, the WIFI registration module 91 receives the registered user name and password of the WIFI shared hotspot control end, and stores the information; and receives the geographical location information, the MAC address, and the password information of the WIFI shared hotspot sent by the WIFI shared hotspot control terminal, and stores the information. And add the current WIFI shared hotspot to the database;
所述用户端注册模块92,配置为接收用户端的注册信息,将所述注册信息进行存储;The client registration module 92 is configured to receive registration information of the client, and store the registration information.
具体地,所述用户端注册模块92收用户端的注册用户名和密码,并进行存储;Specifically, the client registration module 92 receives the registered user name and password of the client, and stores the password;
所述装置还包括存储模块96,配置为将向其注册的WIFI共享热点进行汇总,按照WIFI共享热点地址位置信息、共享时间段等对WIFI共享热点进行分类,以便根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端;The device further includes a storage module 96 configured to summarize the WIFI shared hotspots registered with the WIFI, and to classify the WIFI shared hotspots according to the WIFI shared hotspot address location information and the shared time period, so as to query the vicinity according to the geographic location information of the user end. The WIFI shared hotspot is delivered to the client;
所述鉴权模块93,配置为接收用户端发送的鉴权信息,对用户端进行鉴权;The authentication module 93 is configured to receive authentication information sent by the user end, and authenticate the user end;
具体地,所述鉴权模块93,对用户信息进行鉴权,确认用户名和密码是否匹配;当用户发送的鉴权信息中的用户名和密码与用户端注册时的用户名密码匹配成功时,则鉴权通过,否则,鉴权失败。Specifically, the authentication module 93 authenticates the user information, and confirms whether the user name and the password match. When the user name and password in the authentication information sent by the user are successfully matched with the user name and password when the user is registered, Authentication passed, otherwise, authentication failed.
所述装置还包括信息接收模块97,配置为接收用户发送的自身的地理位置信息;The device further includes an information receiving module 97 configured to receive geographic location information sent by the user;
本发明实施例中,用户端在与WIFI热点建立连接之前,用户端与中央服务器之间通过3G、4G网络或其他WIFI热点建立连接。In the embodiment of the present invention, before the UE establishes a connection with the WIFI hotspot, the UE establishes a connection with the central server through a 3G, 4G network or other WIFI hotspot.
所述WIFI共享热点发送模块94,配置为根据用户端上报的地理位置信息,在数据库中查找附近可用的WIFI共享热点,并将查找到的WIFI热点信息发送到用户端;The WIFI shared hotspot sending module 94 is configured to search for a nearby WIFI shared hotspot in the database according to the geographical location information reported by the user, and send the found WIFI hotspot information to the user end;
所述WIFI共享热点发送模块94对附近可用的WIFI共享热点的查找和 发送可以预先设置查找范围,例如,设置查询用户端所在位置10m以内的WIFI共享热点、或者设置查找用户端所在位置50m以内的WIFI共享热点并发送到用户端;也可以预先设置发送给用户端的WIFI共享热点的数量,例如,设置查询用户端所在位置50m以内的WIFI共享热点,根据WIFI共享热点的共享时间段内的可使用时间、信号强度、连接速度等信息进行排序,选择排序的前10个WIFI共享热点发送到用户端。The WIFI shared hotspot sending module 94 searches for a nearby WIFI shared hotspot and Sending can set the search range in advance. For example, set the WIFI shared hotspot within 10m of the location where the client is located, or set the WIFI shared hotspot within 50m of the location where the client is located and send it to the client; or set the WIFI sent to the client in advance. The number of shared hotspots, for example, setting the WIFI shared hotspot within 50m of the location of the query client, sorting according to the available time, signal strength, connection speed and other information in the shared time period of the WIFI shared hotspot, and selecting the top 10 sorted. The WIFI shared hotspot is sent to the client.
所述WIFI共享热点发送模块94下发查找到的WIFI热点信息可以选择普通发送方式进行发送,也可以将查找到的WIFI热点信息进行加密后再进行下发。The WIFI hotspot information sent by the WIFI shared hotspot sending module 94 can be sent in the normal sending mode, and the WIFI hotspot information can be encrypted and then sent.
所述信息接收模块97,还配置为接收用户端上报的连接结果,并进行存储;The information receiving module 97 is further configured to receive the connection result reported by the user end, and store the result;
所述数据收发模块95,配置为将接收到的用户端通过WIFI共享热点发送的加密后的数据并进行解密后发送到互联网;将接收到的来自互联网的数据进行加密后,通过WIFI共享热点发送至用户端。The data transceiver module 95 is configured to send the encrypted data sent by the received client through the WIFI shared hotspot to the Internet, and then send the data to the Internet after being encrypted, and then send the data from the Internet through the WIFI sharing hotspot. To the client.
所述存储模块96还配置为对每一个WIFI共享热点建立使用动态信息库,将被使用次数,时间等写入动态信息库;The storage module 96 is further configured to establish a usage dynamic information database for each WIFI shared hotspot, and write the used times, times, and the like into the dynamic information database;
这里,所述存储模块96将被使用次数,时间等写入数据库,可以作为后续使用情况和计费参考信息。例如,在后续使用中,WIFI共享热点控制端可以根据中央服务器中存储的各WIFI共享热点的使用次数和时间,选择用户端接入较多的WIFI共享热点作为商家信息推送的WIFI共享热点,或者选择用户端接入较多的WIFI共享热点进行适当收费。Here, the storage module 96 writes the number of times, time, and the like into the database, which can be used as subsequent usage and billing reference information. For example, in the subsequent use, the WIFI shared hotspot control terminal may select a WIFI shared hotspot with more access by the user as the WIFI shared hotspot pushed by the merchant information according to the usage times and time of each WIFI shared hotspot stored in the central server, or Select the WIFI shared hotspot with more access to the client for appropriate charging.
本发明实施例还提供了一种WIFI连接系统,图10为本发明实施例WIFI连接系统组成结构示意图,如图10所示,所述WIFI连接系统包括:WIFI共享热点控制端101、用户端102、中央服务器103、WIFI共享热点104;其中, The embodiment of the present invention further provides a WIFI connection system. FIG. 10 is a schematic structural diagram of a WIFI connection system according to an embodiment of the present invention. As shown in FIG. 10, the WIFI connection system includes: a WIFI shared hotspot control end 101, and a user end 102. , the central server 103, the WIFI shared hotspot 104; wherein
所述WIFI共享热点控制端101配置为WIFI共享热点控制端向所述中央服务器103发起WIFI共享热点注册;并发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器;The WIFI shared hotspot control end 101 is configured to initiate a WIFI shared hotspot registration to the central server 103 by the WIFI shared hotspot control end; and send the geographical location information, MAC address, and password information of the WIFI shared hotspot to the central server;
具体地,所述WIFI共享热点控制端101向中央服务器103发起WIFI共享热点注册,提交WIFI共享热点对应的用户名和密码;并在注册成功后,发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器103,以便中央服务器103根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端102;并根据WIFI共享热点的地理位置信息、MAC地址、密码信息对对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置,以便用户端102从接收到的中央服务器103下发的WIFI共享热点中选择当前时间段信号最好,速度最快的WIFI共享热点进行连接;Specifically, the WIFI shared hotspot control end 101 initiates a WIFI shared hotspot registration to the central server 103, and submits a username and password corresponding to the WIFI shared hotspot; and after the registration is successful, sends the geographic location information, MAC address, and password of the WIFI shared hotspot. The information is sent to the central server 103, so that the central server 103 queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user terminal 102; and pairs the central server according to the geographic location information, MAC address, and password information of the WIFI shared hotspot. The sharing time period, the number of shared people, and the shared bandwidth of the WIFI shared hotspot are set, so that the user terminal 102 selects the best time zone signal and the fastest WIFI shared hotspot from the received WIFI shared hotspot delivered by the central server 103. Make a connection;
本步骤中,WIFI共享热点控制端101将与自身有连接关系的WIFI共享热点向中央服务器103发起WIFI共享热点注册,提交WIFI共享热点对应的用户名和密码。这里,与WIFI共享热点控制端101有连接关系的WIFI共享热点可以为一个,也可以为多个。In this step, the WIFI shared hotspot control terminal 101 initiates a WIFI shared hotspot registration to the central server 103, and submits a username and password corresponding to the WIFI shared hotspot. Here, the WIFI shared hotspots that have a connection relationship with the WIFI shared hotspot control end 101 may be one or more.
所述用户端102,配置为向中央服务器103发起用户注册;中央服务器103发送用户鉴权信息,鉴权通过时,向中央服务器103发送自身的地理位置信息;接收中央服务器103下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器。The user terminal 102 is configured to initiate a user registration to the central server 103. The central server 103 sends the user authentication information. When the authentication is passed, the geographic location information is sent to the central server 103. The current location sent by the central server 103 is received. The WIFI hotspot information, select the WIFI hotspot to connect, and report the connection result to the central server.
具体地,所述用户端102用户端向中央服务器103注册发起用户注册,提交当前用户对应的用户名和密码;当终端需要进行无线互联时,用户端102向中央服务器103发送用户鉴权信息;鉴权成功后,向中央服务器103发送自身的地理位置信息;从接收到的WIFI共享热点中选择当前时间段信号最好,速度最快的WIFI共享热点进行连接,并将连接结果上报到中央服 务器。这里,用户端102根据接收到的各WIFI共享热点中的共享时间段、共享人数、共享带宽进行综合判断,选择当前时间段信号最好,速度最快的WIFI共享热点进行连接。Specifically, the user terminal 102 registers the initiating user registration with the central server 103, and submits the user name and password corresponding to the current user; when the terminal needs to perform wireless interconnection, the user terminal 102 sends the user authentication information to the central server 103; After the success of the right, the geographic location information is sent to the central server 103; the best time segment signal is selected from the received WIFI shared hotspot, and the fastest WIFI shared hotspot is connected, and the connection result is reported to the central service. Server. Here, the user terminal 102 performs comprehensive judgment according to the shared time period, the number of shared people, and the shared bandwidth in each received WIFI shared hotspot, and selects the WIFI shared hotspot with the best current time period and the fastest speed to connect.
所述中央服务器103,配置为对用户端102进行鉴权;根据用户端102的地理位置信息查询附近的WIFI共享热点,并下发到用户端102。The central server 103 is configured to authenticate the user terminal 102; query the nearby WIFI shared hotspot according to the geographic location information of the user terminal 102, and send it to the client 102.
具体地,所述中央服务器103配置为接收WIFI共享热点控制端101的注册信息,并将当前WIFI共享热点加入到数据库;接收用户端102的注册信息,将所述注册信息进行存储;向其注册的WIFI共享热点进行汇总,按照WIFI共享热点地址位置信息、共享时间段等对WIFI共享热点进行分类,以便根据用户端102的地理位置信息查询附近的WIFI共享热点,并下发到用户端102;接收用户端102发送的鉴权信息,对用户端进行鉴权;Specifically, the central server 103 is configured to receive the registration information of the WIFI shared hotspot control end 101, and add the current WIFI shared hotspot to the database; receive the registration information of the user end 102, store the registration information, and register with the registration information. The WIFI shared hotspots are summarized, and the WIFI shared hotspots are classified according to the WIFI shared hotspot address location information, the shared time period, and the like, so as to query the nearby WIFI shared hotspots according to the geographic location information of the user terminal 102, and send them to the user terminal 102; Receiving the authentication information sent by the client 102, and authenticating the user end;
具体地,中央服务器103对用户信息进行鉴权,确认用户名和密码是否匹配;当用户发送的鉴权信息中的用户名和密码与用户端注册时的用户名密码匹配成功时,则鉴权通过,否则,鉴权失败。Specifically, the central server 103 authenticates the user information, and confirms whether the user name and the password match. When the user name and password in the authentication information sent by the user are successfully matched with the user name and password when the user is registered, the authentication is passed. Otherwise, authentication fails.
所述中央服务器103还配置为接收用户端102发送的自身的地理位置信息;根据用户端102上报的地理位置信息,在数据库中查找附近可用的WIFI共享热点,并将查找到的WIFI热点信息发送到用户端102;The central server 103 is further configured to receive the geographic location information sent by the user terminal 102; according to the geographical location information reported by the user terminal 102, look for the available WIFI shared hotspots in the database, and send the found WIFI hotspot information. To the client 102;
这里,中央服务器103对附近可用的WIFI共享热点的查找和发送可以预先设置查找范围,例如,设置查询用户端102所在位置10m以内的WIFI共享热点、或者设置查找用户端102所在位置50m以内的WIFI共享热点并发送到用户端102;也可以预先设置发送给用户端102的WIFI共享热点的数量,例如,设置查询用户端102所在位置50m以内的WIFI共享热点,根据WIFI共享热点的共享时间段内的可使用时间、信号强度、连接速度等信息进行排序,选择排序的前10个WIFI共享热点发送到用户端102。Here, the central server 103 may set a search range for the search and transmission of the WIFI shared hotspots available nearby, for example, setting a WIFI sharing hotspot within 10m of the location where the client 102 is located, or setting a WIFI within 50m of the location where the client 102 is located. The hotspot is shared and sent to the client 102. The number of WIFI shared hotspots sent to the client 102 can be set in advance. For example, the WIFI shared hotspot within 50 m of the location where the client 102 is located is set, according to the shared time period of the WIFI shared hotspot. The available time, signal strength, connection speed and other information are sorted, and the top 10 WIFI shared hotspots selected for sorting are sent to the client 102.
所述中央服务器103还配置为接收用户端上报的连接结果; The central server 103 is further configured to receive a connection result reported by the user end;
本发明实施例中,用户端102在与WIFI热点建立连接之前,用户端102与中央服务器之间通过3G、4G网络或其他WIFI热点建立连接。In the embodiment of the present invention, before the UE 102 establishes a connection with the WIFI hotspot, the client 102 and the central server establish a connection through a 3G, 4G network or other WIFI hotspot.
当所述用户端101与WIFI共享热点建立连接后,使用所连接的WIFI共享热点进行数据传输时,所述当所述用户端102还配置为:将数据加密后的数据通过WIFI共享热点发送至中央服务器103;接收中央服务器103通过WIFI共享热点下发的加密后的数据并进行解密后提供用户使用。When the user terminal 101 establishes a connection with the WIFI shared hotspot and uses the connected WIFI shared hotspot to perform data transmission, the user terminal 102 is further configured to: send the data encrypted by the data to the WIFI shared hotspot to the The central server 103 receives the encrypted data delivered by the central server 103 through the WIFI shared hotspot and decrypts it to provide the user for use.
所述中央服务器103还配置为:将接收到的用户端102通过WIFI共享热点发送的加密后的数据进行解密后发送到互联网;将互联网发送的数据加密后通过WIFI共享热点下发到用户端102;The central server 103 is further configured to: decrypt the encrypted data sent by the received client 102 through the WIFI shared hotspot, and then send the encrypted data to the Internet; the data sent by the Internet is encrypted and sent to the client 102 through the WIFI shared hotspot. ;
所述WIFI共享热点控制端101还配置为将接收到的来自用户端的加密后的数据发送到中央服务器103;将接收到的来中央服务器103的加密后的数据发送到用户端102。The WIFI shared hotspot control terminal 101 is further configured to send the received encrypted data from the client to the central server 103; and send the received encrypted data from the central server 103 to the client 102.
这里,用户端102与中央服务器103采用相同的加密/解密协议对数据包进行加密和解密,所述加密/解密协议可以在用户注册的过程中确定。Here, the client 102 and the central server 103 encrypt and decrypt the data packet using the same encryption/decryption protocol, which can be determined during the user registration process.
在上述过程中,中央服务器103还配置为对每一个WIFI共享热点建立使用动态信息库,将被使用次数,时间等写入动态信息库;In the above process, the central server 103 is further configured to establish a usage dynamic information database for each WIFI shared hotspot, and write the used times, times, and the like into the dynamic information database;
中央服务器103将被使用次数,时间等写入数据库,可以作为后续使用情况和计费参考信息。例如,在后续使用中,WIFI共享热点控制端101可以根据中央服务器103中存储的各WIFI共享热点的使用次数和时间,选择用户端102接入较多的WIFI共享热点作为商家信息推送的WIFI共享热点,或者选择用户端接入较多的WIFI共享热点进行适当收费。The central server 103 writes the number of times of use, time, etc. into the database, which can be used as subsequent usage and billing reference information. For example, in the subsequent use, the WIFI shared hotspot control terminal 101 can select the WIFI shared hotspot accessed by the user terminal 102 as the WIFI sharing of the merchant information push according to the usage times and times of the WIFI shared hotspots stored in the central server 103. Hotspots, or select WIFI shared hotspots with more user access for proper charging.
图7至图9中所示的WIFI连接装置以及中央服务器中的各处理模块的实现功能,可参照前述WIFI连接方法的相关描述而理解。本领域技术人员应当理解,图7至图9中所示的WIFI连接装置以及中央服务器中各处理单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路 而实现,比如:可由中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)、或现场可编程门阵列(FPGA)实现;所述存储单元也可以由各种存储器、或存储介质实现。The functions of the WIFI connection apparatus shown in FIG. 7 to FIG. 9 and the processing modules of the central server can be understood by referring to the related description of the aforementioned WIFI connection method. It should be understood by those skilled in the art that the functions of the WIFI connection device shown in FIG. 7 to FIG. 9 and the processing units in the central server may be implemented by a program running on the processor, or may be through a specific logic circuit. The implementation may be implemented, for example, by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA); the storage unit may also be composed of various memories, Or storage media implementation.
在本发明所提供的几个实施例中,应该理解到,所揭露的方法、装置及系统,可以通过其他的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个模块或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性的、机械的或其他形式的。In the several embodiments provided by the present invention, it should be understood that the disclosed method, apparatus, and system may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be another division manner, for example, multiple modules or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the communication connections between the various components shown or discussed may be indirect coupling or communication connections through some interfaces, devices or modules, and may be electrical, mechanical or otherwise.
上述作为分离部件说明的模块可以是、或也可以不是物理上分开的,作为模块显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部模块来实现本实施例方案的目的。The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能模块可以全部集成在一个处理模块中,也可以是各模块分别单独作为一个模块,也可以两个或两个以上模块集成在一个模块中;上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may be separately used as one module, or two or more modules may be integrated into one module; The module can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。It will be understood by those skilled in the art that all or part of the steps of implementing the foregoing method embodiments may be performed by hardware related to program instructions. The foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a read-only memory (ROM), a magnetic disk or an optical disk, and the like, which can store program codes.
或者,本发明实施例上述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介 质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、数据库、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Alternatively, the integrated module described above may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Quality. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, database, or network device, etc.) is implemented to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk. Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on the computer or other programmable device to produce the computer The implemented processing, such as instructions executed on a computer or other programmable device, provides steps for implementing the functions specified in one or more blocks of the flowchart or in a block or blocks of the flowchart.
本发明实例施中记载的WIFI连接方法、装置和系统只以上述实施例为例,但不仅限于此,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。The WIFI connection method, device and system described in the examples of the present invention are only exemplified by the above embodiments, but are not limited thereto, and those skilled in the art should understand that the technical solutions described in the foregoing embodiments can still be performed. Modifications, or equivalents to some or all of the technical features, and the modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present invention.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims (23)

  1. 一种WIFI连接方法,所述方法包括:A WIFI connection method, the method comprising:
    向中央服务器发送用户鉴权信息,鉴权通过时,向中央服务器发送自身的地理位置信息;Sending user authentication information to the central server, and transmitting the geographic location information to the central server when the authentication is passed;
    接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器。Receive the WIFI hotspot information of the current location delivered by the central server, select the WIFI hotspot to connect, and report the connection result to the central server.
  2. 根据权利要求1所述方法,其中,向中央服务器发送用户鉴权信息之前,所述方法还包括:向中央服务器发起用户注册。The method of claim 1 wherein prior to transmitting the user authentication information to the central server, the method further comprises: initiating user registration with the central server.
  3. 根据权利要求1所述方法,其中,所述选择WIFI热点进行连接包括:从接收到的WIFI共享热点中选择信号最好,速度最快的WIFI共享热点进行连接。The method of claim 1, wherein the selecting the WIFI hotspot to connect comprises: selecting the best WIFI shared hotspot from the received WIFI shared hotspot, and connecting the fastest WIFI shared hotspot.
  4. 根据权利要1至3任一项所述方法,其中,所述方法还包括:The method of any one of claims 1 to 3, wherein the method further comprises:
    将数据加密后通过WIFI共享热点发送至中央服务器;Encrypt the data and send it to the central server through the WIFI shared hotspot;
    将接收到的中央服务器通过WIFI共享热点下发的加密后的数据并进行解密。The encrypted data sent by the received central server through the WIFI shared hotspot is decrypted.
  5. 一种WIFI连接方法,所述方法包括:A WIFI connection method, the method comprising:
    向中央服务器发起WIFI共享热点注册;发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器,使得中央服务器能够根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端。The WIFI shared hotspot registration is initiated to the central server; the geographic location information, the MAC address, and the password information of the WIFI shared hotspot are sent to the central server, so that the central server can query the nearby WIFI shared hotspot according to the geographic location information of the user, and deliver the hotspot to the user. .
  6. 根据权利要求5所述方法,其中,所述方法还包括:对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置,使得用户端能够从接收到的中央服务器下发的WIFI共享热点中选择当前时间段信号最好,速度最快的WIFI共享热点进行连接。The method of claim 5, wherein the method further comprises: setting a shared time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server, so that the user can send the WIFI from the received central server. In the shared hotspot, select the best time zone signal and connect the fastest WIFI shared hotspot.
  7. 一种WIFI连接方法,所述方法包括:A WIFI connection method, the method comprising:
    WIFI共享热点控制端向中央服务器发起WIFI共享热点注册;并发送 WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器;The WIFI shared hotspot control end initiates WIFI shared hotspot registration to the central server; and sends The geographic location information, MAC address, and password information of the WIFI shared hotspot are sent to the central server;
    用户端向中央服务器发送用户鉴权信息;The client sends user authentication information to the central server;
    中央服务器对用户端进行鉴权;The central server authenticates the client;
    鉴权通过时,用户端向中央服务器发送自身的地理位置信息;When the authentication is passed, the UE sends its geographic location information to the central server;
    中央服务器根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端;The central server queries the nearby WIFI shared hotspot according to the geographic location information of the user, and delivers the hotspot to the user terminal;
    用户端接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器。The client receives the WIFI hotspot information of the current location delivered by the central server, selects the WIFI hotspot to connect, and reports the connection result to the central server.
  8. 根据权利要求7所述方法,其中,用户端向中央服务器发送用户鉴权信息之前,所述方法还包括:用户端向中央服务器发起用户注册。The method of claim 7, wherein before the user sends the user authentication information to the central server, the method further comprises: the user terminal initiating user registration with the central server.
  9. 根据权利要求7所述方法,其中,所述方法还包括:WIFI共享热点控制端对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置。The method according to claim 7, wherein the method further comprises: setting, by the WIFI shared hotspot control terminal, a shared time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server.
  10. 根据权利要求7所述方法,其中,所述用户端选择WIFI热点进行连接包括:从接收到的WIFI共享热点中选择信号最好,速度最快的WIFI共享热点进行连接。The method of claim 7, wherein the selecting, by the UE, the WIFI hotspot to connect comprises: selecting the best WIFI shared hotspot from the received WIFI shared hotspot, and connecting the fastest WIFI shared hotspot.
  11. 根据权利要求7至10任一项所述方法,其中,所述方法还包括:The method of any one of claims 7 to 10, wherein the method further comprises:
    用户端将数据加密后通过WIFI共享热点发送至中央服务器;中央服务器将所述加密后的数据解密后发送到互联网;The client encrypts the data and sends it to the central server through the WIFI shared hotspot; the central server decrypts the encrypted data and sends it to the Internet;
    中央服务器将互联网发送的数据加密后通过WIFI共享热点下发到用户端;用户端将所述加密后的数据进行解密。The central server encrypts the data sent by the Internet and sends the data to the user through the WIFI shared hotspot; the user decrypts the encrypted data.
  12. 一种WIFI连接装置,所述装置位于用户端,包括:信息发送模块、热点连接模块;其中,A WIFI connection device, the device is located at a user end, and includes: an information sending module and a hotspot connection module; wherein
    所述信息发送模块,配置为向中央服务器发送用户鉴权信息,鉴权通过时,向中央服务器发送自身的地理位置信息; The information sending module is configured to send user authentication information to the central server, and send the geographic location information to the central server when the authentication is passed;
    所述热点连接模块,配置为接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器。The hotspot connection module is configured to receive the WIFI hotspot information of the current location delivered by the central server, select a WIFI hotspot to connect, and report the connection result to the central server.
  13. 根据权利要求12所述装置,其中,所述装置还包括注册模块,配置为向中央服务器发起用户注册。The apparatus of claim 12 wherein said apparatus further comprises a registration module configured to initiate a user registration with a central server.
  14. 根据权利要求12所述装置,其中,所述热点连接模块配置为从接收到的WIFI共享热点中选择信号最好,速度最快的WIFI共享热点进行连接。The apparatus according to claim 12, wherein said hotspot connection module is configured to select a signal from the received WIFI shared hotspot, preferably the fastest WIFI shared hotspot to connect.
  15. 根据权利要求12至14任一项所述装置,其中,所述装置还包括数据收发模块,配置为将数据加密后通过WIFI共享热点发送至中央服务器;并将接收到的中央服务器通过WIFI共享热点下发的加密后的数据并进行解密。The device according to any one of claims 12 to 14, wherein the device further comprises a data transceiver module configured to encrypt the data and send the data to the central server through the WIFI shared hotspot; and the received central server shares the hotspot through the WIFI The encrypted data is delivered and decrypted.
  16. 一种WIFI连接装置,所述装置位于WIFI共享热点控制端,包括:注册模块、信息发送模块;其中,A WIFI connection device, where the device is located at a WIFI shared hotspot control end, and includes: a registration module and an information sending module;
    所述注册模块,配置为向中央服务器发起WIFI共享热点注册;The registration module is configured to initiate a WIFI shared hotspot registration to the central server;
    所述信息发送模块,配置为发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中央服务器,使得中央服务器能够根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端。The information sending module is configured to send the geographic location information, the MAC address, and the password information of the WIFI shared hotspot to the central server, so that the central server can query the nearby WIFI shared hotspot according to the geographic location information of the user, and deliver the hotspot to the user end.
  17. 根据权利要求16所述装置,其中,所述装置还包括设置模块,配置为对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置,使得用户端能够从接收到的中央服务器下发的WIFI共享热点中选择当前时间段信号最好,速度最快的WIFI共享热点进行连接。The device according to claim 16, wherein the device further comprises a setting module configured to set a sharing time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server, so that the user terminal can receive the received central server. The WIFI shared hotspots that are delivered are selected to have the best current time segment signal and the fastest WIFI shared hotspot to connect.
  18. 一种WIFI连接系统,所述系统包括WIFI共享热点控制端、用户端、中央服务器;其中,A WIFI connection system, the system includes a WIFI shared hotspot control end, a user end, and a central server; wherein
    所述WIFI共享热点控制端,配置为向中央服务器发起WIFI共享热点注册,并发送WIFI共享热点的地理位置信息、MAC地址、密码信息到中 央服务器;The WIFI shared hotspot control end is configured to initiate a WIFI shared hotspot registration to the central server, and send the geographical location information, MAC address, and password information of the WIFI shared hotspot to the middle. Central server
    所述用户端,配置为向中央服务器发送用户鉴权信息;鉴权通过时,用户端向中央服务器发送自身的地理位置信息;接收中央服务器下发的当前位置的WIFI热点信息,选择WIFI热点进行连接,并将连接结果上报到中央服务器;The user terminal is configured to send user authentication information to the central server; when the authentication is passed, the user terminal sends its own geographic location information to the central server; receives the WIFI hotspot information of the current location delivered by the central server, and selects a WIFI hotspot. Connect and report the connection result to the central server;
    所述中央服务器,配置为对用户端进行鉴权;根据用户端的地理位置信息查询附近的WIFI共享热点,并下发到用户端。The central server is configured to authenticate the user end; query the nearby WIFI shared hotspot according to the geographic location information of the user, and deliver the hotspot to the user end.
  19. 根据权利要求18所述系统,其中,所述用户端还配置为向中央服务器发起用户注册。The system of claim 18 wherein said client is further configured to initiate a user registration with a central server.
  20. 根据权利要求18所述系统,其中,所述WIFI共享热点控制端还配置为:对中央服务器中WIFI共享热点的共享时间段、共享人数、共享带宽进行设置。The system of claim 18, wherein the WIFI shared hotspot control end is further configured to: set a sharing time period, a shared number of people, and a shared bandwidth of the WIFI shared hotspot in the central server.
  21. 根据权利要求18所述系统,其中,所述用户端配置为从接收到的WIFI共享热点中选择信号最好,速度最快的WIFI共享热点进行连接。The system of claim 18, wherein the client is configured to select the best WIFI shared hotspot from the received WIFI shared hotspot, and connect the fastest WIFI shared hotspot.
  22. 根据权利要求18至21任一项所述系统,其中,所述用户端还配置为:将数据加密后的数据通过WIFI共享热点发送至中央服务器;接收中央服务器通过WIFI共享热点下发的加密后的数据并进行解密;The system according to any one of claims 18 to 21, wherein the user terminal is further configured to: send the data encrypted by the data to the central server through the WIFI shared hotspot; and receive the encrypted information sent by the central server through the WIFI shared hotspot. Data and decrypt it;
    所述中央服务器还配置为:将接收到的用户端通过WIFI共享热点发送的加密后的数据进行解密后发送到互联网;将互联网发送的数据加密后通过WIFI共享热点下发到用户端;The central server is further configured to: decrypt the encrypted data sent by the received client through the WIFI shared hotspot, and then send the encrypted data to the Internet; and encrypt the data sent by the Internet and send the data to the user through the WIFI shared hotspot;
    所述WIFI共享热点控制端还配置为:将接收到的来自用户端的加密后的数据发送到中央服务器;将接收到的来中央服务器的加密后的数据发送到用户端。The WIFI shared hotspot control end is further configured to: send the received encrypted data from the user end to the central server; and send the received encrypted data to the central server to the user end.
  23. 一种计算机存储介质,所述计算机存储介质,所述计算机存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行如权利要 求1至4任一项所述的WIFI连接方法,或者执行如权利要求5或6所述的WIFI连接方法。 A computer storage medium, the computer storage medium comprising a set of instructions that, when executed, cause at least one processor to execute as claimed The WIFI connection method according to any one of 1 to 4, or the WIFI connection method according to claim 5 or 6.
PCT/CN2014/088494 2014-08-19 2014-10-13 Wifi connection method, device and system, and computer storage medium WO2015117351A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410413241.9 2014-08-19
CN201410413241.9A CN105472550A (en) 2014-08-19 2014-08-19 Method, device and system for WIFI connection

Publications (1)

Publication Number Publication Date
WO2015117351A1 true WO2015117351A1 (en) 2015-08-13

Family

ID=53777176

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088494 WO2015117351A1 (en) 2014-08-19 2014-10-13 Wifi connection method, device and system, and computer storage medium

Country Status (2)

Country Link
CN (1) CN105472550A (en)
WO (1) WO2015117351A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010693A (en) * 2019-11-25 2020-04-14 华为技术有限公司 Method for providing wireless fidelity WiFi network access service and electronic equipment
CN116709313A (en) * 2023-08-07 2023-09-05 江西科技学院 WiFi sharing method, system and storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107318085A (en) * 2016-04-26 2017-11-03 中兴通讯股份有限公司 WIFI hot spot method for pushing and device
CN107426745B (en) * 2016-05-24 2021-10-08 中兴通讯股份有限公司 Method and device for controlling internet
CN106714108A (en) * 2016-12-31 2017-05-24 深圳天珑无线科技有限公司 Communication hotspot accessing method and system, and mobile terminal
CN107967615B (en) * 2017-08-28 2021-06-15 武汉爱哦科技有限公司 Commodity display system based on WiFi sharing
CN107820300A (en) * 2017-11-27 2018-03-20 北京小米移动软件有限公司 Network search method and device
CN108668277B (en) 2018-04-17 2020-01-14 上海连尚网络科技有限公司 Method and equipment for sharing and acquiring information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070167173A1 (en) * 2006-01-19 2007-07-19 Halcrow Michael A Generating and dynamically updating databases of WIFI hotspots locations and performance metrics via location mappers
CN102665197A (en) * 2012-04-18 2012-09-12 深圳市天和荣视频技术有限公司 WIFI (wireless fidelity) device configuration method
CN102869073A (en) * 2012-09-14 2013-01-09 中兴通讯股份有限公司 Method for processing wireless hotspot information and method for automatically accessing wireless hotspot
CN103731931A (en) * 2013-09-22 2014-04-16 深圳市优逸电子科技有限公司 Wireless wifi hotspot sharing method and system
CN103796238A (en) * 2012-10-29 2014-05-14 中国移动通信集团山东有限公司 Wireless local area network (WLAN) test method, device and system
CN103889013A (en) * 2012-12-19 2014-06-25 中国移动通信集团北京有限公司 Cellular network and WLAN seamless switching method, device and client

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070167173A1 (en) * 2006-01-19 2007-07-19 Halcrow Michael A Generating and dynamically updating databases of WIFI hotspots locations and performance metrics via location mappers
CN102665197A (en) * 2012-04-18 2012-09-12 深圳市天和荣视频技术有限公司 WIFI (wireless fidelity) device configuration method
CN102869073A (en) * 2012-09-14 2013-01-09 中兴通讯股份有限公司 Method for processing wireless hotspot information and method for automatically accessing wireless hotspot
CN103796238A (en) * 2012-10-29 2014-05-14 中国移动通信集团山东有限公司 Wireless local area network (WLAN) test method, device and system
CN103889013A (en) * 2012-12-19 2014-06-25 中国移动通信集团北京有限公司 Cellular network and WLAN seamless switching method, device and client
CN103731931A (en) * 2013-09-22 2014-04-16 深圳市优逸电子科技有限公司 Wireless wifi hotspot sharing method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010693A (en) * 2019-11-25 2020-04-14 华为技术有限公司 Method for providing wireless fidelity WiFi network access service and electronic equipment
CN111010693B (en) * 2019-11-25 2023-10-03 华为技术有限公司 Method for providing wireless fidelity network access service and electronic equipment
CN116709313A (en) * 2023-08-07 2023-09-05 江西科技学院 WiFi sharing method, system and storage medium
CN116709313B (en) * 2023-08-07 2023-10-17 江西科技学院 WiFi sharing method, system and storage medium

Also Published As

Publication number Publication date
CN105472550A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
WO2015117351A1 (en) Wifi connection method, device and system, and computer storage medium
US10412061B2 (en) Method and system for encrypted communications
WO2017028593A1 (en) Method for making a network access device access a wireless network access point, network access device, application server, and non-volatile computer readable storage medium
US9100497B2 (en) Method, system and apparatus for managing persona-based notifications at a communication device
US20210014061A1 (en) Identity proofing offering for customers and non-customers
US20090328141A1 (en) Authentication, identity, and service management for computing and communication systems
US10291594B2 (en) Systems and methods for data encryption and decryption
US20190147441A1 (en) Method and device for providing and obtaining graphic code information, and terminal
US11108548B2 (en) Authentication method, server, terminal, and gateway
US9445269B2 (en) Terminal identity verification and service authentication method, system and terminal
WO2013097588A1 (en) Application login method, device and mobile terminal
EP2767029B1 (en) Secure communication
CN107026824A (en) A kind of message encryption, decryption method and device
KR20080090534A (en) Method and system for recursive authentication in a mobile network
WO2019214351A1 (en) Message processing method and device
CN105306210A (en) Method, device and system for realizing authorization through application
EP2985945A1 (en) Method for secure e-mail exchange
KR102171377B1 (en) Method of login control
US8972729B2 (en) Secure information delivery
WO2018099407A1 (en) Account authentication login method and device
US20160150403A1 (en) System and method for transmitting a secure message over a signaling network
CN103368728A (en) Safe logging-in method, system and device
WO2017114156A1 (en) Method for encrypted transmission of data, base station and pdt terminal
JP7231010B2 (en) CONTROL DEVICE, WIRELESS COMMUNICATION SYSTEM, CONTROL METHOD AND PROGRAM
CN109151816B (en) Network authentication method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14881548

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14881548

Country of ref document: EP

Kind code of ref document: A1