Access authentication method, device, equipment and system of wireless hotspot, and storage medium

Wireless hotspot access authentication is performed through digital certificates generated by a third-party certification center, which solves the problem of low access authentication security in the existing technology and achieves higher security and adaptability.

CN118612733APending Publication Date: 2024-09-06CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing wireless hotspot access authentication methods have poor security, especially open system authentication and shared key authentication, which pose risks of information leakage and tampering.

Method used

Digital certificates generated by third-party certification centers are used for access authentication between wireless terminals and wireless hotspots, and encryption and decryption operations are performed through digital certificates and information to ensure the security of the authentication process.

Benefits of technology

It improves the security of access authentication between wireless terminals and wireless hotspots, avoids information leakage and tampering, reduces system complexity and hardware costs, and adapts to distributed autonomous application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612733A
    Figure CN118612733A
Patent Text Reader

Abstract

The invention discloses an access authentication method, device, equipment and system of a wireless hotspot and a storage medium, relates to the technical field of communication, and aims to solve the problem that the access authentication method of the wireless hotspot provided in the prior art is poor in security. The access authentication method of the wireless hotspot is applied to a wireless terminal, and comprises the following steps: sending a first request by using a selected target service set identifier; a first response returned by the wireless hotspot corresponding to the target service set identifier according to the first request is received, the first response carries a digital certificate and first information, and the digital certificate is generated for the wireless hotspot by a third-party authentication center; and completing access authentication with the wireless hotspot according to the digital certificate and the first information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, equipment, system and storage medium for access authentication of a wireless hotspot. Background Art

[0002] With the development of wireless networks, more and more public places provide wireless hotspot services. Users can use wireless terminals (Stations, STAs) to connect to wireless hotspots (Wireless Access Points, APs), connect to the Internet through APs, and obtain network services.

[0003] When STA is connected to AP, it is usually necessary to perform access authentication on STA. The existing access authentication methods mainly include two methods: one is open system authentication, where STA does not need any authentication or encryption and directly connects to AP; the other is shared key authentication, where STA and AP pre-configure the same shared key and complete the access authentication of STA through the shared key. However, both methods have the problem of poor security. Summary of the invention

[0004] The embodiments of the present application provide a wireless hotspot access authentication method, device, equipment, system and storage medium to solve the problem that the wireless hotspot access authentication method provided by the existing prior art has poor security.

[0005] In a first aspect, an embodiment of the present application provides an access authentication method for a wireless hotspot, which is applied to a wireless terminal, and includes:

[0006] Sending a first request using the selected target service set identifier;

[0007] Receiving a first response returned by the wireless hotspot corresponding to the target service set identifier according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot;

[0008] Access authentication with the wireless hotspot is completed according to the digital certificate and the first information.

[0009] Optionally, completing the access authentication with the wireless hotspot according to the digital certificate and the first information includes:

[0010] Decrypt the digital certificate according to the public key of the third-party authentication center obtained in advance to obtain the public key of the wireless hotspot;

[0011] Encrypting the first information using the public key of the wireless hotspot to generate second information;

[0012] Sending a second request to the wireless hotspot, wherein the second request carries the second information;

[0013] A second response returned by the wireless hotspot is received, wherein the second response carries an access authentication result of the wireless terminal, and the access authentication result is obtained by the wireless hotspot according to the second information.

[0014] Optionally, before completing the access authentication with the wireless hotspot according to the digital certificate and the first information, the method further includes:

[0015] Apply for the public key of the third-party authentication center according to the unique identification of the wireless terminal.

[0016] Optionally, before sending the first request using the selected service set identifier, the method further includes:

[0017] Applying for a service set identifier according to the unique identifier of the wireless terminal;

[0018] The target service set identifier is selected from the service set identifiers.

[0019] In a second aspect, an embodiment of the present application provides an access authentication method for a wireless hotspot, which is applied to a wireless hotspot, including:

[0020] Receiving a first request sent by a wireless terminal using a target service set identifier;

[0021] Sending a first response to the wireless terminal according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot;

[0022] Access authentication with the wireless terminal is completed according to the digital certificate and the first information.

[0023] Optionally, completing access authentication with the wireless terminal according to the digital certificate and the first information includes:

[0024] Receiving a second request sent by the wireless terminal, wherein the second request carries second information, and the second information is generated by the wireless terminal encrypting the first information using the public key of the wireless hotspot;

[0025] Decrypting the second information using the public key of the wireless hotspot to obtain third information;

[0026] Comparing the third information with the first information to obtain an access authentication result of the wireless terminal;

[0027] A second response is returned to the wireless terminal, wherein the second response carries the access authentication result of the wireless terminal.

[0028] Optionally, before sending a first response to the wireless terminal according to the first request, the method further includes:

[0029] Sending a third request to the third-party authentication center, wherein the third request carries fourth information;

[0030] Receive a third response returned by the third-party authentication center, wherein the third response carries the digital certificate and the target service set identifier, and the digital certificate is generated by the third-party authentication center by encrypting the fourth information using the private key of the third-party authentication center.

[0031] Optionally, the fourth information includes:

[0032] The public key of the wireless hotspot, the unique identifier of the wireless hotspot, the publisher identifier of the third-party authentication center, and an encryption algorithm.

