WLAN access management method, device and system

By using exclusive keys and authorized registration in WLAN access management, the security risks and management difficulties of WLAN access management in the existing technology are solved, the identity authentication and permission management of WLAN access points and terminals are realized, and the efficiency of WLAN access management is improved. User experience and management efficiency.

CN113747438BActive Publication Date: 2024-10-15宁波奉化宇石水漂体育俱乐部
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111065401.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-12
Publication Date
2024-10-15
Estimated Expiration
2041-09-12

AI Technical Summary

Technical Problem

Existing WLAN access management technology has security risks and management difficulties. In particular, Wi-Fi technology and WAPI protocols based on the 802.11 standard have their own shortcomings. They cannot effectively manage the permissions of access points and terminals, and the user experience is poor.

Method used

Verify the authorized registration license of the terminal through the access point, use a dedicated key for security verification, and store registration information between the terminal and the access point to realize identity verification and permission management between the terminal and the access point, and support communication between terminals. Invite registration to avoid adding access points without providing WLAN password.

Benefits of technology

It enhances the security and management convenience of WLAN, ensures the authentication of access points and terminals, simplifies user operations, and improves WLAN usage experience and management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113747438B_ABST
    Figure CN113747438B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a WLAN access management method, device and system. The method includes: a first terminal registers with an access point according to an authorization password, the terminal and the access point store corresponding exclusive keys at the same time, and mutually authenticate each other according to the exclusive key when accessing. The first terminal can also send an invitation to a second terminal according to the exclusive key, and the second terminal registers with the access point according to the invitation data to obtain the exclusive key. Then the second terminal accesses according to its own exclusive key, and the WLAN administrator can manage the registration information in the access point. In this way, WLAN access is both safe and convenient, and more terminals can be invited to access without providing a WLAN password.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of WLAN (Wireless Local Area Network), and in particular to a WLAN access management method, device and system. Technical Background

[0002] With the advancement of technology, WLAN is developing rapidly and its application scope is becoming wider and wider. It is widely used in homes, units, public places, the Internet of Things, etc.

[0003] At present, most WLAN applications are based on Wi-Fi technology of the 802.11 series standard. Its security measures rely only on a public access password. Each WLAN user has the same password, and each access is authenticated using this password. The protocol only provides one-way authentication of the terminal identity, and cannot authenticate the access point. Therefore, there are security risks such as easy invasion by disguised access points. In addition, once the user has the WLAN access password, the WLAN administrator cannot manage his authority and cannot prevent him from revealing the password to others, which causes difficulties in management. Another is the WAPI (WLAN Authentication and Privacy Infrastructure) protocol, which uses certificates as a security mechanism. Each terminal needs to pre-install certificates before use. Its operation steps are cumbersome, especially for WLAN in public places. The user experience is poor and it is difficult to operate when applied to the Internet of Things. The WAPI protocol also requires additional equipment. The above two protocols have obvious shortcomings. Summary of the invention

[0004] To solve the above technical problems, the present invention provides a WLAN access management method, device and system, which enhance the security of the WLAN while ensuring the manageability of the WLAN access rights and the convenience of using the WLAN.

[0005] In a first aspect, an embodiment of the present invention provides a WLAN access management method, including:

[0006] The access point verifies the authorization registration permission of the first terminal, and the verification basis is the WLAN authorization password;

[0007] Verify the security of the WLAN environment and determine a method for transmitting registration information of the first terminal, wherein the registration information includes a terminal code and a dedicated key;

[0008] The access point and the first terminal simultaneously store the first terminal registration information;

[0009] The method for verifying the security of the WLAN environment and the method for transmitting the first terminal registration information specifically include:

[0010] The access point selects a WLAN security environment verification method according to a pre-set configuration, and sends the dedicated key directly or encrypted to the first terminal;

[0011] When the access point chooses to directly send the exclusive key to the first terminal, the access point sends information to the first terminal, wherein the content of the information is to inform the user that the exclusive key will be directly sent next and to check the security of the WLAN environment by the user; the access point generates first terminal registration information, wherein the first terminal registration information includes a terminal code of the first terminal and the exclusive key of the first terminal;

[0012] The access point sends the first terminal registration information to the first terminal;

[0013] When the access point encrypts and sends the exclusive key to the first terminal, the access point generates a WLAN environment security verification code;

[0014] The access point generates first terminal registration information, where the first terminal registration information includes a terminal code of the first terminal and a dedicated key of the first terminal;

[0015] The access point generates encrypted data, where the encrypted data is encrypted using the WLAN environment security verification code as a key and includes data obtained by combining a copy of the WLAN environment security verification code and the first terminal registration information;

[0016] The access point sends the encrypted data to the first terminal;

[0017] The user enters the WLAN environment security verification code on the first terminal;

[0018] The first terminal uses the WLAN environment security verification code as a key to decrypt the encrypted data and obtain a copy of the WLAN environment security verification code and first terminal registration information;

[0019] The first terminal compares the WLAN environment security verification code with the copy of the WLAN environment security verification code, and if they are the same, the WLAN environment security verification is passed.

[0020] In combination with the first aspect, in a first possible implementation manner of the first aspect, the method for verifying the authorization registration permission of the first terminal specifically includes:

[0021] When the first terminal accepts the user's authorization registration instruction, the first terminal sends an authorization registration request to the access point;

