WiFi access method and system

By collaborating with mobile devices and cloud servers, one-click direct connection to WiFi networks is achieved, solving the problems of cumbersome operation and slow connection in existing technologies. This provides an efficient WiFi access method suitable for various scenarios.

CN120935706APending Publication Date: 2025-11-11GUANGZHOU V-SOLUTION TELECOMM TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510903423.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-01
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

Existing WiFi connection methods are cumbersome to operate, have limited application scenarios, and are not fast enough.

Method used

The mobile device establishes a connection with the cloud server, obtains a list of stored WiFi networks, selects a WiFi network and connects with one click, the cloud server configures the router and stores location information, provides permission management and dynamic password management, and the router receives and verifies the password to realize WiFi network connection.

Benefits of technology

It enables one-click connection without manual verification of WiFi passwords in multiple scenarios, reducing maintenance complexity, improving connection efficiency, and is suitable for various scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120935706A_ABST
    Figure CN120935706A_ABST
Patent Text Reader

Abstract

The invention provides a WiFi access method and system, which can realize one-key direct WiFi connection without checking a WiFi password in a plurality of scenes, and a mobile device establishes connection with a cloud server. The mobile device sends a WiFi connection request to the cloud server; the mobile device receives a stored WiFi network list sent from the cloud server; and the mobile device selects a WiFi network from the WiFi network list to realize WiFi network connection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of the Internet, and in particular to a WiFi access method and system. Background Technology

[0002] With the widespread adoption of smartphones and the rapid development of mobile internet, WiFi has become an indispensable part of users' daily lives. Whether in homes, offices, public places, smart homes, or enterprise networks, WiFi connectivity plays a crucial role. To meet the needs of different scenarios, users are increasingly using diverse methods to connect to WiFi on their phones.

[0003] Among the ways users connect to WiFi, the most common are manual connection and automatic connection. Generally, the user first searches for a list of nearby WiFi networks, selects the target network from the list, enters the network connection information, and the next time they return to the network environment, the phone can automatically connect to the WiFi network using the saved SSID and password.

[0004] Another common method is to guide users to verify information by using their mobile phone number to access public WiFi networks or by scanning a QR code to verify private WiFi information, thereby allowing the phone to automatically connect to the corresponding WiFi network.

[0005] A search of existing technical literature revealed a patent application with application number 201710120531.8, titled "A Method and System for Conveniently Connecting to a WiFi Router." This patent includes: a device terminal querying and scanning for nearby available WiFi routers; establishing a connection with the WiFi router and receiving a prompt to download and install client software; if the software is not installed, installing the corresponding client software according to the prompt; receiving the WiFi name entered by the user on the client software, and the client software querying and requesting the corresponding password locally; receiving the password entered by the user on the WiFi connection interface, verifying the password, and finally successfully connecting to the WiFi. However, this patent suffers from problems such as cumbersome operation, limited application scenarios, and slow WiFi connection. Summary of the Invention

[0006] To address the aforementioned shortcomings of existing methods, this invention proposes a WiFi access method and system that enables one-click WiFi connection in multiple scenarios without the need for manual WiFi password verification.

[0007] To solve the above-mentioned technical problems, the present invention provides the following technical solution: In a first aspect, the present invention provides a WiFi access method applied to a mobile device, the method comprising: Mobile devices establish a connection with cloud servers; The mobile device sends a WiFi connection request to the cloud server; The mobile device sends its location information to the cloud server. Mobile devices receive a list of stored WiFi networks sent from a cloud server; Mobile devices select a WiFi network from the list of WiFi networks to connect to the WiFi network.

[0008] Preferably, the mobile device selects a WiFi network from the WiFi network list. The router to which the selected WiFi network belongs can be either a public router or a private router. If the selected WiFi network belongs to a public router, the cloud server does not need to send a password to the mobile device for WiFi network connection verification. If the selected WiFi network belongs to a private router, the cloud server needs to send a password to the mobile device for WiFi network connection verification.

[0009] Preferably, after the mobile device receives the list of WiFi networks sent from the cloud server, it further includes scanning and obtaining a list of nearby WiFi networks. By comparing the list of WiFi networks and the list of nearby WiFi networks, a list of WiFi networks with the same SSID is retained, and the list of WiFi networks with the same SSID is arranged according to signal strength.

[0010] Secondly, the present invention provides a WiFi access method applied to a cloud server, the method comprising: The cloud server establishes a connection with the router via network protocols; Configure the router on the cloud server and store the router's location information; After the cloud server establishes a connection with the mobile device, it receives WiFi connection requests and mobile device location information sent from the mobile device. The cloud server compares the router's location information with the mobile device's location information to obtain a list of stored WiFi networks; The cloud server sends a list of stored WiFi networks to the mobile device.

