Rapid network distribution method and terminal equipment

CN118590965APending Publication Date: 2024-09-03四川长虹新网科技有限责任公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410799950.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The traditional wireless device configuration process is cumbersome, especially for devices without screens or physical keyboards. Users need to manually scan QR codes or enter SSIDs and passwords, which is complex and time-consuming, and is especially detrimental to non-technical users.

Method used

Send a custom Beacon message through the AP device, including the encrypted SSID and password, and embed the distribution network logo in the message. The STA device decrypts and parses it and directly connects to the AP, simplifying the network configuration process and using the AES128 encryption algorithm to protect network security. .

Benefits of technology

It simplifies the equipment distribution process, reduces user complexity, improves network distribution efficiency, and ensures network security through encryption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590965A
    Figure CN118590965A
Patent Text Reader

Abstract

The invention mainly relates to the technical field of wireless communication. In order to omit the step of manually scanning a two-dimensional code or inputting an SSID (Service Set Identifier) and password connection and simplify the complexity of equipment network distribution, the invention provides a rapid network distribution method and terminal equipment. An SSID, a password and a network distribution mark are embedded in a self-defined Beacon message in an encryption mode when AP equipment sends the self-defined Beacon message to STA equipment in the environment, after the STA equipment detects the network distribution mark in the self-defined Beacon message, an encryption module analyzes the encrypted SSID and password in the self-defined Beacon message, an analysis module analyzes the decrypted SSID and password, and the STA equipment accesses the AP based on the analyzed SSID and password.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention mainly relates to the technical field of wireless communication, and in particular to a method and terminal equipment for rapid network configuration. Background Art

[0002] With the rapid development of the Internet of Things (IoT), Wi-Fi-based terminal products such as smart home devices and industrial automation equipment are increasing. These devices often need to quickly and easily join existing wireless networks to achieve remote control and data transmission. However, due to design and cost constraints, many of these devices do not have integrated screens or physical keyboards, making the traditional network configuration process cumbersome and user-unfriendly. Users usually need to download specific applications through third-party devices (such as smartphones or tablets), and then connect to the device by scanning QR codes or entering SSIDs and passwords. This process is not only time-consuming, but can also be quite complicated for non-technical users. Summary of the invention

[0003] Technical problem to be solved by this application

[0004] Provides a quick network configuration method to omit the steps of manually scanning a QR code or entering an SSID and password to connect, thus simplifying the complexity of device network configuration.

[0005] The technical solutions adopted by us to solve the above technical problems

[0006] A method for fast network configuration includes the following steps:

[0007] Start the AP device, and the AP device sends a custom Beacon message to the STA device in the environment. The custom field in the custom Beacon message includes the encrypted SSID and password, and also includes a network configuration flag, which is used to identify that the current AP is in a network configuration state;

[0008] After the STA device detects the network configuration flag in the custom Beacon message, it decrypts and parses the encrypted SSID and password in the custom Beacon message;

[0009] The STA device accesses the AP based on the parsed SSID and password.

[0010] Furthermore, the SSID and password in the custom Beacon message are encrypted using the AES128 encryption algorithm.

[0011] Furthermore, the custom Beacon message also includes an Element ID for identifying a custom field in the Beacon message, a Length for identifying the length of the Element ID field, an OUI for identifying the device manufacturer, a Password Length for identifying the length of the password field, a Password for identifying the encrypted password, an Ssid Length for identifying the length of the SSID, and an Ssid for identifying the encrypted SSID name.

[0012] Furthermore, the method also includes that after the set time is reached, if the STA device is not connected to the AP, the AP device stops sending the custom Beacon message.

[0013] Furthermore, the method also includes setting a physical button on the AP device to trigger the AP device to send a custom Beacon message.

[0014] Furthermore, the method also includes the AP device sending a custom Beacon message outward at a set frequency.

[0015] Furthermore, if the AP device supports multiple frequency bands, a custom Beacon message for each frequency band is defined respectively.

[0016] Furthermore, the method also includes that after the STA device accesses the AP, it sends a message of successful access to the AP to the AP device, and the AP device stops sending the self-defined Beacon message.

[0017] Based on the above-mentioned method for rapid network configuration, the present invention also provides a terminal device for rapid network configuration, which specifically includes a trigger module, a parsing module, an encryption module and a network connection module;

[0018] Trigger module, used to trigger the AP device to enter the network configuration mode;

[0019] The encryption module is used to encrypt the SSID and password in the custom Beacon message generated by the AP device, and decrypt the encrypted custom Beacon message received by the STA device;

[0020] The parsing module is used to parse the decrypted Beacon message;

[0021] The network connection module is used to connect the STA device to the AP according to the SSID and password parsed by the parsing module.

[0022] Beneficial Effects of the Invention

[0023] The present invention discloses a fast network configuration method and terminal device, which forms a custom Beacon message by embedding the SSID, password and network configuration flag in the Beacon message sent by the AP device, encrypts the generated Beacon message using an encryption algorithm, decrypts and parses the Beacon message received by the STA device, and directly accesses the AP based on the parsed SSID and password, thereby simplifying the process and complexity of network configuration of the STA device. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 The present invention is a flowchart of a method for rapid network configuration described in an embodiment of the present invention. DETAILED DESCRIPTION