[0022] If the access point allows registration, sending a terminal verification code to the first terminal;

[0023] The first terminal generates encrypted data, wherein the encrypted data is data obtained by encrypting the copy of the terminal verification code using the WLAN authorization password as a key;

[0024] The first terminal sends the encrypted data to the access point;

[0025] The access point uses the WLAN authorization password as a key to decrypt the received encrypted data and obtain a terminal verification code copy; the access point compares the terminal verification code with the terminal verification code copy, and if they are the same, the authorization registration license verification is passed.

[0026] In combination with the first aspect, in a second possible implementation manner of the first aspect, the method for verifying WLAN environment security and the method for transmitting the first terminal registration information specifically include:

[0027] The access point sends information to the first terminal, wherein the content of the information is to inform the user that a dedicated key will be sent in plain text next, and the user is requested to check the security of the WLAN environment by himself;

[0028] The access point generates first terminal registration information, where the first terminal registration information includes a terminal code of the first terminal and a dedicated key of the first terminal;

[0029] The access point sends the first terminal registration information to the first terminal.

[0030] In combination with the first aspect, in a third possible implementation manner of the first aspect, the method for verifying WLAN environment security and the method for transmitting first terminal registration information may also specifically include:

[0031] The access point generates a WLAN environment security verification code, which is displayed on the display screen through the WLAN environment verification module;

[0032] The access point generates first terminal registration information, where the first terminal registration information includes a terminal code of the first terminal and a dedicated key of the first terminal;

[0033] The access point generates encrypted data, where the encrypted data is encrypted using the WLAN environment security verification code as a key and includes data obtained by combining a copy of the WLAN environment security verification code and the first terminal registration information;

[0034] The access point sends the encrypted data to the first terminal;

[0035] The user enters the WLAN environment security verification code on the first terminal;

[0036] The first terminal uses the WLAN environment security verification code as a key to decrypt the encrypted data and obtain a copy of the WLAN environment security verification code and first terminal registration information;

[0037] The first terminal compares the WLAN environment security verification code with the copy of the WLAN environment security verification code, and if they are the same, the WLAN environment security verification is passed.

[0038] In combination with the first aspect, in a fourth possible implementation manner of the first aspect, the access point and the first terminal simultaneously store the registration information of the first terminal, specifically including:

[0039] The first terminal stores terminal side registration information in a terminal memory, the registration information including: SSID, terminal code of the first terminal, and a dedicated key of the first terminal;

[0040] The first terminal sends confirmation information to the access point;

[0041] The access point stores access point side registration information in an access point memory, where the registration information includes: a terminal code of the first terminal and a dedicated key of the first terminal.

[0042] In a second aspect, an embodiment of the present invention provides a WLAN access management method, including:

[0043] The first terminal invites the second terminal to register;

[0044] The second terminal registers with the access point according to the invitation data;

[0045] The invitation data at least includes: a first terminal code, a temporary key, and data obtained by encrypting the temporary key with a dedicated key of the first terminal;

[0046] The first terminal and the access point both store first terminal registration information, the registration information including: a first terminal code and a first terminal exclusive key;

[0047] The process of the second terminal registering with the access point according to the invitation data includes:

[0048] The second terminal decomposes the invitation data obtained from the first terminal to obtain: the first terminal code, the temporary key and data obtained by encrypting the temporary key with the first terminal's exclusive key;

[0049] The second terminal sends data obtained by encrypting a temporary key using the first terminal code and a dedicated key of the first terminal to the access point;

[0050] The access point searches the registration information in the access point memory according to the first terminal code to obtain a first terminal-specific key;

[0051] The access point decrypts data obtained by encrypting a temporary key with the first terminal's exclusive key using the first terminal's exclusive key to obtain the temporary key;

[0052] The access point generates a second terminal code and a second terminal-specific key;

[0053] The access point generates data obtained by encrypting the second terminal code and the second terminal-specific key with the temporary key;

[0054] The access point sends, to the second terminal, the data encrypted with the temporary key and including the second terminal code and the second terminal-specific key;

[0055] The second terminal uses the temporary key to decrypt the data encrypted with the temporary key, including the second terminal code and the second terminal-specific key, to obtain the second terminal code and the second terminal-specific key;

[0056] The second terminal stores the terminal side registration information of the second terminal in the terminal memory, where the terminal side registration information includes:

[0057] The SSID of the access point, the second terminal code, and the second terminal exclusive key;

[0058] The access point stores access point side registration information of the second terminal in the access point memory, where the access point side registration information includes: the second terminal code and the second terminal exclusive key.

[0059] In conjunction with the second aspect, in a first possible implementation manner of the second aspect, the method in which the first terminal invites the second terminal to register specifically includes:

[0060] When the first terminal accepts the user's invitation to the second terminal to register, the first terminal transmits the invitation data to the second terminal; the invitation data includes two parts, an encrypted part and an unencrypted part, wherein the unencrypted part includes the first terminal code, the registration verification code V21, and the temporary key, and the encrypted part is the data obtained by encrypting the copy of the registration verification code V21, the temporary key, and the validity period of the invitation data with the exclusive key of the first terminal;

[0061] The first terminal code and the first terminal exclusive key are obtained by reading the first terminal registration information in the first terminal memory based on the SSID.