[0033] In a third aspect, an embodiment of the present application provides an access authentication device for a wireless hotspot, which is applied to a wireless terminal, including:

[0034] A first module, configured to send a first request using a selected target service set identifier;

[0035] A second module is configured to receive a first response returned by the wireless hotspot corresponding to the target service set identifier according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot;

[0036] The third module is used to complete the access authentication with the wireless hotspot according to the digital certificate and the first information.

[0037] Optionally, the third module is specifically used to decrypt the digital certificate according to the pre-acquired public key of the third-party authentication center, obtain the public key of the wireless hotspot, encrypt the first information using the public key of the wireless hotspot, generate second information, send a second request to the wireless hotspot, wherein the second request carries the second information, and receive a second response returned by the wireless hotspot, wherein the second response carries the access authentication result of the wireless terminal, and the access authentication result is obtained by the wireless hotspot based on the second information.

[0038] Optionally, the wireless hotspot access authentication device further includes:

[0039] The fourth module is used to apply for the public key of the third-party authentication center according to the unique identification of the wireless terminal.

[0040] Optionally, the fourth module is further used to apply for a service set identifier according to the unique identifier of the wireless terminal, and select the target service set identifier from the service set identifiers.

[0041] In a fourth aspect, an embodiment of the present application provides an access authentication device for a wireless hotspot, which is applied to a wireless hotspot, including:

[0042] The first module is used to receive a first request sent by a wireless terminal using a target service set identifier;

[0043] A second module is configured to send a first response to the wireless terminal according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot;

[0044] The third module is used to complete the access authentication with the wireless terminal according to the digital certificate and the first information.

[0045] Optionally, the third module is specifically used to receive a second request sent by the wireless terminal, wherein the second request carries second information, and the second information is generated by the wireless terminal by encrypting the first information using the public key of the wireless hotspot, decrypting the second information using the public key of the wireless hotspot, obtaining third information, comparing the third information with the first information, obtaining an access authentication result of the wireless terminal, and returning a second response to the wireless terminal, wherein the second response carries the access authentication result of the wireless terminal.

[0046] Optionally, the wireless hotspot access authentication device further includes:

[0047] The fourth module is used to send a third request to the third-party authentication center, wherein the third request carries fourth information, and receive a third response returned by the third-party authentication center, wherein the third response carries the digital certificate and the target service set identifier, and the digital certificate is generated by the third-party authentication center by encrypting the fourth information using the private key of the third-party authentication center.

[0048] Optionally, the fourth information includes:

[0049] The public key of the wireless hotspot, the unique identifier of the wireless hotspot, the publisher identifier of the third-party authentication center, and an encryption algorithm.

[0050] In a fifth aspect, an embodiment of the present application provides an access authentication system for a wireless hotspot, including:

[0051] A wireless terminal, configured to send a first request using a selected target service set identifier, receive a first response returned by a wireless hotspot corresponding to the target service set identifier, wherein the first response carries a digital certificate and first information, and complete access authentication with the wireless hotspot according to the digital certificate and the first information;

[0052] The wireless hotspot is configured to receive the first request, send the first response to the wireless terminal according to the first request, and complete access authentication with the wireless terminal according to the digital certificate and the first information;

[0053] The third-party authentication center is used to generate the digital certificate for the wireless hotspot.

[0054] Optionally, the wireless terminal is further used to decrypt the digital certificate according to the public key of the third-party authentication center obtained in advance, obtain the public key of the wireless hotspot, encrypt the first information using the public key of the wireless hotspot, generate second information, send a second request to the wireless hotspot, wherein the second request carries the second information, and receive a second response returned by the wireless hotspot, wherein the second response carries the access authentication result of the wireless terminal;

[0055] The wireless hotspot is also used to receive the second request, use the public key of the wireless hotspot to decrypt the second information, obtain the third information, compare the third information with the first information, obtain the access authentication result of the wireless terminal, and return the second response to the wireless terminal.

[0056] Optionally, the wireless terminal is further used to apply for a public key of the third-party authentication center according to the unique identifier of the wireless terminal.

[0057] Optionally, the wireless terminal is further configured to apply for a service set identifier according to the unique identifier of the wireless terminal, and select the target service set identifier from the service set identifiers.

[0058] Optionally, the wireless hotspot is further used to send a third request to the third-party authentication center, wherein the third request carries fourth information, and receive a third response returned by the third-party authentication center, wherein the third response carries the digital certificate and the target service set identifier;

[0059] The third-party authentication center is further used to receive the third request, use the private key of the third-party authentication center to encrypt the fourth information to generate the digital certificate, and return the third response to the wireless hotspot.

[0060] Optionally, the fourth information includes:

[0061] The public key of the wireless hotspot, the unique identifier of the wireless hotspot, the publisher identifier of the third-party authentication center, and an encryption algorithm.

[0062] In a sixth aspect, an embodiment of the present application provides an access authentication device for a wireless hotspot, which is applied to a wireless terminal and includes: a processor and a transceiver,

[0063] The processor is used to complete access authentication with the wireless hotspot according to the digital certificate and the first information, wherein the wireless hotspot is the wireless hotspot corresponding to the selected target service set identifier;

[0064] The transceiver is used to send a first request on the target service set identifier, and receive a first response returned by the wireless hotspot based on the first request, wherein the first response carries the digital certificate and the first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot, and access authentication with the wireless hotspot is completed based on the digital certificate and the first information.