[0025] like Figure 1 As shown, the AP device triggers the AP device to enter the network configuration mode through the trigger module. For example, after setting the LINK key to be pressed twice in a row, the AP device's custom Beacon function is turned on, and the custom Beacon message is sent at the set frequency. The custom Beacon message includes the SSID, password and network configuration flag. The network configuration flag is used to indicate that the AP device is currently in the network configuration mode. The custom Beacon message also includes the ElementID used to identify the custom field in the Beacon message, the Length used to indicate the length of the ElementID word, the OUI used to identify the device manufacturer, the PasswordLength used to identify the length of the password field, the Password used to identify the encrypted password, the SsidLength used to identify the SSID length, and the Ssid used to identify the encrypted SSID name. If the AP device supports multiple frequency bands, the custom Beacon message for each frequency band is defined separately. For example, if the AP device supports 2.4G or 5G, the custom Beacon message for 2.4G or 5G is generated respectively.

[0026] To protect the user's network security, the encryption module uses the AES128 encryption algorithm to encrypt the SSID and password in the custom Beacon message generated by the AP device to prevent unauthorized devices from accessing the AP.

[0027] When the STA device is powered on or reset, it automatically detects the custom Beacon message encrypted by the encryption module. After the STA device receives the encrypted custom Beacon message, the encryption module decrypts it according to the AES128 encryption algorithm. The parsing module parses the decrypted custom Beacon messages of different frequency bands. If the parsing is successful, the network connection module connects to the 2.4G / 5G network and saves the SSID information. The 2.4G / 5G custom Beacon frame parsing function is turned off. After the STA device accesses the AP, it sends a message to the AP device that all frequency bands have completed the connection or a single frequency band has been successfully connected.

[0028] If the AP device receives the message that both the 2.4G band and the 5G band have completed the connection, the AP device turns off the sending of custom Beacon messages, the STA device and the AP device indicator lights are on for 5 seconds, and the AP device resumes the normal Beacon function.

[0029] If the AP device receives a connection completion signal from the 2.4G band or the 5G band, the AP device turns off the sending of custom Beacon messages for the band with successful connection, and the STA device continues to parse the custom Beacon messages for the band with uncompleted connection. If the frequency band is parsed or the connection fails within the set time, the AP device turns off the sending of custom Beacon messages, and the terminal device turns off the parsing of custom Beacon messages.

[0030] If an error occurs during the network configuration process, the STA device will provide the user with an error code and corresponding user guidance to help the user solve the problem.

Claims

1. A method for rapid network distribution, characterized in that: include: Start the AP device, and the AP device sends a custom Beacon message to the STA device in the environment. The custom field in the custom Beacon message includes the encrypted SSID and password, and also includes a network configuration flag, which is used to identify that the current AP is in a network configuration state; After the STA device detects the network configuration flag in the custom Beacon message, it decrypts and parses the encrypted SSID and password in the custom Beacon message; The STA device accesses the AP based on the parsed SSID and password.

2. A method for rapid network distribution according to claim 1, characterized in that: The SSID and password in the custom Beacon message are encrypted using the AES128 encryption algorithm.

3. A method for rapid network distribution according to claim 1, characterized in that: The custom Beacon message also includes an Element ID for identifying a custom field in the Beacon message, a Length for identifying the length of the Element ID field, an OUI for identifying the device manufacturer, a Password Length for identifying the length of the password field, a Password for identifying the encrypted password, an Ssid Length for identifying the length of the SSID, and an Ssid for identifying the encrypted SSID name.

4. A fast network distribution method according to any one of claims 1 to 3, characterized in that: The method also includes that after the set time is reached, if the STA device is not connected to the AP, the AP device stops sending the custom Beacon message.

5. A fast network distribution method according to any one of claims 1 to 3, characterized in that: The method also includes setting a physical button on the AP device to trigger the AP device to send a custom Beacon message outward.

6. A fast network distribution method according to any one of claims 1 to 3, characterized in that: The method also includes the AP device sending a custom Beacon message outward at a set frequency.

7. A fast network distribution method according to any one of claims 1 to 3, characterized in that: If the AP device supports multiple frequency bands, define custom Beacon messages for each frequency band.

8. A fast network distribution method according to any one of claims 1 to 3, characterized in that: The method also includes that after the STA device accesses the AP, the STA device sends a message of successful access to the AP to the AP device, and the AP device stops sending the self-defined Beacon message.

9. A fast network configuration terminal device, used to implement a fast network configuration method according to any one of claims 1 to 8, characterized in that: The terminal device comprises: a trigger module, a parsing module, an encryption module and a network connection module; Trigger module, used to trigger the AP device to enter the network configuration mode; The encryption module is used to encrypt the SSID and password in the custom Beacon message generated by the AP device, and decrypt the encrypted custom Beacon message received by the STA device; The parsing module is used to parse the decrypted Beacon message; The network connection module is used to connect the STA device to the AP according to the SSID and password parsed by the parsing module.