[0062] In combination with the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the first terminal transmits the invitation data to the second terminal, and the transmission method specifically includes:

[0063] The first terminal makes the invitation data into a QR code, and the second terminal reads the QR code and decodes it to obtain the invitation data; or, the first terminal uses the invitation module of the first terminal to send the invitation data to the second terminal through short-range wireless communication, and the second terminal receives the invitation data through the invitation module of the second terminal; or,

[0064] The first terminal is connected to the second terminal by a temporary cable, and the first terminal sends invitation data to the second terminal through the cable; or,

[0065] The first terminal makes the invitation data into a data file, and copies the data file to the second terminal via a removable memory, and the second terminal reads the copy of the data file to obtain the invitation data.

[0066] In combination with the second aspect, in a third possible implementation manner of the second aspect, the method for registering the second terminal with the access point according to the invitation data specifically includes:

[0067] The second terminal decomposes the invitation data obtained from the first terminal to obtain: the first terminal code, the registration verification code V21, the temporary key, and the encrypted data D21;

[0068] The second terminal sends an invitation registration request to the access point;

[0069] The access point sends a registration invitation permission reply to the second terminal;

[0070] The second terminal sends the first terminal code and the encrypted data D21 to the access point;

[0071] The access point searches the registration information in the access point memory according to the first terminal code to obtain a first terminal-specific key;

[0072] The access point decrypts the encrypted data D21 using the first terminal-specific key to obtain a copy of the registration verification code V21, the temporary key, and the validity period of the invitation data;

[0073] The access point determines whether the invitation data exceeds the validity period according to the validity period of the invitation data, and if not, continues;

[0074] The access point generates a registration verification code V22;

[0075] The access point retains a copy of the registration verification code V22;

[0076] The access point generates encrypted data D22, wherein the encrypted data D22 is encrypted with the temporary key and includes data obtained by merging the copy of the registration verification code V21 and the registration verification code V22;

[0077] The access point sends the encrypted data D22 to the second terminal;

[0078] The second terminal decrypts the encrypted data D22 using the temporary key to obtain a copy of the registration verification code V21 and the registration verification code V22;

[0079] The second terminal compares the registration verification code V21 with the copy of the registration verification code V21, and if they are the same, the access point verification is passed;

[0080] The second terminal generates encrypted data D23, wherein the encrypted data D23 is data obtained by encrypting the registration verification code V22 with the temporary key;

[0081] The second terminal sends encrypted data D23 to the access point;

[0082] The access point decrypts the encrypted data D23 using the temporary key to obtain the registration verification code V22;

[0083] The access point compares the registration verification code V22 with the copy of the registration verification code V22. If they are the same, the terminal verification is passed; the access point generates a second terminal code and a second terminal exclusive key;

[0084] The access point generates encrypted data D24, wherein the encrypted data D24 is encrypted with the temporary key and includes data obtained by merging the second terminal code and the second terminal-specific key;

[0085] The access point sends the encrypted data D24 to the second terminal;

[0086] The second terminal decrypts the encrypted data D24 using the temporary key to obtain the second terminal code and the second terminal exclusive key;

[0087] The second terminal stores the terminal side registration information of the second terminal in the terminal memory, where the terminal side registration information includes: SSID, the second terminal code, and the second terminal exclusive key;

[0088] The second terminal sends confirmation information to the access point;

[0089] The access point stores access point side registration information of the second terminal in the access point memory, where the access point side registration information includes: the second terminal code and the second terminal exclusive key.

[0090] In a third aspect, an embodiment of the present invention provides a WLAN access management method, including:

[0091] The terminal requests access from the access point, the terminal is the first terminal or the second terminal, the terminal and the access point store the first terminal or the second terminal registration information at the same time, the registration information includes: terminal code, exclusive key, the specific steps of requesting access include:

[0092] When the terminal receives the user access instruction, it uses the SSID as the search basis to read the corresponding registration information in the terminal memory of the terminal to obtain the terminal code and the exclusive key;

[0093] The terminal generates a verification code V31;

[0094] The terminal generates encrypted data D31, wherein the encrypted data D31 is data obtained by encrypting the copy of the verification code V31 with the dedicated key;

[0095] The terminal sends the terminal code and the encrypted data D31 to the access point;

[0096] The access point reads the corresponding registration information in the access point memory based on the terminal code to obtain the corresponding exclusive key;

[0097] The access point decrypts the encrypted data D31 using the dedicated key to obtain a copy of the verification code V31;

[0098] The access point generates a verification code V32;

[0099] The access point generates encrypted data D32, wherein the encrypted data D32 is encrypted with the dedicated key and includes data obtained by merging a copy of the verification code V31 and a copy of the verification code V32;

[0100] The access point sends the encrypted data D32 to the terminal;

[0101] The terminal decrypts the encrypted data D32 with the dedicated key to obtain a copy of the verification code V31 and a copy of the verification code V32; the terminal compares the verification code V31 with the copy of the verification code V31 to see if they are the same, and if so, the access point verification is passed;

[0102] The terminal generates encrypted data D33, wherein the encrypted data D33 is data obtained by encrypting the copy of the verification code V32 with the dedicated key;

[0103] The terminal sends the encrypted data D33 to the access point;