[0065] Optionally, the processor is further configured to decrypt the digital certificate according to a pre-acquired public key of the third-party authentication center, obtain the public key of the wireless hotspot, and encrypt the first information using the public key of the wireless hotspot to generate second information;

[0066] The transceiver is also used to send a second request to the wireless hotspot, wherein the second request carries the second information, and receive a second response returned by the wireless hotspot, wherein the second response carries the access authentication result of the wireless terminal, and the access authentication result is obtained by the wireless hotspot based on the second information.

[0067] Optionally, the transceiver is further used to apply for a public key of the third-party authentication center according to the unique identifier of the wireless terminal.

[0068] Optionally, the processor is further configured to select the target service set identifier from service set identifiers;

[0069] The transceiver is further configured to apply for the service set identifier according to the unique identifier of the wireless terminal.

[0070] In a seventh aspect, an embodiment of the present application provides an access authentication device for a wireless hotspot, which is applied to a wireless hotspot and includes: a processor and a transceiver,

[0071] The processor is used to complete access authentication with the wireless terminal according to the digital certificate and the first information;

[0072] The transceiver is used to receive a first request sent by the wireless terminal using a target service set identifier, and send a first response to the wireless terminal according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot, and access authentication with the wireless terminal is completed based on the digital certificate and the first information.

[0073] Optionally, the processor is further configured to decrypt the second information using the public key of the wireless hotspot to obtain third information, compare the third information with the first information, and obtain an access authentication result of the wireless terminal;

[0074] The transceiver is also used to receive a second request sent by the wireless terminal, wherein the second request carries the second information, and the second information is generated by the wireless terminal by encrypting the first information using the public key of the wireless hotspot, and returning a second response to the wireless terminal, wherein the second response carries the access authentication result of the wireless terminal.

[0075] Optionally, the transceiver is also used to send a third request to the third-party authentication center, wherein the third request carries fourth information, and receive a third response returned by the third-party authentication center, wherein the third response carries the digital certificate and the target service set identifier, and the digital certificate is generated by the third-party authentication center by encrypting the fourth information using the private key of the third-party authentication center.

[0076] Optionally, the fourth information includes:

[0077] The public key of the wireless hotspot, the unique identifier of the wireless hotspot, the publisher identifier of the third-party authentication center, and an encryption algorithm.

[0078] In an eighth aspect, an embodiment of the present application provides a communication device, comprising: a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor; the processor is used to read the program in the memory to implement the steps in the above-mentioned wireless hotspot access authentication method.

[0079] In a ninth aspect, an embodiment of the present application provides a readable storage medium for storing a program, which, when executed by a processor, implements the steps in the above-mentioned wireless hotspot access authentication method.

[0080] In an embodiment of the present application, the digital certificate used for access authentication is generated by a third-party authentication center for the wireless hotspot, which makes the use of digital certificates and first information for access authentication between the wireless terminal and the wireless hotspot more secure, avoiding the problem of low security in the prior art of not performing access authentication or using the public key of the wireless hotspot for access authentication; since the digital certificate is generated by a third-party authentication center for the wireless hotspot, the technical solution provided by the embodiment of the present application does not require the setting of a dedicated authentication server, can adapt to distributed autonomous application scenarios, and has low system complexity and hardware costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] Figure 1 It is one of the flow charts of the access authentication method of the wireless hotspot provided in the embodiment of the present application;

[0082] Figure 2 yes Figure 1 The flowchart of step 103 in the wireless hotspot access authentication method provided in the embodiment of the present application is shown;

[0083] Figure 3 This is the second flow chart of the wireless hotspot access authentication method provided in the embodiment of the present application;

[0084] Figure 4 yes Figure 3 The flowchart of step 303 in the wireless hotspot access authentication method provided in the embodiment of the present application is shown;

[0085] Figure 5 This is the third flow chart of the wireless hotspot access authentication method provided in the embodiment of the present application;

[0086] Figure 6 It is a structural diagram of the access authentication system of the wireless hotspot provided in the embodiment of the present application;

[0087] Figure 7 This is one of the structural diagrams of the access authentication device of the wireless hotspot provided in the embodiment of the present application;

[0088] Figure 8 This is the second structural diagram of the access authentication device for the wireless hotspot provided in the embodiment of the present application;

[0089] Fig. 9 This is the third structural diagram of the access authentication device for the wireless hotspot provided in the embodiment of the present application;

[0090] Fig.10 This is the fourth structural diagram of the access authentication device for the wireless hotspot provided in the embodiment of the present application. DETAILED DESCRIPTION

[0091] In the embodiments of the present application, the term "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0092] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.

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

[0094] See also Figure 1 , Figure 1 1 is a flow chart of a wireless hotspot access authentication method provided in an embodiment of the present application. The wireless hotspot access authentication method provided in an embodiment of the present application is applied to a STA, such as Figure 1 As shown, the following steps may be included:

[0095] Step 101: Send a first request using a selected target service set identifier (SSID).

[0096] In this embodiment, each AP broadcasts its corresponding SSID. When a STA needs to access an AP or enters the signal coverage of an AP, the STA can receive one or more SSIDs broadcast by APs. When a STA receives an SSID broadcast by an AP, it can select the SSID as the target SSID; when a STA receives SSIDs broadcast by multiple APs, it can select one SSID from the multiple SSIDs as the target SSID according to actual needs.