[0011] Preferably, the cloud server stores router location information and also stores router device information, including the router's power-on time.

[0012] Preferably, configuring the router on the cloud server includes: dividing the router into public routers and private routers and setting permissions.

[0013] Preferably, after configuring the router and storing the router's location information, the cloud server further includes starting a thread pool and a listening thread, and at preset intervals, the cloud server creates a random password and sends it to the router.

[0014] Preferably, the cloud server creates a random password and sends it to the router, including: The router device information is stored as a key-value pair in the Redis cache on the cloud server; The listening thread periodically compares the router's power-on time with the current time to obtain the time difference. When the time difference reaches an integer multiple of the preset time, the cloud server creates a random password. The cloud server sends a random password to the router via a network protocol; The router device information and random password are stored as key-value pairs in the Redis cache on the cloud server. Each time a random password is created, the previous router device information and random password are overwritten.

[0015] Thirdly, the present invention provides a WiFi access method applied to a router, the method comprising: After the router establishes a connection with the cloud server via network protocols, it sends router device information and router location information to the cloud server. The router receives a random password from the cloud server; The router receives and verifies the password sent from the mobile device to establish a WiFi network connection.

[0016] Fourthly, the present invention provides a WiFi access system, including: a mobile device, a cloud server, and a router; The mobile device establishes a connection with the cloud server; The mobile device sends a WiFi connection request to the cloud server; The mobile device sends its location information to the cloud server. The mobile device receives a list of stored WiFi networks sent from the cloud server; The mobile device selects a WiFi network from the WiFi network list to connect to the WiFi network; The cloud server establishes a connection with the router via a network protocol; The cloud server is configured with a router and stores the router's location information; After establishing a connection with the mobile device, the cloud server receives WiFi connection requests and mobile device location information sent from the mobile device. The cloud server compares the router's location information with the mobile device's location information to obtain a list of stored WiFi networks; The cloud server sends a list of stored WiFi networks to the mobile device; After establishing a connection with the cloud server via a network protocol, the router sends router device information and router location information to the cloud server. The router receives a random password from the cloud server; The router receives and verifies the password sent from the mobile device to establish a WiFi network connection.

[0017] Compared with the prior art, the beneficial effects of the present invention are: This invention provides a quick WiFi connection method, and based on this requirement, it provides cloud server permission management, dynamic password management, and intelligent location matching algorithm. The cloud server, mobile device, and router constitute a multi-terminal collaborative architecture, providing users with an efficient way to access WiFi networks. It is applicable to various scenarios, reduces the complexity of operation and maintenance, and enables users to connect to WiFi with one click through their mobile devices without manually verifying the WiFi password in multiple scenarios. Attached Figure Description

[0018] Figure 1 This is a schematic diagram illustrating the process of applying the WiFi access method to a mobile device in one embodiment of the present invention; Figure 2 This is a schematic diagram illustrating the process of applying the WiFi access method to a cloud server in one embodiment of the present invention; Figure 3 This is a schematic diagram illustrating the process of applying the WiFi access method to a router in one embodiment of the present invention; Figure 4 This is a schematic diagram of a WiFi access system framework in one embodiment of the present invention. Detailed Implementation

[0019] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but do not limit the invention in any way. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention.

[0020] Example 1 like Figure 1 As shown, this embodiment proposes a WiFi access method applied to mobile devices, the method comprising: Mobile devices establish a connection with cloud servers; The specific implementation of this step is as follows: Mobile devices will provide two methods for interacting with the cloud server: the commonly used mini-program and the application (App). The mini-program method involves logging in with a mobile phone number to report information to the cloud server. Mini-programs can be nested in different scenarios; for example, if a specific shopping mall provides a mall mini-program, the logic of this solution can be nested within that mall mini-program. The application (App) method provides an additional separate registration method, storing user information on the cloud server.

[0021] The mobile device sends a WiFi connection request to the cloud server; The mobile device sends its location information to the cloud server. Mobile devices receive a list of stored WiFi networks sent from a cloud server; Mobile devices select a WiFi network from the list of WiFi networks to connect to the WiFi network.