[0104] The access point decrypts the encrypted data D33 using the dedicated key to obtain a copy of the verification code V32;

[0105] The access point compares the verification code V32 with the copy of the verification code V32 to see if they are the same. If so, the terminal verification passes and the terminal is allowed to access.

[0106] In a fourth aspect, an embodiment of the present invention provides a WLAN access management method, comprising: a WLAN administrator enters an access point background management program;

[0107] The target terminal code is used as a search basis, and the corresponding terminal registration information is searched in the access point memory of the access point; and the terminal registration information is deleted.

[0108] In a fifth aspect, an embodiment of the present invention provides a WLAN terminal device, including:

[0109] Terminal management module, used to receive and process authorization registration instructions, invitation registration instructions, access instructions, data encryption and decryption operations, data sending and receiving operations, storage and reading operations of registration information, sending and receiving operations of registration invitations, and verification of access point devices;

[0110] The terminal connection module is used to establish a data connection with the access point device, including modulating the transmitted wireless signal and demodulating the received wireless signal;

[0111] The terminal memory is used to store registration information, wherein the registration information includes: SSID, terminal code, and exclusive key;

[0112] The terminal encryption and decryption module is used for data encryption and decryption, and provides a specific encryption and decryption method for the terminal management module; the invitation and acceptance module is used for the first terminal to transmit invitation data to the second terminal, and the second terminal receives the invitation data of the first terminal.

[0113] In a sixth aspect, an embodiment of the present invention provides a WLAN access point device, including:

[0114] The access point connection module is used to establish a data connection with the terminal device, including modulating the transmitted wireless signal and demodulating the received wireless signal;

[0115] An access point management module, used to process authorized registration requests, invited registration requests, access requests, data encryption and decryption operations, data sending and receiving operations, storage and reading operations of registration information, sending operations of WLAN environment security verification codes, verification of terminal devices, and management of registration information in the access point memory;

[0116] The WLAN environment verification module is used to transmit the WLAN environment security verification code to the terminal device, including: a display screen;

[0117] The access point memory is used to store multiple user registration information, the registration information includes: terminal code, exclusive key; the access point encryption and decryption module is used for data encryption and decryption, and provides a specific encryption and decryption method for the access point management module.

[0118] In a seventh aspect, an embodiment of the present invention provides a WLAN access management system, including:

[0119] Multiple terminal devices and access point devices, including:

[0120] The first terminal device of the terminal device is used to: perform authorization registration with the access point device according to the authorization password, and obtain the exclusive key assigned by the access point device; send an access request to the access point device according to the exclusive key; and send a registration invitation to the second terminal device according to the exclusive key;

[0121] The second terminal device of the terminal device is used to: register with the access point device according to the invitation data transmitted by the first terminal device, and obtain the exclusive key assigned by the access point device; send an access request to the access point device according to the exclusive key;

[0122] The access point device is used to: process the registration request of the terminal device; distribute the exclusive key; store and manage the registration information; and verify the access request of the terminal device.

[0123] In combination with the seventh aspect, in a first possible implementation of the seventh aspect, the management system also includes: a program, which is deployed on the terminal device and the access point device, and when the program is running, it can execute one or more of the methods of the first to fourth aspects.

[0124] The WLAN access management method, device and system provided by the embodiments of the present invention use the authorized registration and invitation registration modes, and the access point allocates a respective exclusive key to each terminal. During access, the terminal and the access point mutually authenticate each other based on the exclusive key. The WLAN administrator can manage the registration information in the access point, and the user can invite more terminals to access without providing the WLAN password, so that the WLAN is both safe and convenient to use and manage. BRIEF DESCRIPTION OF THE DRAWINGS

[0125] In order to more clearly illustrate the technical solutions in the embodiments, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0126] Figure 1 A flowchart of a WLAN access management method provided by an embodiment of the present invention;

[0127] Figure 2 A flow chart of a method for directly sending a terminal code and a dedicated key in a WLAN access management method provided by an embodiment of the present invention;

[0128] Figure 3 A flowchart of an encrypted sending terminal code and a dedicated key method in a WLAN access management method provided by an embodiment of the present invention;

[0129] Figure 4 A flowchart of another WLAN access management method provided by an embodiment of the present invention;

[0130] Figure 5 A flowchart of another WLAN access management method provided by an embodiment of the present invention;

[0131] Figure 6 A flowchart of another WLAN access management method provided by an embodiment of the present invention;

[0132] Figure 7 A schematic diagram of the structure of a WLAN access management device provided by an embodiment of the present invention;

[0133] Figure 8 A schematic diagram of the structure of another WLAN access management device provided by an embodiment of the present invention;

[0134] Fig. 9 A structural diagram of a WLAN access management system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0135] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0136] The first terminal and the second terminal described in the following embodiments are relative codes and can be freely converted according to needs in different occasions.

[0137] The encryption and decryption algorithms described in the following embodiments all adopt symmetric encryption algorithms, such as AES (Advanced Encryption Standard) encryption algorithm, which are described uniformly here.

[0138] Example 1

[0139] like Figure 1 As shown, an embodiment of the present invention provides a WLAN access management method, the method comprising the following steps:

[0140] Step 101: The first terminal accepts the user's authorization user registration instruction, and the user selects the SSID on the first terminal and enters the authorization password;