[0097] Optionally, in order to enable the STA to select a suitable target SSID, the step of applying for an SSID according to the unique identifier of the STA and selecting the target SSID from the SSID may be included before step 101. Specifically, the STA may apply to a third-party certification authority (CA) for the SSID that matches it according to the unique identifier of the STA. It should be noted that, in this embodiment, the STA may apply to multiple CAs for the SSID that matches it, and associate the SSID with the CA for storage, for subsequent use in AP access authentication.

[0098] This embodiment does not specifically limit CA and AP. In actual use, CA can be a wireless network operator, service provider or any other authoritative and trusted third-party organization; AP can be WiFi or millimeter wave, etc., and each case is not described here one by one.

[0099] This embodiment does not specifically limit the first request. In actual use, different APs may have different corresponding first requests. For example, when the AP is WiFi, the first request is specifically a Probe Request message.

[0100] Step 102: Receive a first response returned by the AP corresponding to the target SSID according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by the CA for the AP.

[0101] Corresponding to the first request, the first response is different for different APs. For example, when the AP is WiFi, the first response is specifically a Probe Response message.

[0102] In this embodiment, a digital certificate is an electronic document that can indicate the identity information of a network user. The AP corresponding to the target SSID can apply for, activate, and use a digital certificate from one or more CAs online at any time.

[0103] In this embodiment, the digital certificate is specifically generated by the CA using its corresponding public key to encrypt relevant information of the AP, and the relevant information includes the public key of the AP.

[0104] This embodiment does not limit the specific content of the first information. In order to improve the security and reliability of access authentication, the first information may be a challenge phrase (Challenge) randomly generated by the AP corresponding to the target SSID.

[0105] Step 103: Complete access authentication with the AP according to the digital certificate and the first information.

[0106] Specifically, Figure 2 As shown, in this embodiment, step 103 may include:

[0107] Step 201: Decrypt the digital certificate according to the pre-acquired CA public key to obtain the AP's public key.

[0108] In this embodiment, the public key of the CA may be pre-stored. For example, if the CA is a wireless network operator, the public key of the wireless network operator may be pre-stored. In order to adapt to the development trend of diversified CA owners, the public key of the CA may also be dynamically applied for by the STA. Specifically, before step 101, it may include applying for the public key of the CA from the CA according to the unique identifier of the STA. In the process of applying for its public key from the CA, the CA may authenticate the STA according to the unique identifier of the STA and judge its security. If the STA is a secure device, the public key of the CA is sent to the STA. Otherwise, the public key of the CA is refused to be sent to the STA. It should be noted that in this embodiment, the STA may apply for and save its public key from multiple CAs according to the unique identifier of the STA.

[0109] Step 202: Use the AP's public key to encrypt the first information to generate second information.

[0110] Step 203: Send a second request to the AP, where the second request carries second information.

[0111] In this embodiment, the second request corresponding to different APs is also different. For example, when the AP is WiFi, the second request is specifically a Certify Request message.

[0112] Step 204: Receive a second response returned by the AP, where the second response carries the access authentication result of the STA, and the access authentication result is obtained by the AP according to the second information.

[0113] In this embodiment, the STA's access authentication results include two types: authentication passed (True) and authentication failed (False). When the STA's access authentication result is authentication passed, the STA can start the subsequent access process with the AP; when the STA's access authentication result is authentication failed, the subsequent access process between the STA and the AP is canceled.

[0114] In this embodiment, the second response is different for different APs. For example, when the AP is WiFi, the second response is specifically a Certify Response message.

[0115] In an embodiment of the present application, the digital certificate used for access authentication is generated by a third-party authentication center for the wireless hotspot, which makes the use of digital certificates and first information for access authentication between the wireless terminal and the wireless hotspot more secure, avoiding the problem of low security in the prior art of not performing access authentication or using the public key of the wireless hotspot for access authentication; since the digital certificate is generated by a third-party authentication center for the wireless hotspot, the technical solution provided by the embodiment of the present application does not require the setting of a dedicated authentication server, can adapt to distributed autonomous application scenarios, and has low system complexity and hardware costs.

[0116] See also Figure 3 , Figure 3 1 is a flow chart of a wireless hotspot access authentication method provided in an embodiment of the present application. The wireless hotspot access authentication method provided in an embodiment of the present application is applied to an AP, such as Figure 3 As shown, the following steps may be included:

[0117] Step 301: Receive a first request sent by a STA using a target SSID.

[0118] Step 302: Send a first response to the STA according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by the CA for the AP.

[0119] Step 303: Complete access authentication with the STA according to the digital certificate and the first information.

[0120] Specifically, Figure 4 As shown, in this embodiment, step 303 may include:

[0121] Step 401: Receive a second request sent by a STA, wherein the second request carries second information, and the second information is generated by encrypting first information by the STA using a public key of the AP.

[0122] Step 402: Decrypt the second information using the public key of the AP to obtain the third information.

[0123] Step 403: Compare the third information with the first information to obtain the access authentication result of the STA.

[0124] In this embodiment, when the third information is completely identical to the first information, the access authentication result of the STA is authentication passed; otherwise, the access authentication result of the STA is authentication failed.

[0125] Step 404: Return a second response to the STA, where the second response carries the access authentication result of the STA.