[0022] The specific implementation of this step is as follows, taking the App as an example. The App provides a method for one-click direct connection to nearby WiFi networks. First, when deploying the router environment, administrators can connect to the WiFi network and report the router information and the current location information of the mobile device to the cloud server on the App. The cloud server stores this location information and the router's MAC address, SSID, and other information as key-value pairs in the database to form a corresponding relationship, thereby ensuring the accuracy of the router's location. Then, ordinary users can access nearby WiFi networks by clicking the one-click direct connection button in the App or by clicking the widget provided by the App and placed on the system desktop. The logic for obtaining nearby WiFi networks is as follows: when the user performs the above operation, the mobile device will scan and obtain a list of nearby WiFi networks and provide location information to the cloud server to obtain a list of routers stored by the cloud server near that location. At this time, the user's TOKEN token needs to be verified by the cloud server to confirm that the user is a legitimate user. That is, after completing the registration and login on the App, a list of available WiFi networks is obtained by comparing the SSID and location information. This list will be displayed in the App, and the user can select the corresponding WiFi network according to their needs. However, the app can still automatically select a strong SSID from the list and use a plugin to verify the WiFi connection using the router password and other information provided by the cloud server. If the verification is successful, the WiFi network is successfully acquired and connected. If it fails, it tries other SSIDs from the WiFi list. If the connection still fails after a certain period, the user is informed that there are no available WiFi signals nearby. After successfully connecting to the WiFi network, the mobile device reports its location information to the cloud server. The cloud server will verify the location information against the currently stored router information. If the location deviation is too large, the location information key-value stored on the cloud server is updated. In addition, if a nearby WiFi network is marked as a public shared network, and the router providing the WiFi network and its location information are stored on the cloud server, the app will directly connect to the corresponding WiFi network without verifying the WiFi password.

[0023] The mobile device selects a WiFi network from the WiFi network list. The router to which the selected WiFi network belongs can be a public router or a private router. If the selected WiFi network belongs to a public router, the cloud server does not need to send a password to the mobile device for WiFi network connection verification. If the selected WiFi network belongs to a private router, the cloud server needs to send a password to the mobile device for WiFi network connection verification.

[0024] After receiving the stored list of WiFi networks sent from the cloud server, the mobile device also scans and obtains a list of nearby WiFi networks. By comparing the stored list of WiFi networks with the list of nearby WiFi networks, the list of WiFi networks with the same SSID is retained, and the list of WiFi networks with the same SSID is arranged according to signal strength.

[0025] Example 2 like Figure 2 As shown, this embodiment also proposes a WiFi access method applied to a cloud server, the method comprising: The cloud server establishes a connection with the router via network protocols; The specific implementation of this step is as follows: the cloud server is a network management system with a user and router device permission framework management function. The administrator of this management system can be any administrator in any scenario, depending on the scenario in which the invention is used. The router establishes a connection with the cloud server through the TR069 or MQTT protocol.

[0026] Configure the router on the cloud server and store the router's location information; The specific implementation of this step is as follows: Under the device and user permission framework of the cloud server, read and write permissions for the private router are assigned to designated users; furthermore, if the router is defined as a public router, there is no need to specifically assign read and write permissions. Administrators can connect to the WiFi network and report router information and the current location information of their mobile devices to the cloud server via the app. The cloud server stores this location information and the router's MAC address, SSID, and other information as key-value pairs in its database to form a corresponding relationship, thereby ensuring the accuracy of the router's location.

[0027] After the cloud server establishes a connection with the mobile device, it receives WiFi connection requests and mobile device location information sent from the mobile device. The specific implementation of this step is as follows: the user registers as a user of the cloud server through the application or mini-program of the mobile device, that is, completes the identity verification on the cloud server through the TOKEN token, and reports relevant information such as location information and current WiFi information according to the process of connecting to the WiFi device.

[0028] The cloud server compares the router's location information with the mobile device's location information to obtain a list of stored WiFi networks; The cloud server sends a list of stored WiFi networks to the mobile device.

[0029] The cloud server stores router location information and also stores router device information, including the router's power-on time.

[0030] The cloud server router configuration includes: dividing the router into public routers and private routers and setting permissions.

[0031] After configuring the router and storing the router's location information, the cloud server also starts a thread pool and a listening thread, and at preset intervals, the cloud server creates a random password and sends it to the router.

[0032] The cloud server creates a random password and sends it to the router, including: The router device information is stored as a key-value pair in the Redis cache on the cloud server. The listening thread periodically compares the router's power-on time with the current time to obtain the time difference. When the time difference reaches an integer multiple of the preset time, the cloud server creates a random password. The cloud server sends a random password to the router via a network protocol; The router device information and random password are stored as key-value pairs in the Redis cache on the cloud server. Each time a random password is created, the previous router device information and random password are overwritten.