[0141] Step 102: The first terminal sends an authorized user registration request to the access point. The registration request may be a short agreed data.

[0142] Step 103: If the access point allows registration, a terminal verification code is generated. The verification code may be a randomly generated data.

[0143] Step 104: The access point sends a terminal verification code to the first terminal;

[0144] Step 105, the first terminal uses the WLAN authorization password as a key to encrypt the terminal verification code to obtain encrypted data D11, as shown in the schematic formula:

[0145] Encrypted data D11 = encryption (WLAN authorization password, terminal verification code);

[0146] Step 106, the first terminal sends encrypted data D11 to the access point;

[0147] Step 107, the access point uses the WLAN authorization password as a key to decrypt the received encrypted data. The decryption formula is as follows: Decrypted data = decrypted (WLAN authorization password, encrypted data D11)

[0148] The decrypted data here is the copy of the terminal verification code;

[0149] Step 108, the access point compares the decrypted terminal verification code copy with the sent terminal verification code, if they are the same, the registration permission verification is passed;

[0150] Step 109, the access point generates a terminal code and a unique key. The terminal code may be a number or letters plus numbers of appropriate digits, and the unique key may be a random number of appropriate length;

[0151] Step 110, the access point selects a WLAN security environment verification method according to the pre-settings, and sends the terminal code and the exclusive key directly or encrypted to the first terminal;

[0152] Step 111, the first terminal writes registration information of the first terminal into the terminal memory, where the registration information includes: SSID, terminal code, and exclusive key;

[0153] Step 112, the first terminal sends a confirmation message to the access point, where the confirmation message may be a short agreed data;

[0154] Step 113: The access point adds a row of data to the access point memory and writes the terminal code and the exclusive key.

[0155] To further illustrate the WLAN security environment verification method in this embodiment, multiple groups of specific embodiments are used below to illustrate the verification process of different WLAN security environment verification methods in this embodiment. Specific embodiment one:

[0157] like Figure 2 As shown in the figure, the terminal code and exclusive key are sent directly. The specific steps are:

[0158] Step 201, the access point switches to a mode of directly sending the terminal code and the exclusive key;

[0159] Step 202: The access point sends information to the first terminal, informing the user that a dedicated key will be sent in plain text next, and the user is requested to check the security of the WLAN environment.

[0160] Step 203, the user checks the security of the WLAN environment, where the security of the WLAN environment mainly refers to whether there is a possibility of a fake access point; Step 204, the access point sends a terminal code and a dedicated key to the first terminal;

[0161] Step 205: The first terminal obtains a terminal code and a dedicated key. Specific embodiment 2:

[0163] like Figure 3 As shown in the figure, it is a method of encrypting and sending terminal code and exclusive key. The specific steps are:

[0164] Step 301, the access point switches to an encrypted sending terminal code and a dedicated key mode;

[0165] Step 302, the access point generates a WLAN environment security verification code, which may be a number of appropriate digits;

[0166] Step 303, the access point displays the WLAN environment security verification code on the display screen through the WLAN environment verification module;

[0167] Step 304: The user enters a WLAN environment security verification code on the first terminal;

[0168] Step 305, the access point generates encrypted data D12, wherein the encrypted data D12 is data obtained by encrypting the WLAN environment security verification code copy, the terminal code, and the exclusive key using the WLAN environment security verification code as a key, and the schematic formula is as follows: encrypted data D12 = encrypted (WLAN environment security verification code, (WLAN environment security verification code copy + terminal code + exclusive key));

[0169] Step 306, the access point sends encrypted data D12 to the first terminal;

[0170] Step 307, the first terminal uses the WLAN environment security verification code as a key to decrypt the received encrypted data D12, the schematic formula is as follows: decrypted data = decrypted (WLAN environment security verification code, encrypted data D12)

[0171] Get a copy of the WLAN environment security verification code, terminal code, and exclusive key;

[0172] Step 308, the first terminal compares the WLAN environment security verification code with the copy of the WLAN environment security verification code, if they are the same, the WLAN environment security verification is passed;

[0173] After the operation of this embodiment 1, the first terminal and the access point both record the registration information of the first terminal, which provides a verification basis for the access of the first terminal and also provides an encryption means for the first terminal to send an invitation to the second terminal.

[0174] Example 2

[0175] like Figure 4 As shown, an embodiment of the present invention provides a WLAN access management method, the method comprising the following steps:

[0176] Step 401: The first terminal starts an invitation operation, and the first terminal accepts a user's invitation to the second terminal to register;

[0177] Step 402, using the SSID as a search basis, reading the corresponding registration information in the first terminal memory, and obtaining the first terminal code and the first terminal exclusive key;

[0178] Step 403: The first terminal generates a registration verification code V21 and a temporary key. The registration verification code V21 may be random data of an appropriate length, and the temporary key may also be random data of an appropriate length.

[0179] Step 404, the first terminal generates encrypted data D21, which is encrypted with the first terminal's exclusive key and includes a copy of the registration verification code V21, a temporary key, and the validity period of the invitation data. The validity period of the invitation data is a time data greater than the current time, and the schematic formula is as follows:

[0180] Encrypted data D21 = encrypted (first terminal exclusive key, (copy of registration verification code V21 + temporary key + invitation data validity period))