[0126] In this embodiment, the AP public key disclosed in step 401 is obtained by STA using the CA's public key to decrypt the digital certificate. The AP public key disclosed in step 402 is generated by AP based on its own information. It can be seen from the technical solution provided in this embodiment that AP sends its public key to STA in an implicit manner (digital certificate), avoiding the problem of information leakage or tampering during the transmission process, thereby improving the security and reliability of STA's access authentication.

[0127] In order to make digital certificates more secure and reliable, Figure 5 As shown, the wireless hotspot access authentication method provided in this embodiment may further include, before step 302:

[0128] Step 304: Send a third request to the CA, where the third request carries fourth information.

[0129] In this embodiment, the third request corresponding to different APs is also different. For example, when the AP is WiFi, the third request is specifically a Certificate Request message.

[0130] In this embodiment, the fourth information may include: AP public key, AP unique identifier, CA issuer identifier and encryption algorithm, etc. In order to meet different billing service requirements, the fourth information may also include: validity start time and validity end time, etc.

[0131] In this embodiment, the fourth information may specifically exist in the form of an AP information table as shown in the following Table 1:

[0132]

[0133]

[0134] Table 1

[0135] Step 305: Receive a third response returned by the CA, wherein the third response carries a digital certificate and a target SSID, and the digital certificate is generated by the CA by encrypting the fourth information using its private key.

[0136] In this embodiment, the third response is different for different APs. For example, when the AP is WiFi, the third response is specifically a Certificate Response message.

[0137] It should be noted that, in this embodiment, when the CA uses its private key to encrypt the fourth information to generate a digital certificate, the CA can first authenticate the AP based on the fourth information to determine whether the AP is a security device. If the AP is a security device, the third response message carries the digital certificate and the target SSID. Otherwise, the third response message can carry empty content, indicating that the CA refuses to generate a digital certificate for the AP. Through this technical means, the CA can verify the security of the AP, thereby ensuring the security and reliability of subsequent access authentication between the STA and the AP.

[0138] It should be noted that in order to ensure higher security for access authentication between wireless terminals and wireless hotspots, in this embodiment, the digital certificate is generated by the CA using its private key to encrypt the fourth information. However, those skilled in the art should know that in actual use, the digital certificate can also be generated by the CA using its public key to encrypt the fourth information.

[0139] It should be noted that the above steps 304 and 305 may occur at any position before step 302 . This embodiment is described by taking the example that steps 304 and 305 occur before step 301 .

[0140] It should be noted that Figure 3-5 The technical solution shown is Figure 1 and 2 The technical solution shown in the figure corresponds to the technical solution of the AP side. Figure 3-5 The technical solution shown is Figure 1 and 2 The technical features corresponding to the technical solution shown can be found in Figure 1 and 2 The content described above will not be repeated here.

[0141] In an embodiment of the present application, the digital certificate used for access authentication is generated by a third-party authentication center for the wireless hotspot, which makes the use of digital certificates and first information for access authentication between the wireless terminal and the wireless hotspot more secure, avoiding the problem of low security in the prior art of not performing access authentication or using the public key of the wireless hotspot for access authentication; since the digital certificate is generated by a third-party authentication center for the wireless hotspot, the technical solution provided by the embodiment of the present application does not require the setting of a dedicated authentication server, can adapt to distributed autonomous application scenarios, and has low system complexity and hardware costs.

[0142] See also Figure 6 , Figure 6 Schematic diagram of the structure of the wireless hotspot access authentication system provided by the embodiment of the present application. The wireless hotspot access authentication system provided by the embodiment of the present application may include:

[0143] The wireless terminal 601 is used to send a first request using a selected target service set identifier, receive a first response returned by a wireless hotspot corresponding to the target service set identifier, wherein the first response carries a digital certificate and first information, and complete access authentication with the wireless hotspot according to the digital certificate and the first information;

[0144] The wireless hotspot 602 is configured to receive the first request, send the first response to the wireless terminal according to the first request, and complete access authentication with the wireless terminal according to the digital certificate and the first information;

[0145] The third-party authentication center 603 is used to generate the digital certificate for the wireless hotspot.

[0146] Optionally, the wireless terminal 601 is further used to decrypt the digital certificate according to the public key of the third-party authentication center obtained in advance, obtain the public key of the wireless hotspot, encrypt the first information using the public key of the wireless hotspot, generate second information, send a second request to the wireless hotspot, wherein the second request carries the second information, and receive a second response returned by the wireless hotspot, wherein the second response carries the access authentication result of the wireless terminal;

[0147] The wireless hotspot 602 is also used to receive the second request, use the public key of the wireless hotspot to decrypt the second information, obtain the third information, compare the third information with the first information, obtain the access authentication result of the wireless terminal, and return the second response to the wireless terminal.

[0148] Optionally, the wireless terminal 601 is further used to apply for the public key of the third-party authentication center according to the unique identification of the wireless terminal.

[0149] Optionally, the wireless terminal 601 is further configured to apply for a service set identifier according to the unique identifier of the wireless terminal, and select the target service set identifier from the service set identifiers.

[0150] Optionally, the wireless hotspot 602 is further used to send a third request to the third-party authentication center, wherein the third request carries fourth information, and receive a third response returned by the third-party authentication center, wherein the third response carries the digital certificate and the target service set identifier;