[0033] Example 3 like Figure 3 As shown, this embodiment also proposes a WiFi access method applied to a router, the method comprising: After the router establishes a connection with the cloud server via network protocols, it sends router device information and router location information to the cloud server. The router receives a random password from the cloud server; The specific implementation of this step is as follows: the cloud server does not require the router to report password information. Instead, it starts a thread pool and a listening thread within the cloud server. When the router goes online on the cloud server, its online time is recorded and stored in a Redis cache using the router's MAC address and online time as a key-value pair. The listening thread periodically iterates through the cache to obtain the router's online time and calculates the difference between it and the current time. If the difference exceeds a set time, such as 60 minutes, a password configuration distribution thread is created. This thread generates an 8-digit random password using a linear congruential algorithm and distributes it to the router via TR069 or MQTT protocols. After successful distribution, the password and the router's MAC address are stored as a key-value pair in the cache. Each update overwrites the previous value. This approach is to avoid violating the minimization principle and reduce the possibility of frequent attacks on the router.

[0034] The router receives and verifies the password sent from the mobile device to establish a WiFi network connection.

[0035] Example 4 like Figure 4 As shown, this embodiment proposes a WiFi access system, including: a mobile device, a cloud server, and a router; The mobile device establishes a connection with the cloud server; The mobile device sends a WiFi connection request to the cloud server; The mobile device receives a list of stored WiFi networks sent from the cloud server; The mobile device selects a WiFi network from the WiFi network list to connect to the WiFi network; The cloud server establishes a connection with the router via a network protocol; The cloud server is configured with a router and stores the router's location information; After establishing a connection with the mobile device, the cloud server receives WiFi connection requests and mobile device location information sent from the mobile device. The cloud server compares the router's location information with the mobile device's location information to obtain a list of stored WiFi networks; The cloud server sends a list of stored WiFi networks to the mobile device; After establishing a connection with the cloud server via a network protocol, the router sends router device information and router location information to the cloud server. The router receives a random password from the cloud server; The router interacts with mobile devices through matching with a cloud server.

[0036] The following examples illustrate the different applications of this invention in different scenarios, namely shopping malls and enterprise internal environments. Taking a large shopping mall providing convenient and secure WiFi access services to customers as an example, while ensuring efficient network management: Router Deployment: Deploy routers supporting the TR069 / MQTT protocol in various areas of the shopping mall and connect them to the cloud server. Administrators report the MAC address, SSID, and precise location of each router via an app.

[0037] Dynamic password management: The cloud server automatically generates a new password every 60 minutes and sends it to the router; old passwords become invalid. Passwords are stored in Redis cache in MAC-password format to avoid the risk of leakage.

[0038] One-click connection for customers: Customers open the mall's mini-program or dedicated app and click "One-click WiFi Connection". The system automatically scans nearby WiFi networks and matches them against the mall's cloud server database. After verification, if it is a public network, direct connection is possible without a password. If it is a private network, the system verifies whether the user's permissions are those of a VIP customer or administrator of the mall. Once verified, a dynamic password is obtained from the cloud server, and the user can directly connect to the WiFi network using a plugin.

[0039] Location Correction: After a successful WiFi network connection, the device location is automatically reported to correct any positioning errors by the router.

[0040] Benefits: Customers can connect to WiFi with one click without any extra steps or manual password input, providing a smooth experience. Dynamic passwords prevent unauthorized network access and reduce mall maintenance costs.

[0041] Taking a company's need to test WiFi router devices in batches as an example, it needs to frequently switch WiFi router devices and test their stability and signal strength: Test environment setup: Routers were deployed in batches to access the company's internal cloud server via the TR069 / MQTT protocol. Each router was assigned a unique identifier on the cloud server, and a dynamic password update cycle was set.

[0042] Test terminal preparation: The testers' mobile devices should have a dedicated app installed or an internal company mini-program embedded with the solution.

[0043] WiFi network acquisition: Testers can obtain a list of WiFi networks under their current location in the app or mini-program. Based on their permissions, testers can click on the list to verify with the cloud server. If the verification is successful, they can connect to WiFi with one click through the software plugin, thus meeting the need for frequent and rapid switching of WiFi networks.

[0044] Results: Highly efficient and fast, the permission allocation ensures that the WiFi network serves only specific personnel, and the one-click WiFi connection reduces the time and operational costs for WiFi testers to switch networks.