[0181] The first terminal generates invitation data, which includes: the first terminal code, the registration verification code V21, the temporary key, and the encrypted data D21, which can be expressed by the formula:

[0182] Invitation data = first terminal code + registration verification code V21 + temporary key + encrypted data D21

[0183] Step 405, the first terminal transmits the invitation data, and the transmission method can be one of the following: the first terminal makes the invitation data into a QR code, and the second terminal reads the QR code and decodes it to obtain the invitation data; or, the first terminal uses the first terminal invitation invitation module to send the invitation data to the second terminal through a short-range wireless communication method, and the short-range wireless communication method can be Bluetooth, NFC, or infrared transmission; or, the first terminal and the second terminal are connected with a temporary cable, and the first terminal sends the invitation data to the second terminal through the cable, and the cable can be a USB connection line; or, the first terminal makes the invitation data into a data file, and copies it to the second terminal through a removable storage device, and the second terminal reads the copy of the data file to obtain the invitation data; Step 406, the second terminal sends an invitation registration request to the access point, and the request can be an agreed short data;

[0184] Step 407: If the access point allows the invited registration, the access point sends a registration permission reply to the second terminal, and the reply may be a short data as agreed upon;

[0185] Step 408, the second terminal decomposes the invitation data to obtain: the first terminal code, the registration verification code V21, the temporary key, and the encrypted data D21;

[0186] Step 409, the second terminal retains the registration verification code V21, and the temporary key is used in subsequent steps;

[0187] Step 410, the second terminal sends the first terminal coded and encrypted data D21 to the access point;

[0188] Step 411, the access point searches the access point memory for the first terminal registration information according to the first terminal code, and obtains the first terminal exclusive key;

[0189] Step 412, the access point decrypts the encrypted data D21 with the first terminal-specific key to obtain a copy of the registration verification code V21, a temporary key, and a validity period of the invitation data. The schematic formula for decryption is as follows:

[0190] Decrypted data = decryption (first terminal specific key, encrypted data D21);

[0191] Step 413, the access point determines whether the invitation data has exceeded the validity period according to the validity period of the invitation data, if not, continue;

[0192] Step 414: the access point generates a registration verification code V22 and retains a copy of the registration verification code V22. The registration verification code V22 may be a random data of an appropriate length.

[0193] Step 415, the access point generates encrypted data D22, which is encrypted with a temporary key and includes a copy of the registration verification code V21 and a combined registration verification code V22. The schematic formula is as follows:

[0194] Encrypted data D22 = encrypted (temporary key, (copy of registration verification code V21 + registration verification code V22));

[0195] Step 416, the access point sends encrypted data D22 to the second terminal;

[0196] Step 417, the second terminal uses the temporary key to decrypt the encrypted data D22, and obtains a copy of the registration verification code V21 and a registration verification code V22. The schematic formula for decryption is as follows:

[0197] Decrypted data = decryption (temporary key, encrypted data D22);

[0198] Step 418, the second terminal compares the retained registration verification code V21 with the copy of the registration verification code V21, if they are the same, the access point verification is passed;

[0199] Step 419, the second terminal generates encrypted data D23, and the encrypted data D23 is obtained by encrypting the registration verification code V22 with a temporary key, and the schematic formula is as follows:

[0200] Encrypted data D23 = encrypted (temporary key, (registration verification code V22));

[0201] Step 420, the second terminal sends encrypted data D23 to the access point;

[0202] Step 421, the access point decrypts the encrypted data D23 with the temporary key to obtain the registration verification code V22. The schematic formula for decryption is as follows:

[0203] Decrypted data = decryption (temporary key, encrypted data D23);

[0204] Step 422, the access point compares the registration verification code V22 with the retained copy, if they are the same, the terminal verification is passed;

[0205] Step 423: The access point generates a second terminal code and a second terminal exclusive key. The terminal code may be a number of appropriate digits or letters plus numbers, and the exclusive key may be a random number of appropriate length.

[0206] Step 424, the access point generates encrypted data D24, and the encrypted data D24 is encrypted with a temporary key including the second terminal code and the second terminal exclusive key. The schematic formula is as follows:

[0207] Encrypted data D24 = encryption (temporary key, (second terminal code, second terminal specific key));

[0208] Step 425, the access point sends encrypted data D24 to the second terminal;

[0209] Step 426, the second terminal decrypts the encrypted data D24 with the temporary key to obtain the second terminal code and the second terminal exclusive key; Step 427, the second terminal writes the second terminal registration information in the terminal memory, the registration information includes: SSID, second terminal code, second terminal exclusive key;

[0210] Step 428, the second terminal sends a confirmation message to the access point, where the confirmation message may be a short agreed data;

[0211] Step 429, the access point writes the second terminal registration information into the access point memory, where the registration information includes: the second terminal code and the second terminal exclusive key;

[0212] This embodiment adopts the method of transmitting invitation data to the second terminal so that the second terminal completes registration with the access point, and there is no need to provide the WLAN authorization password to the second terminal.

[0213] Example 3

[0214] like Figure 5 As shown, an embodiment of the present invention provides a WLAN access management method, the method comprising the following steps:

[0215] Step 501, the terminal accepts a user access instruction;

[0216] Step 502, using the SSID as the search basis, reading the corresponding terminal registration information in the terminal memory of the terminal, and obtaining the terminal code and the exclusive key;