[0151] The third-party authentication center 603 is further used to receive the third request, use the private key of the third-party authentication center to encrypt the fourth information to generate the digital certificate, and return the third response to the wireless hotspot.

[0152] Optionally, the fourth information includes:

[0153] The public key of the wireless hotspot, the unique identifier of the wireless hotspot, the publisher identifier of the third-party authentication center, and an encryption algorithm.

[0154] The specific implementation method of the wireless hotspot access authentication system provided in the embodiment of the present application can refer to the contents of the wireless hotspot access authentication method shown in the above embodiment, which will not be repeated here.

[0155] In an embodiment of the present application, the digital certificate used for access authentication is generated by a third-party authentication center for the wireless hotspot, which makes the use of digital certificates and first information for access authentication between the wireless terminal and the wireless hotspot more secure, avoiding the problem of low security in the prior art of not performing access authentication or using the public key of the wireless hotspot for access authentication; since the digital certificate is generated by a third-party authentication center for the wireless hotspot, the technical solution provided by the embodiment of the present application does not require the setting of a dedicated authentication server, can adapt to distributed autonomous application scenarios, and has low system complexity and hardware costs.

[0156] See also Figure 7 , Figure 7 Schematic diagram of the structure of the wireless hotspot access authentication device provided in the embodiment of the present application. The wireless hotspot access authentication device 700 provided in the embodiment of the present application is applied to a wireless terminal and may include:

[0157] The first module 701 is used to send a first request using a selected target service set identifier;

[0158] The second module 702 is used to receive a first response returned by the wireless hotspot corresponding to the target service set identifier according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot;

[0159] The third module 703 is used to complete the access authentication with the wireless hotspot according to the digital certificate and the first information.

[0160] Optionally, the third module 703 is specifically used to decrypt the digital certificate according to the pre-acquired public key of the third-party authentication center, obtain the public key of the wireless hotspot, encrypt the first information using the public key of the wireless hotspot, generate second information, send a second request to the wireless hotspot, wherein the second request carries the second information, and receive a second response returned by the wireless hotspot, wherein the second response carries the access authentication result of the wireless terminal, and the access authentication result is obtained by the wireless hotspot based on the second information.

[0161] Optionally, the wireless hotspot access authentication device further includes:

[0162] The fourth module is used to apply for the public key of the third-party authentication center according to the unique identification of the wireless terminal.

[0163] Optionally, the fourth module is further used to apply for a service set identifier according to the unique identifier of the wireless terminal, and select the target service set identifier from the service set identifiers.

[0164] The specific implementation method of the wireless hotspot access authentication device provided in the embodiment of the present application can refer to the contents of the wireless hotspot access authentication method shown in the above embodiment, which will not be repeated here.

[0165] In an embodiment of the present application, the digital certificate used for access authentication is generated by a third-party authentication center for the wireless hotspot, which makes the use of digital certificates and first information for access authentication between the wireless terminal and the wireless hotspot more secure, avoiding the problem of low security in the prior art of not performing access authentication or using the public key of the wireless hotspot for access authentication; since the digital certificate is generated by a third-party authentication center for the wireless hotspot, the technical solution provided by the embodiment of the present application does not require the setting of a dedicated authentication server, can adapt to distributed autonomous application scenarios, and has low system complexity and hardware costs.

[0166] See also Figure 8 , Figure 8 800 is a schematic diagram of the structure of the wireless hotspot access authentication device provided in the embodiment of the present application. The wireless hotspot access authentication device 800 provided in the embodiment of the present application is applied to the wireless hotspot and may include:

[0167] The first module 801 is configured to receive a first request sent by a wireless terminal using a target service set identifier;

[0168] A second module 802 is configured to send a first response to the wireless terminal according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot;

[0169] The third module 803 is used to complete the access authentication with the wireless terminal according to the digital certificate and the first information.

[0170] Optionally, the third module 803 is specifically used to receive a second request sent by the wireless terminal, wherein the second request carries second information, and the second information is generated by the wireless terminal by encrypting the first information using the public key of the wireless hotspot, decrypting the second information using the public key of the wireless hotspot, obtaining third information, comparing the third information with the first information, obtaining an access authentication result of the wireless terminal, and returning a second response to the wireless terminal, wherein the second response carries the access authentication result of the wireless terminal.

[0171] Optionally, the wireless hotspot access authentication device further includes:

[0172] The fourth module is used to send a third request to the third-party authentication center, wherein the third request carries fourth information, and receive a third response returned by the third-party authentication center, wherein the third response carries the digital certificate and the target service set identifier, and the digital certificate is generated by the third-party authentication center by encrypting the fourth information using the private key of the third-party authentication center.

[0173] Optionally, the fourth information includes:

[0174] The public key of the wireless hotspot, the unique identifier of the wireless hotspot, the publisher identifier of the third-party authentication center, and an encryption algorithm.

[0175] The specific implementation method of the wireless hotspot access authentication device provided in the embodiment of the present application can refer to the contents of the wireless hotspot access authentication method shown in the above embodiment, which will not be repeated here.