[0045] Although the present invention has been described in detail through the preferred embodiments above, it should be understood that the above description should not be considered as a limitation of the present invention. Various modifications and substitutions to the present invention will be apparent to those skilled in the art after reading the above description. Therefore, the scope of protection of the present invention should be defined by the appended claims.

Claims

1. A WiFi access method, characterized in that, Applied to mobile devices, the method includes: Mobile devices establish a connection with cloud servers; The mobile device sends a WiFi connection request to the cloud server; The mobile device sends its location information to the cloud server. Mobile devices receive a list of stored WiFi networks sent from a cloud server; Mobile devices select a WiFi network from the list of WiFi networks to connect to the WiFi network.

2. The WiFi access method according to claim 1, characterized in that, The mobile device selects a WiFi network from the WiFi network list. The router to which the selected WiFi network belongs can be a public router or a private router. If the selected WiFi network belongs to a public router, the cloud server does not need to send a password to the mobile device for WiFi network connection verification. If the selected WiFi network belongs to a private router, the cloud server needs to send a password to the mobile device for WiFi network connection verification.

3. The WiFi access method according to claim 1, characterized in that, After receiving the stored list of WiFi networks sent from the cloud server, the mobile device also scans and obtains a list of nearby WiFi networks. By comparing the stored list of WiFi networks with the list of nearby WiFi networks, the list of WiFi networks with the same SSID is retained, and the list of WiFi networks with the same SSID is arranged according to signal strength.

4. A WiFi access method, characterized in that, Applied to cloud servers, the method includes: The cloud server establishes a connection with the router via network protocols; Configure the router on the cloud server and store the router's location information; After the cloud server establishes a connection with the mobile device, it receives WiFi connection requests and mobile device location information sent from the mobile device. The cloud server compares the router's location information with the mobile device's location information to obtain a list of stored WiFi networks; The cloud server sends a list of stored WiFi networks to the mobile device.

5. The WiFi access method according to claim 4, characterized in that, The cloud server stores router location information and also stores router device information, including the router's power-on time.

6. The WiFi access method according to claim 4, characterized in that, The cloud server configuration router includes: dividing the router into public routers and private routers and setting permissions.

7. The WiFi access method according to claim 5, characterized in that, After configuring the router and storing the router's location information, the cloud server also starts a thread pool and a listening thread, and at preset intervals, the cloud server creates a random password and sends it to the router.

8. The WiFi access method according to claim 7, characterized in that, The cloud server creates a random password and sends it to the router, including: The router device information is stored as a key-value pair in the Redis cache on the cloud server; The listening thread periodically compares the router's power-on time with the current time to obtain the time difference. When the time difference reaches an integer multiple of the preset time, the cloud server creates a random password. The cloud server sends a random password to the router via a network protocol; The router device information and random password are stored as key-value pairs in the Redis cache on the cloud server. Each time a random password is created, the previous router device information and random password are overwritten.

9. A WiFi access method, characterized in that, Applied to a router, the method includes: After the router establishes a connection with the cloud server via network protocols, it sends router device information and router location information to the cloud server. The router receives a random password from the cloud server; The router receives and verifies the password sent from the mobile device to establish a WiFi network connection.

10. A WiFi access system, characterized in that, include: Mobile devices, cloud servers, and routers; The mobile device establishes a connection with the cloud server; The mobile device sends a WiFi connection request to the cloud server; The mobile device sends its location information to the cloud server. The mobile device receives a list of stored WiFi networks sent from the cloud server; The mobile device selects a WiFi network from the WiFi network list to connect to the WiFi network; The cloud server establishes a connection with the router via a network protocol; The cloud server is configured with a router and stores the router's location information; After establishing a connection with the mobile device, the cloud server receives WiFi connection requests and mobile device location information sent from the mobile device. The cloud server compares the router's location information with the mobile device's location information to obtain a list of stored WiFi networks; The cloud server sends a list of stored WiFi networks to the mobile device; After establishing a connection with the cloud server via a network protocol, the router sends router device information and router location information to the cloud server. The router receives a random password from the cloud server; The router receives and verifies the password sent from the mobile device to establish a WiFi network connection.

Citation Information

Patent Citations

  • Method and system for conveniently connecting wifi router

    CN108541043A

  • Method and apparatus for virtual wi-fi service with authentication and accounting control

    CN101933347A

  • Method for processing wireless hotspot information and method for automatically accessing wireless hotspot

    CN102869073A

  • Method and system for automatically connecting to WiFi (wireless fidelity) access points and mobile communication terminal

    CN103298072A

  • WIFI (Wireless Fidelity) hotspot configuration system and method

    CN106332235A