[0217] Step 503: the terminal generates a verification code V31, which may be a random data of appropriate length;

[0218] Step 504, retain a copy of the verification code V31;

[0219] Step 505, the terminal generates encrypted data D31, which is obtained by encrypting the verification code V31 with a dedicated key, and the schematic formula is as follows:

[0220] Encrypted data D31 = encryption (exclusive key, verification code V31);

[0221] Step 506, the terminal sends the terminal code and encrypted data D31 to the access point;

[0222] Step 507, the access point obtains the terminal code and encrypted data D31;

[0223] Step 508, the access point searches the access point memory for corresponding terminal registration information based on the terminal code, and obtains the corresponding exclusive key;

[0224] Step 509, the access point decrypts the encrypted data D31 with the dedicated key to obtain the verification code V31. The schematic formula for decryption is as follows:

[0225] Decrypted data = decryption (exclusive key, encrypted data D31);

[0226] Step 510, the access point generates a verification code V32, which may be a random data of appropriate length;

[0227] Step 511, retain a copy of the verification code V32;

[0228] Step 512, the access point generates encrypted data D32, the encrypted data D32 is encrypted with a dedicated key and includes the verification code V31, the verification code V32 is combined, and the schematic formula is as follows:

[0229] Encrypted data D32 = encryption (exclusive key, (verification code V31 + verification code V32));

[0230] Step 513, the access point sends encrypted data D32 to the terminal;

[0231] Step 514, the terminal uses the exclusive key to decrypt the encrypted data D32 to obtain the verification code V31 and the verification code V32. The schematic formula for decryption is as follows:

[0232] Decrypted data = decryption (exclusive key, encrypted data D32);

[0233] Step 515, the terminal compares the received verification code V31 with the retained copy of the verification code V31 to see if they are the same, if so, the access point verification is passed;

[0234] Step 516, the terminal generates encrypted data D33, which is obtained by encrypting the verification code V32 with a dedicated key, and the schematic formula is as follows:

[0235] Encrypted data D33 = encryption (exclusive key, verification code V32);

[0236] Step 517, the terminal sends encrypted data D33 to the access point;

[0237] Step 518, the access point decrypts the encrypted data D33 with the dedicated key to obtain the verification code V32. The schematic formula for decryption is as follows:

[0238] Decrypted data = decryption (exclusive key, encrypted data D33);

[0239] Step 519: The access point compares the received verification code V32 with the stored copy of the verification code V32 to see if they are the same. If so, the terminal passes the verification.

[0240] Step 520: Allow the terminal to access.

[0241] Example 4

[0242] like Figure 6 As shown, an embodiment of the present invention provides a WLAN access management method, the method comprising the following steps:

[0243] Step 601, the WLAN administrator enters the access point background management program, which is deployed in the access management module of the access point; Step 602, the corresponding terminal registration information is queried in the access point memory of the access point based on the target terminal code;

[0244] Step 603: Delete the terminal registration information.

[0245] Example 5

[0246] like Figure 7 As shown, an embodiment of the present invention provides a WLAN terminal device, which includes the following modules:

[0247] The terminal management module 701 is used to receive and process the authorized user registration instruction, the invited user registration instruction, and the access instruction, to process the encryption and decryption operations of data, to process the data sending and receiving operations, to process the storage and reading operations of registration information, to process the sending and receiving operations of registration invitations, and to process the verification of access point devices;

[0248] The terminal connection module 702 is used to establish a data connection with the access point device, including modulating the transmitted wireless signal and demodulating the received wireless signal;

[0249] The terminal memory 703 is used to store registration information, the registration information includes: SSID, terminal code, and exclusive key;

[0250] The terminal encryption and decryption module 704 is used for data encryption and decryption, and provides a specific encryption and decryption method for the terminal management module;

[0251] The terminal inviting and receiving module 705 is used for the first terminal to transmit invitation data to the second terminal, and the second terminal receives the invitation data of the first terminal.

[0252] It should be noted that the attached Figure 7 In the device shown, the specific implementation process of each module and the information interaction between each module, etc., are based on the same inventive concept as the method embodiment of the present invention, and can be referred to the method embodiment, and will not be described one by one here.

[0253] Example 6

[0254] like Figure 8 As shown, an embodiment of the present invention provides a WLAN access point device, which includes the following modules:

[0255] The access point connection module 801 is used to establish a data connection with the terminal device, including modulating the transmitted wireless signal and demodulating the received wireless signal;

[0256] The access point management module 802 is used to process the authorized user registration request, the invited user registration request, and the access request, to process the encryption and decryption operations of the data, to process the data sending and receiving operations, to process the storage and reading operations of the registration information, to process the sending operation of the WLAN environment security verification code, to process the verification of the terminal device, and to manage the registration information in the access point memory;

[0257] WLAN environment security verification module 803, used to transmit the WLAN environment security verification code to the terminal device, including: a display screen; an access point memory 804, used to store multiple registration information, the registration information includes: a terminal code, a dedicated key;

[0258] The access point encryption and decryption module 805 is used for data encryption and decryption, and provides a specific encryption and decryption method for the access point management module.

[0259] It should be noted that the attached Figure 8 In the device shown, the specific implementation process of each module and the information interaction between each module, etc., are based on the same inventive concept as the method embodiment of the present invention, and can be referred to the method embodiment, and will not be described one by one here.