[0176] In an embodiment of the present application, the digital certificate used for access authentication is generated by a third-party authentication center for the wireless hotspot, which makes the use of digital certificates and first information for access authentication between the wireless terminal and the wireless hotspot more secure, avoiding the problem of low security in the prior art of not performing access authentication or using the public key of the wireless hotspot for access authentication; since the digital certificate is generated by a third-party authentication center for the wireless hotspot, the technical solution provided by the embodiment of the present application does not require the setting of a dedicated authentication server, can adapt to distributed autonomous application scenarios, and has low system complexity and hardware costs.

[0177] See also Fig. 9 , Fig. 9 901 and 902.

[0178] The processor 901 is used to complete access authentication with a wireless hotspot according to the digital certificate and the first information, wherein the wireless hotspot is a wireless hotspot corresponding to the selected target service set identifier;

[0179] The transceiver 902 is used to send a first request on the target service set identifier, and receive a first response returned by the wireless hotspot based on the first request, wherein the first response carries the digital certificate and the first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot, and access authentication with the wireless hotspot is completed based on the digital certificate and the first information.

[0180] Optionally, the processor 901 is further configured to decrypt the digital certificate according to the pre-acquired public key of the third-party authentication center, obtain the public key of the wireless hotspot, and encrypt the first information using the public key of the wireless hotspot to generate second information;

[0181] The transceiver 902 is also used to send a second request to the wireless hotspot, wherein the second request carries the second information, and receive a second response returned by the wireless hotspot, wherein the second response carries the access authentication result of the wireless terminal, and the access authentication result is obtained by the wireless hotspot based on the second information.

[0182] Optionally, the transceiver 902 is further used to apply for a public key of the third-party authentication center according to the unique identifier of the wireless terminal.

[0183] Optionally, the processor 901 is further configured to select the target service set identifier from the service set identifiers;

[0184] The transceiver 902 is further configured to apply for the service set identifier according to the unique identifier of the wireless terminal.

[0185] The specific implementation method of the wireless hotspot access authentication device provided in the embodiment of the present application can refer to the contents of the wireless hotspot access authentication method shown in the above embodiment, which will not be repeated here.

[0186] In an embodiment of the present application, the digital certificate used for access authentication is generated by a third-party authentication center for the wireless hotspot, which makes the use of digital certificates and first information for access authentication between the wireless terminal and the wireless hotspot more secure, avoiding the problem of low security in the prior art of not performing access authentication or using the public key of the wireless hotspot for access authentication; since the digital certificate is generated by a third-party authentication center for the wireless hotspot, the technical solution provided by the embodiment of the present application does not require the setting of a dedicated authentication server, can adapt to distributed autonomous application scenarios, and has low system complexity and hardware costs.

[0187] See also Fig.10 , Fig.10 The wireless hotspot access authentication device provided in the embodiment of the present application is applied to the wireless hotspot and includes: a processor 1001 and a transceiver 1002

[0188] The processor 1001 is configured to complete access authentication with the wireless terminal according to the digital certificate and the first information;

[0189] The transceiver 1002 is used to receive a first request sent by the wireless terminal using a target service set identifier, and send a first response to the wireless terminal according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot, and access authentication with the wireless terminal is completed based on the digital certificate and the first information.

[0190] Optionally, the processor 1001 is further configured to decrypt the second information using the public key of the wireless hotspot to obtain third information, compare the third information with the first information, and obtain an access authentication result of the wireless terminal;

[0191] The transceiver 1002 is also used to receive a second request sent by the wireless terminal, wherein the second request carries the second information, and the second information is generated by the wireless terminal by encrypting the first information using the public key of the wireless hotspot, and returning a second response to the wireless terminal, wherein the second response carries the access authentication result of the wireless terminal.

[0192] Optionally, the transceiver 1002 is also used to send a third request to the third-party authentication center, wherein the third request carries fourth information, and receive a third response returned by the third-party authentication center, wherein the third response carries the digital certificate and the target service set identifier, and the digital certificate is generated by the third-party authentication center by encrypting the fourth information using the private key of the third-party authentication center.

[0193] Optionally, the fourth information includes:

[0194] The public key of the wireless hotspot, the unique identifier of the wireless hotspot, the publisher identifier of the third-party authentication center, and an encryption algorithm.

[0195] The specific implementation method of the wireless hotspot access authentication device provided in the embodiment of the present application can refer to the contents of the wireless hotspot access authentication method shown in the above embodiment, which will not be repeated here.

[0196] In an embodiment of the present application, the digital certificate used for access authentication is generated by a third-party authentication center for the wireless hotspot, which makes the use of digital certificates and first information for access authentication between the wireless terminal and the wireless hotspot more secure, avoiding the problem of low security in the prior art of not performing access authentication or using the public key of the wireless hotspot for access authentication; since the digital certificate is generated by a third-party authentication center for the wireless hotspot, the technical solution provided by the embodiment of the present application does not require the setting of a dedicated authentication server, can adapt to distributed autonomous application scenarios, and has low system complexity and hardware costs.

[0197] An embodiment of the present application also provides a communication device, including: a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned wireless hotspot access authentication method when executing the program.

[0198] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a 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.

[0199] 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 processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially 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, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0200] The embodiment of the present application also provides a readable storage medium, on which a program is stored. When the program is executed by the processor, each process of the step embodiment of the wireless hotspot access authentication method described above is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid state drive (SSD)), etc.

