IP Library Granted Patent US 11,509,485
Granted Patent B2
US 11,509,485 · App. 16/904,398 · Granted Nov 22, 2022

Identity authentication method and system, and computing device

Inventor: Haifeng Jin (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
H04L9/3263H04L9/0869H04L9/3226H04L9/3247H04L63/0428H04L63/0884H04W12/06
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,509,485
App. No.
16/904,398
Granted
Nov 22, 2022
Kind
B2
Abstract

Identity authentication method, system, and computing device are disclosed. The method includes: an identity authentication method is provided, which includes: a first device establishing a communication connection with a second device, and obtaining encrypted information through the Internet, where the first device is a device that is allowed to access the Internet, and the second device is a device that is not allowed to access the Internet; the first device encrypting identity information of an account that is logged into the second device by using the encrypted information, and sending the encrypted identity information to the second device; and the first device receiving a verification result that is returned by the second device, wherein the second device verifies the encrypted identity information based on verification information.

Claims (65)

1. A method implemented by a first device, the method comprising:

sending a login request initiated at the first device to an authentication server over the Internet, the login request comprising a login account;

establishing a communication connection with a second device, and obtaining encrypted information through the Internet in response to the login request, wherein the first device is a device that is allowed to access the Internet, and the second device is a device that is not allowed to access the Internet;

encrypting identity information of a user account that is logged into the second device using the encrypted information, and sending the encrypted identity information to the second device, wherein the user account has a one-to-one correspondence with the login account; and

receiving a verification result returned by the second device, wherein the second device verifies the encrypted identity information based on:

decrypting, by the second device, the encrypted identity information using a public key extracted from a digital certificate included in the identity information; and

determining, by the second device, whether the login account of the login request exists in a trusted list, wherein the trusted list includes at least one user account that is allowed to log into the second device.

2. The method of claim 1 , wherein encrypting the identity information of the user account that is logged into the second device using the encrypted information, and sending the encrypted identity information to the second device comprise:

obtaining the login account, and receiving the encrypted information returned by an authentication server, wherein the encrypted information includes at least one of the following: a key pair and a digital certificate;

generating the encrypted identity information according to the login account and the encrypted information; and

sending the encrypted identity information to the second device.

3. The method of claim 2 , wherein generating the encrypted identity information according to the login account and the encrypted information comprises:

encrypting the login account and/or a random number using a private key in the key pair to obtain an encryption result; and

generating the encrypted identity information based on the login account and information of at least one of: the encryption result and a digital certificate.

4. The method of claim 3 , wherein encrypting the login account and/or the random number using the private key in the key pair to obtain the encryption result comprises:

obtaining a first random number; and

encrypting the login account and the first random number using the private key in the key pair to obtain the encryption result.

5. The method of claim 1 , wherein the authentication server generates the encrypted information according to the login request, and the encrypted information includes at least one of: a key pair and a digital certificate.

6. The method of claim 1 , wherein establishing the communication connection with the second device is performed using one of: a transmission control protocol (TCP), a user datagram protocol (UDP), Bluetooth, Zigbee, and WiFi.

7. The method of claim 1 , wherein sending the encrypted identity information to the second device comprises:

adding a digital signature of the first device to the encrypted identity information; and

sending the identity information added with the digital signature to the second device.

8. The method of claim 7 , further comprising:

after the first device sending the identity information added with the digital signature to the second device, receiving a result of the authentication failure returned by the second device if the digital certificate is determined to be not trusted by the second device, wherein sending the identity information added with the digital signature to the second device enables the second device to determine whether the digital certificate included in the identity information to be verified is trusted based on a pre-installed root certificate.

9. The method of claim 1 , further comprising:

obtaining a login account, and receiving encrypted information returned by an authentication server;

generating the encrypted identity information according to the login account and the encrypted information;

sending the encrypted identity information to the second device; and

generating a shared key based on a first random number generated by the first device and a second random number returned by the authentication server, wherein the second random number is a random number generated by the second device when the login account exists in the trusted list, and the second device generates the shared secret key based on the first random number and the second random number.

10. One or more computer readable media storing executable instructions that, when executed by one or more processors of a second device, cause the one or more processors to perform acts comprising:

receiving encrypted identity information to be verified that is sent from a first device, wherein the identity information comprises a user account logged into the second device having a one-to-one correspondence with a login account of login request initiated at the first device, the first device is a device that is allowed to access the Internet, and the second device is a device that is not allowed to access the Internet;

decrypting the encrypted identity information using a public key extracted from a digital certificate included in the identity information;

verifying the identity information to be verified according to verification information to obtain a verification result by determining whether the login account of the login request exists in a trusted list, wherein the trusted list includes at least one user account that is allowed to log into the second device; and

generating a shared key used for encrypting and decrypting data in response to the verification result indicating that the identity information is trusted, wherein the shared key is used for ensuring secure data transmission between the first device and the second device, and the identity information to be verified is data encrypted by using encrypted information.

11. The one or more computer readable media of claim 10 , wherein the identity information to be verified that is sent from the first device is received by using one of: a transmission control protocol (TCP), a user datagram protocol (UDP), Bluetooth, Zigbee, and WiFi.

12. The one or more computer readable media of claim 10 , wherein verifying the identity information to be verified according to verification information to obtain the verification result comprises:

determining whether the digital certificate included in the identity information to be verified is trusted based on a pre-installed root certificate; and

returning a result of the authentication failure to the first device if the digital certificate is not trusted.

13. The one or more computer readable media of claim 12 , wherein the acts further comprise:

extracting the public key included in the digital certificate when the digital certificate is trusted, and verifying whether received data has been tampered with using the digital certificate; and

returning the result of the authentication failure to the first device if the received data has been tampered with.

14. The one or more computer readable media of claim 13 , wherein the acts further comprise:

returning the result of the authentication failure to the first device if the login account does not exist in the trusted list.

15. The one or more computer readable media of claim 14 , wherein the acts further comprise determining the verification result as the identity information of the first device being trusted when the login account exists in the trusted list.

16. The one or more computer readable media of claim 15 , wherein the acts further comprise:

obtaining a second random number, and generating a shared secret key based on the first random number and the second random number, after determining the verification result as the identity information of the first device being trusted when the login account exists in the trusted list, wherein the first device generates the shared key based on the first random number and the second random number returned by an authentication server.

17. The one or more computer readable media of claim 14 , wherein: after decrypting the encryption result using the public key to obtain the login account and/or the first random number, the acts further comprise:

determining whether any login account exists in the trusted list; and

using the decrypted login account as a management account and adding the management account to the trusted list if no login account exists in the trusted list, wherein the management account is used to manage at least one login account in the trusted list.

18. A first device comprising:

one or more processors; and

memory storing executable instructions that, when executed by the one or more processors, cause the one or more processors to perform acts comprising:

sending a login request initiated at the first device to an authentication server over the Internet, the login request comprising a login account;

establishing a communication connection with a second device and obtaining encrypted information through the Internet in response to the login request, wherein the first device is a device that is allowed to access the Internet, and the second device is a device that is not allowed to access the Internet;

encrypting identity information of a user account that is logged into the second device using the encrypted information, and sending the encrypted identity information to the second device, wherein the user account has a one-to-one correspondence with the login account; and

receiving a verification result that is returned by the second device, wherein the second device verifies the encrypted identity information based on:

decrypting, by the second device, the encrypted identity information using a public key extracted from a digital certificate included in the identity information; and

determining, by the second device, whether the login account of the login request exists in a trusted list, wherein the trusted list includes at least one user account that is allowed to log into the second device.

19. The first device of claim 18 , wherein encrypting the identity information of the user account that is logged into the second device using the encrypted information, and sending the encrypted identity information to the second device comprise:

obtaining a login account, and receiving the encrypted information returned by an authentication server, wherein the encrypted information includes at least one of the following: a key pair and a digital certificate;

generating the encrypted identity information according to the login account and the encrypted information; and

sending the encrypted identity information to the second device.

20. The first device of claim 19 , wherein generating the encrypted identity information according to the login account and the encrypted information comprises:

encrypting the login account and/or a random number using a private key in the key pair to obtain an encryption result; and

generating the encrypted identity information based on the login account and information of at least one of: the encryption result and a digital certificate.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 21, 2026
From: ALIBABA GROUP HOLDING LIMITED
To: CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PRIVATE LIMITED
Reel/Frame 075478/0225 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 8, 2020
From: JIN, HAIFENG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 053710/0783 →
Priority Claims (1)
CN 201711366337.4 · Dec 18, 2017 · national
Continuity (2)
Continuation PCTCN2018120073 · Dec 10, 2018
Related Publication 20200322170A1 · Oct 8, 2020