[0260] Example 7

[0261] like Fig. 9 As shown, an embodiment of the present invention provides a WLAN access management system, the system comprising:

[0262] Multiple terminal devices and access point devices, including:

[0263] Access point device 901, used to: process terminal registration request; distribute exclusive keys; store and manage registration information; verify terminal access request;

[0264] The first terminal device 902 is used to: 911 register with the access point according to the authorization password; 912 register with the access point and obtain the exclusive key assigned by the access point; 913 send an access request to the access point; 914 send an invitation to the second terminal;

[0265] The second terminal device 903 is used to: 915 register with the access point according to the invitation data and obtain the exclusive key assigned by the access point; 916 send an access request to the access point;

[0266] A program is deployed in the above-mentioned device, and one or more method embodiments can be executed when the program is running.

[0267] It should be noted that the attached Fig. 9 In the system shown, the specific implementation process of each device and the information interaction between each device, etc., are based on the same inventive concept as the method embodiment of the present invention, and can be referred to the method embodiment, and will not be described one by one here.

[0268] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the above-described system, device and unit can refer to the corresponding process in the above-mentioned method embodiment, and will not be repeated here.

[0269] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0270] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0271] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0272] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0273] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A WLAN access management method, It is characterized in that The method comprises: The first terminal invites the second terminal to register; The second terminal registers with the access point according to the invitation data; The invitation data at least includes: a first terminal code, a temporary key, and data obtained by encrypting the temporary key with a dedicated key of the first terminal; The method for the first terminal to invite the second terminal to register specifically includes: When the first terminal accepts the user's invitation to the second terminal to register, the first terminal transmits the invitation data to the second terminal; The invitation data includes two parts, an encrypted part and an unencrypted part, wherein the unencrypted part includes the first terminal code, the registration verification code (V21), and the temporary key, and the encrypted part is data obtained by merging a copy of the registration verification code (V21), the temporary key, and the validity period of the invitation data and encrypting it with the exclusive key of the first terminal; The first terminal code and the first terminal exclusive key are obtained by reading the first terminal registration information in the first terminal memory based on the SSID; The method for the second terminal to register with the access point according to the invitation data specifically includes: The second terminal decomposes the invitation data obtained from the first terminal to obtain: the first terminal code, the registration verification code (V21), the temporary key, and the encrypted data (D21); The second terminal sends an invitation registration request to the access point; The access point sends a registration invitation permission reply to the second terminal; The second terminal sends the first terminal code and the encrypted data to the access point (D21); The access point searches the registration information in the access point memory according to the first terminal code to obtain a first terminal-specific key; The access point decrypts the encrypted data (D21) using the first terminal-specific key to obtain a copy of the registration verification code (V21), the temporary key, and the validity period of the invitation data; The access point determines whether the invitation data exceeds the validity period according to the validity period of the invitation data, and if not, continues; The access point generates a registration verification code (V22); The access point retains a copy of the registration verification code (V22); The access point generates encrypted data (D22), wherein the encrypted data (D22) is data obtained by encrypting a copy of the registration verification code (V21) and the registration verification code (V22) with the temporary key; The access point sends the encrypted data to the second terminal (D22); The second terminal decrypts the encrypted data (D22) using the temporary key to obtain a copy of the registration verification code (V21) and the registration verification code (V22); The second terminal compares the registration verification code (V21) with the copy of the registration verification code (V21), and if they are the same, the access point verification is passed; The second terminal generates encrypted data (D23), wherein the encrypted data (D23) is data obtained by encrypting the registration verification code (V22) with the temporary key; The second terminal sends encrypted data to the access point (D23); The access point decrypts the encrypted data using the temporary key (D23) to obtain the registration verification code (V22); The access point compares the registration verification code (V22) with the copy of the registration verification code (V22), and if they are the same, the terminal verification is passed; The access point generates a second terminal code and a second terminal-specific key; The access point generates encrypted data (D24), wherein the encrypted data (D24) is data obtained by encrypting the second terminal code and the second terminal-specific key with the temporary key; The access point sends the encrypted data to the second terminal (D24); The second terminal decrypts the encrypted data using the temporary key (D24) to obtain the second terminal code and the second terminal exclusive key; The second terminal stores the terminal side registration information of the second terminal in the terminal memory, where the terminal side registration information includes: SSID, the second terminal code, and the second terminal exclusive key; The second terminal sends confirmation information to the access point; The access point stores access point side registration information of the second terminal in the access point memory, where the access point side registration information includes: the second terminal code and the second terminal exclusive key.

2. The method according to claim 1, It is characterized in that The first terminal transmits the invitation data to the second terminal, and the transmission method specifically includes: The first terminal makes the invitation data into a QR code, and the second terminal reads the QR code and decodes it to obtain the invitation data; or The first terminal sends the invitation data to the second terminal through a short-range wireless communication method using an invitation module of the first terminal, and the second terminal receives the invitation data through the invitation module of the second terminal; or The first terminal is connected to the second terminal by a temporary cable, and the first terminal sends invitation data to the second terminal through the cable; or, The first terminal makes the invitation data into a data file, and copies the data file to the second terminal via a removable memory, and the second terminal reads the copy of the data file to obtain the invitation data.