[0201] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0202] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0203] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A wireless hotspot access authentication method, applied to a wireless terminal, characterized in that: include: Sending a first request using the selected target service set identifier; Receiving a first response returned by the wireless hotspot corresponding to the target service set identifier according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot; Access authentication with the wireless hotspot is completed according to the digital certificate and the first information.

2. The method according to claim 1, characterized in that The completing the access authentication with the wireless hotspot according to the digital certificate and the first information comprises: Decrypt the digital certificate according to the public key of the third-party authentication center obtained in advance to obtain the public key of the wireless hotspot; Encrypting the first information using the public key of the wireless hotspot to generate second information; Sending a second request to the wireless hotspot, wherein the second request carries the second information; A second response returned by the wireless hotspot is received, wherein the second response carries an access authentication result of the wireless terminal, and the access authentication result is obtained by the wireless hotspot according to the second information.

3. The method according to claim 2, characterized in that Before completing the access authentication with the wireless hotspot according to the digital certificate and the first information, the method further includes: Apply for the public key of the third-party authentication center according to the unique identification of the wireless terminal.

4. The method according to claim 1, characterized in that: Before sending the first request using the selected service set identifier, the method further includes: Applying for a service set identifier according to the unique identifier of the wireless terminal; The target service set identifier is selected from the service set identifiers.

5. A wireless hotspot access authentication method, applied to a wireless hotspot, characterized in that: include: Receiving a first request sent by a wireless terminal using a target service set identifier; Sending a first response to the wireless terminal according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot; Access authentication with the wireless terminal is completed according to the digital certificate and the first information.

6. The method according to claim 5, characterized in that The completing the access authentication with the wireless terminal according to the digital certificate and the first information comprises: Receiving a second request sent by the wireless terminal, wherein the second request carries second information, and the second information is generated by the wireless terminal encrypting the first information using the public key of the wireless hotspot; Decrypting the second information using the public key of the wireless hotspot to obtain third information; Comparing the third information with the first information to obtain an access authentication result of the wireless terminal; A second response is returned to the wireless terminal, wherein the second response carries the access authentication result of the wireless terminal.

7. The method according to claim 5, characterized in that Before sending a first response to the wireless terminal according to the first request, the method further includes: Sending a third request to the third-party authentication center, wherein the third request carries fourth information; Receive a third response returned by the third-party authentication center, wherein the third response carries the digital certificate and the target service set identifier, and the digital certificate is generated by the third-party authentication center by encrypting the fourth information using the private key of the third-party authentication center.

8. The method according to claim 7, characterized in that The fourth information includes: The public key of the wireless hotspot, the unique identifier of the wireless hotspot, the publisher identifier of the third-party authentication center, and an encryption algorithm.

9. A wireless hotspot access authentication device, applied to a wireless terminal, characterized in that: include: A first module, configured to send a first request using a selected target service set identifier; A second module is configured to receive a first response returned by the wireless hotspot corresponding to the target service set identifier according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot; The third module is used to complete the access authentication with the wireless hotspot according to the digital certificate and the first information.

10. A wireless hotspot access authentication device, applied to a wireless hotspot, characterized in that: include: The first module is used to receive a first request sent by a wireless terminal using a target service set identifier; A second module is configured to send a first response to the wireless terminal according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot; The third module is used to complete the access authentication with the wireless terminal according to the digital certificate and the first information.

11. A wireless hotspot access authentication system, characterized in that: include: A wireless terminal, configured to send a first request using a selected target service set identifier, receive a first response returned by a wireless hotspot corresponding to the target service set identifier, wherein the first response carries a digital certificate and first information, and complete access authentication with the wireless hotspot according to the digital certificate and the first information; The wireless hotspot is configured to receive the first request, send the first response to the wireless terminal according to the first request, and complete access authentication with the wireless terminal according to the digital certificate and the first information; The third-party authentication center is used to generate the digital certificate for the wireless hotspot.

12. A wireless hotspot access authentication device, applied to a wireless terminal, comprising: A processor and a transceiver, characterized in that; The processor is used to complete access authentication with the wireless hotspot according to the digital certificate and the first information, wherein the wireless hotspot is the wireless hotspot corresponding to the selected target service set identifier; The transceiver is used to send a first request on the target service set identifier, and receive a first response returned by the wireless hotspot based on the first request, wherein the first response carries the digital certificate and the first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot, and access authentication with the wireless hotspot is completed based on the digital certificate and the first information.

13. A wireless hotspot access authentication device, applied to a wireless hotspot, comprising: A processor and a transceiver, characterized in that; The processor is used to complete access authentication with the wireless terminal according to the digital certificate and the first information; The transceiver is used to receive a first request sent by the wireless terminal using a target service set identifier, and send a first response to the wireless terminal according to the first request, wherein the first response carries a digital certificate and first information, and the digital certificate is generated by a third-party authentication center for the wireless hotspot, and access authentication with the wireless terminal is completed based on the digital certificate and the first information.

14. A communication device comprising: A transceiver, a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that: The processor is used to read the program in the memory to implement the steps in the wireless hotspot access authentication method as described in any one of claims 1-4, or the steps in the wireless hotspot access authentication method as described in any one of claims 5-8.

15. A readable storage medium for storing a program, characterized in that: When the program is executed by the processor, the steps of the wireless hotspot access authentication method as described in any one of claims 1 to 4, or the steps of the wireless hotspot access authentication method as described in any one of claims 5 to 8 are implemented.